/* How it works page */
.how-hero { padding-block: 40px 64px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.how-hero .h1 { color: #fff; max-width: 860px; }

.day { padding-block: 48px 88px; display: flex; flex-direction: column; gap: 20px; max-width: 1280px; }
.day-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.day-title { margin: 0; font-size: 1.375rem; font-weight: 800; }
.accent { color: var(--green-700); }
.day-controls { display: flex; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #c9d8d1; background: #fff; cursor: pointer; font-size: 1.25rem; transition: transform var(--duration-fast) var(--ease-out-expo); }
.round:hover { transform: translateY(-1px); }
.day-progress { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.day-progress span { height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.day-progress span.done::after, .day-progress span.now::after { content: ''; position: absolute; inset: 0; background: var(--green-700); transform-origin: left; }
.day-progress span.now::after { background: var(--mint-500); animation: fill var(--step-ms, 4500ms) linear both; }
.day-progress.paused span.now::after { animation: none; transform: none; }
@keyframes fill { from { transform: scaleX(0); } to { transform: none; } }

.day-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.day-steps { margin: 0; padding: 0; list-style: none; flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.day-steps button {
  width: 100%; border: 0; cursor: pointer; font: inherit; text-align: left; display: flex; gap: 12px; align-items: center;
  padding: 10px 14px; border-radius: 12px; background: transparent; color: var(--ink); transition: background-color 0.2s ease;
}
.day-steps button:hover { background: #fff; }
.day-steps .num { width: 28px; height: 28px; flex: none; border-radius: 14px; border: 1.5px solid #9cb3aa; color: var(--ink-3); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8125rem; }
.day-steps small { display: block; font-size: 0.75rem; color: var(--ink-4); }
.day-steps b { display: block; font-weight: 600; }
.day-steps [aria-current='step'] { background: var(--green-900); color: #fff; }
.day-steps [aria-current='step'] .num { background: var(--mint-500); border-color: var(--mint-500); color: #062a20; font-weight: 800; }
.day-steps [aria-current='step'] small { color: var(--mint-300); }
.day-steps [aria-current='step'] b { font-weight: 700; }
.day-steps .is-done .num { background: var(--mint-100); border-color: var(--mint-100); color: var(--green-700); }

.stage { flex: 2 1 440px; min-width: 0; background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 20px; align-items: center; min-height: 700px; }
.stage-copy { align-self: stretch; display: flex; flex-direction: column; gap: 6px; }
.stage-copy p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.stage-title { font-size: 1.75rem; }
.stage-phone { --ph-scale: 0.66; }
.paper-card { width: 100%; max-width: 460px; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two div, .soft { background: var(--ground); border-radius: 10px; padding: 10px 12px; }
.two small { display: block; color: var(--ink-3); font-size: 0.75rem; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.solid { background: var(--green-700); color: #fff; border-radius: 12px; padding: 13px; text-align: center; font-weight: 700; transition: background-color 0.3s ease; }
.solid--sm { padding: 9px 18px; display: inline-block; }
.solid.is-done { background: var(--green-900); }
.ghosty { padding: 9px 18px; border-radius: 12px; border: 1px solid #c9d8d1; font-weight: 600; display: inline-block; }
.wait { background: var(--amber-wash); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.amber { color: var(--amber-ink); }
.acts { display: flex; gap: 8px; }
.huge { font-size: 1.625rem; }
.credit-note { width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px; box-shadow: 0 16px 40px rgba(11, 61, 48, 0.12); font-size: 0.875rem; display: flex; flex-direction: column; gap: 4px; }
.credit-note hr { border: 0; border-top: 1px dashed #9cb3aa; margin: 8px 0; width: 100%; }
.cn-co { text-align: center; font-size: 1rem; }
.cn-kind { text-align: center; color: var(--ink-3); letter-spacing: 0.1em; font-size: 0.75rem; }
.credit-note .big { font-size: 1.125rem; font-weight: 800; }
.signoff { width: 100%; max-width: 480px; background: var(--green-900); color: #fff; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.signoff .eyebrow { color: var(--mint-300); }
.four { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.four small { display: block; color: var(--mint-300); font-size: 0.8125rem; }
.four b { font-size: 1.375rem; }
.ok { background: var(--mint-500); color: #062a20; border-radius: 12px; padding: 12px; text-align: center; font-weight: 800; }

.ledger { flex: 1 1 250px; min-width: 0; background: var(--green-900); color: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.ledger .lh { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint-300); margin-bottom: 8px; }
.ledger .grp { font-size: 0.75rem; color: var(--mint-300); margin-top: 10px; }
.ledger .row { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 8px; color: var(--mint-200); }
.ledger .row b { color: #fff; font-variant-numeric: tabular-nums; }
.ledger .row.changed { animation: flash 1.6s ease-out both; color: #fff; }
.ledger .row.changed b { color: var(--mint-500); }
.ledger .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #1f5a49; font-size: 0.8125rem; color: var(--mint-300); }
@keyframes flash { 0% { background: rgba(63, 181, 138, 0.45); } 100% { background: transparent; } }

.features-band { background: #fff; }
.feature-groups { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.group { background: var(--ground); border-radius: 20px; padding: 26px; }
.group h3 { margin: 0 0 10px; font-size: 1.3125rem; }
.group ul { margin: 0; padding-left: 18px; color: var(--ink-2); line-height: 1.75; }
.group--dark { background: var(--green-900); color: #fff; }
.group--dark ul { color: var(--mint-200); }

.tracking { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.tracking-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts div { background: #fff; border-radius: 16px; padding: 18px; }
.facts b { display: block; font-family: var(--font-display); font-size: 2.125rem; }
.facts span { color: var(--ink-3); }
.tracking-map { flex: 1 1 520px; min-width: 0; height: 460px; }

.roadmap { background: var(--green-900); }
.road { margin-block: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.road article { background: var(--green-800); border-radius: 20px; padding: 26px; }
.road h3 { margin: 0 0 10px; font-size: 1.3125rem; display: flex; gap: 10px; align-items: center; }
.road ul { margin: 0; padding-left: 18px; color: var(--mint-200); line-height: 1.75; }
.dot { width: 10px; height: 10px; border-radius: 5px; display: inline-block; }
.dot--now { background: var(--mint-500); }
.dot--next { background: #f2c14e; }
.dot--later { background: #9cb3aa; }

@media (max-width: 760px) {
  .stage { min-height: 0; padding: 18px; }
  .stage-phone { --ph-scale: 0.6; }
  .facts { grid-template-columns: 1fr; }
}
