/* =========================================================
   CHIENOWA LP v8.0 — BtoB lead-gen redesign
   - Information-priority rebuild
   - Editorial typography + numeric prominence
   - Strong proof scaffolding for decision-makers
   ========================================================= */

/* ===================== Design Tokens ===================== */
:root {
  /* HEX fallbacks first */
  --bg: #f9f6ef;
  --paper: #f1ebde;
  --paper-warm: #ece4d2;
  --ink: #14211f;
  --ink-soft: #475552;
  --ink-muted: #6f7c79;
  --line: #d8d0c0;
  --line-soft: #e6ddc9;

  --brand: #0f3a35;
  --brand-deep: #08221f;
  --brand-mid: #245a52;
  --brand-soft: #bcd0c8;
  --brand-faint: #e5ede9;

  --accent: #b97e2a;
  --accent-bright: #d49544;
  --accent-soft: #ecdbb9;

  --on-dark: #f4efe5;
  --on-dark-muted: #b8b4a6;
}

@supports (color: oklch(0% 0 0)) {
  :root {
    --bg: oklch(0.975 0.012 92);
    --paper: oklch(0.945 0.018 88);
    --paper-warm: oklch(0.92 0.025 85);
    --ink: oklch(0.20 0.018 175);
    --ink-soft: oklch(0.42 0.018 175);
    --ink-muted: oklch(0.56 0.014 175);
    --line: oklch(0.86 0.014 88);
    --line-soft: oklch(0.91 0.012 88);

    --brand: oklch(0.34 0.055 173);
    --brand-deep: oklch(0.22 0.045 173);
    --brand-mid: oklch(0.45 0.06 173);
    --brand-soft: oklch(0.87 0.03 165);
    --brand-faint: oklch(0.945 0.015 165);

    --accent: oklch(0.62 0.115 70);
    --accent-bright: oklch(0.72 0.13 72);
    --accent-soft: oklch(0.92 0.045 80);

    --on-dark: oklch(0.95 0.012 88);
    --on-dark-muted: oklch(0.74 0.014 88);
  }
}

:root {
  /* Fluid type scale — generous, editorial */
  --t-mega: clamp(1.85rem, 1.1rem + 1.8vw, 2.75rem);
  --t-display: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem);
  --t-h1: clamp(2.0rem, 1.4rem + 2.4vw, 3.4rem);
  --t-h2: clamp(1.7rem, 1.25rem + 1.6vw, 2.6rem);
  --t-h3: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  --t-lead: clamp(1.05rem, 0.98rem + 0.32vw, 1.22rem);
  --t-body: clamp(0.98rem, 0.94rem + 0.18vw, 1.075rem);
  --t-small: 0.875rem;
  --t-xs: 0.78rem;
  --t-eyebrow: 0.78rem;

  /* Variable type controls (Tweaks-targeted) */
  --tweak-font-scale: 1;
  --tweak-line-height: 1.78;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;
  --sp-11: 10rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(8, 34, 31, 0.06);
  --shadow-md: 0 6px 22px rgba(8, 34, 31, 0.08);
  --shadow-lg: 0 18px 48px rgba(8, 34, 31, 0.12);
  --shadow-xl: 0 30px 80px rgba(8, 34, 31, 0.16);

  --container-max: 1200px;
  --container-px: clamp(1.25rem, 4vw, 2.5rem);

  --font-jp-serif: "Zen Old Mincho", "Yu Mincho", "YuMincho", serif;
  --font-jp-sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Fraunces", "Zen Old Mincho", Georgia, serif;
}

/* Wait — Fraunces was banned in spec. Use Zen Old Mincho for numerals instead. */
:root {
  --font-num: "Zen Old Mincho", Georgia, "Yu Mincho", serif;
}

/* ===================== Reset / Base ===================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp-sans);
  font-size: calc(var(--t-body) * var(--tweak-font-scale));
  line-height: var(--tweak-line-height);
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  padding-block-end: env(safe-area-inset-bottom);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-jp-serif);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.32;
  text-wrap: balance;
  color: var(--brand-deep);
  /* Japanese-friendly line breaking: do NOT split compound words mid-character.
     Use break-word (only as a last resort if a word has no break opportunity)
     instead of anywhere (which allows breaking at any character). */
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

