/* ===================== PROCESS ===================== */

/* ---------- hero ---------- */
.ph-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.proc-hero .h-display { font-size: clamp(42px, 5.6vw, 84px); max-width: 15ch; }
.proc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.proc-tags .chip { font-family: var(--f-mono); font-size: 12.5px; }
.ph-visual { display: flex; flex-direction: column; align-items: center; }
.dial { position: relative; margin: 0; width: min(360px, 78vw); }
.dial svg { width: 100%; height: auto; overflow: visible; }
.dial-track { fill: none; stroke: var(--line); stroke-width: 18; }
.dial-seg { fill: none; stroke-width: 18; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 130px 130px; }
.seg-1 { --len: 169.9; stroke: var(--accent); stroke-dasharray: 169.9 678.6; stroke-dashoffset: -12; filter: drop-shadow(0 0 8px rgba(91, 140, 255, 0.7)); }
.seg-2 { --len: 363.8; stroke: var(--violet); stroke-dasharray: 363.8 678.6; stroke-dashoffset: -205.9; filter: drop-shadow(0 0 8px rgba(154, 131, 255, 0.7)); }
.seg-3 { --len: 72.9; stroke: var(--cyan); stroke-dasharray: 72.9 678.6; stroke-dashoffset: -593.6; filter: drop-shadow(0 0 8px rgba(70, 225, 255, 0.6)); }
html.js .ph-visual.is-in .dial-seg { animation: dialdraw 1.6s var(--ease) both; }
html.js .ph-visual.is-in .seg-2 { animation-delay: 0.35s; }
html.js .ph-visual.is-in .seg-3 { animation-delay: 0.7s; }
@keyframes dialdraw { from { stroke-dasharray: 0 678.6; } to { stroke-dasharray: var(--len) 678.6; } }
.dial-ticks line { stroke: var(--line-2); stroke-width: 1.5; }
.dial-ticks line.major { stroke: rgba(255, 255, 255, 0.55); stroke-width: 2; }
.dial-center { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.dial-center b { font-size: clamp(64px, 8vw, 96px); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; }
.dial-center .mono { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.dial-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 26px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.dial-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dial-legend i { width: 10px; height: 10px; border-radius: 3px; }
.lg-1 { background: var(--accent); } .lg-2 { background: var(--violet); } .lg-3 { background: var(--cyan); }
.dial-note { margin-top: 14px; font-size: 12px; }
@media (max-width: 960px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-visual { align-items: flex-start; }
  .dial { width: min(300px, 80vw); }
  .dial-legend { justify-content: flex-start; }
}

/* ---------- steps roadmap: default = vertical (mobile, no-GSAP, reduced motion) ---------- */
.roadmap { position: relative; padding: clamp(56px, 7vw, 100px) 0; }
.rm-hud .h-2 { margin-top: 2px; }
.rm-hint { margin-top: 14px; font-size: 12.5px; }
.rm-meter-wrap { position: sticky; top: calc(var(--header-h) + 10px); z-index: 6; margin: 28px 0 22px; pointer-events: none; }
.rm-meter { display: inline-flex; align-items: center; gap: 22px; padding: 12px 20px; border-radius: 18px; background: rgba(8, 14, 40, 0.88); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); pointer-events: auto; }
.rm-month { display: flex; align-items: baseline; gap: 8px; }
.rm-month .mono { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.rm-month b { font-size: clamp(36px, 4vw, 54px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; min-width: 2ch; }
.rm-status { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 1px solid var(--line-2); }
.rm-phase-name { font-size: 13px; color: var(--cyan); letter-spacing: 0.04em; }
.rm-cost { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.rm-cost .mono { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.rm-cost em { font-style: normal; color: var(--text); font-weight: 500; }

.rm-viewport { position: relative; }
.rm-illus-inline { display: none; margin-left: 10px; padding: 2px 7px; border: 1px dashed var(--line-2); border-radius: 6px; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.rm-horizontal .rm-illus-inline { display: inline-block; }
.rm-track { --rm-p: 0; position: relative; display: flex; flex-direction: column; gap: 18px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 0 calc(var(--gutter) + 34px); }
.rm-track::before, .rm-track::after { content: ""; position: absolute; left: calc(var(--gutter) + 10px); top: 0; bottom: 0; width: 2px; border-radius: 2px; }
.rm-track::before { background: var(--line-2); }
.rm-track::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--rm-p)); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.8); }
.rm-curve { display: none; }
.rm-panel { position: relative; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20, 32, 78, 0.5), rgba(10, 18, 48, 0.55)); transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.5s; }
.rm-panel::before { content: ""; position: absolute; left: -31px; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: all 0.4s var(--ease); }
.rm-panel.is-active { border-color: rgba(var(--accent-rgb), 0.6); box-shadow: 0 0 60px -24px rgba(var(--accent-rgb), 0.8); }
.rm-panel.is-active::before, .rm-panel.is-done::before { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.rm-panel-head { display: grid; gap: 6px; margin-bottom: 22px; justify-items: start; }
.rm-code { font-size: 12px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.rm-panel-head h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; }
.rm-panel-head h3 .mono { font-size: 13px; letter-spacing: 0.02em; color: var(--muted); font-weight: 400; }
.rm-panel-head p { color: var(--muted); font-size: 15.5px; }
.rm-panel-head .badge { margin-top: 6px; }
.rm-steps { display: grid; gap: 10px; }
.rm-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.rm-steps .mono { font-size: 11.5px; color: var(--accent); padding-top: 3px; }
.rm-steps b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.rm-steps p { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* ---------- roadmap: horizontal pinned mode (desktop + GSAP) ---------- */
.roadmap.rm-horizontal { padding: 0; }
.rm-horizontal .rm-pin { height: 100vh; display: flex; flex-direction: column; padding-top: calc(var(--header-h) + clamp(18px, 3vh, 36px)); overflow: hidden; position: relative; }
.rm-horizontal .rm-hint { margin-top: 10px; }
.rm-horizontal .rm-hud .h-2 { font-size: clamp(30px, 3.4vw, 48px); }
.where-win .wb-status { color: var(--dim); }
.rm-horizontal .rm-meter-wrap { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + clamp(18px, 3vh, 36px)); margin: 0; }
.rm-horizontal .rm-meter-wrap .container { display: flex; justify-content: flex-end; }
.rm-horizontal .rm-viewport { flex: 1; min-height: 0; margin-top: clamp(16px, 3vh, 34px); }
.rm-horizontal .rm-track { --rmW: clamp(440px, 40vw, 600px); flex-direction: row; gap: 0; max-width: none; margin: 0; height: 100%; width: max-content; padding: 0 var(--rm-pad, 40px); will-change: transform; }
.rm-horizontal .rm-track::before, .rm-horizontal .rm-track::after { display: none; }
.rm-horizontal .rm-curve { display: block; position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.rm-horizontal .rm-panel { flex: none; width: var(--rmW); align-self: flex-start; padding: 0 30px 0 26px; border: 0; border-left: 1px dashed var(--line-2); border-radius: 0; background: none; box-shadow: none; opacity: 0.42; }
.rm-horizontal .rm-panel::before { left: -8px; top: 2px; }
.rm-horizontal .rm-panel.is-active, .rm-horizontal .rm-panel.is-done { opacity: 1; box-shadow: none; }
.rm-horizontal .rm-panel-head { margin-bottom: 16px; }
.rm-horizontal .rm-panel-head h3 { font-size: clamp(28px, 2.6vw, 38px); }
.rm-horizontal .rm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rm-horizontal .rm-steps li { padding: 10px 12px; background: rgba(8, 14, 40, 0.72); }
.rm-horizontal .rm-steps p { font-size: 13.5px; }
@media (max-height: 760px) { .rm-horizontal .rm-steps p { display: none; } .rm-horizontal .rm-hint { display: none; } }

.rm-grid-line { stroke: var(--line); stroke-width: 1; }
.rm-divider { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 4 6; }
.rm-axis-label { fill: var(--dim); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; }
.rm-axis-label.is-hit { fill: var(--cyan); }
.rm-line { fill: none; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(91, 140, 255, 0.85)); }
.rm-line-ghost { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 7; }
.rm-head { fill: #fff; filter: drop-shadow(0 0 10px rgba(70, 225, 255, 1)); }

/* ---------- promises + first-week slider ---------- */
.rules-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: stretch; }
.rules-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rule { display: flex; flex-direction: column; gap: 8px; min-height: 230px; transform-style: preserve-3d; }
.rule-n { font-size: 13px; color: var(--accent); margin-bottom: auto; padding-bottom: 28px; }
.rule h3 { font-size: clamp(22px, 2vw, 26px); }
.budget { display: flex; flex-direction: column; gap: 14px; background: radial-gradient(100% 70% at 100% 0%, rgba(70, 225, 255, 0.14), transparent 60%), linear-gradient(180deg, rgba(20, 32, 78, 0.6), rgba(10, 18, 48, 0.6)); }
.budget .h-3 { margin: 4px 0 6px; }
.budget-read { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 8px; }
.budget-read label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.budget-out { font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.budget-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--fill, 0%), var(--line-2) var(--fill, 0%)); outline: none; margin: 6px 0 0; }
.budget-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.2), 0 0 20px rgba(var(--accent-rgb), 0.8); cursor: grab; }
.budget-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.8); cursor: grab; }
.budget-range:focus-visible { outline: 2px solid var(--cyan); outline-offset: 8px; }
.budget-scale { display: flex; justify-content: space-between; font-size: 11px; }
.budget-bars { display: grid; gap: 14px; margin-top: 8px; }
.budget-bars li { display: grid; grid-template-columns: 1fr; gap: 6px; font-size: 14px; color: var(--muted); }
.budget-bars i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.budget-bars b { display: block; height: 100%; width: 10%; border-radius: 4px; background: var(--grad); transition: width 0.7s var(--ease); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.6); }
.budget-bars .is-method { color: var(--text); }
.budget-bars .is-method b { background: var(--mint); box-shadow: 0 0 14px rgba(87, 242, 176, 0.6); }
.budget-bars em { font-style: normal; font-size: 11.5px; color: var(--mint); }
@media (max-width: 1020px) { .rules-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .budget { padding-top: 52px; } .rules-cards { grid-template-columns: 1fr; } .rule { min-height: 0; } .rule-n { padding-bottom: 14px; } }

