/* ============ Foundation ============ */
:root {
  --ink-900: #07090d;
  --ink-800: #0f1419;
  --ink-700: #1a2330;
  --ink-600: #2a3543;
  --ink-500: #4a5668;
  --ink-400: #6b7589;
  --ink-300: #94a0b3;
  --ink-200: #c5cdd9;
  --ink-100: #e6eaf0;
  --ink-50:  #f4f6fa;
  --paper:   #fbfcfd;
  --white:   #ffffff;
  --lime-500: #c7f24a;
  --lime-400: #d4f76d;
  --lime-300: #e2fa92;
  --lime-200: #ecfdb6;
  --lime-100: #f5feda;
  --lime-glow: rgba(199, 242, 74, 0.45);
  --signal: #16a34a;
  --warn:   #ef6a3a;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-soft: 0 1px 2px rgba(7,9,13,0.04), 0 8px 24px -12px rgba(7,9,13,0.08);
  --shadow-card: 0 1px 0 rgba(7,9,13,0.04), 0 30px 60px -28px rgba(7,9,13,0.18);
  --font-sans: "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  /* 金額・人数など数字の可読性用（欧文モノスペースは使わない） */
  --font-figures: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "palt" 1;
  color: var(--ink-900);
  background: var(--paper);
  letter-spacing: 0.005em;
  line-height: 1.65;
  text-wrap: pretty;
}
body.grant-lp-body {
  line-break: strict;
  word-break: normal;
}
.jp { font-feature-settings: "palt" 1; letter-spacing: 0.02em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
.container-narrow { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
section { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-500);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime-500); box-shadow: 0 0 0 4px var(--lime-glow); }

h1, h2, h3, h4 { font-family: var(--font-sans); letter-spacing: -0.02em; }
h1 { font-weight: 700; line-height: 1.08; margin: 0; }
h2 { font-weight: 700; line-height: 1.12; margin: 0; }
h3, h4 { margin: 0; }
p { margin: 0; }

.section-title { font-size: clamp(28px, 4vw, 44px); margin: 12px 0 16px; letter-spacing: -0.025em; }
.section-lede { font-size: 16px; color: var(--ink-500); max-width: 640px; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 12px 28px -16px rgba(7,9,13,0.6); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-accent { background: var(--lime-500); color: var(--ink-900); border-color: var(--lime-500); }
.btn-accent:hover { box-shadow: 0 0 0 6px var(--lime-glow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-800); border-color: var(--ink-200); }
.btn-ghost:hover { background: var(--white); border-color: var(--ink-300); }
.btn-ghost-dark { background: rgba(255,255,255,0.04); color: var(--white); border-color: rgba(255,255,255,0.16); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); }
.btn-sm { padding: 9px 14px; font-size: 13px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); background: rgba(251, 252, 253, 0.78); border-bottom: 1px solid rgba(7,9,13,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); text-decoration: none; }
.brand-badge { width: 32px; height: 32px; display: grid; place-items: center; background: var(--ink-900); border: 1px solid var(--lime-500); color: var(--lime-500); font-family: 'Montserrat', 'Inter', sans-serif; font-weight: 900; font-size: 12px; letter-spacing: 0.02em; flex-shrink: 0; transition: transform .2s ease; }
.brand:hover .brand-badge { transform: scale(1.08); }
.brand-wordmark { font-family: 'Montserrat', 'Inter', sans-serif; font-weight: 900; font-size: 18px; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1; }
.brand-footer .brand-wordmark { font-size: 22px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-600); }
.nav-links a:hover { color: var(--ink-900); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 880px) { .nav-links { display: none; } .brand-text small { display: none; } }

.section-pad { padding: clamp(72px, 9vw, 120px) 0; }
.br-pc { display: inline; }
@media (max-width: 720px) { .br-pc { display: none; } }
/* カタカナ語などの不自然な分割を避ける（狭い画面では解除） */
.nobr-soft { white-space: nowrap; }
@media (max-width: 480px) { .nobr-soft { white-space: normal; } }
@media (max-width: 520px) {
  .hero-cta .btn,
  .fc-cta .btn { white-space: normal; text-align: center; }
}
.section-pad-sm { padding: clamp(48px, 6vw, 80px) 0; }

footer { border-top: 1px solid var(--ink-100); background: var(--white); color: var(--ink-500); font-size: 13px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 6vw, 88px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-gradient { position: absolute; top: -240px; right: -180px; width: 820px; height: 820px; background: radial-gradient(closest-side, rgba(199,242,74,0.5), transparent 70%); filter: blur(50px); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(280px, 0.78fr); gap: 36px; align-items: center; }
.hero-inner .hero-copy { min-width: 0; }
/* 他セクションの .container と同じ左端。本文幅のみ .hero-copy で制限 */
.hero-inner--single { grid-template-columns: 1fr; width: 100%; max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
.hero-inner--single .hero-copy {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 1020px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; background: var(--white); border: 1px solid var(--ink-100); border-radius: 999px; font-size: 12px; color: var(--ink-700); font-weight: 500; box-shadow: var(--shadow-soft); margin-bottom: 32px; }
.hero-badge b { color: var(--ink-900); font-weight: 700; }
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-500); box-shadow: 0 0 0 4px var(--lime-glow); flex-shrink: 0; }
.hero-title { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.18; margin: 0 0 28px; letter-spacing: -0.035em; font-weight: 800; color: var(--ink-900); }
.hero-title .hl { position: relative; display: inline-block; }
.hero-title .hl-text { position: relative; z-index: 2; }
.hero-title .hl-underline { position: absolute; left: -2%; right: -2%; bottom: 4px; width: 104%; height: 16px; z-index: 1; }
.hero-sub { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; color: var(--ink-500); max-width: 100%; margin: 0 0 36px; }
@media (min-width: 1021px) {
  .hero-inner .hero-sub { max-width: none; width: 100%; }
}

