/* Optimize Core — optimizecore.ai
   Dark, modern, quiet. Deep teal-black ground, one electric-teal accent, glass panels,
   a faint engineering grid behind the hero. Archivo for display, Inter for reading,
   IBM Plex Mono for labels. The logo is the fixed point; everything else serves it. */

:root {
  --bg: #0b1312;
  --bg-2: #0e1817;
  --bg-3: #111d1c;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --text: #e9efed;
  --text-2: #aebbb7;
  --text-3: #74857f;
  --teal: #1d5c5a;
  --teal-deep: #143f3e;
  --accent: #38d6c3;
  --accent-2: #8ff2e6;
  --accent-ink: #062321;
  --glow: rgba(56, 214, 195, .32);

  --display: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text-face: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 14px;
  --r-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16.5px/1.65 var(--text-face);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

img, svg { max-width: 100%; display: block; }
p { margin: 0 0 1em; max-width: 36em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; max-width: 36em; }
li { margin: 0 0 .4em; }
strong, b { font-weight: 600; color: var(--text); }
small { font-size: .8em; font-weight: 500; color: var(--text-3); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 16px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); opacity: .7; flex: none; }
.eyebrow--muted { color: var(--text-3); }
.eyebrow--muted::before { background: var(--text-3); }

h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; color: var(--text); }
h1 { font-weight: 700; font-size: clamp(40px, 5.8vw, 76px); line-height: .98; letter-spacing: -.03em; }
h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -.025em; }
h3 { font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.012em; }
h4 { font-weight: 600; font-size: 16px; line-height: 1.3; }

.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 34em; }

/* Gradient-lit phrase inside a heading */
.quiet {
  background: linear-gradient(92deg, var(--accent-2) 0%, var(--accent) 45%, #5f9a92 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Frame ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 19, 18, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }

.nav { display: flex; gap: 6px; justify-content: center; }
.nav a {
  font-family: var(--text-face); font-weight: 500; font-size: 14px; color: var(--text-2);
  padding: 8px 12px; border-radius: 999px; transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--panel-2); }

.header-meta { display: flex; align-items: center; gap: 16px; }
.header-meta .locale { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--text-3); text-transform: uppercase; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header-meta .locale { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(11, 19, 18, .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 14px; display: none;
  }
  .nav a { padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"], .nav a:hover { background: none; }
  .nav.is-open { display: flex; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm);
    background: var(--panel); border: 1px solid var(--line); color: var(--text); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--text-face); font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  line-height: 1; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .2s ease, transform .15s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); box-shadow: 0 8px 30px -8px var(--glow); transform: translateY(-1px); }
.btn--ghost { background: var(--panel); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--panel-2); border-color: var(--accent); color: var(--text); }
.btn--small { padding: 10px 16px; font-size: 13.5px; }
.btn .arrow { font-family: var(--mono); font-weight: 400; }

.link-arrow { font-family: var(--text-face); font-weight: 600; font-size: 15px; color: var(--text); }
.link-arrow:hover { color: var(--accent); }
.link-arrow::after { content: " →"; font-family: var(--mono); font-weight: 400; color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--surface { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--surface + .section--surface { border-top: 0; }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.section-head .clause { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); padding-top: 14px; }
.section-head .lede { margin: 16px 0 0; }
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; gap: 8px; } .section-head .clause { padding-top: 0; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 128px) 0 clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  /* the grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 60% 20%, #000 20%, transparent 75%);
}
.hero::after {
  /* the glow */
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -420px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(56,214,195,.22), rgba(29,92,90,.10) 45%, transparent 72%);
  filter: blur(10px);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hero h1 { margin-bottom: 26px; max-width: 12em; }
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.hero-note { margin-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--text-3); letter-spacing: .04em; line-height: 1.7; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero::after { right: -400px; top: -500px; } }