/* ---------- where you start ---------- */
.where-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.where-grid .section-head { margin-bottom: 0; }
.where-body { padding: clamp(20px, 3vw, 30px); }
.where-q { font-size: 18px; font-weight: 500; margin-bottom: 16px; }
.where-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.where-opt { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); transition: all 0.35s var(--ease); }
.where-opt b { font-size: 16px; }
.where-opt span { font-size: 13.5px; color: var(--muted); }
.where-opt:hover { border-color: rgba(var(--accent-rgb), 0.7); transform: translateY(-2px); }
.where-opt[aria-checked="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.14); box-shadow: 0 0 30px -10px rgba(var(--accent-rgb), 0.8); }
.where-result { margin-top: 18px; min-height: 170px; border-radius: 14px; border: 1px dashed var(--line-2); padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.where-idle { font-size: 13px; }
.where-result.is-set { border-style: solid; border-color: rgba(70, 225, 255, 0.45); background: linear-gradient(135deg, rgba(70, 225, 255, 0.08), transparent 70%); animation: wherein 0.6s var(--ease); }
@keyframes wherein { from { opacity: 0; transform: translateY(10px); } }
.where-result .mono { font-size: 12px; color: var(--cyan); letter-spacing: 0.06em; text-transform: uppercase; }
.where-result h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 6px 0 8px; }
.where-result p { color: var(--muted); font-size: 15px; }
.where-result .link-arrow { margin-top: 14px; align-self: flex-start; }
@media (max-width: 900px) { .where-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .where-opts { grid-template-columns: 1fr; } .where-opt { flex-direction: row; align-items: baseline; gap: 8px; flex-wrap: wrap; } }

/* ---------- faq + cta ---------- */
.proc-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.proc-faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 900px) { .proc-faq-grid { grid-template-columns: 1fr; } .proc-faq-grid .section-head { position: static; } }
.cta-proof .cta-alt { font-family: var(--f-sans); font-size: 13.5px; margin-left: 6px; }