.nowrap { white-space: nowrap; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.final-close :focus-visible,
.btn--ondark:focus-visible {
  outline-color: var(--accent-bright);
  outline-width: 3px;
}

/* Numerals get serif tabular treatment */
.num,
.metric__value,
.stat__num,
.step__num-display,
.deliverable__big-num {
  font-family: var(--font-num);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: -0.01em;
}

/* ===================== Container helpers ===================== */
.section {
  padding-block: clamp(4.5rem, 7.5vw, 7.5rem);
  position: relative;
}

.section__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section--narrow .section__inner { max-width: 880px; }

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-jp-sans);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brand);
  margin-block-end: var(--sp-4);
  text-transform: uppercase;
}
.section__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section__title {
  font-size: var(--t-h2);
  margin-block-end: var(--sp-5);
  color: var(--brand-deep);
}

.section__intro {
  font-size: var(--t-lead);
  color: var(--ink-soft);
  max-inline-size: 56ch;
  line-height: 1.85;
  margin-block-end: var(--sp-7);
}

.br-sp { display: none; }
@media (max-width: 720px) {
  .br-sp { display: inline; }
}

/* ===================== Site Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @supports (background: color-mix(in oklch, white, transparent)) {
    .site-header {
      background: color-mix(in oklch, var(--bg) 88%, transparent);
      backdrop-filter: saturate(160%) blur(14px);
      -webkit-backdrop-filter: saturate(160%) blur(14px);
    }
  }
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }

.site-header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--sp-3) var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  line-height: 1.1;
}
.site-header__brand-logo {
  display: block;
  height: 30px;
  width: auto;
  max-width: none;
}
.site-header__brand-mark {
  font-family: var(--font-jp-serif);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  color: var(--brand-deep);
}
.site-header__brand-sub {
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  border-left: 1px solid var(--line);
  padding-inline-start: 0.7em;
}
@media (max-width: 560px) {
  .site-header__brand-logo { height: 24px; }
}

.site-header__nav {
  display: none;
  gap: var(--sp-5);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.site-header__nav a {
  position: relative;
  padding-block: 4px;
  transition: color 0.15s;
}
.site-header__nav a:hover { color: var(--brand-deep); }
.site-header__nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.site-header__nav a:hover::after { transform: scaleX(1); }

@media (min-width: 960px) {
  .site-header__nav { display: inline-flex; }
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.3em;
  background: var(--brand);
  color: var(--on-dark);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 700;
  min-height: 42px;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, transform 0.15s ease;
}
.site-header__cta::after {
  content: "→";
  font-family: var(--font-num);
  font-size: 1.1em;
  transition: transform 0.15s;
}
.site-header__cta:hover { background: var(--brand-deep); transform: translateY(-1px); }
.site-header__cta:hover::after { transform: translateX(3px); }

@media (max-width: 480px) {
  .site-header__brand-sub { display: none; }
  .site-header__cta { font-size: 0.78rem; padding: 0.5em 0.9em; }
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 1.1em 1.8em;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  text-align: center;
  min-height: 58px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-wrap: balance;
}
.btn__main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  white-space: nowrap;
}
.btn__sub {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.82;
  white-space: nowrap;
}

.btn--large {
  padding: 1.2em 2em;
  font-size: 1.08rem;
  min-height: 66px;
}

.btn--primary {
  background: var(--brand);
  color: var(--on-dark);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--primary .btn__arrow {
  margin-inline-start: 0.4em;
  display: inline-block;
  transition: transform 0.15s;
}
.btn--primary:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--brand-deep);
  border-color: rgba(15, 58, 53, 0.4);
  border-color: color-mix(in oklch, var(--brand) 40%, transparent);
}
.btn--ghost:hover {
  background: rgba(15, 58, 53, 0.05);
  background: color-mix(in oklch, var(--brand) 5%, transparent);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.btn--ondark.btn--primary {
  background: var(--accent);
  color: #1a1409;
}
.btn--ondark.btn--primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 18px 48px rgba(185, 126, 42, 0.25);
}
.btn--ondark.btn--ghost {
  color: var(--on-dark);
  border-color: rgba(244, 239, 229, 0.5);
  border-color: color-mix(in oklch, var(--on-dark) 50%, transparent);
}
.btn--ondark.btn--ghost:hover {
  background: rgba(244, 239, 229, 0.08);
  background: color-mix(in oklch, var(--on-dark) 8%, transparent);
  border-color: var(--on-dark);
}

.btn--block { display: flex; width: 100%; }

/* LINE CTA — outlined LINE green for substantial-but-secondary feel */
.btn--line {
  background: transparent;
  color: #06C755;
  border-color: #06C755;
  border-width: 2px;
  box-shadow: none;
}
.btn--line:hover {
  background: rgba(6, 199, 85, 0.06);
  border-color: #05B14A;
  color: #05B14A;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.18);
}
.btn--line .btn__main {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
}
.btn--line .btn__icon-line {
  width: 20px;
  height: 20px;
  color: #06C755;
  flex-shrink: 0;
}
.btn--line.btn--ondark {
  background: transparent;
  color: #4DDB85;
  border-color: #4DDB85;
}
.btn--line.btn--ondark:hover {
  background: rgba(77, 219, 133, 0.08);
  border-color: #75E3A1;
  color: #75E3A1;
}
.btn--line.btn--ondark .btn__icon-line { color: #4DDB85; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.5rem, 7vw, 5.5rem);
  background: var(--bg);
}