/* Hero visual (3D illustration on the right column) */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; max-width: 620px; height: auto; filter: drop-shadow(0 18px 28px rgba(7,9,13,0.08)); }
@media (max-width: 1020px) {
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero-visual img { max-width: 360px; }
}
.hero-sub b { color: var(--ink-900); font-weight: 700; }
.hero-pricetag { display: inline-flex; flex-direction: column; gap: 6px; padding: 18px 22px; background: var(--white); border: 1px solid var(--ink-100); border-left: 4px solid var(--lime-500); border-radius: 12px; margin-bottom: 32px; box-shadow: 0 12px 32px -16px rgba(7,9,13,0.1), var(--shadow-soft); }
.pt-row { display: flex; align-items: baseline; gap: 14px; color: var(--ink-500); font-size: 14px; flex-wrap: wrap; }
.pt-row svg { align-self: center; }
.pt-strike { text-decoration: line-through; }
.hero-pricetag { font-family: var(--font-figures); font-variant-numeric: tabular-nums; }
.pt-now { color: var(--ink-900); font-size: 16px; }
.pt-now b { font-size: 32px; font-weight: 800; letter-spacing: -0.025em; font-family: inherit; }
.pt-now small { font-size: 14px; font-weight: 600; margin-left: 2px; color: var(--ink-700); }
.pt-sub { font-size: 13px; color: var(--ink-500); }
.pt-sub b { color: var(--ink-900); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-cta .btn { padding: 14px 22px; font-size: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 24px; font-size: 13px; color: var(--ink-500); }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-item svg { flex-shrink: 0; }

/* Claude Mockup */
.cm-frame { position: relative; background: var(--white); border-radius: 16px; border: 1px solid var(--ink-100); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 30px 80px -30px rgba(7,9,13,0.25), 0 8px 20px -8px rgba(7,9,13,0.08); overflow: hidden; font-size: 13px; transform: perspective(1400px) rotateY(-3deg) rotateX(2deg); transform-origin: center; }
.cm-chrome { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; background: linear-gradient(to bottom, #fafbfc, #f4f6fa); border-bottom: 1px solid var(--ink-100); }
.cm-dots { display: inline-flex; gap: 6px; }
.cm-dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cm-dots i:nth-child(1) { background: #ff6058; }
.cm-dots i:nth-child(2) { background: #ffbd2e; }
.cm-dots i:nth-child(3) { background: #28ca41; }
.cm-url { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-figures); font-size: 11px; color: var(--ink-500); background: var(--white); border: 1px solid var(--ink-100); padding: 5px 12px; border-radius: 6px; justify-self: center; min-width: 320px; max-width: 100%; justify-content: center; }
.cm-tabs { display: inline-flex; gap: 4px; }
.cm-tab { font-size: 11px; padding: 4px 10px; border-radius: 6px; background: transparent; color: var(--ink-500); }
.cm-tab-active { background: var(--white); color: var(--ink-900); border: 1px solid var(--ink-100); font-weight: 600; }
.cm-body { display: grid; grid-template-columns: 180px 1fr; min-height: 460px; }
.cm-side { background: #fafbfc; border-right: 1px solid var(--ink-100); padding: 14px 12px; }
.cm-side-section + .cm-side-section { margin-top: 18px; }
.cm-side-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-400); font-weight: 600; padding: 0 6px; margin-bottom: 6px; }
.cm-side-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-700); padding: 6px 8px; border-radius: 6px; }
.cm-side-item-active { background: var(--white); border: 1px solid var(--ink-100); font-weight: 600; }
.cm-side-icon { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.cm-side-doc { font-size: 11px; color: var(--ink-500); padding: 4px 8px; font-family: var(--font-figures); }
.cm-chat { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(120% 80% at 50% 0%, rgba(199,242,74,0.05), transparent 60%), var(--white); overflow: hidden; }
.cm-msg { display: flex; gap: 10px; }
.cm-msg-user { justify-content: flex-end; flex-direction: column; align-items: flex-end; gap: 6px; }
.cm-msg-ai { align-items: flex-start; }
.cm-attach { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-500); background: var(--ink-50); border: 1px solid var(--ink-100); padding: 4px 10px; border-radius: 999px; font-family: var(--font-figures); }
.cm-bubble { padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.55; max-width: 100%; }
.cm-bubble-user { background: var(--ink-900); color: var(--white); border-bottom-right-radius: 4px; max-width: 80%; }
.cm-caret { animation: blink 1s infinite; margin-left: 1px; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.cm-avatar { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--lime-500); display: grid; place-items: center; }
.cm-bubble-ai { background: var(--white); border: 1px solid var(--ink-100); border-bottom-left-radius: 4px; flex: 1; min-width: 0; }
.cm-thinking { display: flex; align-items: center; gap: 4px; padding: 4px 0; }
.cm-thinking .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-300); animation: bounce 1.2s infinite; }
.cm-thinking .dot:nth-child(2) { animation-delay: 0.15s; }
.cm-thinking .dot:nth-child(3) { animation-delay: 0.3s; }
.cm-thinking-label { margin-left: 8px; font-size: 12px; color: var(--ink-500); }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.6; } 30% { transform: translateY(-4px); opacity: 1; } }
.cm-result { font-size: 12.5px; }
.cm-result-section + .cm-result-section { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--ink-100); }
.cm-result-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.cm-tag-mini { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--ink-900); color: var(--white); letter-spacing: 0.05em; }
.cm-tag-mini-lime { background: var(--lime-500); color: var(--ink-900); }
.cm-result-list { margin: 0; padding-left: 18px; color: var(--ink-700); }
.cm-result-list li { margin-bottom: 4px; }
.cm-result-list b { color: var(--ink-900); font-weight: 600; }
.cm-table { width: 100%; font-size: 12px; border-collapse: collapse; }
.cm-table th, .cm-table td { padding: 6px 8px; border-bottom: 1px solid var(--ink-100); text-align: left; }
.cm-table th { font-weight: 600; color: var(--ink-500); font-size: 11px; }
.cm-table .num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-figures); }
.cm-table tfoot td { border-bottom: none; padding-top: 10px; color: var(--ink-700); }
.cm-result-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ink-100); }
.cm-meta { font-size: 11px; color: var(--ink-400); font-family: var(--font-figures); }
.cm-result-btn { font-size: 11px; padding: 6px 12px; border-radius: 6px; background: var(--ink-900); color: var(--white); border: none; font-weight: 600; cursor: pointer; }
.cm-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--white); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ink-100); font-size: 12px; font-weight: 600; box-shadow: 0 16px 32px -16px rgba(7,9,13,0.25); }
.cm-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-500); flex-shrink: 0; }
.cm-chip-1 { top: 18%; left: -28px; transform: rotate(-4deg); }
.cm-chip-2 { bottom: 14%; right: -36px; transform: rotate(3deg); }
@media (max-width: 1020px) { .cm-frame { transform: none; } .cm-chip { display: none; } .cm-body { grid-template-columns: 1fr; min-height: auto; } .cm-side { display: none; } }