@media (min-width: 901px) { .roadmap:not(.rm-horizontal) .rm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- day theme ---------- */
html[data-theme="light"] .dial-ticks line.major { stroke: rgba(30, 50, 120, 0.45); }
html[data-theme="light"] .rm-meter { background: rgba(10, 17, 49, 0.95); box-shadow: 0 18px 40px -20px rgba(20, 40, 110, 0.55); }
html[data-theme="light"] .rm-panel { background: #fff; }
html[data-theme="light"] .rm-panel.is-active { box-shadow: 0 18px 44px -26px rgba(var(--accent-rgb), 0.6); }
html[data-theme="light"] .rm-panel.is-active::before, html[data-theme="light"] .rm-panel.is-done::before { box-shadow: 0 0 10px rgba(10, 143, 179, 0.55); }
html[data-theme="light"] .rm-steps li { background: var(--bg); }
html[data-theme="light"] .rm-horizontal .rm-panel { background: none; }
html[data-theme="light"] .rm-horizontal .rm-panel.is-active { box-shadow: none; }
html[data-theme="light"] .rm-horizontal .rm-steps li { background: #fff; box-shadow: 0 8px 22px -16px rgba(20, 40, 110, 0.4); }
html[data-theme="light"] .rm-line { filter: drop-shadow(0 0 6px rgba(52, 97, 240, 0.45)); }
html[data-theme="light"] .rm-head { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(52, 97, 240, 0.6)); }
html[data-theme="light"] .rm-track::after { box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.45); }
html[data-theme="light"] .budget-bars i { background: rgba(30, 50, 120, 0.08); }