/* subtle grid backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 58, 53, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 58, 53, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.hero__copy { display: grid; gap: var(--sp-5); max-inline-size: 62ch; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-family: var(--font-jp-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brand);
  margin: 0;
}
.hero__kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__eyebrow {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand);
}

.hero__title {
  font-family: var(--font-jp-serif);
  font-weight: 700;
  font-size: var(--t-mega);
  line-height: 1.45;
  color: var(--brand-deep);
  letter-spacing: -0.005em;
  margin-block: 0.1em;
}
.hero__title .accent {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}
.hero__title .underline {
  display: inline;
  background-image: linear-gradient(transparent 62%, var(--accent-soft) 62%, var(--accent-soft) 92%, transparent 92%);
  padding: 0 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead {
  font-size: var(--t-lead);
  color: var(--ink-soft);
  line-height: 1.9;
  max-inline-size: 52ch;
}
.hero__lead strong {
  color: var(--brand-deep);
  font-weight: 700;
  background: linear-gradient(transparent 60%, var(--accent-soft) 60%);
}

.hero__cta-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-block-start: var(--sp-3);
  max-inline-size: 460px;
}
.hero__cta-block .btn { width: 100%; }
@media (min-width: 720px) {
  .hero__cta-block {
    flex-direction: row;
    flex-wrap: wrap;
    max-inline-size: none;
  }
  .hero__cta-block .btn { flex: 1 1 280px; max-width: 420px; }
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.4em;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-block-start: var(--sp-2);
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.hero__trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
  flex-shrink: 0;
}
.hero__trust-item--urgent {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-basis: 100%;
  font-size: 0.84rem;
  padding-block-end: 0.5em;
  border-block-end: 1px solid var(--line-soft);
  margin-block-end: 0.2em;
}
.hero__trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 18%, transparent);
  flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}

/* Hero visual: photo with deliverable overlay card */
.hero__visual {
  position: relative;
  isolation: isolate;
}
.hero__visual-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--paper);
  aspect-ratio: 4 / 3.4;
}
.hero__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 34, 31, 0.15) 100%);
  pointer-events: none;
}

/* Stamps / badges floating on visual */
.hero__stamp {
  position: absolute;
  background: var(--bg);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--line-soft);
  z-index: 2;
}
.hero__stamp--top {
  inset-block-start: -20px;
  inset-inline-start: -28px;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.hero__stamp--bottom {
  inset-block-end: -28px;
  inset-inline-end: -16px;
  max-width: 280px;
}
@media (max-width: 980px) {
  .hero__stamp--top { inset-inline-start: 12px; inset-block-start: -16px; }
  .hero__stamp--bottom { inset-inline-end: 12px; inset-block-end: -20px; }
}

.hero__stamp-num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero__stamp-label {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.hero__stamp-label strong { color: var(--brand-deep); font-weight: 700; display: block; font-size: 0.92rem; }

.hero__stamp--bottom .hero__stamp-eyebrow {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-block-end: var(--sp-1);
}
.hero__stamp--bottom .hero__stamp-title {
  font-family: var(--font-jp-serif);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--brand-deep);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ===================== Stats Bar ===================== */
.stats {
  background: var(--brand-deep);
  color: var(--on-dark);
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(185, 126, 42, 0.12), transparent 60%);
  z-index: -1;
}

.stats__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.stats__intro {
  text-align: center;
  margin-block-end: var(--sp-5);
}
.stats__eyebrow {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  margin-block-end: var(--sp-2);
}
.stats__title {
  font-family: var(--font-jp-serif);
  font-weight: 700;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
  color: var(--on-dark);
  line-height: 1.55;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5) var(--sp-4);
  align-items: start;
}
@media (min-width: 760px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
  position: relative;
  padding-inline: var(--sp-2);
}
.stat + .stat::before {
  content: "";
  display: none;
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: color-mix(in oklch, var(--on-dark) 20%, transparent);
}
@media (min-width: 760px) {
  .stat + .stat::before { display: block; }
}

