:root {
  --bg: #ffffff;
  --surface: #fafafa;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e5e5e5;
  --accent: #2563eb;
  --max-width: 720px;

  /* LP palette — Hachibu design system semantic tokens
     (ivory = surface, stone = content, sage = brand/action) */
  --paper: #F6F3EC;          /* ivory[200] — surface.default */
  --paper-soft: #FBF8F2;     /* ivory[100] — legacy palette.surface */
  --paper-sub: #F3EEE4;      /* ivory[300] — surface.overlay */
  --paper-sub-2: #EFE9DD;    /* ivory[400] — surface.raised */
  --ink: #1C1C1A;            /* stone[900] — content.primary */
  --ink-soft: #4C534B;       /* stone[700] — content.secondary */
  --ink-mute: #6E776E;       /* stone[600] — content.tertiary */
  --ink-fade: #80817A;       /* stone[500] */
  --sage: #355E52;           /* sage[800] — action.primary.default */
  --sage-dark: #264F44;      /* sage[900] — action.primary.pressed */
  --sage-mid: #54736C;       /* sage[700] — action.text.default */
  --sage-soft: #C9D8C2;      /* sage[200] */
  --sage-bg: #E1EADD;        /* sage[100] — action.primary.container */
  --on-action: #FFFDF7;      /* ivory[50] — content.onAction */
  --border-soft: #DDD5C7;    /* ivory[600] — border.default */
  --border-subtle: #E2DCCF;  /* ivory[500] — border.subtle */

  /* Typography system (3 families):
     - Lato: 英字ディスプレイ / ワードマーク / KPI 数値
     - Noto Sans JP: 日本語見出し・本文
     - JetBrains Mono: eyebrow / セクション番号 / 技術ラベル */
  --font-latin: 'Lato', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Monaco, Consolas, monospace;
  /* 多言語混在テキスト用: Latin は Lato で描画され、グリフがない日本語文字は
     自動で Noto Sans JP にフォールバック (CSS font fallback の per-glyph 動作) */
  --font-text: var(--font-latin), var(--font-jp);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f10;
    --surface: #18181b;
    --text: #f4f4f5;
    --text-muted: #a1a1aa;
    --border: #27272a;
    --accent: #60a5fa;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo",
    system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header.page-header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  padding-bottom: 16px;
}

header.page-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.last-updated {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

section {
  margin: 24px 0;
}

section h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

section h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 16px 0 4px;
  color: var(--text);
}

p {
  margin: 8px 0;
}

ul {
  padding-left: 20px;
  margin: 8px 0;
}

ul li {
  margin: 4px 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer.page-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 16px;
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

footer.page-footer nav a {
  margin-right: 12px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.intro {
  font-size: 15px;
  color: var(--text);
}

.landing-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.landing-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.landing-links a:hover {
  border-color: var(--accent);
}

/* =========================================================
   LP (Orthodox v5) — Hachibu landing page
   Legal pages (privacy/terms) are NOT affected by anything
   below this line; LP scope is bounded to body.lp-body.
   ========================================================= */

body.lp-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lp-body main,
.lp-body header,
.lp-body footer,
.lp-body section,
.lp-body article {
  box-sizing: border-box;
}

/* ---------- Header ---------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.lp-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-latin);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}

.lp-brand-mark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  /* fill="currentColor" → .lp-brand の color を継承
     (ライト: --ink, ダーク: #F7F7F6 をダークモードルールで上書き) */
}

.lp-brand-text {
  display: inline-block;
}

.lp-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.lp-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.lp-nav a:hover {
  color: var(--sage);
}

.lp-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--on-action);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.lp-header-cta:hover {
  background: var(--sage-dark);
}

.lp-header-cta:active {
  transform: translateY(1px);
}

/* ---------- Main / Sections ---------- */
.lp-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.lp-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}

.lp-section:last-child {
  border-bottom: none;
}