/* Standalone Claude Workspace mock section */
.mock-section { background: var(--white); padding: 0 0 clamp(56px, 7vw, 96px); position: relative; margin-top: -32px; }
.mock-section::before { content: ""; position: absolute; left: 0; right: 0; top: -120px; height: 200px; background: linear-gradient(to bottom, transparent, var(--white) 70%); pointer-events: none; z-index: 0; }
.mock-section .container { position: relative; z-index: 1; }
.hero-mock--standalone { position: relative; width: 100%; max-width: none; margin: 0; }
.hero-mock--standalone .cm-frame { transform: none; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 40px 100px -40px rgba(7,9,13,0.28), 0 12px 28px -12px rgba(7,9,13,0.1); }
.hero-mock--standalone .cm-body { min-height: 520px; }
@media (max-width: 1020px) { .mock-section { padding-bottom: 40px; margin-top: 0; } .mock-section::before { display: none; } }

/* Twin Pillars */
.twin-section { background: var(--white); padding: clamp(72px, 9vw, 100px) 0 24px; position: relative; }
/* 見出しと同じ行長にそろえ、640px の .section-lede だけ細く右余白が目立つのを解消 */
.twin-head { text-align: center; max-width: min(880px, 100%); margin: 0 auto 48px; }
.twin-head .section-title { margin: 12px 0 0; }
.twin-head .section-lede { max-width: 100%; }
.twin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1060px) { .twin-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .twin-grid { grid-template-columns: 1fr; } }
.twin-card { position: relative; background: var(--white); border: 1px solid var(--ink-100); border-radius: 20px; padding: 36px 32px 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: border-color .2s, transform .2s, box-shadow .2s; }
.twin-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--ink-200); }
.twin-card-dark { background: linear-gradient(135deg, var(--ink-900), #14202b); border-color: var(--ink-800); color: var(--white); }
.twin-card-dark:hover { border-color: var(--ink-700); }
.twin-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.twin-tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--ink-50); color: var(--ink-700); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; font-family: var(--font-figures); }
.twin-tag-lime { background: var(--lime-500); color: var(--ink-900); }
.twin-grant-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--lime-500); color: var(--ink-900); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; }
.twin-sub-eyebrow { font-size: 12px; color: var(--ink-500); font-weight: 500; }
.twin-card-dark .twin-sub-eyebrow { color: var(--ink-300); }
.twin-title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--ink-900); }
.twin-card-dark .twin-title { color: var(--white); }
.twin-body { font-size: 15px; color: var(--ink-500); line-height: 1.75; margin: 0 0 20px; }
.twin-card-dark .twin-body { color: var(--ink-300); }
.twin-body b { color: var(--ink-900); font-weight: 700; }
.twin-card-dark .twin-body b { color: var(--lime-400); }
.twin-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.twin-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-700); line-height: 1.6; }
.twin-card-dark .twin-list li { color: var(--ink-200); }
.twin-check { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--lime-500); position: relative; margin-top: 2px; }
.twin-check::after { content: ""; position: absolute; left: 5px; top: 4px; width: 4px; height: 7px; border: solid var(--ink-900); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.twin-check-lime { background: var(--lime-500); }
.twin-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--ink-100); display: flex; flex-direction: column; gap: 14px; }
.twin-card-dark .twin-foot { border-top-color: rgba(255,255,255,0.08); }
.twin-price { display: flex; flex-direction: column; gap: 2px; font-family: var(--font-figures); font-variant-numeric: tabular-nums; }
.twin-price-strike { font-size: 12px; color: var(--ink-400); text-decoration: line-through; }
.twin-price-strike-dark { font-size: 12px; color: var(--ink-300); font-weight: 500; }
.twin-price-now { font-size: 14px; color: var(--ink-700); }
.twin-price-now b { font-size: 22px; color: var(--ink-900); font-weight: 700; letter-spacing: -0.02em; }
.twin-price-now small { font-size: 12px; color: var(--ink-500); margin-left: 2px; }
.twin-price-now-dark { font-size: 13px; color: var(--ink-200); }
.twin-price-now-dark--stacked { display: grid; gap: 4px; }
.twin-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; line-height: 1.35; }
.twin-price-label { color: var(--ink-300); font-size: 12px; font-weight: 600; margin-right: 2px; }
.twin-price-now-dark b { font-size: 20px; color: var(--white); font-weight: 700; letter-spacing: -0.02em; margin-right: 2px; }
.twin-price-now-dark small { font-size: 11px; color: var(--ink-300); margin-left: 0; margin-right: 0; }
.twin-foot .btn { align-self: flex-start; }
.twin-card-dark .btn-ghost { background: rgba(255,255,255,0.04); color: var(--white); border-color: rgba(255,255,255,0.16); }

