:root {
  color-scheme: dark;
  --ink: #f3f6f3;
  --muted: #a6b4af;
  --dim: #778782;
  --bg: #101817;
  --panel: #18221f;
  --panel-soft: #202c28;
  --line: #34433d;
  --mint: #a4e1c5;
  --mint-ink: #14221c;
  --warning: #f1d6a1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 78% 2%, rgba(91, 143, 119, .16), transparent 31rem),
    var(--bg);
}
button, textarea, input { font: inherit; }
button { color: inherit; }
.page-shell { width: min(100% - 40px, 720px); margin: 0 auto; }
.topbar { display:flex; align-items:center; justify-content:space-between; padding:26px 0 40px; }
.brand { display:flex; align-items:center; gap:10px; color:var(--ink); text-decoration:none; font-size:11px; font-weight:800; letter-spacing:2px; }
.brand-mark { display:grid; place-items:center; width:28px; height:28px; border:1px solid rgba(164,225,197,.55); border-radius:10px; color:var(--mint); font-size:21px; line-height:1; }
.build-badge { display:flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid rgba(164,225,197,.2); border-radius:999px; color:var(--mint); font-size:9px; font-weight:800; letter-spacing:1.15px; }
.badge-dot, .live-dot { width:7px; height:7px; border-radius:50%; background:var(--mint); }
.hero { padding:15px 0 26px; }
.eyebrow { margin:0 0 15px; color:var(--mint); font-size:10px; font-weight:800; letter-spacing:1.7px; }
h1 { margin:0; font-size:clamp(42px, 8vw, 66px); line-height:.99; letter-spacing:-2.8px; font-weight:650; }
.hero-copy { max-width:440px; margin:18px 0 0; color:var(--muted); font-size:16px; line-height:1.55; }
.demo-notice { display:flex; gap:12px; margin:0 0 20px; padding:15px 17px; border:1px solid rgba(241,214,161,.22); border-radius:15px; background:rgba(241,214,161,.07); }
.notice-icon { flex:0 0 auto; display:grid; place-items:center; width:20px; height:20px; border:1px solid rgba(241,214,161,.6); border-radius:50%; color:var(--warning); font:700 12px Georgia,serif; }
.demo-notice strong { display:block; margin:1px 0 4px; color:var(--warning); font-size:12px; }
.demo-notice p { margin:0; color:#c6c0ae; font-size:12px; line-height:1.5; }
.panel { padding:24px; border:1px solid rgba(222,240,229,.09); border-radius:22px; background:linear-gradient(145deg, rgba(30,43,38,.98), rgba(22,31,28,.98)); box-shadow:0 20px 60px rgba(0,0,0,.18); }
.panel-heading { display:flex; gap:13px; align-items:flex-start; margin-bottom:24px; }
.step-mark { flex:0 0 auto; display:grid; place-items:center; width:32px; height:32px; border:1px solid rgba(164,225,197,.24); border-radius:11px; color:var(--mint); font-size:10px; font-weight:800; }
h2 { margin:0; font-size:17px; letter-spacing:-.25px; }
.panel-heading p { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }
.form-section { margin:0 0 23px; }
.form-section > label, .duration-section legend { display:block; margin:0 0 9px; padding:0; color:#e4ebe6; font-size:12px; font-weight:650; }
.optional { margin-left:5px; color:var(--dim); font-size:10px; font-weight:500; }
textarea { display:block; width:100%; min-height:58px; resize:vertical; padding:12px 13px; border:1px solid var(--line); border-radius:12px; outline:none; color:var(--ink); background:rgba(8,15,13,.28); font-size:13px; line-height:1.45; transition:border-color .15s, box-shadow .15s; }
textarea::placeholder { color:#71817a; }
textarea:focus, input:focus-visible, button:focus-visible { outline:2px solid var(--mint); outline-offset:2px; }
textarea:focus { border-color:rgba(164,225,197,.7); box-shadow:0 0 0 3px rgba(164,225,197,.08); }
.field-hint { margin:6px 0 0; color:var(--dim); font-size:10px; }
.duration-section { min-width:0; padding:0; border:0; }
.duration-options { display:grid; grid-template-columns:repeat(auto-fit, minmax(64px, 1fr)); gap:7px; }
.duration-option { min-height:41px; padding:7px 5px; border:1px solid var(--line); border-radius:11px; background:rgba(8,15,13,.2); color:var(--muted); font-size:11px; font-weight:700; cursor:pointer; }
.duration-option:hover { border-color:#687b71; color:var(--ink); }
.duration-option.is-selected { border-color:rgba(164,225,197,.65); background:rgba(164,225,197,.12); color:var(--mint); }
.custom-duration { margin-top:13px; }
.custom-duration[hidden], [hidden] { display:none !important; }
.custom-duration label { display:flex; justify-content:space-between; margin-bottom:9px; color:var(--muted); font-size:11px; }
.custom-duration label span { color:var(--ink); font-variant-numeric:tabular-nums; }
input[type="range"] { width:100%; accent-color:var(--mint); }
.input-meta { display:flex; justify-content:space-between; gap:12px; margin-top:6px; color:var(--dim); font-size:10px; }
#intention-count { font-variant-numeric:tabular-nums; }
.primary-button, .secondary-button { display:flex; justify-content:center; align-items:center; gap:9px; width:100%; min-height:50px; border:0; border-radius:14px; font-size:13px; font-weight:750; cursor:pointer; transition:transform .12s, background .12s; }
.primary-button { color:var(--mint-ink); background:var(--mint); }
.primary-button:hover { background:#b6ebd0; }
.secondary-button { border:1px solid var(--line); color:var(--muted); background:transparent; }
.secondary-button:hover { color:var(--ink); border-color:#71837b; }
.primary-button:active, .secondary-button:active { transform:scale(.99); }
.active-panel { min-height:380px; padding:32px 24px; text-align:center; }
.session-kicker { display:flex; align-items:center; justify-content:center; gap:8px; color:var(--mint); font-size:10px; font-weight:800; letter-spacing:1.5px; }
.live-dot { box-shadow:0 0 0 4px rgba(164,225,197,.12); }
.session-clock { margin:30px 0 8px; font-size:clamp(60px, 13vw, 88px); line-height:1; letter-spacing:-4px; font-weight:550; font-variant-numeric:tabular-nums; }
.session-clock:focus { outline:2px solid var(--mint); outline-offset:8px; border-radius:4px; }
.session-status { margin:0; color:var(--muted); font-size:14px; }
.session-details { max-width:440px; margin:28px auto 24px; padding:17px; border:1px solid rgba(222,240,229,.08); border-radius:14px; background:rgba(8,15,13,.2); text-align:left; }
.detail-row + .detail-row { margin-top:14px; padding-top:14px; border-top:1px solid rgba(222,240,229,.08); }
.detail-label { color:var(--mint); font-size:9px; font-weight:800; letter-spacing:1.25px; }
.detail-row p { margin:5px 0 0; color:var(--ink); font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.session-limit { margin:0; color:var(--dim); font-size:10px; line-height:1.5; text-align:center; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.page-footer { display:flex; justify-content:space-between; gap:14px; padding:20px 2px 30px; color:#73817b; font-size:10px; line-height:1.5; }
@media (max-width:540px) {
  .page-shell { width:min(100% - 28px, 720px); }
  .topbar { padding:18px 0 29px; }
  .hero { padding-top:10px; }
  .hero-copy { font-size:14px; }
  .panel { padding:19px 16px; border-radius:18px; }
  .duration-options { gap:5px; }
  .duration-option { min-height:39px; font-size:10px; }
  .page-footer { flex-direction:column; gap:4px; }
  .active-panel { padding:28px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}