/* ---------- "Sound familiar?" panel ---------- */
.routing {
  background: rgba(14, 24, 23, .78); border: 1px solid var(--line-2); border-radius: var(--r);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(56,214,195,.06) inset;
  overflow: hidden;
}
.routing-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 20px 12px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
}
.routing-head strong { color: var(--text); font-weight: 500; }
.routing-list { list-style: none; margin: 0; padding: 0; max-width: none; }
.routing-list li { margin: 0; border-bottom: 1px solid var(--line); }
.routing-list li:last-child { border-bottom: 0; }
.route {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 13px 20px; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--text-2); position: relative; transition: background-color .15s ease;
}
.route:hover { background: var(--panel-2); }
.route .say { font-size: 15px; line-height: 1.4; }
.route .say::before { content: "“"; color: var(--text-3); }
.route .say::after { content: "”"; color: var(--text-3); }
.route .line { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; transition: color .15s ease; }
.route[aria-selected="true"] { background: rgba(56,214,195,.07); color: var(--text); }
.route[aria-selected="true"] .line { color: var(--accent); }
.route[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); box-shadow: 0 0 12px var(--glow); }
.routing-readout { border-top: 1px solid var(--line-2); padding: 22px 20px 24px; min-height: 150px; background: rgba(255,255,255,.02); }
.routing-readout .eyebrow { margin-bottom: 10px; }
.routing-readout h3 { margin-bottom: 8px; }
.routing-readout p { font-size: 15px; color: var(--text-2); margin-bottom: 14px; max-width: none; }
.routing-readout .link-arrow { font-size: 14px; }
.routing-foot { padding: 12px 20px 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--text-3); line-height: 1.6; }
@media (max-width: 480px) { .route { grid-template-columns: 1fr; gap: 4px; } .route .line { white-space: normal; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { margin: 0; padding: 24px 22px 26px; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.steps li::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .7; }
.steps .n { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); display: block; margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin-bottom: 10px; }
.steps p { font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0; }
.steps .who { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; color: inherit; position: relative; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.service-card::after {
  content: ""; position: absolute; inset: auto -40% -60% -40%; height: 60%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(56,214,195,.16), transparent 70%); opacity: 0; transition: opacity .25s ease;
}
.service-card:hover { border-color: rgba(56,214,195,.45); transform: translateY(-3px); background: var(--panel-2); }
.service-card:hover::after { opacity: 1; }
.service-card .say { font-size: 13.5px; color: var(--text-3); line-height: 1.4; font-style: italic; }
.service-card h3 { font-size: 22px; }
.service-card p { font-size: 15px; color: var(--text-2); margin: 0; max-width: none; flex: 1; }
.service-card .fit { font-size: 14px; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 12px; }
.service-card .fit b { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 4px; }
.service-card .link-arrow { align-self: flex-start; font-size: 14px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Why us ---------- */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; list-style: none; margin: 0; padding: 0; }
.rules li { margin: 0; padding: 24px 22px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); position: relative; }
.rules li::before { content: ""; position: absolute; left: 22px; top: 24px; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; box-shadow: 0 0 14px var(--glow); }
.rules h3 { font-size: 18.5px; margin: 22px 0 10px; }
.rules p { font-size: 15px; color: var(--text-2); margin: 0; max-width: none; }
@media (max-width: 960px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rules { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 46em; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 22px; transition: border-color .2s ease; }
.faq details[open] { border-color: rgba(56,214,195,.4); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.012em; line-height: 1.3; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-family: var(--mono); font-weight: 400; font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--accent-2); }
.faq details p { margin: 0 0 20px; font-size: 15.5px; color: var(--text-2); max-width: 40em; }