.stat__num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: clamp(2.4rem, 1.6rem + 2.5vw, 3.8rem);
  line-height: 1;
  color: var(--on-dark);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}
.stat__num-suffix {
  font-family: var(--font-jp-serif);
  font-size: 0.45em;
  font-weight: 700;
  color: var(--accent-bright);
  margin-inline-start: 0.1em;
  letter-spacing: 0.04em;
}
.stat__num-prefix {
  font-family: var(--font-jp-serif);
  font-size: 0.45em;
  font-weight: 700;
  color: var(--accent-bright);
  margin-inline-end: 0.1em;
  letter-spacing: 0.04em;
}
.stat__label {
  display: block;
  margin-block-start: var(--sp-3);
  font-size: 0.85rem;
  color: var(--on-dark-muted);
  line-height: 1.55;
  letter-spacing: 0.04em;
}
.stat__label strong { color: var(--on-dark); display: block; font-weight: 700; font-size: 0.95rem; margin-block-end: 2px; }

/* ===================== Pain Section ===================== */
.pain {
  background: var(--bg);
}

.pain__head {
  display: grid;
  gap: var(--sp-6);
  margin-block-end: var(--sp-8);
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .pain__head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--sp-8);
  }
}

.pain__title-block .section__title { margin-block-end: var(--sp-2); }
.pain__title-block-sub {
  font-size: var(--t-lead);
  color: var(--ink-soft);
  line-height: 1.9;
  max-inline-size: 42ch;
}

.pain__pattern-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1.2em;
  font-family: var(--font-jp-serif);
  font-weight: 700;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  color: var(--accent);
  margin-block: var(--sp-4) var(--sp-5);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.pain__quote {
  margin: 0;
  padding: var(--sp-6);
  background: var(--paper);
  border-radius: var(--r-md);
  position: relative;
  border-left: 4px solid var(--accent);
}
.pain__quote::before {
  content: "“";
  position: absolute;
  top: -8px;
  left: 18px;
  font-family: var(--font-jp-serif);
  font-size: 4.5rem;
  color: var(--accent);
  line-height: 1;
  font-weight: 900;
}
.pain__quote p {
  font-family: var(--font-jp-serif);
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem);
  line-height: 1.65;
  color: var(--brand-deep);
  font-weight: 700;
  margin-block: var(--sp-3) var(--sp-3);
  letter-spacing: 0.01em;
}
.pain__quote cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: block;
}

.pain__list {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pain__item {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pain__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.pain__item-photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  /* Match illustration warm-beige background so the card edge blends */
  background: var(--bg);
  border-block-end: 1px solid var(--line-soft);
}
.pain__item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.pain__item:hover .pain__item-photo img {
  transform: scale(1.04);
}

.pain__item-body-wrap {
  padding: var(--sp-5) var(--sp-5) var(--sp-5);
  display: grid;
  gap: var(--sp-3);
}

/* Legacy classes kept harmless (still referenced nowhere now) */
.pain__item-header { display: contents; }
.pain__item-icon { display: none; }

.pain__item-tag {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}

.pain__item-title {
  font-size: var(--t-h3);
  color: var(--brand-deep);
  line-height: 1.4;
}

.pain__item-body {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.pain__item-cost {
  margin-block-start: var(--sp-2);
  padding-block-start: var(--sp-3);
  border-block-start: 1px dashed var(--line);
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  gap: 0.5em;
  align-items: baseline;
}
.pain__item-cost strong {
  color: var(--accent);
  font-family: var(--font-num);
  font-weight: 700;
}

/* ===================== How / Process Section ===================== */
.how {
  background: var(--paper);
  border-block: 1px solid var(--line-soft);
}

.how__head {
  display: grid;
  gap: var(--sp-5);
  margin-block-end: var(--sp-8);
  max-inline-size: 70ch;
}

.how__head .section__intro {
  font-size: var(--t-lead);
  margin-block-end: 0;
}
.how__head .section__intro strong { color: var(--brand-deep); font-weight: 700; }

.how__layout {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .how__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-9);
    align-items: start;
  }
}

