:root {
  --paper: #F4F1EA;
  --ink: #1C1B1A;
  --ink-soft: #3A3733;
  --muted: #6B655E;
  --green: #4F6F52;
  --green-soft: #E7EDE4;
  --line: #E2DDD2;
  --white: #FFFFFF;
  --danger: #B4442F;
  --seal: #A8402F;   /* hanko vermillion — decorative provenance mark only, never a functional error color */

  /* Primary CTA: the hero's own shu, so buttons and hero share one red.
     (Owner: the deepened #C64427 read too dark. White text on this = 4.2:1 —
     a hair under formal AA 4.5 for 16px text; revisit if it ever matters.) */
  --cta: #D94A2B;
  --cta-deep: #C0401F;

  /* Hero pigments, reused as accents so the page below shares the hero's palette. */
  --shu: #D94A2B;
  --yamabuki: #E8B31E;
  --yamabuki-ink: #8A6A10;   /* darkened yamabuki for strokes on the soft-yellow chip */
  --ruri: #2E5FA8;
  --wakatake: #3E8A63;
  --shu-soft: #F8E3DB;
  --yamabuki-soft: #F9EDD0;
  --ruri-soft: #E0E8F4;
  --wakatake-soft: #DFEEE5;

  /* Visual-experiment fonts (web fonts, DESIGN-DECISIONS override per owner 2026-07-02):
     Fraunces = editorial display without the MS-Word/Times vibe; Inter = crisp UI body.
     CJK fallbacks come AFTER the Latin web fonts (which have no kanji/kana glyphs) so
     Japanese text (ja.html) still renders in a real system Japanese font, not tofu —
     browsers fall back per-glyph, so English and Japanese share one font stack. */
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;

  --gutter: clamp(20px, 5vw, 76px);

  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button, a, input { font: inherit; }
button { color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-ink {
  background: var(--cta);
  color: var(--white);
}
.btn-ink:hover {
  background: var(--cta-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217, 74, 43, .28);
}
.btn-block { display: flex; width: 100%; }

/* ---------- Top bar ----------
   Fully transparent over the hero (owner request); it grows a washi floor +
   hairline once the page scrolls so links stay readable over content. */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}
.topbar.is-solid {
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom-color: var(--line);
}
/* Legal pages (privacy/terms/refund) load no JS, so the scroll-driven
   .is-solid floor never arrives — they get a static, always-readable bar
   instead of a transparent fixed one overlapping the policy text. */
.topbar.topbar-static {
  position: static;
  background: var(--paper);
  border-bottom-color: var(--line);
}

/* ---------- Legal pages (privacy/terms/refund) ----------
   These pages ship no JS and inline style= attributes are dead under the
   production CSP (style-src 'self'), so their few page-specific styles live
   here as classes — never as style attributes. */
.legal-h { font-size: 1.05rem; margin-top: 32px; }
.legal-p { margin-top: 12px; }
.legal-gap { margin-top: 20px; }
.legal-fine { margin-top: 28px; }
.legal-a { color: var(--green); text-decoration: underline; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .005em;   /* mixed-case "CoHours" reads best near-natural spacing */
}
/* "Co" carries the brand color (the "Co" is the logo motif — two of something). */
.wordmark-co { color: var(--cta); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-menu a { color: var(--ink-soft); font-size: 15px; }
.nav-menu a:hover { color: var(--green); }
/* Persistent CTA: always visible, never hidden behind the hamburger. */
.nav-cta { color: var(--white); }
.nav-cta:hover { color: var(--white); }
.nav-login { color: var(--muted); }

/* ---------- Language toggle (EN / 日本語) ----------
   Lives inside .nav-menu (hamburger-gated on mobile) so it never crowds the
   top bar's persistent Start-free CTA. Extra specificity (.nav-menu .lang-pill)
   deliberately beats the generic ".nav-menu a" rules below/in the mobile query. */
.nav-lang { padding: 10px 0; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.nav-menu .lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px; /* tap-target floor (番人ハード制約) */
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.nav-menu .lang-pill.lang-current { background: var(--ink); color: var(--paper); }
.nav-menu a.lang-pill.lang-switch:hover { color: var(--green); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  /* +66px: the top bar is fixed and transparent, so the hero extends underneath it. */
  padding: calc(66px + clamp(64px, 10vh, 128px)) 0 clamp(64px, 10vh, 120px);
  isolation: isolate;
}
#ink-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
  /* Dissolve into the washi toward the bottom edge — the color fades out before
     the section boundary, so the hero never visibly "ends" against the next band. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
}
.hero-inner {
  position: relative;
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
}
/* Legibility scrim: a soft washi halo behind the hero text so the dark serif
   stays readable no matter what the ink animation is doing behind it. */
.hero-inner::before {
  content: "";
  position: absolute;
  inset: -14% -16%;
  z-index: -1;
  background: radial-gradient(58% 62% at 50% 46%,
    color-mix(in srgb, var(--paper) 82%, transparent) 0%,
    color-mix(in srgb, var(--paper) 60%, transparent) 42%,
    transparent 78%);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(38px, 7vw, 64px);
  letter-spacing: -.01em;
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--ink-soft);
}
.cta-block { margin-top: 34px; }
.cta-micro {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 34px;
  font-size: 15px;
  color: var(--muted);
}
.quiet-link:hover { color: var(--green); }
.quiet-link svg { width: 18px; height: 18px; }

/* ---------- Motion: hero entrance + scroll reveals ---------- */
@keyframes fxRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.fx-rise { animation: fxRise .8s cubic-bezier(.16, .84, .28, 1) both; }
.fx-d1 { animation-delay: .06s; }
.fx-d2 { animation-delay: .18s; }
.fx-d3 { animation-delay: .32s; }
.fx-d4 { animation-delay: .48s; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.16, .84, .28, 1), transform .7s cubic-bezier(.16, .84, .28, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Brush underline: a small watercolor stroke under selected band titles. */
.u-brush { position: relative; display: inline-block; }
.u-brush::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -12px;
  height: 7px;
  border-radius: 8px 12px 9px 14px;
  transform: rotate(-.6deg);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--brush, var(--wakatake)) 80%, transparent),
    color-mix(in srgb, var(--brush, var(--wakatake)) 45%, transparent));
}
.u-shu { --brush: var(--shu); }
.u-ruri { --brush: var(--ruri); }
.u-wakatake { --brush: var(--wakatake); }