/* ---------- About ---------- */
.about .wrap-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about .mark { width: clamp(140px, 15vw, 190px); position: relative; padding: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56,214,195,.18), transparent 75%); }
.about .mark img { width: 100%; filter: drop-shadow(0 0 24px var(--glow)); }
.about .meta { margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--text-3); line-height: 1.9; letter-spacing: .03em; }
.about .meta b { color: var(--text); font-weight: 500; }
.about-facts { list-style: none; margin: 26px 0 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-facts li { margin: 0; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14.5px; color: var(--text-2); }
.about-facts b { display: block; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
@media (max-width: 800px) { .about .wrap-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .about-facts { grid-template-columns: 1fr; } }

/* ---------- Booking ---------- */
.book .wrap-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.book-facts { list-style: none; margin: 0; padding: 0; max-width: none; }
.book-facts li { margin: 0 0 10px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 15px; color: var(--text-2); display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.book-facts .i { font-family: var(--mono); color: var(--accent); font-size: 12px; padding-top: 4px; }
.calendar { margin-top: clamp(28px, 4vw, 48px); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
.calendar iframe { display: block; width: 100%; height: 720px; border: 0; background: transparent; }
.calendar-foot { padding: 12px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--text-3); line-height: 1.6; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.calendar-foot a { color: var(--text-2); }
.calendar-foot a:hover { color: var(--accent); }
@media (max-width: 900px) { .book .wrap-grid { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .calendar iframe { height: 1000px; } }

/* ---------- Footer ---------- */
.site-footer { background: #070d0c; border-top: 1px solid var(--line); color: var(--text-2); padding: 60px 0 36px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; align-items: start; }
.site-footer .brand img { height: 24px; }
.site-footer .tag { margin: 18px 0 0; font-size: 15px; color: var(--text-2); max-width: 26em; }
.site-footer h4 { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.site-footer li { margin: 0 0 8px; font-size: 15px; }
.site-footer address { font-style: normal; font-size: 15px; line-height: 1.6; }
.site-footer .legal { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); letter-spacing: .02em; }
.site-footer .legal p { margin: 0; max-width: none; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Document pages (services, privacy, terms) ---------- */
.page-head { padding: clamp(56px, 7vw, 104px) 0 clamp(36px, 4vw, 60px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -400px; pointer-events: none; background: radial-gradient(closest-side, rgba(56,214,195,.16), transparent 70%); filter: blur(10px); }
.page-head h1 { font-size: clamp(36px, 4.8vw, 60px); margin-bottom: 20px; max-width: 14em; }
.page-head .lede { margin-bottom: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { font-family: var(--text-face); font-weight: 500; font-size: 13.5px; color: var(--text-2); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }
.jump a:hover { color: var(--text); border-color: var(--accent); }

.service { padding: clamp(56px, 6vw, 96px) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); }
.service:last-of-type { border-bottom: 0; }
.service .side { position: sticky; top: 96px; align-self: start; }
.service .side .say { font-style: italic; color: var(--text-3); font-size: 15px; margin: 14px 0 0; }
.service .side h2 { font-size: clamp(28px, 3vw, 38px); }
.service .side .btn { margin-top: 24px; }
.service .body > p:first-child { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 34em; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 8px; }
.pair > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px; }
.pair h4, .service .body h4 { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.pair p { font-size: 15px; color: var(--text-2); margin: 0; }
.service .body > h4 { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); }
.service .body ul { columns: 2; column-gap: 32px; max-width: none; padding-left: 1.1em; }
.service .body ul li { font-size: 15px; color: var(--text-2); break-inside: avoid; }
.service .body ul.one { columns: 1; max-width: 38em; }
.service .body ul li::marker { color: var(--accent); }
.service .body .note { font-size: 14px; color: var(--text-3); margin-top: 16px; }
.service.closing .body p:first-child { font-size: 18px; color: var(--text-2); }
.service.closing .body .btn { margin-top: 6px; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } .service .side { position: static; } .service .body ul { columns: 1; } }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }

.prose { max-width: 42em; padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 120px); }
.prose h2 { font-size: 22px; margin: 40px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.prose h2 .sec { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .12em; font-weight: 500; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; color: var(--accent-2); }
.prose p, .prose li { font-size: 15.5px; color: var(--text-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0 20px; }
.prose th { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); text-align: left; font-weight: 500; border-bottom: 1px solid var(--line-2); padding: 0 12px 8px 0; }
.prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; color: var(--text-2); }
.prose .updated { font-family: var(--mono); font-size: 12px; color: var(--text-3); letter-spacing: .04em; margin-bottom: 28px; }
.prose .table-wrap { overflow-x: auto; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: reveal .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero .routing { animation-delay: .18s; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
  .hero::after { animation: drift 14s ease-in-out infinite alternate; }
  @keyframes drift { to { transform: translate(-60px, 40px) scale(1.06); } }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