.how__visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft);
}
@media (min-width: 980px) {
  .how__visual { position: sticky; top: 100px; }
}

.how__visual img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--bg); }

.how__visual-caption {
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
}

.how__steps {
  display: grid;
  gap: var(--sp-5);
}

.how__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  align-items: start;
  position: relative;
  padding-block-end: var(--sp-5);
  border-block-end: 1px solid var(--line-soft);
}
.how__step:last-child { border-block-end: none; padding-block-end: 0; }

.how__step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 60px;
}

.how__step-num-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.how__step-time {
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  font-family: var(--font-num);
  font-weight: 700;
}

.how__step-title {
  font-size: 1.15rem;
  color: var(--brand-deep);
  margin-block-end: var(--sp-2);
  line-height: 1.4;
}

.how__step-body {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.how__step-detail {
  display: inline-flex;
  margin-block-start: var(--sp-3);
  gap: var(--sp-2);
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.how__step-detail::before {
  content: "→";
  font-family: var(--font-num);
  color: var(--accent);
}

/* ===================== Deliverable Section ===================== */
.deliverable { background: var(--bg); }

.deliverable__head {
  display: grid;
  gap: var(--sp-5);
  margin-block-end: var(--sp-8);
  max-inline-size: 70ch;
}

.deliverable__layout {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .deliverable__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--sp-8);
    align-items: start;
  }
}

.deliverable__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft);
  position: relative;
}
.deliverable__figure-tag {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.8em;
  background: rgba(8, 34, 31, 0.85);
  background: color-mix(in oklch, var(--brand-deep) 88%, transparent);
  color: var(--on-dark);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.deliverable__figure-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}
.deliverable__figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--bg);
}
.deliverable__figure figcaption {
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
}

.deliverable__items {
  display: grid;
  gap: var(--sp-5);
}

.deliverable__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: transform 0.2s, border-color 0.2s;
}
.deliverable__item:hover {
  transform: translateX(2px);
  border-color: color-mix(in oklch, var(--brand) 30%, transparent);
}

.deliverable__big-num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  min-width: 1.5em;
}

.deliverable__item-title {
  font-size: 1.15rem;
  color: var(--brand-deep);
  margin-block-end: var(--sp-2);
  line-height: 1.4;
}
.deliverable__item-body {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.deliverable__cta {
  margin-block-start: var(--sp-6);
  padding: var(--sp-5);
  background: var(--brand-faint);
  border-radius: var(--r-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  border: 1px solid var(--brand-soft);
}
.deliverable__cta-text {
  font-size: 0.95rem;
  color: var(--brand-deep);
  font-weight: 700;
  line-height: 1.6;
  max-inline-size: 32ch;
}

/* ===================== Comparison Section ===================== */
.compare { background: var(--paper); border-block: 1px solid var(--line-soft); }

.compare__head {
  text-align: center;
  margin-block-end: var(--sp-8);
}
.compare__head .section__eyebrow { justify-content: center; }
.compare__head .section__intro { margin-inline: auto; text-align: left; max-inline-size: 58ch; }
@media (min-width: 760px) {
  .compare__head .section__intro { text-align: center; }
}

.compare__table-wrap {
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.compare__table thead th {
  background: var(--paper-warm);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  font-family: var(--font-jp-serif);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare__table thead th:first-child {
  text-align: left;
  background: var(--paper);
  font-family: var(--font-jp-sans);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  padding-inline-start: var(--sp-5);
}
.compare__table thead th.is-featured {
  background: var(--brand-deep);
  color: var(--on-dark);
  position: relative;
}
.compare__table thead th.is-featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-num);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
}
.compare__table thead th.is-featured .compare__col-title { margin-block-start: var(--sp-3); }

.compare__col-title {
  display: block;
  font-size: 1.05rem;
  color: inherit;
  font-weight: 700;
  margin-block-end: 4px;
}
.compare__col-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
  font-weight: 500;
  font-family: var(--font-jp-sans);
  letter-spacing: 0.02em;
}
.compare__table thead th.is-featured .compare__col-sub { color: var(--on-dark-muted); }

.compare__table tbody td {
  padding: var(--sp-4) var(--sp-3);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.55;
}
.compare__table tbody tr:last-child td { border-bottom: none; }
.compare__table tbody td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--brand-deep);
  font-size: 0.95rem;
  padding-inline-start: var(--sp-5);
  width: 26%;
}
.compare__table tbody td.is-featured {
  background: color-mix(in oklch, var(--brand) 6%, var(--bg));
  background: rgba(15, 58, 53, 0.04);
  color: var(--brand-deep);
  font-weight: 700;
}
@supports (background: color-mix(in oklch, white, transparent)) {
  .compare__table tbody td.is-featured {
    background: color-mix(in oklch, var(--brand) 7%, var(--bg));
  }
}

