/* ==========================================================================
   zepasosolution — editorial build practice
   Tokens measured from the reference site (cargo.site): near-white page,
   near-black text at ~75% weight, neo-grotesk sans, 0 radius, hairline rules.
   ========================================================================== */

:root {
  --bg: #fcfcfc;
  --ink: #161616;
  --ink-soft: #3f3f3f;
  --muted: #737373;
  --line: #e2e2df;
  --line-strong: #c9c9c4;
  --panel: #f2f2ef;
  --panel-deep: #e9e9e5;
  --white: #ffffff;
  --error: #a3231b;
  --font-sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --shell: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 68px;
  --radius: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skip-link:focus {
  left: var(--gutter);
  top: 8px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}

.eyebrow .rule {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  background: #000;
}

.btn-sm {
  height: 38px;
  padding: 0 18px;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-invert {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.btn-invert:hover {
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  display: inline-block;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.18s ease;
}

.text-link:hover {
  opacity: 0.55;
}

.inline-link {
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.18s ease;
}

.inline-link:hover {
  border-color: var(--ink);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 252, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.wordmark-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  text-transform: lowercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.16s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(48px, 7vw, 92px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.hero-copy h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}

.hero-lede {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.hero-figure {
  margin: 0;
}

.frame {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0;
  overflow: hidden;
}

.frame img {
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
}

.frame-tall img {
  aspect-ratio: 1440 / 1000;
}

.frame-phone img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

figcaption span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--ink);
}

.meta-cell {
  padding: 20px 26px 24px 0;
}

.meta-cell + .meta-cell {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.meta-cell p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 28ch;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-tint {
  background: var(--panel);
}

.page-head + .section {
  padding-top: clamp(44px, 5vw, 72px);
}

.section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3.8vw, 46px);
  letter-spacing: -0.035em;
  max-width: 24ch;
}

.section-head-wide {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 32px;
  align-items: end;
}

.section-head-wide .section-note {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.section-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 58ch;
}

.section-link {
  margin-top: 40px;
}

/* ---------- Ownership ---------- */

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.ownership-item {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.ownership-item h3 {
  margin: 14px 0 12px;
  font-size: 21px;
}

.ownership-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.4fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.split-wide {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.split-aside h2 {
  margin: 16px 0 20px;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.035em;
}

.split-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 42ch;
}

.split-aside .text-link {
  margin-top: 24px;
}

/* ---------- Index list ---------- */

.index-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.index-list li:first-child {
  border-top: 1px solid var(--line);
}

.index-list h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.index-list p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
}

.feature {
  padding: 24px 0 26px;
  border-top: 1px solid var(--line);
}

.feature h3 {
  margin: 12px 0 8px;
  font-size: 17px;
}

.feature p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Cases ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case {
  margin: 0;
}

.case figcaption {
  display: block;
  padding-top: 16px;
}

.case figcaption h3 {
  margin: 10px 0 8px;
  font-size: 19px;
}

.case figcaption p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Devices ---------- */

.devices {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.62fr;
  align-items: end;
  gap: clamp(18px, 3vw, 40px);
}

.device {
  margin: 0;
}

.device .screen {
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: 8px;
}

.device .screen img {
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.device-laptop .screen img {
  aspect-ratio: 16 / 10;
}

.device-tablet .screen img {
  aspect-ratio: 4 / 5;
}

.device-phone .screen {
  padding: 6px;
  border-radius: 16px;
}

.device-phone .screen img {
  aspect-ratio: 9 / 17;
  border-radius: 11px;
}

.device figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: #f3f3ef;
  padding: clamp(56px, 8vw, 100px) 0;
}

.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.cta-band .label {
  color: #9a9a94;
}

.cta-band h2 {
  margin-top: 18px;
  font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

/* ---------- Page head ---------- */

.page-head {
  padding: clamp(52px, 7vw, 96px) 0 clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

.page-lede {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-head-legal h1 {
  font-size: clamp(32px, 4.4vw, 52px);
}

/* ---------- Plans ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}

.plan-head h2 {
  margin: 12px 0 12px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.plan-head p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.plan-for {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.plan-for .label {
  display: block;
  margin-bottom: 6px;
}

.plan-list {
  border-top: 1px solid var(--line);
}

.plan-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.plan .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.fine-print {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 78ch;
}

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.process li {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.process h3 {
  margin: 12px 0 10px;
  font-size: 19px;
}

.process p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary i {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
}

.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.faq summary i::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 1px;
}

.faq summary i::after {
  top: 0;
  left: 5px;
  width: 1px;
  height: 12px;
}

.faq details[open] summary i::after {
  transform: scaleY(0);
}

.faq details p {
  padding: 0 40px 24px 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 70ch;
}

/* ---------- Work ---------- */

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  height: 34px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter:hover {
  border-color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.work-count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
}

.work-item {
  margin: 0;
}

.work-item[hidden] {
  display: none;
}

.work-item figcaption {
  display: block;
  padding-top: 16px;
}

.work-item h2 {
  margin: 10px 0 8px;
  font-size: 21px;
}

.work-item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 52ch;
}

.work-item .frame-phone {
  max-width: 340px;
}

/* ---------- About ---------- */

.about-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.about-figure {
  margin: 0;
}

.about-body h2 {
  margin: 16px 0 20px;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.035em;
}

.about-body p {
  margin-bottom: 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 54ch;
}

.trait-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(28px, 5vw, 72px);
}

.trait {
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
}

.trait h3 {
  margin: 12px 0 10px;
  font-size: 19px;
}

.trait p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 50ch;
}

.registry {
  border-top: 1px solid var(--line);
}

.registry > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.registry dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.registry dd {
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.form {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--line-strong);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  appearance: none;
}

.field textarea {
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
}

.field-error {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--error);
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-foot .fine-print {
  margin: 0;
  max-width: 42ch;
}

.success-panel {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.success-panel h2 {
  margin: 14px 0 16px;
  font-size: clamp(26px, 3vw, 36px);
}

.success-panel p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 24px;
}

.contact-side {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#newsletter,
.legal-body section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.side-email {
  display: block;
  margin-top: 8px;
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.side-block p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.side-note {
  font-size: 13px !important;
}

.steps-mini {
  margin-top: 12px;
  counter-reset: mini;
}

.steps-mini li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  counter-increment: mini;
}

.steps-mini li::before {
  content: counter(mini, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.subscribe {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: inherit;
  font-size: 13.5px;
}

.subscribe input:focus {
  outline: none;
  border-color: var(--ink);
}

.subscribe .btn {
  flex: 0 0 auto;
}

.notice {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink);
  border-left: 2px solid var(--ink);
  padding-left: 10px;
}

/* ---------- Legal ---------- */

.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.legal-index {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.legal-index .label {
  margin-bottom: 6px;
}

.legal-index a {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  transition: color 0.16s ease;
}

.legal-index a:hover {
  color: var(--ink);
}

.legal-body {
  max-width: 760px;
}

.legal-body section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-body h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.legal-body p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.legal-body ul {
  margin: 4px 0 12px;
}

.legal-body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--line-strong);
}

.legal-switch {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.notfound {
  padding: clamp(80px, 14vw, 170px) 0;
}

.notfound h1 {
  font-size: clamp(36px, 5.6vw, 68px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 22px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--ink);
  padding: clamp(44px, 6vw, 72px) 0 26px;
}

.footer-lead {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(32px, 5vw, 60px);
}

.footer-write .label {
  display: block;
  margin-bottom: 6px;
}

.footer-email {
  display: inline-block;
  margin: 0 0 16px;
  font-size: clamp(26px, 4.6vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  overflow-wrap: anywhere;
}

.footer-email:hover {
  opacity: 0.6;
}

.footer-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.6;
}

.footer-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.footer-index a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: padding-left 0.18s ease;
}

.footer-index a span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-index a:hover {
  padding-left: 8px;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.footer-registry {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}

.footer-registry span {
  display: inline-block;
  margin-right: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--ink);
}

.footer-year {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-figure {
    max-width: 720px;
  }

  .section-head-wide {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .split,
  .split-wide {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-wide .about-figure {
    order: 2;
  }

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

  .plan-grid,
  .ownership-grid,
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

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

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

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

  .legal-index {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-bottom: 14px;
  }

  .legal-index .label {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--ink);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-end .btn {
    display: none;
  }

  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .meta-cell:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .meta-cell:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .about-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .footer-meta {
    flex-direction: column;
    gap: 16px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14.5px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 10.5vw, 54px);
  }

  .ownership-grid,
  .plan-grid,
  .process,
  .case-grid,
  .feature-grid,
  .trait-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .devices {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .device-phone {
    margin-top: 0;
    max-width: 190px;
    justify-self: start;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .registry > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .work-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-email {
    font-size: clamp(22px, 7.4vw, 32px);
  }

  .footer-legal {
    gap: 12px 18px;
  }

  .hero-actions {
    gap: 20px;
  }
}

@media (max-width: 420px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .meta-cell {
    padding-right: 0;
  }

  .meta-cell + .meta-cell {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .filter {
    padding: 0 11px;
  }
}
