:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #f7f7f5;
  --black: #000000;
  --gray-1: #d9d9d6;
  --gray-2: #a8a8a3;
  --max: 1180px;
  --page-pad: 40px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Arial Narrow", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  border: 40px solid var(--paper);
  outline: 1px solid var(--gray-1);
  outline-offset: -40px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: 76px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px var(--page-pad);
  border-right: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--gray-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
}

.brand-mark::before {
  inset: 6px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.brand-mark::after {
  top: 50%;
  left: -6px;
  width: 40px;
  height: 1px;
  background: var(--ink);
}

.nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav a {
  display: grid;
  place-items: center;
  min-height: 76px;
  border-right: 1px solid var(--gray-1);
}

.nav a:last-child {
  border-right: 0;
  background: var(--black);
  color: var(--paper);
}

.section {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  align-items: stretch;
  gap: 40px;
  min-height: calc(100svh - 76px);
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 620px;
  padding-right: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 4px 8px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 6px;
  height: 6px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 4px solid var(--black);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

h1::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 84px;
  height: 4px;
  background: var(--paper);
  border-right: 24px solid var(--black);
  content: "";
}

h2 {
  margin-bottom: 22px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 600px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 620px);
  margin: 0 0 28px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.status-row span {
  min-height: 34px;
  padding: 10px;
  border-right: 1px solid var(--gray-1);
}

.status-row span:last-child {
  border-right: 0;
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  transition: background 120ms linear, color 120ms linear;
}

.button:hover {
  background: var(--black);
  color: var(--paper);
}

.button.primary {
  background: var(--black);
  color: var(--paper);
}

.button.primary:hover {
  background: var(--paper);
  color: var(--ink);
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
}

.button.large {
  min-height: 56px;
  padding: 0 26px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
}

.hero-visual::before {
  top: 24px;
  right: 24px;
  bottom: 24px;
  left: 24px;
  border: 1px solid var(--gray-1);
}

.hero-visual::after {
  top: 78px;
  left: 24px;
  width: calc(100% - 48px);
  height: 1px;
  background: var(--gray-1);
}

.visual-code {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 10px 12px;
  background: var(--black);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.hero-diagram {
  position: absolute;
  inset: 92px 42px 42px 42px;
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(180px, 0.75fr);
  gap: 28px;
}

.diagram-header {
  position: absolute;
  top: -34px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  color: var(--gray-2);
  font-size: 10px;
  font-weight: 700;
}

.diagram-column {
  position: relative;
  display: grid;
  grid-template-rows: auto 44px auto 44px auto;
  align-items: start;
}

.diagram-panel {
  position: relative;
  min-height: 146px;
  padding: 18px 18px 20px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.diagram-panel::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gray-1);
  content: "";
}

.diagram-panel::after {
  position: absolute;
  top: 42px;
  right: 14px;
  width: 56px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.panel-no,
.panel-tag {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.panel-tag {
  border-color: var(--gray-1);
}

.diagram-panel h3 {
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1;
}

.diagram-panel p {
  max-width: 240px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.diagram-link {
  position: relative;
  display: block;
  width: 1px;
  height: 100%;
  margin-left: 28px;
  background: var(--ink);
}

.diagram-link::before,
.diagram-link::after {
  position: absolute;
  content: "";
}

.diagram-link::before {
  bottom: 8px;
  left: -4px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
}

.diagram-link::after {
  top: 50%;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--gray-1);
}

.diagram-link.second::after {
  width: 96px;
}

.diagram-side {
  display: grid;
  align-content: end;
  gap: 16px;
}

.side-note {
  min-height: 116px;
  padding: 14px 16px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--gray-1);
}

.side-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gray-2);
  font-size: 10px;
  font-weight: 700;
}

.side-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--ink);
}

.split.reverse {
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.text-stack {
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--ink);
}

.text-stack::before {
  position: absolute;
  top: 0;
  left: -4px;
  width: 7px;
  height: 64px;
  background: var(--black);
  content: "";
}

.text-stack p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

.cards {
  display: grid;
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  min-height: 338px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  overflow: hidden;
}

