/* SukiNAVI — sukinavi.app
   One stylesheet, no framework. Motion is progressive: everything is readable
   with JavaScript off, with reduced motion, and without scroll-driven animation
   support. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b2a33;
  --ink-2: #2f4a52;
  --muted: #53696f;
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --card: #ffffff;
  --line: #ded8cb;
  --deep: #072a36;
  --deep-2: #0a3c4b;
  --teal: #0e7c80;
  --teal-bright: #19b5a5;
  --teal-soft: #dcefeb;
  --mint: #9fe0d6;
  --orange: #ff7733;
  --orange-ink: #a8400c;
  --orange-soft: #ffe9dc;
  --express: #2a7a4f;
  --focus: #ff7733;

  --font-display: "Bricolage Grotesque", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --wrap: 1160px;
  --section: clamp(88px, 12vw, 160px);
  --radius: 28px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.14em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

[lang="ja"] { font-family: var(--font-ja); letter-spacing: 0.02em; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgb(7 42 54 / 0.25);
}
.skip:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(247 244 238 / 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgb(11 42 51 / 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  padding-block: 8px;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 8px rgb(7 42 54 / 0.18); }
.brand .ja { font-family: var(--font-ja); font-weight: 700; letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 550;
  font-size: 0.97rem;
  color: var(--ink-2);
}
.nav a:hover { background: rgb(11 42 51 / 0.06); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: rgb(11 42 51 / 0.07); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

@media (max-width: 860px) {
  .nav { display: none; }
}
.status-short { display: none; }
@media (max-width: 400px) {
  .status-long { display: none; }
  .status-short { display: inline; }
  .status-pill { font-size: 0.82rem; padding: 0 12px; min-height: 36px; }
  .brand { font-size: 1.08rem; gap: 9px; }
  .brand img { width: 32px; height: 32px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #2a1104; box-shadow: 0 10px 28px rgb(255 119 51 / 0.32); }
.btn-primary:hover { background: #ff8a4f; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #12414e; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.1); }

.coming {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.28);
}
.coming::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgb(255 119 51 / 0.25);
}
.coming.on-light { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(90% 70% at 88% 12%, rgb(25 181 165 / 0.42), transparent 62%),
    radial-gradient(70% 60% at 6% 96%, rgb(13 96 140 / 0.55), transparent 65%),
    linear-gradient(160deg, #06242f 0%, #0a3c4b 58%, #0c5560 100%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 128px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal);
}
.hero .eyebrow { color: var(--mint); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(3.05rem, 8.4vw, 6.4rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.04em;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--mint); }

.hero .tagline-ja {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 600;
  color: rgb(255 255 255 / 0.86);
}

.hero .lede {
  margin-top: 20px;
  max-width: 33em;
  font-size: clamp(1.08rem, 1.6vw, 1.26rem);
  line-height: 1.55;
  color: rgb(255 255 255 / 0.84);
}

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

.hero .fineprint {
  margin-top: 18px;
  font-size: 0.92rem;
  color: rgb(255 255 255 / 0.68);
}

.hero-map {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 560px;
}
.hero-map svg {
  width: 100%;
  height: auto;
  border-radius: 36px;
  box-shadow: 0 40px 90px rgb(2 18 24 / 0.5), inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.hero-map figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.62);
  text-align: right;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-map { justify-self: center; max-width: 520px; }
  .hero-map figcaption { text-align: center; }
}

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

.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }

.section-head { max-width: 46rem; }
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  letter-spacing: -0.032em;
}
.section-head p {
  margin-top: 20px;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  color: var(--ink-2);
  max-width: 38em;
}

/* Intro strip */
.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 72px);
  list-style: none;
}
.intro li { padding-top: 22px; border-top: 2px solid var(--ink); }
.intro h3 { font-size: 1.32rem; letter-spacing: -0.015em; }
.intro p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Features (the route) ---------- */

.route {
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  list-style: none;
  counter-reset: stop;
}

/* The spine: a road line that the features sit on. */
.route::before,
.route::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 6px;
  border-radius: 6px;
}
.route::before { background: var(--line); }
.route::after {
  background: linear-gradient(var(--teal), var(--teal-bright));
  transform-origin: top;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .route::after {
      animation: spine linear both;
      animation-timeline: view();
      animation-range: entry 35% exit 55%;
    }
    @keyframes spine {
      from { transform: scaleY(0); }
      to { transform: scaleY(1); }
    }
  }
}

.stop {
  position: relative;
  padding-left: clamp(72px, 8vw, 104px);
  counter-increment: stop;
}
.stop + .stop { margin-top: clamp(88px, 12vw, 168px); }