.twin-flow { margin: 40px auto 0; max-width: 880px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 4px; padding: 18px 24px; background: var(--paper); border: 1px solid var(--ink-100); border-radius: 14px; }
.twin-flow-step { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 13px; color: var(--ink-700); font-weight: 600; }
.twin-flow-num { font-family: var(--font-figures); font-size: 11px; color: var(--ink-400); font-weight: 700; letter-spacing: 0.05em; }
.twin-flow-arrow { color: var(--ink-300); font-size: 14px; }
.twin-flow-link { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--ink-100); color: var(--ink-700); font-size: 12px; font-weight: 700; }
.twin-flow-link:hover { border-color: var(--ink-300); color: var(--ink-900); }
@media (max-width: 720px) {
  .twin-card { padding: 28px 24px; }
  .twin-flow { padding: 14px 16px; }
  .twin-flow-arrow { display: none; }
  .twin-flow-step { width: 100%; padding: 4px 8px; }
}

/* Scale targets */
.scale-section { background: var(--white); padding: 56px 0 80px; position: relative; }
.scale-head { text-align: center; margin-bottom: 32px; }
.scale-head .section-lede { max-width: min(880px, 100%); margin-left: auto; margin-right: auto; }
.scale-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 880px; margin: 0 auto; }
.scale-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; background: var(--paper); border: 1px solid var(--ink-100); border-radius: 14px; }
.scale-num { font-family: var(--font-figures); font-variant-numeric: tabular-nums; font-size: 28px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.02em; margin-bottom: 4px; }
.scale-num small { font-size: 13px; font-weight: 600; color: var(--ink-500); margin-left: 2px; }
.scale-label { font-size: 12px; color: var(--ink-500); }
@media (max-width: 720px) { .scale-grid { grid-template-columns: 1fr; } }

/* Pain */
.pain-section { background: var(--paper); }
.pain-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.pain-headline .section-title { margin-top: 16px; }
.pain-headline .muted { color: var(--ink-400); font-weight: 500; }
@media (max-width: 880px) { .pain-head { grid-template-columns: 1fr; gap: 24px; } }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1020px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card { position: relative; background: var(--white); border: 1px solid var(--ink-100); border-radius: 16px; padding: 28px 24px 32px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pain-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--ink-200); }
.pain-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--ink-50); border: 1px solid var(--ink-100); color: var(--ink-700); display: grid; place-items: center; margin-bottom: 18px; }
.pain-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--ink-900); }
.pain-body { font-size: 13.5px; color: var(--ink-500); margin: 0; line-height: 1.7; }
.pain-corner { position: absolute; top: 14px; right: 16px; font-family: var(--font-figures); font-size: 11px; color: var(--ink-300); font-weight: 600; letter-spacing: 0.05em; }

/* Solution */
.solution-section { position: relative; background: var(--white); }
.solution-bg { position: absolute; inset: 0; background: radial-gradient(60% 80% at 0% 0%, rgba(199,242,74,0.08), transparent 60%), radial-gradient(40% 50% at 100% 100%, rgba(7,9,13,0.04), transparent 60%); pointer-events: none; }
.sol-head { max-width: 100%; margin-bottom: 56px; }
#solution .section-lede,
#curriculum .section-lede { max-width: 100%; }
.hl-lime { background: linear-gradient(transparent 60%, var(--lime-300) 60%); padding: 0 4px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; gap: 16px; }
.bento-card { background: var(--white); border: 1px solid var(--ink-100); border-radius: 18px; padding: 28px; position: relative; overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.bento-card:hover { border-color: var(--ink-200); }
.bento-1 { grid-column: span 2; grid-row: span 2; }
.bento-2 { grid-column: span 2; }
.bento-3 { grid-column: span 2; }
.bento-4 { grid-column: span 4; }
.bento-dark { background: linear-gradient(135deg, var(--ink-900), #14202b); color: var(--white); border-color: var(--ink-800); }
.bento-dark .bento-title { color: var(--white); }
.bento-dark .bento-body { color: var(--ink-300); }
.bento-dark .bento-body b { color: var(--lime-400); font-weight: 600; }
.bento-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ink-50); border: 1px solid var(--ink-100); display: grid; place-items: center; margin-bottom: 20px; }
.bento-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 10px; }
.bento-body { font-size: 14px; color: var(--ink-500); line-height: 1.7; margin: 0; }
.bento-stat { display: flex; gap: 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ink-100); }
.bento-stat b { display: block; font-size: 32px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.02em; font-family: var(--font-figures); font-variant-numeric: tabular-nums; }
.bento-stat span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-400); font-weight: 600; }
.bento-arrow { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 16px; background: rgba(199,242,74,0.08); border: 1px solid rgba(199,242,74,0.2); border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--lime-400); width: fit-content; }
@media (max-width: 880px) { .bento { grid-template-columns: 1fr; } .bento-1, .bento-2, .bento-3, .bento-4 { grid-column: span 1; grid-row: auto; } }

