:root {
  --ink: #173d35;
  --ink-2: #28564c;
  --paper: #f4f2eb;
  --white: #fffef9;
  --lime: #d9ff8c;
  --lime-2: #bce85f;
  --peach: #ffb58f;
  --sky: #bfe4ff;
  --muted: #65736f;
  --line: #d8ddd6;
  --danger: #9c3d37;
  --shadow: 0 18px 50px rgba(23,61,53,.1);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); line-height: 1.55; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 14px; background: var(--white); border-radius: 8px; }
.skip-link:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(23,61,53,.12); background: rgba(244,242,235,.92); backdrop-filter: blur(16px); }
.nav { width: min(1180px, calc(100% - 32px)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 850; letter-spacing: -.03em; font-size: 20px; }
.brand-logo { width: 34px; height: 34px; display: block; }
.brand-accent { color: #4d7917; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: white; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 32px)); margin-inline: auto; }
.hero { padding: clamp(70px, 10vw, 138px) 0 76px; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: var(--lime); filter: blur(1px); opacity: .68; right: -170px; top: -150px; z-index: -1; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 18px; padding: 7px 11px; border: 1px solid var(--ink); border-radius: 999px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: 11px; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; margin-top: 0; }
h1 { max-width: 920px; margin-bottom: 24px; font-size: clamp(48px, 8vw, 102px); font-weight: 900; }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: 24px; }
.hero p { max-width: 690px; color: var(--ink-2); font-size: clamp(18px, 2.2vw, 24px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { min-height: 48px; padding: 12px 20px; border: 1.5px solid var(--ink); border-radius: 999px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; background: var(--ink); color: white; text-decoration: none; font-weight: 800; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(23,61,53,.15); }
.button.secondary { background: transparent; color: var(--ink); }
.button.lime { background: var(--lime); color: var(--ink); }
.section { padding: 76px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-head p { max-width: 530px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tool-card { grid-column: span 4; min-height: 270px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; box-shadow: 0 1px 0 rgba(23,61,53,.03); transition: transform .18s ease, box-shadow .18s ease; }
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tool-card.featured { grid-column: span 6; min-height: 330px; }
.tool-card:nth-child(3n+1) .tool-icon { background: var(--lime); }
.tool-card:nth-child(3n+2) .tool-icon { background: var(--sky); }
.tool-card:nth-child(3n+3) .tool-icon { background: var(--peach); }
.tool-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 25px; margin-bottom: 48px; }
.tool-card h3 { margin-bottom: 8px; }
.tool-card p { color: var(--muted); margin: 0; }
.tool-link { margin-top: auto; padding-top: 24px; font-weight: 850; }
.pledge { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px; border-radius: 32px; background: var(--ink); color: white; }
.pledge h2 { margin-bottom: 0; }
.pledge-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pledge-item { padding: 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; font-weight: 750; }
.tool-hero { padding: 64px 0 32px; }
.tool-hero h1 { font-size: clamp(42px, 7vw, 78px); margin-bottom: 16px; }
.tool-hero .lede { max-width: 760px; font-size: 20px; color: var(--muted); }
.crumbs { margin-bottom: 30px; font-size: 13px; font-weight: 750; color: var(--muted); }
.crumbs a { text-underline-offset: 3px; }
.tool-shell { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 22px; align-items: start; }
.tool-panel, .side-panel, .content-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 rgba(23,61,53,.03); }
.tool-panel { min-height: 540px; padding: clamp(22px, 4vw, 42px); }
.side-panel { padding: 25px; position: sticky; top: 94px; }
.side-panel h3 { font-size: 18px; margin-bottom: 16px; }
.side-panel ol, .side-panel ul { padding-left: 20px; color: var(--muted); }
.privacy-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.control-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
select, input[type="time"], input[type="number"] { min-height: 46px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: white; color: var(--ink); }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.preset { padding: 9px 13px; border: 1.5px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font-weight: 750; }
.preset.active { background: var(--ink); color: white; border-color: var(--ink); }
.result-box { margin-top: 24px; padding: 24px; border-radius: 18px; background: #eef6e2; }
.result-box strong { display: block; font-size: clamp(28px, 5vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.article { padding: 75px 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 720px) 260px; justify-content: space-between; gap: 50px; }
.prose { color: #314a44; }
.prose h2 { margin-top: 58px; font-size: 38px; color: var(--ink); }
.prose h3 { margin-top: 36px; color: var(--ink); }
.prose p, .prose li { font-size: 17px; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .note { padding: 20px; border-left: 5px solid var(--lime-2); background: var(--white); border-radius: 0 12px 12px 0; }
.trust-box { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); font-size: 14px; }
.breath-stage { min-height: 380px; display: grid; place-items: center; text-align: center; }
.breath-orb { width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); border: 2px solid var(--ink); transform: scale(.66); transition-property: transform, background-color; transition-timing-function: ease-in-out; }
.breath-orb span { font-weight: 900; font-size: 27px; letter-spacing: -.03em; }
.breath-time { font-size: 14px; color: var(--muted); margin-top: 10px; }
.timer-display { margin: 40px 0 30px; font-size: clamp(72px, 14vw, 135px); line-height: .9; letter-spacing: -.07em; font-weight: 900; font-variant-numeric: tabular-nums; }
.ground-stage { min-height: 390px; display: flex; flex-direction: column; justify-content: center; }
.ground-count { color: var(--peach); font-size: 90px; line-height: 1; font-weight: 900; }
.ground-prompt { max-width: 520px; margin: 10px 0 30px; font-size: 30px; line-height: 1.2; letter-spacing: -.03em; }
.question { padding: 20px 0; border-bottom: 1px solid var(--line); }
.question legend { font-weight: 750; margin-bottom: 12px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.scale label { min-height: 44px; border: 1.5px solid var(--line); border-radius: 10px; display: grid; place-items: center; text-align: center; font-size: 12px; cursor: pointer; }
.scale input { position: absolute; opacity: 0; }
.scale label:has(input:checked) { border-color: var(--ink); background: var(--lime); font-weight: 850; }
.footer { margin-top: 80px; padding: 55px 0 30px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer p { color: #c5d4d0; max-width: 420px; }
.footer a { color: #e9f2ef; }
.footer-links { display: grid; gap: 9px; align-content: start; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: #afc1bc; font-size: 13px; }
.status { min-height: 24px; color: var(--muted); font-size: 14px; }
.hidden { display: none !important; }
@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .tool-card, .tool-card.featured { grid-column: span 6; }
  .tool-shell, .article-grid, .pledge { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .pledge { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tool-card, .tool-card.featured { grid-column: 1 / -1; min-height: 240px; }
  .section-head { align-items: start; flex-direction: column; }
  .pledge-list, .footer-grid { grid-template-columns: 1fr; }
  .scale { grid-template-columns: 1fr; }
  .scale label { display: flex; justify-content: flex-start; padding: 10px; }
  .tool-panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Problem-first home */
.home-hero { padding: clamp(36px, 6vw, 72px) 0 34px; }
.home-hero-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); gap:clamp(32px,6vw,80px); align-items:center; }
.home-hero h1 { max-width:720px; margin:0 0 16px; font-size:clamp(44px,6.4vw,78px); }
.home-hero .lead { max-width:610px; margin:0; font-size:clamp(17px,1.8vw,21px); color:var(--muted); }
.trust-line { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:22px; color:var(--ink-2); font-size:13px; font-weight:750; }
.trust-line span::before { content:'✓'; margin-right:6px; color:#4d7917; }
.problem-panel { padding:24px; border:1px solid var(--line); border-radius:28px; background:var(--white); box-shadow:var(--shadow); }
.problem-panel h2 { margin:0 0 16px; font-size:22px; letter-spacing:-.025em; }
.problem-list { display:grid; gap:9px; }
.problem-link { display:grid; grid-template-columns:42px 1fr auto; align-items:center; gap:12px; min-height:62px; padding:10px 14px 10px 10px; border:1px solid var(--line); border-radius:16px; text-decoration:none; background:#fff; font-weight:820; transition:transform .15s, border-color .15s, background .15s; }
.problem-link:hover { transform:translateX(3px); border-color:var(--ink); background:#f9fcef; }
.problem-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:var(--lime); font-size:20px; }
.problem-link:nth-child(2) .problem-icon { background:var(--sky); }
.problem-link:nth-child(3) .problem-icon { background:var(--peach); }
.problem-link:nth-child(4) .problem-icon { background:#eadbff; }
.problem-link small { display:block; margin-top:2px; color:var(--muted); font-weight:600; }
.compact-section { padding:34px 0 46px; }
.compact-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:20px; }
.compact-head h2 { margin:0; font-size:clamp(30px,4vw,44px); }
.compact-head a { font-weight:800; white-space:nowrap; }
.utility-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.utility-card { min-height:150px; padding:20px; border:1px solid var(--line); border-radius:18px; background:var(--white); text-decoration:none; }
.utility-card:hover { border-color:var(--ink); }
.utility-card span { font-size:23px; }
.utility-card h3 { margin:22px 0 5px; font-size:19px; }
.utility-card p { margin:0; color:var(--muted); font-size:14px; }
.proof-strip { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:24px 28px; border-radius:22px; background:var(--ink); color:white; }
.proof-strip h2 { margin:0; font-size:clamp(24px,3vw,34px); }
.proof-strip p { margin:4px 0 0; color:#c5d4d0; }
.proof-points { display:flex; flex-wrap:wrap; gap:10px; }
.proof-points span { padding:8px 11px; border:1px solid rgba(255,255,255,.22); border-radius:999px; font-size:12px; font-weight:780; }

/* Interactive problem tools */
.moment-shell { max-width:760px; margin:auto; }
.step-label { margin:0 0 10px; color:var(--muted); font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.moment-title { margin-bottom:10px; font-size:clamp(28px,5vw,42px); }
.moment-copy { color:var(--muted); font-size:17px; }
.choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
.choice { min-height:64px; padding:14px 16px; border:1.5px solid var(--line); border-radius:14px; background:white; color:var(--ink); text-align:left; font-weight:780; }
.choice:hover, .choice.selected { border-color:var(--ink); background:#eff8dc; }
.input-large { width:100%; min-height:132px; padding:16px; resize:vertical; border:1.5px solid var(--line); border-radius:14px; background:white; color:var(--ink); font:inherit; }
.input-large:focus { outline:3px solid var(--sky); outline-offset:3px; }
.reset-card { margin-top:20px; padding:24px; border-radius:18px; background:#eef6e2; }
.reset-card h3 { margin-bottom:8px; }
.breath-mini { width:132px; height:132px; display:grid; place-items:center; margin:24px auto; border:2px solid var(--ink); border-radius:50%; background:var(--lime); font-weight:900; text-align:center; transition:transform 1s ease-in-out; }
.starter-time { margin:24px 0; font-size:clamp(70px,15vw,112px); line-height:.9; letter-spacing:-.07em; font-weight:900; font-variant-numeric:tabular-nums; }
.tool-panel.compact-tool { min-height:430px; }
.line-input { width:100%; min-height:48px; margin:0 0 16px; padding:10px 12px; border:1.5px solid var(--line); border-radius:12px; background:white; color:var(--ink); }
.line-input:focus { outline:3px solid var(--sky); outline-offset:3px; }
.practice-script { margin:12px 0; padding:18px 20px; border-left:5px solid var(--lime-2); border-radius:0 12px 12px 0; background:white; font-size:clamp(20px,3vw,28px); line-height:1.35; font-weight:760; }
.practice-prompt { min-height:150px; margin:18px 0; padding:22px; display:flex; align-items:center; border:1px solid var(--line); border-radius:16px; background:#f8faf4; font-size:clamp(20px,3vw,27px); line-height:1.45; }
.practice-time { margin:20px 0; font-size:clamp(58px,12vw,96px); line-height:.9; letter-spacing:-.06em; font-weight:900; font-variant-numeric:tabular-nums; }
.skill-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.skill-card { min-height:210px; padding:22px; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:20px; background:var(--white); text-decoration:none; }
.skill-card:hover { border-color:var(--ink); transform:translateY(-2px); }
.skill-card .problem-icon { margin-bottom:28px; }
.skill-card h3 { margin:0 0 7px; font-size:22px; }
.skill-card p { margin:0; color:var(--muted); }
.skill-card b { margin-top:auto; padding-top:18px; }
.task-choice-list { display:grid; gap:9px; margin-top:20px; }
.task-choice-list .choice { min-height:52px; }
.night-tool { background:#172b31; color:#f8f7ef; }
.night-tool .moment-copy,.night-tool .step-label { color:#c6d3d4; }
.night-tool .input-large { background:#203941; border-color:#496068; color:white; }
.night-tool .input-large::placeholder { color:#aebec1; }
.parked-list { display:grid; gap:9px; margin:18px 0; padding:0; list-style:none; }
.parked-list li { display:grid; gap:3px; padding:12px 14px; border-radius:12px; background:rgba(255,255,255,.09); }
.parked-list strong { color:var(--lime); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.exit-stage { min-height:360px; display:grid; place-items:center; text-align:center; }
.exit-stage .practice-time { margin:12px 0; }
.scenario-card { min-height:180px; margin:20px 0; padding:24px; display:flex; align-items:center; border:1px solid var(--line); border-radius:18px; background:#f8faf4; font-size:clamp(21px,3vw,30px); line-height:1.35; font-weight:760; }
.decision-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.decision-option { padding:18px; border:1px solid var(--line); border-radius:16px; background:#fbfcf8; }
.slider-row { display:grid; grid-template-columns:1fr 50px; align-items:center; gap:10px; margin:15px 0; }
.slider-row label { font-size:13px; font-weight:750; }
.slider-row input { grid-column:1; width:100%; accent-color:var(--ink); }
.slider-row output { grid-column:2; grid-row:1 / span 2; width:42px; height:42px; display:grid; place-items:center; border-radius:10px; background:var(--lime); font-weight:850; }
.teleprompter { min-height:360px; padding:28px; border-radius:20px; background:#102e29; color:#f8f7ef; }
.teleprompter-copy { min-height:210px; font-size:clamp(26px,5vw,42px); line-height:1.55; }
.micro-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.link-chips { display:flex; flex-wrap:wrap; gap:9px; margin-top:16px; }
.link-chips a { padding:9px 13px; border:1px solid var(--line); border-radius:999px; background:var(--white); text-decoration:none; font-size:13px; font-weight:780; }
.link-chips a:hover { border-color:var(--ink); }
@media (max-width:650px) { .decision-grid,.micro-grid { grid-template-columns:1fr; } }

@media (max-width:820px) {
  .home-hero-grid { grid-template-columns:1fr; gap:26px; }
  .home-hero { padding-top:38px; }
  .utility-grid { grid-template-columns:1fr 1fr; }
  .skill-grid { grid-template-columns:1fr; }
  .proof-strip { align-items:flex-start; flex-direction:column; }
}
@media (max-width:560px) {
  .nav { min-height:64px; }
  .brand { font-size:18px; }
  .brand-logo { width:31px; height:31px; }
  .home-hero h1 { font-size:43px; }
  .problem-panel { padding:15px; border-radius:20px; }
  .problem-link { grid-template-columns:38px 1fr auto; padding:8px; }
  .problem-icon { width:38px; height:38px; }
  .utility-grid, .choice-grid { grid-template-columns:1fr; }
  .compact-head { align-items:flex-start; flex-direction:column; }
  .footer { margin-top:48px; }
}