.lp-section-num {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.lp-section-head {
  margin-bottom: 56px;
}

.lp-section-h {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
}

.lp-section-h em {
  font-style: normal;
  background: linear-gradient(to top, var(--sage-bg) 40%, transparent 40%);
  padding: 0 4px;
}

.lp-section-body {
  font-size: 16px;
  color: var(--ink);
  margin: 24px 0 0;
  max-width: 640px;
}

/* ---------- Hero ---------- */
.lp-hero {
  padding: 96px 0 112px;
  border-bottom: 1px solid var(--border-soft);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.lp-hero-copy {
  max-width: 640px;
}

.lp-hero-figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-hero-figure img {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 24px 56px rgba(28, 28, 26, 0.18));
}

.lp-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sage-dark);
  background: var(--sage-bg);
  border: 1px solid var(--sage-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 32px;
  text-transform: uppercase;
  font-weight: 500;
}

.lp-hero-title {
  font-size: clamp(34px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0 0 24px;
  color: var(--ink);
}

.lp-hero-sub {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 12px;
}

.lp-hero-tagline {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 48px;
  letter-spacing: 0.04em;
}

/* ---------- CTA ---------- */
.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.lp-cta-secondary-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.lp-cta-note {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 0.02em;
  padding: 0 4px;
  line-height: 1.4;
}

.cta {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  line-height: 1.3;
}

.cta:active {
  transform: translateY(1px);
}

.cta-primary {
  background: var(--sage);
  color: var(--on-action);
  border: 1px solid var(--sage);
  box-shadow: 0 8px 24px -10px rgba(53, 94, 82, 0.55);
}

.cta-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.cta-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px 24px;
  align-items: flex-start;
}

.cta-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.cta-secondary .cta-mute {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.cta-secondary:hover .cta-mute {
  color: var(--paper-soft);
}

.cta-secondary .cta-strong {
  font-size: 15px;
  font-weight: 600;
}

/* ---------- §01 Concept ---------- */
.lp-concept {
  text-align: left;
}

/* ---------- §02 Features ---------- */
.lp-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.lp-feature {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}

.lp-feature-figure {
  margin: 0 0 32px;
  background: var(--paper-sub);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 24px 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-feature-figure img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(28, 28, 26, 0.16));
}

.lp-feature-num {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.lp-feature-title {
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 22px;
  font-weight: 700;
  color: var(--sage);
  margin: 0 0 20px;
  letter-spacing: -0.005em;
}

.lp-feature-lead {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 16px;
}

.lp-feature-lead strong {
  background: linear-gradient(to top, var(--sage-bg) 40%, transparent 40%);
  padding: 0 4px;
  font-weight: 700;
}

.lp-feature-body {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.lp-feature-meta {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
}

.lp-feature-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px dotted var(--border-soft);
  padding-bottom: 14px;
}

.lp-feature-meta > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lp-feature-meta dt {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}

.lp-feature-meta dd {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  text-align: right;
}

/* ---------- §03 Why ---------- */
.lp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 960px) {
  .lp-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .lp-why-grid > .lp-why-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
  }
}

.lp-why-card {
  background: var(--paper-sub);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}

.lp-why-num {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin: 0 0 24px;
}

.lp-why-stat {
  /* font-text = Lato → Noto Sans JP の per-glyph fallback。
     "346 → 9" などは Lato、"ざっくり" は Noto Sans JP で描画される */
  font-family: var(--font-text);
  font-style: normal;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  color: var(--sage);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.lp-why-label {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.lp-why-h {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.5;
}

.lp-why-body {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}

/* ---------- §04 FAQ ---------- */
.lp-faq .lp-section-head,
.lp-faq-list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.lp-faq-list {
  display: grid;
  gap: 0;
}

.lp-faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 0;
}

.lp-faq-item:first-child {
  border-top: 1px solid var(--ink);
}

.lp-faq-item summary {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.lp-faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--sage);
  font-weight: 400;
  transition: transform 0.2s ease;
  line-height: 1;
}