/* Curriculum */
.curr-section { background: var(--paper); }
.curr-head { max-width: 100%; margin-bottom: 48px; }
.hybrid-format { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 24px; align-items: stretch; margin: -24px 0 24px; padding: 24px; background: var(--white); border: 1px solid var(--ink-100); border-radius: 16px; box-shadow: var(--shadow-soft); }
.hybrid-format-head { display: flex; flex-direction: column; justify-content: center; }
.hybrid-format-label { display: inline-flex; width: fit-content; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--lime-500); color: var(--ink-900); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hybrid-format h3 { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.35; letter-spacing: -0.02em; color: var(--ink-900); margin: 0 0 10px; }
.hybrid-format p { font-size: 14px; line-height: 1.8; color: var(--ink-600); margin: 0; }
.hybrid-format-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; }
.hybrid-format-steps li { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--paper); border: 1px solid var(--ink-100); border-radius: 12px; min-width: 0; }
.hybrid-format-steps span { font-family: var(--font-figures); font-size: 12px; font-weight: 800; color: var(--lime-600); letter-spacing: 0.08em; }
.hybrid-format-steps b { font-size: 14px; color: var(--ink-900); letter-spacing: -0.01em; }
.hybrid-format-steps em { font-style: normal; font-size: 13px; color: var(--ink-600); line-height: 1.65; }
.curr-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; background: var(--white); border: 1px solid var(--ink-100); border-radius: 14px; padding: 6px; }
.curr-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; border: none; border-radius: 10px; background: transparent; text-align: left; position: relative; transition: background .2s, color .2s; }
.curr-tab.active { background: var(--ink-900); color: var(--white); }
.curr-tab .ct-num { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-400); font-family: var(--font-figures); white-space: nowrap; padding-right: 32px; }
.curr-tab.active .ct-num { color: var(--lime-400); }
.curr-tab .ct-sub { font-size: 14px; font-weight: 600; color: var(--ink-700); }
.curr-tab.active .ct-sub { color: var(--white); }
.curr-tab .ct-hrs { position: absolute; top: 12px; right: 14px; font-size: 11px; color: var(--ink-400); font-family: var(--font-figures); font-weight: 600; }
.curr-tab.active .ct-hrs { color: var(--lime-400); }
@media (max-width: 880px) { .curr-tabs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 880px) { .hybrid-format, .hybrid-format-steps { grid-template-columns: 1fr; } .hybrid-format { margin-top: -16px; } }
.curr-content { background: var(--white); border: 1px solid var(--ink-100); border-radius: 14px; overflow: hidden; }
.curr-pane { display: none; }
.curr-pane.active { display: block; }
.curr-outcome { display: flex; gap: 12px; align-items: flex-start; padding: 18px 28px; background: linear-gradient(90deg, var(--lime-100), var(--white)); border-bottom: 1px solid var(--ink-100); color: var(--ink-600); font-size: 13px; line-height: 1.7; }
.curr-outcome b { color: var(--ink-900); white-space: nowrap; }
.curr-mod { display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; padding: 22px 28px; border-bottom: 1px solid var(--ink-100); align-items: center; transition: background .15s; }
.curr-mod:last-child { border-bottom: none; }
.curr-mod:hover { background: var(--ink-50); }
.cm-num { font-family: var(--font-figures); font-size: 28px; font-weight: 700; color: var(--ink-200); letter-spacing: -0.02em; }
.curr-mod:hover .cm-num { color: var(--lime-500); }
.cm-t { font-size: 16px; font-weight: 700; color: var(--ink-900); margin: 0 0 4px; letter-spacing: -0.01em; }
.cm-d { font-size: 13px; color: var(--ink-500); margin: 0; }
.cm-ex { display: block; color: var(--ink-700); font-weight: 600; margin-top: 4px; }
.cm-time { font-family: var(--font-figures); font-size: 12px; color: var(--ink-400); font-weight: 600; background: var(--ink-50); border: 1px solid var(--ink-100); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 720px) { .curr-mod { grid-template-columns: 56px 1fr; } .cm-num { font-size: 22px; } .cm-time { display: none; } }
.curr-extra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.curr-extra-card,
.dx-curr-card { background: var(--white); border: 1px solid var(--ink-100); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-soft); }
.curr-extra-card h3 { font-size: 18px; letter-spacing: -0.01em; margin: 0 0 12px; }
.curr-extra-card ul { margin: 0; padding-left: 18px; color: var(--ink-600); font-size: 13px; line-height: 1.8; }
.dx-curr-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 16px; }
.dx-curr-intro h3 { font-size: 18px; letter-spacing: -0.01em; margin: 0 0 12px; }
.dx-curr-intro p { margin: 0; color: var(--ink-600); font-size: 14px; line-height: 1.8; }
.dx-curr-label { display: inline-flex; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--lime-500); color: var(--ink-900); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.dx-curr-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.dx-curr-ba-col { background: var(--paper); border: 1px solid var(--ink-100); border-radius: 12px; padding: 14px 14px 16px; min-width: 0; }
.dx-curr-ba-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-400); margin-bottom: 8px; text-transform: uppercase; }
.dx-curr-ba-label--after { color: var(--signal); }
.dx-curr-ba-text { margin: 0; font-size: 13px; color: var(--ink-600); line-height: 1.65; }
.dx-curr-check ul { margin: 0; padding-left: 18px; color: var(--ink-600); font-size: 13px; line-height: 1.8; }
.dx-curr-check-title { font-size: 13px; font-weight: 700; color: var(--ink-900); margin: 0 0 10px; letter-spacing: -0.01em; }
@media (max-width: 880px) {
  .curr-outcome,
  .dx-curr-card { grid-template-columns: 1fr; }
  .dx-curr-ba { grid-template-columns: 1fr; }
  .curr-extra-grid { grid-template-columns: 1fr; }
  .curr-outcome { flex-direction: column; gap: 4px; }
}