.compare__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-faint);
  color: var(--brand);
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 0.95rem;
}
.compare__check.is-no {
  background: rgba(0,0,0,0.04);
  background: color-mix(in oklch, var(--ink) 6%, transparent);
  color: var(--ink-muted);
}
.compare__check.is-partial { background: var(--accent-soft); color: #6b4814; }
td.is-featured .compare__check {
  background: var(--brand);
  color: var(--on-dark);
}

@media (max-width: 760px) {
  /* Mobile: flatten the table by forcing browser-default table-layout off.
     Setting display to non-table-* values on td/tr can be unreliable because
     of intrinsic table cell behavior. Instead we keep them as table-cell but
     force a single-column table-row-group via grid wrapping. */
  .compare__table {
    table-layout: auto;
  }
  .compare__table thead { display: none; }
  .compare__table,
  .compare__table tbody {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .compare__table tbody tr {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-block-end: 1px solid var(--line-soft);
    padding-block: var(--sp-3);
  }
  .compare__table tbody tr:last-child { border-block-end: none; }
  .compare__table tbody td {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--sp-3);
    width: 100%;
    box-sizing: border-box;
    border-bottom: none;
    text-align: left;
    padding: var(--sp-2) var(--sp-5);
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
  }
  .compare__table tbody td:first-child {
    width: 100%;
    grid-template-columns: 1fr;
    background: var(--paper);
    font-family: var(--font-jp-serif);
    font-size: 1rem;
    padding-block: var(--sp-3);
    padding-inline: var(--sp-5);
    color: var(--brand-deep);
    font-weight: 700;
  }
  .compare__table tbody td::before {
    content: attr(data-col);
    font-size: 0.78rem;
    color: var(--ink-muted);
    font-weight: 500;
  }
  .compare__table tbody td:first-child::before { display: none; }
  .compare__table tbody td.is-featured {
    background: var(--brand-faint);
  }
}

/* ===================== Founder Section ===================== */
.founder { background: var(--bg); }

.founder__inner {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) {
  .founder__inner {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: var(--sp-9);
  }
}

.founder__profile {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 980px) {
  .founder__profile { position: sticky; top: 100px; }
}

.founder__photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--brand-faint);
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  filter: saturate(0.95);
}

.founder__meta {
  display: grid;
  gap: 6px;
}

.founder__name {
  font-family: var(--font-jp-serif);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--brand-deep);
  letter-spacing: 0.02em;
}
.founder__role {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.founder__metrics {
  display: grid;
  gap: var(--sp-3);
  margin-block-start: var(--sp-3);
  padding-block-start: var(--sp-3);
  border-block-start: 1px solid var(--line-soft);
}

.founder__metric {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
}
.founder__metric-num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  min-width: 3.5rem;
}
.founder__metric-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.founder__bio {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.85;
  padding-block-start: var(--sp-3);
  border-block-start: 1px solid var(--line-soft);
}

/* Founder right column */
.founder__main {
  display: grid;
  gap: var(--sp-6);
}