.lp-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.lp-faq-item p {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ---------- §05 Start ---------- */
.lp-start {
  text-align: left;
  padding-bottom: 128px;
}

.lp-start-h {
  margin-bottom: 24px;
}

.lp-start-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.lp-start-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  margin: 0 0 40px;
}

.lp-start-bullets li {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 16px;
}

.lp-start-bullets li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--sage);
  font-weight: 700;
}

/* ---------- Subscribe Modal (iOS notify) ---------- */
.lp-modal {
  border: none;
  padding: 0;
  background: var(--paper-soft);
  color: var(--ink);
  border-radius: 16px;
  max-width: 460px;
  width: calc(100% - 40px);
  box-shadow: 0 24px 64px rgba(28, 28, 26, 0.24);
  overflow: visible;
  position: fixed;
  inset: 0;
  margin: auto;
}

.lp-modal::backdrop {
  background: rgba(28, 28, 26, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.lp-modal[open] {
  animation: lp-modal-in 0.18s ease-out;
}

@keyframes lp-modal-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--ink-mute);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-modal-close:hover {
  background: var(--paper-sub);
  color: var(--ink);
}

.lp-modal-body,
.lp-modal-thanks {
  padding: 40px 32px 32px;
}

.lp-modal-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.lp-modal-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.7;
}

.lp-modal-field {
  display: block;
  margin-bottom: 20px;
}

.lp-modal-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.lp-modal-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-modal-input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-bg);
}

.lp-modal-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 6px;
}

.lp-modal-bullets li {
  font-size: 12px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.lp-modal-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

.lp-modal-submit {
  width: 100%;
  margin-top: 4px;
}

.lp-modal-finep {
  font-size: 11px;
  color: var(--ink-mute);
  margin: 16px 0 0;
  text-align: center;
  line-height: 1.6;
}

.lp-modal-finep a {
  color: var(--ink-soft);
  text-decoration: underline;
}

/* honeypot hidden (formsubmit anti-spam) */
.lp-modal input[name="_honey"] {
  display: none;
}

@media (max-width: 480px) {
  .lp-modal-body,
  .lp-modal-thanks {
    padding: 32px 22px 24px;
  }
  .lp-modal-title {
    font-size: 20px;
  }
}

/* Dark mode modal */
@media (prefers-color-scheme: dark) {
  .lp-modal {
    background: #2A2520;
    color: #F7F7F6;
  }
  .lp-modal::backdrop {
    background: rgba(0, 0, 0, 0.7);
  }
  .lp-modal-close {
    color: #BFBFB9;
  }
  .lp-modal-close:hover {
    background: #403A2E;
    color: #F7F7F6;
  }
  .lp-modal-title {
    color: #F7F7F6;
  }
  .lp-modal-sub,
  .lp-modal-label,
  .lp-modal-bullets li {
    color: #BFBFB9;
  }
  .lp-modal-input {
    background: #1D1913;
    border-color: #403A2E;
    color: #F7F7F6;
  }
  .lp-modal-input:focus {
    border-color: #9AB594;
    box-shadow: 0 0 0 3px rgba(154, 181, 148, 0.2);
  }
  .lp-modal-finep,
  .lp-modal-finep a {
    color: #ADABA5;
  }
}

/* ---------- Footer ---------- */
.lp-footer {
  background: var(--paper);
  border-top: 1px solid var(--border-soft);
}

.lp-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 13px;
}