/* Pricing */
.pricing-section { background: var(--white); }
.pr-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.pr-head .section-lede { margin: 16px auto 0; }
.pr-head .eyebrow { justify-content: center; }
.pr-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; margin-bottom: 32px; }
.pr-block { padding: 28px 24px; border-radius: 16px; border: 1px solid var(--ink-100); background: var(--white); text-align: center; position: relative; }
.pr-orig { background: var(--ink-50); }
.pr-grant { border-color: var(--lime-300); background: linear-gradient(180deg, var(--lime-100), #fff); }
.pr-final { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); box-shadow: 0 30px 60px -28px rgba(7,9,13,0.4); }
.pr-label { font-size: 12px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 12px; }
.pr-final .pr-label { color: var(--ink-300); }
.pr-amt { display: flex; align-items: baseline; justify-content: center; gap: 2px; font-variant-numeric: tabular-nums; margin-bottom: 8px; font-family: var(--font-figures); }
.pr-amt b { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink-900); font-family: inherit; }
.pr-amt small { font-size: 16px; font-weight: 600; color: var(--ink-700); }
.pr-final .pr-amt b { color: var(--white); }
.pr-final .pr-amt small { color: var(--white); }
.pr-amt-minus { color: var(--warn); }
.pr-amt-minus b { color: var(--warn); }
.pr-amt-minus small { color: var(--warn); }
.pr-amt-minus span { font-size: 32px; font-weight: 700; color: var(--warn); margin-right: 2px; font-family: var(--font-figures); font-variant-numeric: tabular-nums; }
.pr-meta { font-size: 12px; color: var(--ink-500); }
.pr-meta b { color: var(--ink-900); font-weight: 700; }
.pr-final .pr-meta { color: var(--ink-300); }
.pr-final .pr-meta b { color: var(--lime-400); }
.pr-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--lime-500); color: var(--ink-900); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--white); box-shadow: 0 8px 16px -4px var(--lime-glow); white-space: nowrap; }
.pr-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; }
.pr-arrow-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-400); font-weight: 600; }
@media (max-width: 880px) { .pr-flow { grid-template-columns: 1fr; } .pr-arrow { transform: rotate(90deg); padding: 8px 0; } }
.pr-foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; padding: 20px; background: var(--paper); border-radius: 12px; margin-bottom: 16px; }
.pr-foot-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-700); }
.pr-foot-item b { color: var(--ink-900); font-weight: 700; }
.pr-disclaimer { font-size: 11px; color: var(--ink-400); text-align: center; max-width: 100%; margin: 0 auto; line-height: 1.55; }
@media (min-width: 960px) {
  .pr-disclaimer {
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.6;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

/* Flow */
.flow-section { background: var(--paper); }
.flow-head { max-width: 640px; margin-bottom: 48px; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.flow-card { position: relative; background: var(--white); border: 1px solid var(--ink-100); border-radius: 16px; padding: 32px 28px; transition: transform .2s, box-shadow .2s; }
.flow-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.flow-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.flow-num { font-family: var(--font-figures); font-size: 36px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.03em; }
.flow-tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--lime-100); color: #4d6a00; border: 1px solid var(--lime-300); font-family: var(--font-figures); }
.flow-title { font-size: 18px; font-weight: 700; color: var(--ink-900); margin: 0 0 10px; letter-spacing: -0.01em; }
.flow-body { font-size: 14px; color: var(--ink-500); margin: 0; line-height: 1.7; }
.flow-connect { position: absolute; top: 60px; right: -26px; z-index: 2; }
@media (max-width: 880px) { .flow-grid { grid-template-columns: 1fr; } .flow-connect { display: none; } }

/* FAQ */
.faq-section { background: var(--white); }
.faq-head { text-align: center; margin-bottom: 48px; }
.faq-head .eyebrow { justify-content: center; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--paper); border: 1px solid var(--ink-100); border-radius: 12px; overflow: hidden; transition: border-color .2s, background .2s; }
.faq-item.open { border-color: var(--ink-200); background: var(--white); box-shadow: var(--shadow-soft); }
.faq-q { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; width: 100%; text-align: left; padding: 18px 22px; background: transparent; border: none; font-size: 15px; font-weight: 600; color: var(--ink-900); cursor: pointer; font-family: inherit; }
.faq-q-mark { font-family: var(--font-figures); font-size: 12px; font-weight: 700; color: var(--lime-500); background: var(--ink-900); width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; }
.faq-q-text { letter-spacing: -0.005em; }
.faq-q-toggle { width: 28px; height: 28px; border-radius: 8px; background: var(--white); border: 1px solid var(--ink-100); display: grid; place-items: center; color: var(--ink-500); transition: transform .2s, background .2s; }
.faq-item.open .faq-q-toggle { transform: rotate(180deg); background: var(--ink-900); color: var(--lime-500); border-color: var(--ink-900); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 22px 0 62px; }
.faq-item.open .faq-a { max-height: 900px; padding: 0 22px 22px 62px; }
.faq-a p { margin: 0; font-size: 14px; color: var(--ink-500); line-height: 1.8; }

/* Final CTA */
.final-cta { background: var(--paper); }
.fc-card { position: relative; background: linear-gradient(135deg, var(--ink-900) 0%, #14202b 60%, #1a2a38 100%); border-radius: 28px; overflow: hidden; padding: 80px 60px; color: var(--white); }
.fc-pattern { position: absolute; inset: 0; pointer-events: none; }
.fc-pattern svg { width: 100%; height: 100%; }
.fc-inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.fc-eyebrow { color: var(--ink-300); justify-content: center; }
.fc-title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.025em; margin: 16px 0 20px; line-height: 1.15; }
.fc-title .hl-lime { background: linear-gradient(transparent 60%, rgba(199,242,74,0.4) 60%); }
.fc-sub { font-size: 16px; color: var(--ink-300); max-width: 100%; margin: 0 auto 36px; line-height: 1.8; }
.fc-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.fc-trust { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; font-size: 13px; color: var(--ink-300); }
.fc-trust-item { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 720px) { .fc-card { padding: 56px 28px; border-radius: 20px; } }

/* Footer */
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--ink-100); }
@media (max-width: 880px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft-grid { grid-template-columns: 1fr; } }
.ft-desc { font-size: 13px; color: var(--ink-500); margin: 16px 0 0; max-width: 360px; line-height: 1.8; }
.ft-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-400); font-weight: 700; margin-bottom: 14px; }
.ft-col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-600); }
.ft-col a:hover { color: var(--ink-900); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; color: var(--ink-400); }
@media (max-width: 720px) { .ft-bottom { flex-direction: column; gap: 8px; align-items: flex-start; } }