.founder__statement {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.95;
  max-inline-size: 58ch;
  margin-block-end: var(--sp-6);
}
.founder__statement strong { color: var(--brand-deep); font-weight: 700; }
.founder__reasons li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  padding-block-end: var(--sp-4);
  border-block-end: 1px solid var(--line-soft);
  align-items: start;
}
.founder__reasons li:last-child { border-block-end: none; padding-block-end: 0; }
.founder__reason-num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding-block-start: 4px;
  min-width: 28px;
}
.founder__reason-title {
  font-family: var(--font-jp-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-deep);
  margin-block-end: 6px;
  line-height: 1.5;
}
.founder__reason-body {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.founder__policy {
  background: var(--brand-faint);
  border: 1px solid var(--brand-soft);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}
.founder__policy-title {
  font-family: var(--font-jp-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-deep);
  margin-block-end: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.founder__policy-title::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/></svg>") center/contain no-repeat;
}

.founder__policy-list {
  display: grid;
  gap: var(--sp-3);
  margin: 0;
}
.founder__policy-list > div {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: var(--sp-3);
  align-items: baseline;
  padding-block-end: var(--sp-3);
  border-block-end: 1px dashed color-mix(in oklch, var(--brand) 18%, transparent);
}
.founder__policy-list > div:last-child { border-block-end: none; padding-block-end: 0; }
.founder__policy-list dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.04em;
}
.founder__policy-list dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
@media (max-width: 560px) {
  .founder__policy-list > div { grid-template-columns: 1fr; gap: 4px; }
}

.founder__promises {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.founder__promises li {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.45em 0.95em;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  color: var(--brand-deep);
  font-weight: 500;
}
.founder__promises li::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

/* ===================== FAQ Section ===================== */
.faq { background: var(--paper); border-block: 1px solid var(--line-soft); }
.faq__inner { max-width: 820px; }
.faq__head { text-align: center; margin-block-end: var(--sp-7); }
.faq__head .section__eyebrow { justify-content: center; }

.faq__list {
  display: grid;
  gap: var(--sp-3);
}
.faq__item {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 0 var(--sp-5);
  transition: border-color 0.15s, box-shadow 0.2s;
}
.faq__item[open] {
  border-color: color-mix(in oklch, var(--brand) 32%, transparent);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  cursor: pointer;
  padding: var(--sp-4) 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-deep);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 56px;
  font-family: var(--font-jp-serif);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>") center/contain no-repeat;
  transition: transform 0.2s;
}
.faq__item[open] summary::after {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>") center/contain no-repeat;
}
.faq__item p {
  padding-block: var(--sp-4);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.85;
  border-top: 1px solid var(--line-soft);
  margin-block: 0;
}

/* ===================== Final Close ===================== */
.final-close {
  background: var(--brand-deep);
  color: var(--on-dark);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.final-close::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(185, 126, 42, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(36, 90, 82, 0.5), transparent 60%);
  z-index: -1;
}
.final-close::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 239, 229, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 239, 229, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

.final-close__inner {
  text-align: center;
  max-width: 800px;
  display: grid;
  gap: var(--sp-5);
}

.final-close__urgent {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-inline: auto;
  font-family: var(--font-jp-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-bright);
}
.final-close__urgent::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent-bright);
  flex-shrink: 0;
}
.final-close__urgent::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent-bright);
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.final-close__title {
  font-family: var(--font-jp-serif);
  font-weight: 900;
  font-size: var(--t-display);
  color: var(--on-dark);
  line-height: 1.28;
  letter-spacing: 0.01em;
}
.final-close__title .accent { color: var(--accent-bright); }

.final-close__lead {
  font-size: var(--t-lead);
  color: color-mix(in oklch, var(--on-dark) 85%, transparent);
  line-height: 1.85;
  max-inline-size: 56ch;
  margin-inline: auto;
}

.final-close__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-block-start: var(--sp-4);
}
.final-close__cta-group .btn { flex: 1 1 280px; max-width: 380px; }

.final-close__remaining {
  margin-block-start: var(--sp-3);
  font-size: 0.85rem;
  color: color-mix(in oklch, var(--on-dark) 70%, transparent);
}

.final-close__guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: center;
  margin-block-start: var(--sp-5);
  padding-block-start: var(--sp-5);
  border-block-start: 1px solid rgba(244, 239, 229, 0.15);
}
.final-close__guarantees li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}
.final-close__guarantees li::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--accent-bright);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
}