.lp-footer-brand {
  font-family: var(--font-latin);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.lp-footer-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.lp-footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.lp-footer-nav a:hover {
  color: var(--sage);
}

.lp-footer-copy {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 400;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .lp-header-inner {
    padding: 12px 20px;
    gap: 12px;
  }

  /* Mobile: ナビ非表示でロゴ + CTA のみに集約 */
  .lp-nav {
    display: none;
  }

  .lp-header-cta {
    margin-left: auto;
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
  }

  .lp-main {
    padding: 0 20px;
  }

  .lp-section,
  .lp-hero {
    padding: 48px 0;
  }

  .lp-hero {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .lp-section-head {
    margin-bottom: 28px;
  }

  .lp-hero-title {
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .lp-hero-sub {
    margin-bottom: 8px;
  }

  .lp-hero-tagline {
    margin-bottom: 32px;
  }

  .lp-eyebrow {
    margin-bottom: 24px;
  }

  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Mobile: text first, phone as proof below CTAs */
  .lp-hero-figure {
    order: 2;
  }

  .lp-hero-figure img {
    max-width: 200px;
  }

  .lp-feature-figure {
    padding: 24px 16px 16px;
    margin-bottom: 20px;
  }

  .lp-feature-figure img {
    max-width: 200px;
  }

  .lp-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-cta-secondary-wrap {
    width: 100%;
    align-items: center;
  }

  .lp-cta-note {
    text-align: center;
  }

  .cta {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .cta-secondary {
    align-items: center;
  }

  .lp-feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lp-why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lp-why-grid > .lp-why-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .lp-why-card {
    padding: 24px 20px;
  }

  .lp-faq-item {
    padding: 20px 0;
  }

  .lp-faq-item summary {
    font-size: 16px;
  }

  .lp-start {
    padding-bottom: 80px;
  }

  .lp-footer-inner {
    padding: 24px 20px;
  }

  .lp-footer-nav {
    margin-left: 0;
    width: 100%;
    order: 3;
  }
}

/* ---------- Dark mode (warm near-black per design system) ---------- */
@media (prefers-color-scheme: dark) {
  body.lp-body {
    background: #1D1913;          /* ivory[900] */
    color: #F7F7F6;               /* stone[50] */
  }

  .lp-header {
    background: rgba(29, 25, 19, 0.85);
    border-bottom-color: #403A2E; /* ivory[800] */
  }

  .lp-brand,
  .lp-section-h,
  .lp-hero-title,
  .lp-hero-sub,
  .lp-feature-lead,
  .lp-why-h,
  .lp-faq-item summary,
  .lp-footer-brand {
    color: #F7F7F6;
  }

  .lp-faq-item summary::after {
    color: #9AB594;               /* sage[400] for dark contrast */
  }

  .lp-nav a,
  .lp-section-body,
  .lp-feature-body,
  .lp-why-body,
  .lp-start-sub,
  .lp-faq-item p,
  .lp-footer-inner,
  .lp-footer-nav a {
    color: #BFBFB9;               /* stone[300] */
  }

  .lp-section,
  .lp-hero,
  .lp-footer {
    border-color: #403A2E;
  }

  .lp-feature,
  .lp-faq-item:first-child {
    border-top-color: #F7F7F6;
  }

  .lp-faq-item,
  .lp-feature-meta,
  .lp-feature-meta > div {
    border-color: #403A2E;
  }

  .lp-feature-figure,
  .lp-why-card {
    background: #2A2520;
    border-color: #403A2E;
  }

  .lp-why-label {
    border-color: #403A2E;
  }

  .lp-feature-meta dt {
    color: #F7F7F6;
  }

  .lp-feature-title,
  .lp-why-stat {
    color: #9AB594;               /* sage[400] — readable on dark */
  }

  .lp-eyebrow {
    background: rgba(154, 181, 148, 0.12);
    border-color: rgba(154, 181, 148, 0.4);
    color: #C9D8C2;               /* sage[200] */
  }

  .cta-secondary {
    color: #F7F7F6;
    border-color: #F7F7F6;
  }

  .cta-secondary:hover {
    background: #F7F7F6;
    color: #1D1913;
  }

  .lp-section-h em,
  .lp-feature-lead strong {
    background: linear-gradient(to top, rgba(53, 94, 82, 0.45) 40%, transparent 40%);
  }
}