/* ---------- Bands ---------- */
.band { padding: clamp(64px, 10vh, 112px) 0; }
.band-title {
  font-size: clamp(28px, 4.2vw, 40px);
  letter-spacing: -.01em;
}
.lead {
  margin-top: 20px;
  font-size: clamp(18px, 2.6vw, 22px);
  color: var(--ink-soft);
}

/* How it works */
.how .band-title { text-align: center; margin-bottom: 52px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}
.step { text-align: center; }
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  margin-bottom: 18px;
}
.step-icon svg { width: 26px; height: 26px; }
.step-title { font-size: 22px; margin-bottom: 8px; }
.step-body { color: var(--muted); font-size: 16px; }
/* Each step borrows one hero pigment so the page shares the hero's palette. */
.step:nth-child(1) .step-icon { background: var(--shu-soft); color: var(--shu); border-color: transparent; }
.step:nth-child(2) .step-icon { background: var(--yamabuki-soft); color: var(--yamabuki-ink); border-color: transparent; }
.step:nth-child(3) .step-icon { background: var(--ruri-soft); color: var(--ruri); border-color: transparent; }

/* Feels + Who for */
.feels { background: var(--green-soft); }
.feels .lead, .whofor .lead { max-width: 620px; margin-left: auto; margin-right: auto; }
/* whofor background: owner-provided screenshot of the ink hero mid-flow
   (whofor-ink.png, chosen 2026-07-06). Do NOT substitute a generated wash —
   it reads as a stain. The FULL image is shown — the ink deliberately rises
   past the band into the section above (owner: the upward drift is part of
   one fluid motion; crossing the section divider is intended). z-index:-1
   keeps it behind neighboring bands' text; those bands have no background
   of their own, so the ink shows through. */