.stop::before {
  content: counter(stop);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--teal), 0 8px 20px rgb(7 42 54 / 0.14);
}

.stop-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px clamp(32px, 5vw, 72px);
  align-items: start;
}
.stop-copy h3 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  letter-spacing: -0.03em;
}
.stop-copy .kicker {
  display: block;
  margin-bottom: 14px;
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal);
}
.stop-lead > p { margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; max-width: 32em; }
.stop-detail { padding-top: clamp(0px, 2.4vw, 34px); }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.42em;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg) scale(0.8);
  transform-origin: left bottom;
  border-radius: 1px;
}

.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.note svg { width: 20px; height: 20px; margin-top: 2px; color: var(--orange-ink); }
.note strong { color: var(--ink); font-weight: 650; }

.pro-tag {
  display: inline-block;
  vertical-align: 0.35em;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Showcase: the animated illustration and the framed screenshot share one panel
   and one height (520:360 beside 9:19.5 gives the 3.13:1 column ratio). */
.stop-media {
  display: grid;
  grid-template-columns: minmax(0, 3.13fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(16px, 3vw, 40px);
  border-radius: var(--radius);
  background: #e4efe9;
  box-shadow: inset 0 0 0 1px rgb(11 42 51 / 0.06);
}
.stop:nth-child(even) .stop-media { grid-template-columns: minmax(0, 1fr) minmax(0, 3.13fr); }
.stop:nth-child(even) .shot { order: -1; }
.stop-media.has-wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr); }
/* A slot with no capture is left out; the illustration then stands alone. */
.stop-media:not(:has(.shot)) { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.vignette { border-radius: 18px; overflow: hidden; }
.vignette svg { width: 100%; height: auto; }

.shot { margin: 0; min-width: 0; }

.device {
  position: relative;
  padding: 7px;
  border-radius: clamp(26px, 3.4vw, 38px);
  background: #0d1f26;
  box-shadow: 0 26px 50px rgb(7 42 54 / 0.34), 0 2px 0 rgb(255 255 255 / 0.12) inset;
}
.device.wide { border-radius: 20px; padding: 8px; }
.device-screen {
  position: relative;
  overflow: hidden;
  border-radius: clamp(19px, 2.8vw, 31px);
  aspect-ratio: 9 / 19.5;
  background: #fff;
}
.device.wide .device-screen { border-radius: 12px; aspect-ratio: 5 / 3; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Development placeholder: clearly not app UI. */
.placeholder {
  display: grid;
  place-content: center;
  gap: 8px;
  height: 100%;
  padding: 14px;
  text-align: center;
  color: var(--ink-2);
  background:
    repeating-linear-gradient(135deg, rgb(11 42 51 / 0.045) 0 10px, transparent 10px 20px),
    #f3f0e9;
}
.placeholder b {
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.15;
  color: var(--ink);
}
.placeholder span { font-size: 0.72rem; line-height: 1.3; }
.placeholder i {
  justify-self: center;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-ink);
}

.shot figcaption {
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .stop { padding-left: 68px; }
  .stop-copy { grid-template-columns: 1fr; gap: 0; }
  .stop-detail { padding-top: 22px; }
}
@media (max-width: 620px) {
  .route::before, .route::after { left: 15px; width: 5px; }
  .stop { padding-left: 0; }
  .stop::before { width: 36px; height: 36px; font-size: 0.98rem; }
  .stop-copy { padding-left: 54px; }
  .stop-media,
  .stop:nth-child(even) .stop-media,
  .stop-media.has-wide {
    grid-template-columns: 1fr;
    margin-left: 54px;
    padding: 14px 14px 18px;
  }
  .stop:nth-child(even) .shot { order: 0; }
  .shot { width: min(62%, 210px); margin-inline: auto; }
  .shot.wide { width: 100%; }
  .device { border-radius: 26px; padding: 6px; }
  .device-screen { border-radius: 20px; }
}

/* ---------- Vignette drawing ---------- */

.v-land { fill: #e4efe9; }
.v-block { fill: #d3e4dc; }
.v-water { fill: #bfe0e6; }
.v-park { fill: #c4e2c5; }
.v-street { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.v-street.thin { stroke-width: 4; }
.v-street.wide { stroke-width: 15; }
.v-express { fill: none; stroke: #8fc2a4; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.v-express-line { fill: none; stroke: #fff; stroke-width: 1.6; stroke-dasharray: 7 9; opacity: 0.85; }
.v-ghost { fill: none; stroke: #8aa4a8; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 10; }
.v-casing { fill: none; stroke: #fff; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.v-route { fill: none; stroke: var(--teal); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.v-sketch { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.5 12; }
.v-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 650;
  fill: var(--ink);
}
.v-label.small { font-size: 10.5px; font-weight: 600; fill: var(--ink-2); }
.v-label.inv { fill: #fff; }
.v-tag { fill: #fff; stroke: rgb(11 42 51 / 0.12); }
.v-ic { fill: var(--express); }
.v-dot { fill: #fff; stroke: var(--teal); stroke-width: 4; }
.v-pin-ring { fill: #fff; }
.v-pin { fill: var(--orange); }
.v-ban { fill: #fff; stroke: #c8371d; stroke-width: 3.5; }
.v-ban-bar { stroke: #c8371d; stroke-width: 3.5; stroke-linecap: round; }
.v-hatch { fill: none; stroke: #c8371d; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 7; }
.v-poi { fill: #fff; stroke: var(--teal); stroke-width: 2.5; }
.v-poi-glyph { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-card { fill: #fff; stroke: rgb(11 42 51 / 0.1); }
.v-screen { fill: #10272f; }
.v-dash-body { fill: #1c3a44; }

/* Motion: only when JS has marked the page and the visitor allows motion. */
.draw { stroke-dasharray: 1; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .anim .draw { stroke-dashoffset: 1; }
  .js .anim .pop { opacity: 0; transform: scale(0.4); }
  .js .anim .fade { opacity: 0; }
  .js .anim .pop, .js .anim .fade { transform-box: fill-box; transform-origin: center; }

  .js .anim.in-view .draw {
    animation: draw var(--dur, 1.6s) var(--ease) var(--delay, 0s) forwards;
  }
  .js .anim.in-view .pop {
    animation: pop 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) var(--delay, 0s) forwards;
  }
  .js .anim.in-view .fade {
    animation: fade 0.6s ease var(--delay, 0s) forwards;
  }

  .js .reveal { opacity: 0; transform: translateY(18px); }
  .js .reveal.in-view {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.8s var(--ease);
    transition-delay: var(--delay, 0s);
  }

  .pulse { animation: pulse 2.6s ease-out 3.4s infinite; transform-box: fill-box; transform-origin: center; }
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.55; }
  70%, 100% { transform: scale(2.3); opacity: 0; }
}

/* Hero map palette (dark) */
.hm-bg { fill: #0b3441; }
.hm-block { fill: #0f414f; }
.hm-water { fill: #0a2c3a; }
.hm-park { fill: #12504f; }
.hm-street { fill: none; stroke: #1b5361; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.hm-street.thin { stroke-width: 4; }
.hm-express { fill: none; stroke: #2f8f6a; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.hm-express-line { fill: none; stroke: #bfe9d2; stroke-width: 1.5; stroke-dasharray: 7 9; opacity: 0.7; }
.hm-ghost { fill: none; stroke: #6f97a0; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1.5 10; }
.hm-casing { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.hm-route { fill: none; stroke: #19b5a5; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.012 0.016; }
.hm-tag { fill: #fff; }
.hm-label { font-family: var(--font-body); font-size: 13px; font-weight: 700; fill: var(--ink); }
.hm-label.dim { font-size: 11.5px; font-weight: 600; fill: #9cc3c9; }

/* ---------- Pricing ---------- */

.band {
  background: var(--deep);
  color: #fff;
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(40px, 7vw, 96px) clamp(22px, 5vw, 80px);
}
.band .eyebrow { color: var(--mint); }
.band .section-head p { color: rgb(255 255 255 / 0.8); }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(36px, 5vw, 60px);
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
}
.plan.pro { background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgb(2 18 24 / 0.4); }
.plan h3 { font-size: 1.7rem; }
.plan .price {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.plan .price small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.78;
}
.plan .ticks { margin-top: 26px; }
.plan .ticks li { color: inherit; opacity: 0.92; }
.plan:not(.pro) .ticks li::before { border-color: var(--mint); }
.plan .plan-foot { margin-top: auto; padding-top: 26px; font-size: 0.92rem; opacity: 0.8; }
.plans-note {
  margin-top: 28px;
  max-width: 62em;
  font-size: 0.93rem;
  line-height: 1.55;
  color: rgb(255 255 255 / 0.72);
}
.plans-note a { color: #fff; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Limits ---------- */

.limits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 72px);
  margin-top: clamp(36px, 5vw, 60px);
  list-style: none;
}
.limits li { padding: 24px 0; border-top: 1px solid var(--line); }
.limits h3 { font-size: 1.22rem; letter-spacing: -0.012em; }
.limits p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 760px) { .limits { grid-template-columns: 1fr; } }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  min-height: 44px;
  font-weight: 650;
  color: var(--teal);
}
.more-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.more-link:hover svg { transform: translateX(3px); }

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

.faq { margin-top: clamp(32px, 5vw, 56px); max-width: 52rem; 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: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .answer { padding: 0 4px 26px; max-width: 44em; color: var(--ink-2); }
.faq .answer p + p { margin-top: 12px; }

/* ---------- Closing ---------- */

.closing {
  text-align: center;
  padding-block: clamp(72px, 10vw, 136px);
}
.closing img { width: 96px; height: 96px; margin-inline: auto; border-radius: 22px; box-shadow: 0 20px 44px rgb(7 42 54 / 0.24); }
.closing h2 { margin-top: 30px; font-size: clamp(2.3rem, 6vw, 4.4rem); letter-spacing: -0.035em; }
.closing p { margin: 18px auto 0; max-width: 34em; color: var(--ink-2); font-size: 1.12rem; }
.closing .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

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

.site-footer {
  background: var(--deep);
  color: rgb(255 255 255 / 0.82);
  padding-block: clamp(48px, 7vw, 80px) 36px;
  font-size: 0.96rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.site-footer .brand { color: #fff; }
.site-footer .blurb { margin-top: 14px; max-width: 24em; color: rgb(255 255 255 / 0.7); }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.6);
}
.site-footer ul { list-style: none; margin-top: 12px; }
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  color: rgb(255 255 255 / 0.88);
}
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.legal-line {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.62);
}
.legal-line p + p { margin-top: 8px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Document pages ---------- */

.doc-hero {
  background: var(--deep);
  color: #fff;
  padding-block: clamp(48px, 7vw, 88px);
}
.doc-hero .eyebrow { color: var(--mint); }
.doc-hero h1 { margin-top: 18px; font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.035em; }
.doc-hero p { margin-top: 18px; max-width: 40em; font-size: 1.14rem; color: rgb(255 255 255 / 0.82); }
.doc-hero .meta { margin-top: 22px; font-size: 0.92rem; color: rgb(255 255 255 / 0.66); }

.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(40px, 6vw, 80px) var(--section);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-size: 0.93rem;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow: auto;
}
.toc h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc ol { list-style: none; margin-top: 10px; border-left: 2px solid var(--line); }
.toc a {
  display: block;
  padding: 7px 0 7px 14px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--ink-2);
  line-height: 1.35;
}
.toc a:hover { color: var(--ink); border-left-color: var(--teal); }
@media (max-width: 860px) {
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; padding: 20px; border-radius: var(--radius-sm); background: var(--paper-2); }
}

.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  margin-top: 2.4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  letter-spacing: -0.022em;
  line-height: 1.15;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--teal); }
.prose a { color: var(--teal); font-weight: 550; }
.prose strong { font-weight: 650; }
.prose .summary {
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
}
.prose .summary h2 { margin: 0; padding: 0; border: 0; font-size: 1.2rem; }
.prose .summary ul { margin-top: 12px; }
.prose .callout {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  border-left: 4px solid var(--orange);
}

.table-scroll { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }
.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.45;
}
.prose th, .prose td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
}
.prose tbody th { font-weight: 650; width: 24%; }

.contact-card {
  display: grid;
  gap: 6px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 16px 40px rgb(7 42 54 / 0.08), inset 0 0 0 1px var(--line);
}
.contact-card .mail {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--teal);
  overflow-wrap: anywhere;
}

/* ---------- Draft & pending markers ---------- */

mark.pending {
  padding: 1px 6px;
  border-radius: 6px;
  background: #ffe08a;
  color: #4a3500;
  font-weight: 600;
  font-size: 0.92em;
}

.draft-banner { display: none; }
.is-draft .draft-banner {
  display: block;
  padding: 10px var(--gutter);
  background: #ffe08a;
  color: #3a2a00;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

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

.notfound { padding-block: clamp(80px, 14vw, 180px); text-align: center; }
.notfound h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.035em; }
.notfound p { margin: 18px auto 30px; max-width: 30em; color: var(--ink-2); }

@media print {
  .site-header, .site-footer, .toc, .draft-banner, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .doc-hero { background: none; color: #000; padding: 0 0 12pt; }
  .doc-hero p, .doc-hero .meta { color: #333; }
  .doc { display: block; padding: 0; }
}