/* ===================== Footer ===================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding-block: var(--sp-7);
}
.site-footer__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

.site-footer__brand {
  font-family: var(--font-jp-serif);
  font-size: 0.95rem;
  color: var(--brand-deep);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.site-footer__brand span {
  display: block;
  font-family: var(--font-jp-sans);
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-block-start: 2px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  font-size: 0.84rem;
}
.site-footer__links a {
  color: var(--ink-muted);
  border-bottom: 1px solid transparent;
  padding-block-end: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.site-footer__links a:hover {
  color: var(--brand-deep);
  border-color: var(--accent);
}

.site-footer__copy {
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-align: right;
}
@media (max-width: 759px) {
  .site-footer__copy { text-align: center; }
}

/* ===================== Sticky CTA (mobile) ===================== */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  z-index: 40;
  transform: translateY(110%);
  transition: transform 0.3s ease;
  box-shadow: 0 -8px 22px rgba(8, 34, 31, 0.1);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @supports (background: color-mix(in oklch, white, transparent)) {
    .sticky-cta {
      background: color-mix(in oklch, var(--bg) 92%, transparent);
      backdrop-filter: saturate(160%) blur(14px);
      -webkit-backdrop-filter: saturate(160%) blur(14px);
    }
  }
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { padding: 0.95em 1.4em; min-height: 54px; font-size: 1rem; }

@media (min-width: 980px) {
  .sticky-cta { display: none; }
}
@media (max-width: 979px) {
  body { padding-block-end: 88px; }
}

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================== Voice Section (中田氏の言葉) ===================== */
.voice {
  background: var(--paper-warm);
  border-block: 1px solid var(--line-soft);
}

.voice__inner {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  align-items: center;
  max-width: 960px;
}

@media (min-width: 720px) {
  .voice__inner {
    grid-template-columns: auto 1fr;
    gap: var(--sp-7);
  }
}

.voice__photo {
  margin: 0;
  width: clamp(130px, 22vw, 200px);
  height: clamp(130px, 22vw, 200px);
  border-radius: 50%;
  overflow: hidden;
  justify-self: center;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg);
}
.voice__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice__eyebrow {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand);
  margin-block-end: var(--sp-3);
  text-transform: uppercase;
}

.voice__quote {
  margin: 0 0 var(--sp-4);
  padding-inline-start: var(--sp-5);
  position: relative;
  border: none;
}
.voice__quote::before {
  content: "\201C";
  position: absolute;
  inset-block-start: -0.45em;
  inset-inline-start: -0.1em;
  font-family: var(--font-jp-serif);
  font-weight: 900;
  font-size: clamp(3rem, 2rem + 3vw, 5rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
}
.voice__quote p {
  font-family: var(--font-jp-serif);
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.32rem);
  line-height: 1.85;
  color: var(--brand-deep);
  margin-block-end: var(--sp-3);
  text-wrap: pretty;
}
.voice__quote p:last-of-type {
  margin-block-end: 0;
}
.voice__quote strong {
  color: var(--brand-deep);
  font-weight: 900;
  border-block-end: 2px solid var(--accent);
  padding-block-end: 1px;
}

.voice__signature {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding-block-start: var(--sp-3);
  border-block-start: 1px solid var(--line);
}
.voice__signature-role {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}
.voice__signature-name {
  font-family: var(--font-jp-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-deep);
  letter-spacing: 0.04em;
}

/* ===================== Deliverable Examples (業種別 AI 化候補) ===================== */
.deliverable__examples {
  margin-block: var(--sp-7) var(--sp-6);
  padding: var(--sp-5);
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}

.deliverable__examples-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-block-end: var(--sp-3);
}

.deliverable__examples-list {
  display: grid;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-4);
}

.deliverable__examples-list > div {
  display: grid;
  grid-template-columns: minmax(7em, max-content) 1fr;
  gap: var(--sp-3);
  align-items: baseline;
  padding-block-end: var(--sp-2);
  border-block-end: 1px solid var(--line-soft);
}
.deliverable__examples-list > div:last-child {
  border-block-end: none;
  padding-block-end: 0;
}

.deliverable__examples-list dt {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.deliverable__examples-list dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.deliverable__examples-note {
  font-size: 0.74rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .deliverable__examples-list > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ===================== Coming Soon Section ===================== */
.coming-soon {
  background: var(--bg);
  border-block: 1px solid var(--line-soft);
}

.coming-soon__inner {
  max-width: 960px;
  text-align: start;
}

.coming-soon__lead {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.95;
  margin-block-end: var(--sp-6);
  max-inline-size: 62ch;
}

.coming-soon__grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.coming-soon__card {
  padding: var(--sp-5);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  display: grid;
  gap: var(--sp-2);
}

.coming-soon__card-status {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.coming-soon__card-title {
  font-size: 1.08rem;
  color: var(--brand-deep);
}

.coming-soon__card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.8;
}