.card::before {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 72px;
  height: 72px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.card::after {
  position: absolute;
  right: 55px;
  bottom: 20px;
  width: 1px;
  height: 72px;
  background: var(--ink);
  content: "";
}

.card.module-b,
.card.module-c {
  background: var(--paper);
}

.card-index {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 52px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.module-label {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--gray-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.card h3 {
  padding-top: 14px;
  border-top: 1px solid var(--gray-1);
}

.card p,
.activity-grid p,
.feature-list p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}

.activities-band {
  width: 100%;
  max-width: none;
  padding-right: max(var(--page-pad), calc((100% - var(--max)) / 2));
  padding-left: max(var(--page-pad), calc((100% - var(--max)) / 2));
  background: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.activity-grid > div {
  position: relative;
  min-height: 224px;
  padding: 48px 16px 20px;
  background: var(--paper);
}

.activity-grid > div::before {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--gray-2);
  font-size: 11px;
  font-weight: 700;
  content: "LOG / 0" counter(activity);
  counter-increment: activity;
}

.activity-grid {
  counter-reset: activity;
}

.activity-grid h3 {
  min-height: 52px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-1);
}

.quote-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 48px;
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}

.quote-panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 44px;
  padding: 12px 0 12px 38px;
  border-bottom: 1px solid var(--gray-1);
  color: var(--ink);
  font-size: 15px;
}

.check-list li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 23px;
  left: 18px;
  width: 12px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.parents {
  border-top: 1px solid var(--ink);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-list article {
  position: relative;
  padding: 24px 0 0 24px;
  border-top: 3px solid var(--black);
}

.feature-list article::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 14px;
  height: 60px;
  background: var(--black);
  content: "";
}

.comparison {
  border-top: 1px solid var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink);
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 18px;
  border-right: 1px solid var(--gray-1);
  border-bottom: 1px solid var(--gray-1);
  vertical-align: top;
  font-size: 14px;
}

thead th {
  background: var(--black);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
}

tbody th {
  width: 18%;
  font-size: 13px;
  font-weight: 700;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

th:last-child,
td:last-child {
  border-right: 0;
}

.contact {
  position: relative;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--max), calc(100% - 80px));
  padding: 42px;
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}

.contact::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 22%;
  height: 100%;
  border-left: 1px solid var(--ink);
  background: var(--black);
  content: "";
}

.contact::after {
  position: absolute;
  right: 36px;
  bottom: 36px;
  width: 86px;
  height: 86px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  content: "";
}

.contact div {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.contact p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

.contact .button {
  position: relative;
  z-index: 1;
  border-color: var(--paper);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 28px var(--page-pad);
  border-top: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  :root {
    --page-pad: 28px;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .brand {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .nav a {
    min-height: 52px;
  }

  .hero,
  .split,
  .split.reverse,
  .cards.three,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .hero-visual {
    min-height: 520px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 36px;
  }

  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact::before {
    width: 18%;
  }
}

@media (max-width: 620px) {
  :root {
    --page-pad: 20px;
  }

  body::before {
    border-width: 20px;
    outline-offset: -20px;
  }

  .section,
  .contact {
    width: min(var(--max), calc(100% - 40px));
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero {
    gap: 24px;
    padding-top: 36px;
  }

  .hero-copy {
    min-height: auto;
    padding-right: 0;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-diagram {
    inset: 92px 24px 24px 24px;
    grid-template-columns: 1fr;
  }

  .diagram-header {
    position: static;
    margin-bottom: 12px;
  }

  .diagram-side {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav a {
    border-bottom: 1px solid var(--gray-1);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .status-row {
    grid-template-columns: 1fr;
  }

  .status-row span {
    border-right: 0;
    border-bottom: 1px solid var(--gray-1);
  }

  .status-row span:last-child {
    border-bottom: 0;
  }

  .hero-actions,
  .contact {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .diagram-panel {
    min-height: 132px;
    padding-right: 86px;
  }

  .diagram-panel h3 {
    font-size: 24px;
  }

  .diagram-link::after,
  .diagram-link.second::after {
    width: 32px;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    min-height: 340px;
    padding: 32px;
  }

  .quote-panel p {
    font-size: 26px;
  }

  .contact {
    padding-right: 24px;
    padding-left: 24px;
  }

  .contact::before,
  .contact::after {
    display: none;
  }

  .contact .button {
    border-color: var(--ink);
  }

  .footer {
    grid-template-columns: 1fr;
  }
}