.whofor { position: relative; }
.whofor::before {
  content: "";
  position: absolute;
  right: 1%;
  bottom: -24px;
  height: clamp(560px, 64vw, 820px);
  aspect-ratio: 717 / 752;
  background: url("whofor-ink.png?v=1") center / contain no-repeat;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 48%, #000 52%, transparent 98%);
  mask-image: radial-gradient(ellipse closest-side at 50% 48%, #000 52%, transparent 98%);
  z-index: -1;
  pointer-events: none;
}
.whofor .wrap { position: relative; }

/* Features */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}
.feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 22px;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: none; padding-bottom: 0; }
.feature-icon {
  grid-column: 1;
  grid-row: 1 / span 2;               /* icon spans both rows so title+body stack in col 2 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-title { grid-column: 2; font-size: 24px; margin-bottom: 6px; }
.feature-body { grid-column: 2; color: var(--muted); font-size: 17px; max-width: 46ch; }
.feature:nth-child(1) .feature-icon { background: var(--shu-soft); color: var(--shu); }
.feature:nth-child(2) .feature-icon { background: var(--ruri-soft); color: var(--ruri); }
.feature:nth-child(3) .feature-icon { background: var(--wakatake-soft); color: var(--wakatake); }

/* Provenance — a slim interlude band; the enso seal is the single spot of
   vermillion on the whole page, so it stays a mark, not a theme. */
.provenance { padding: clamp(48px, 7vh, 72px) 0; }
.seal {
  display: inline-flex;
  color: var(--seal);
  margin-bottom: 14px;
}
.seal svg { width: 30px; height: 30px; stroke-width: 2.1; }
.provenance-title { font-size: clamp(24px, 3.4vw, 32px); }
.provenance-lead {
  margin-top: 12px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
}

/* Founder */
.founder { background: var(--green-soft); }
/* The card reads wide, not tall — it gets a wider wrap than other narrow bands
   (owner, 2026-07-06: use the horizontal room, keep the card short). */
.founder .wrap.narrow { max-width: 880px; }
.founder-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
}
.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.founder-body .band-title { font-size: 26px; margin-bottom: 16px; }
.founder-text { color: var(--ink-soft); font-size: 17px; }
.founder-sign { margin-top: 18px; color: var(--muted); font-size: 15px; font-style: italic; }

/* Legal pages (privacy / terms / refund) — quiet prose, no inline styles (CSP) */
.legal { max-width: 720px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--ink); text-decoration: underline; }
.legal .legal-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 18px;
}
.legal .legal-updated { margin-top: 40px; color: var(--muted); font-size: 14px; }

/* Testimonials (populated by app.js when TESTIMONIALS non-empty) */
.testimonial-carousel { margin-top: 36px; display: grid; gap: 20px; }
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
}
.testimonial-quote { font-size: 18px; color: var(--ink-soft); }
.testimonial-name { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Voices marquee: 3 rows drift sideways, middle row reversed ---------- */
.voices { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.voices-note { text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.marquee { margin-top: 40px; display: grid; gap: 10px; }
.marquee-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  gap: 18px;
  padding-right: 18px;      /* keeps the loop seam the same width as the inter-card gap */
  width: max-content;
  animation: marqueeDrift 52s linear infinite;
}
.marquee-row:nth-child(2) .marquee-track { animation-duration: 64s; animation-direction: reverse; }
.marquee-row:nth-child(3) .marquee-track { animation-duration: 46s; }
/* No hover-pause (owner): the rows keep drifting even under the cursor. */
@keyframes marqueeDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.voice-card {
  flex: 0 0 auto;
  width: min(340px, 76vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}
.voice-quote { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.voice-name { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing .band-title { margin-bottom: 28px; }
.price-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  margin-bottom: 32px;
}
.toggle-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
}
.toggle-opt.is-active {
  background: var(--cta);
  color: var(--white);
}
.toggle-save {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}
.toggle-opt.is-active .toggle-save { background: rgba(255,255,255,.18); color: var(--paper); }

.price-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  box-shadow: 0 20px 50px rgba(28, 27, 26, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(28, 27, 26, .10);
}
.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.price-num { font-family: var(--serif); font-size: 52px; font-weight: 600; }
.price-per { font-size: 18px; color: var(--muted); }
.price-note { margin-top: 6px; font-size: 14px; color: var(--muted); }

.checklist {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 14px;
}
.checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  color: var(--ink-soft);
}
.check { color: var(--green); display: inline-flex; }
.check svg { width: 20px; height: 20px; stroke-width: 2.2; }

.coupon { margin-bottom: 22px; text-align: left; }
.coupon-toggle {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
}
.coupon-field { margin-top: 10px; }
.coupon-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.coupon-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}
.coupon-input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }

.small-print {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq .band-title { margin-bottom: 40px; }
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.faq-chev {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 4px 24px; }
.faq-a p { color: var(--muted); font-size: 16px; max-width: 60ch; }

/* ---------- Final CTA ----------
   A light reprise of the hero: washi ground, the four pigments drifting softly.
   (Was an ink-black band — owner: the dark slab clashed with the watercolor page.) */
.final-cta {
  position: relative;
  background: var(--paper);
  color: var(--ink);
}
/* No overflow clipping here — the glow layer deliberately spills 120px past the
   band's top/bottom and fades to nothing at its own edges, so there is no line
   where the band "starts" against the FAQ above or the footer below. */
.final-cta::before {
  content: "";
  position: absolute;
  inset: -120px 0;
  pointer-events: none;
  background:
    radial-gradient(30% 42% at 10% 24%, rgba(217, 74, 43, .30), transparent 70%),
    radial-gradient(26% 38% at 90% 14%, rgba(232, 179, 30, .28), transparent 70%),
    radial-gradient(30% 44% at 14% 88%, rgba(46, 95, 168, .26), transparent 70%),
    radial-gradient(28% 40% at 88% 84%, rgba(62, 138, 99, .26), transparent 70%);
  animation: glowDrift 18s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
}
/* Vertical-only drift: horizontal movement/scale would overflow the viewport
   now that the band no longer clips its glow layer. */
@keyframes glowDrift {
  from { transform: translate3d(0, -1.5%, 0) scaleY(1); }
  to { transform: translate3d(0, 1.5%, 0) scaleY(1.06); }
}
.final-cta .wrap { position: relative; }
.final-title {
  font-size: clamp(30px, 5vw, 48px);
  color: var(--ink);
}
.final-cta .cta-block { margin-top: 30px; }
.final-cta .cta-micro { color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  background: var(--paper);
  /* No border-top: the final band's glow melts across this boundary. */
  padding: 56px 0 72px;
}
.footer-inner { display: grid; gap: 20px; }
.footer-brand .wordmark { display: inline-block; }
.footer-mission { margin-top: 8px; color: var(--muted); font-size: 15px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a { color: var(--ink-soft); font-size: 14px; }
.footer-links a:hover { color: var(--green); }
.footer-fine { color: var(--muted); font-size: 13px; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  display: none;
}
/* The sticky bar is a MOBILE thumb-zone action only; on desktop the top-bar CTA
   is always visible, so it never appears there even when .is-visible is set. */
.sticky-cta .cta-micro { margin-top: 6px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .feature { grid-template-columns: 56px 1fr; gap: 18px; }
  .founder-card { grid-template-columns: 96px 1fr; gap: 24px; }
  .founder-avatar { width: 96px; height: 96px; }
}

@media (max-width: 850px) {
  .nav-toggle { display: inline-flex; }
  .nav { gap: 12px; }
  .nav-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
  .nav-menu {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
    box-shadow: 0 18px 40px rgba(28, 27, 26, .08);
  }
  .nav-menu:not(.is-open) { display: none; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 12px 0; font-size: 17px; }
  .steps { grid-template-columns: 1fr; gap: 44px; max-width: 420px; margin-inline: auto; }

  /* sticky CTA is mobile-only; reserve space so it never occludes the footer/legal links */
  .sticky-cta.is-visible { display: block; }
  body.has-sticky-cta { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 720px) {
  .founder-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .founder-avatar { width: 88px; height: 88px; }
  .founder-body .band-title { text-align: center; }
  .founder-sign { text-align: center; }
}

@media (max-width: 390px) {
  body { font-size: 16px; }
  .wrap { --gutter: 18px; }
  .price-num { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