/* ============ Flow Steps ============ */
.flow-steps-section { background: var(--paper); }
.flow-steps-head { text-align: center; margin-bottom: 48px; }
.flow-steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto; }
.flow-step { display: flex; gap: 20px; position: relative; }
.flow-step:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 52px; bottom: -2px; width: 2px; background: var(--ink-100); }
.flow-step-badge { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink-200); background: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-figures); font-weight: 700; font-size: 15px; color: var(--ink-700); z-index: 1; position: relative; }
.flow-step-content { padding-bottom: 32px; flex: 1; }
.flow-step-title { font-weight: 700; font-size: 16px; color: var(--ink-900); margin-bottom: 4px; }
.flow-step-body { font-size: 14px; color: var(--ink-500); line-height: 1.65; }
.flow-step:last-child .flow-step-content { padding-bottom: 0; }
.flow-steps-note { max-width: 880px; margin: 28px auto 0; }
.flow-steps-note p { font-size: 13px; color: var(--ink-400); line-height: 1.8; }
@media (max-width: 600px) { .flow-step-badge { width: 40px; height: 40px; font-size: 13px; } .flow-step:not(:last-child)::after { left: 19px; top: 44px; } }

/* ============ Flow Timeline (grouped phases) ============ */
.flow-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: flex; flex-direction: column; gap: 8px; }
.flow-phase { background: var(--white); border: 1px solid var(--ink-100); border-radius: 18px; padding: 22px 24px 24px; box-shadow: var(--shadow-soft); }
.flow-phase--accent { border-color: rgba(199,242,74,0.55); background: linear-gradient(180deg, rgba(199,242,74,0.07), var(--white) 60%); }
.flow-phase-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--ink-100); }
.flow-phase-tag { font-family: var(--font-figures); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; padding: 4px 10px; border-radius: 999px; background: var(--ink-900); color: var(--lime-500); }
.flow-phase--accent .flow-phase-tag { background: var(--lime-500); color: var(--ink-900); }
.flow-phase-title { font-size: 17px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.01em; }
.flow-phase-period { margin-left: auto; font-size: 12px; color: var(--ink-500); font-family: var(--font-figures); font-variant-numeric: tabular-nums; }
.flow-phase-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.flow-phase--cards-2 .flow-phase-cards { grid-template-columns: repeat(2, 1fr); }
.flow-card { background: var(--paper); border: 1px solid var(--ink-100); border-radius: 12px; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.flow-phase--accent .flow-card { background: var(--white); }
.flow-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow-card-num { font-family: var(--font-figures); font-size: 14px; font-weight: 800; color: var(--ink-900); width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink-200); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.flow-phase--accent .flow-card-num { border-color: var(--lime-500); }
.flow-card-actor { font-size: 11px; color: var(--ink-500); font-weight: 600; letter-spacing: 0.02em; }
.flow-card-title { font-size: 15px; font-weight: 700; color: var(--ink-900); margin: 4px 0 2px; letter-spacing: -0.01em; }
.flow-card-body { font-size: 13px; color: var(--ink-600); line-height: 1.7; margin: 0; }
.flow-card--final { border-color: var(--lime-300); background: linear-gradient(180deg, var(--lime-100), var(--white) 70%); }
.flow-card--final .flow-card-num { border-color: var(--lime-500); background: var(--lime-500); color: var(--ink-900); }
.flow-divider { display: flex; align-items: center; gap: 12px; padding: 6px 0; list-style: none; color: var(--ink-300); }
.flow-divider-line { flex: 1; height: 1px; background: var(--ink-100); }
.flow-divider-arrow { font-size: 18px; font-weight: 700; }
@media (max-width: 880px) { .flow-phase-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .flow-phase { padding: 18px 16px 20px; }
  .flow-phase-cards,
  .flow-phase--cards-2 .flow-phase-cards { grid-template-columns: 1fr; }
  .flow-phase-period { margin-left: 0; width: 100%; }
}

/* ============ Diagnosis Tool (Program Finder) ============ */
.diag-section { background: var(--ink-50); }
.diag-header { text-align: center; margin-bottom: 36px; }
.diag-header .eyebrow { justify-content: center; }
.diag-heading { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink-900); margin: 12px 0 8px; }
.diag-sub { font-size: 15px; color: var(--ink-500); }
.diag-card { position: relative; background: var(--white); border: 1px solid var(--ink-100); border-radius: 20px; padding: 36px 40px; max-width: 640px; margin: 0 auto; box-shadow: var(--shadow-soft); }
.diag-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.diag-progress-bar { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; }
.dpb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-200); transition: background .2s, transform .2s; }
.dpb-dot.active { background: var(--lime-500); transform: scale(1.3); }
.diag-step { display: none; }
.diag-step.active { display: block; animation: fadeUp .2s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
.diag-q { font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; color: var(--ink-900); line-height: 1.55; margin-bottom: 24px; }
.diag-choices { display: flex; gap: 12px; }
.diag-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 20px; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all .15s; font-family: inherit; }
.diag-btn-yes { background: var(--lime-500); color: var(--ink-900); border-color: var(--lime-500); }
.diag-btn-yes:hover { background: var(--lime-400); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(199,242,74,0.3); }
.diag-btn-no { background: transparent; color: var(--ink-600); border-color: var(--ink-200); }
.diag-btn-no:hover { border-color: var(--ink-400); color: var(--ink-900); transform: translateY(-1px); }
.diag-back { background: none; border: none; color: var(--ink-400); font-size: 13px; cursor: pointer; padding: 0; margin-top: 18px; font-family: inherit; display: flex; align-items: center; gap: 4px; transition: color .15s; }
.diag-back:hover { color: var(--ink-700); }
.diag-result .diag-result-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--lime-500); color: var(--ink-900); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 12px; }
.diag-result-title { font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; color: var(--ink-900); margin-bottom: 10px; }
.diag-result-reason { font-size: 13px; color: var(--ink-700); line-height: 1.7; padding: 12px 14px; background: var(--ink-50); border: 1px solid var(--ink-100); border-radius: 10px; margin-bottom: 14px; }
.diag-result-body { font-size: 15px; color: var(--ink-600); line-height: 1.75; margin-bottom: 24px; }
.diag-result-body b { color: var(--signal); }
.diag-result-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.diag-result-secondary { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--ink-100); }
.diag-result-secondary-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-400); text-transform: uppercase; margin-bottom: 10px; }
.diag-result-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.diag-result-links a { font-size: 13px; font-weight: 600; color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.diag-result-links a:hover { color: var(--ink-900); }
.diag-restart { background: none; border: 1px solid var(--ink-200); color: var(--ink-500); font-size: 13px; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-family: inherit; transition: all .15s; }
.diag-restart:hover { border-color: var(--ink-400); color: var(--ink-700); }
@media (max-width: 600px) { .diag-card { padding: 28px 24px; } .diag-choices { flex-direction: column; } .diag-btn { justify-content: flex-start; } }

/* ============ Smartphone (SP): 可読幅・折り返し・余白の最適化 ============ */
@media (max-width: 639px) {
  body.grant-lp-body {
    /* word-break: normal だと禁則回避で右に大きな空きが出やすいので、SP では auto-phrase 相当へ */
    line-break: auto;
    word-break: auto-phrase;
    overflow-wrap: anywhere;
  }

  body.grant-lp-body .jp {
    letter-spacing: 0;
  }

  .container,
  .container-narrow {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-pad {
    padding: clamp(44px, 11vw, 72px) 0;
  }

  /* 行末を整える（balance はテキストがブロック幅いっぱいまで伸びにくくなる副作用があるので pretty を採用） */
  .section-title,
  .section-lede.jp,
  .hero-sub.jp,
  .hero-title.jp,
  .twin-body.jp,
  .pain-body.jp,
  .fc-sub.jp,
  .flow-card-body,
  .flow-step-body,
  .faq-a p {
    text-wrap: pretty;
  }

  /* Hero見出し：SPでは clamp 上限を抑え、1行の文字数を増やして右余白を消す */
  .hero-title {
    font-size: clamp(28px, 8.4vw, 36px);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }

  /* 下線SVG（.hl-underline）が右に飛び出る対策：基準を inline-block にして幅を一致 */
  .hero-title .hl {
    display: inline-block;
  }

  /* セクション見出し：SPでは過大な clamp 上限を抑える */
  .section-title {
    font-size: clamp(24px, 7.2vw, 30px);
    line-height: 1.3;
    margin: 10px 0 14px;
  }

  /* 中央寄せセクションのリードはSPだけ左寄せにして右余白の不揃いを解消（※下で #services / #diagnosis / #pricing は中央に戻す） */
  .scale-head,
  .flow-steps-head,
  .faq-head {
    text-align: left;
  }

  .scale-head .eyebrow,
  .flow-steps-head .eyebrow,
  .faq-head .eyebrow {
    justify-content: flex-start;
  }

  .scale-head .section-lede {
    margin-left: 0;
    margin-right: 0;
  }

  /* SP のみ：サービス・診断・料金の見出しブロックは中央配置 */
  #services .twin-head,
  #diagnosis .diag-header,
  #pricing .pr-head {
    text-align: center;
  }

  #services .twin-head .eyebrow,
  #diagnosis .diag-header .eyebrow,
  #pricing .pr-head .eyebrow {
    justify-content: center;
  }

  #pricing .pr-head .section-lede {
    margin-left: auto;
    margin-right: auto;
  }

  /* PC専用の改行はSPで完全無効（.br-pc 既定で display:none だが念押し） */
  .br-pc { display: none !important; }

  /* サービス（3プログラム）：カード内の実効幅を広げ、本文の右に空きが溜まりにくくする */
  #services .twin-card {
    padding: 22px 16px 20px;
  }

  .twin-head {
    margin-bottom: 32px;
  }

  .twin-flow {
    padding: 12px 12px;
    gap: 6px 2px;
  }

  .scale-card {
    padding: 20px 16px;
  }

  .pain-card {
    padding: 22px 18px 26px;
  }

  .bento-card {
    padding: 22px 18px;
  }

  .curr-outcome {
    padding-left: 16px;
    padding-right: 16px;
  }

  .curr-outcome b {
    white-space: normal;
  }

  .curr-mod {
    padding: 18px 16px;
    gap: 16px;
  }

  .hybrid-format {
    padding: 16px 14px;
    margin-left: 0;
    margin-right: 0;
  }

  .pr-block {
    padding: 22px 18px;
  }

  .flow-card {
    padding: 24px 18px;
  }

  /* PHASE グルーピング（flow-phase）: 内側カードの余白を詰めて本文幅を広げる */
  .flow-phase {
    padding: 18px 14px 20px;
    border-radius: 16px;
  }

  .flow-phase-cards {
    gap: 12px;
  }

  .flow-phase .flow-card {
    padding: 14px 14px 16px;
  }

  .flow-phase-head {
    gap: 8px 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .flow-phase-period {
    margin-left: 0;
    width: 100%;
    font-size: 11.5px;
  }

  .flow-card-body {
    font-size: 13px;
    line-height: 1.75;
  }

  .flow-steps-note {
    margin-top: 20px;
  }

  .flow-steps-note p {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .cm-url {
    min-width: 0;
    width: 100%;
    justify-self: stretch;
  }

  .ft-desc {
    max-width: none;
  }

  .faq-q {
    padding: 16px 16px;
    gap: 12px;
  }

  .faq-item .faq-a {
    padding-left: 48px;
    padding-right: 14px;
  }

  .faq-item.open .faq-a {
    padding: 0 14px 18px 48px;
  }

  .fc-card {
    padding: 44px 18px;
    border-radius: 18px;
  }

  .fc-title {
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.3;
  }

  .fc-sub {
    font-size: 14px;
    line-height: 1.85;
  }

  .fc-cta .btn {
    width: 100%;
  }
}

