/* Dark theme. theme.js sets data-theme on <html> from the visitor's choice, or from the device setting when there is none, and uses the
   One Intention app's dark palette, so the site and the app match by night.
   Loaded after the other stylesheets on every page. */
html[data-theme="dark"]{color-scheme:dark;
  --bg:#0F1A13;          /* page ground */
  --ink:#E9F0E8;         /* body text */
  --muted:#A9C4B3;       /* secondary text */
  --primary:#7BD591;     /* green words, links and fills */
  --accent:#7BD591;
  --line:#2E4236;        /* dividers and card edges */
  --soft:#1B2A20;        /* chips and quiet fills */
  --dark:#E9F0E8;        /* was dark-green text; bands set their own ground below */
  --white:#182219;
  --surface:#182219;     /* cards */
  --surface-low:#152017;
  --band:#132A1D;        /* the deep green bands */
  --on-green:#0F2A1D;    /* text on green buttons */
  --card-shadow:0 24px 70px #0000004d;}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] ::selection{background:#2E4236;color:var(--ink)}
html[data-theme="dark"] img,html[data-theme="dark"] video{color-scheme:normal}
html[data-theme="dark"] /* Header,html[data-theme="dark"] menu,html[data-theme="dark"] switcher */
.site-header,html[data-theme="dark"] .header{background:var(--bg)}
html[data-theme="dark"] .menu-toggle{background:var(--surface);color:var(--ink)}
html[data-theme="dark"] .product-switch{background:linear-gradient(180deg,#1B2A20,#152017);box-shadow:0 1px 0 #ffffff0d inset,0 6px 18px #0000004d}
/* Without the script each tab paints its own pill; with it, only the sliding highlight does. */
html[data-theme="dark"] .product-switch:not(.has-indicator) a[aria-current],html[data-theme="dark"] .product-switch.has-indicator a.is-target{color:var(--on-green)}
html[data-theme="dark"] .product-switch.has-indicator a.is-leaving{color:var(--muted)}
html[data-theme="dark"] .product-switch:not(.has-indicator) a[aria-current],html[data-theme="dark"] .product-switch.has-indicator .switch-indicator{background:linear-gradient(180deg,#8FDFA2,#6FCB86);box-shadow:0 3px 10px #7bd59126}
html[data-theme="dark"] /* Buttons: light green with dark text,html[data-theme="dark"] as in the app */
.button{color:var(--on-green)}
html[data-theme="dark"] .button:not(.early-access-button):not([data-cookie-choice="rejected"]){background:linear-gradient(180deg,#8FDFA2,#6FCB86);color:var(--on-green);box-shadow:0 3px 10px #7bd59126}
html[data-theme="dark"] .button:not(.early-access-button):not([data-cookie-choice="rejected"]):hover:not(:disabled){background:linear-gradient(180deg,#9BE6AD,#7BD591);box-shadow:0 8px 24px #7bd59133}
html[data-theme="dark"] .button[href^="https://app.journeyheld.com/"]:hover:not(:disabled){box-shadow:0 8px 24px #7bd59133}
html[data-theme="dark"] .legal-page a.button{color:var(--on-green)}
html[data-theme="dark"] .brand-mark{color:var(--on-green)}
html[data-theme="dark"] .screen-tab[aria-pressed=true],html[data-theme="dark"] .report-check{color:var(--on-green)}
html[data-theme="dark"] .screen-tab:hover{background:var(--soft)}
html[data-theme="dark"] .journey-band,html[data-theme="dark"] .early-access,html[data-theme="dark"] .walkthrough-video.walkthrough-player{background:var(--band)}
html[data-theme="dark"] .early-access-button{background:linear-gradient(180deg,#8FDFA2,#6FCB86);border-color:transparent;color:var(--on-green);box-shadow:0 3px 10px #7bd59126}
html[data-theme="dark"] .early-access-button:hover:not(:disabled){background:linear-gradient(180deg,#9BE6AD,#7BD591);border-color:transparent;box-shadow:0 8px 24px #7bd59133}
html[data-theme="dark"] .contact-success-mark{background:var(--primary);color:var(--on-green)}
html[data-theme="dark"] .oi-weeks{background:radial-gradient(ellipse 70% 60% at 85% 0%,#1d4a34 0,transparent 70%),radial-gradient(ellipse 60% 50% at 0% 100%,#173d2b 0,transparent 70%),var(--band)}
html[data-theme="dark"] .journey-steps .integration-step{background:#1B2A20;border-color:#2E4236;color:var(--ink)}
html[data-theme="dark"] .journey-steps .integration-step p{color:#C5D5CA}
/* The band's light text uses --bg and --soft by day; by night those are dark, so give it light text. */
html[data-theme="dark"] .journey-band,html[data-theme="dark"] .journey-band h3{color:var(--ink)}
html[data-theme="dark"] .journey-band .step-label,html[data-theme="dark"] .journey-band .step-detail{color:var(--muted)}
html[data-theme="dark"] .journey-band .journey-steps p{color:#C5D5CA}
html[data-theme="dark"] .journey-band .band-heading h2 span{color:#A2B3A6}
html[data-theme="dark"] .journey-band .step-number{color:#0F1A13}
html[data-theme="dark"] .oi-cards li,html[data-theme="dark"] .oi-gentle .trust-points li,html[data-theme="dark"] .trust-points,html[data-theme="dark"] .trust-points li,html[data-theme="dark"] .report-card,html[data-theme="dark"] .ad-followup{background:var(--surface);border-color:var(--line)}
html[data-theme="dark"] .trust-points .trust-more{background:var(--surface-low)}
html[data-theme="dark"] .participant-layout{background:#152017}
html[data-theme="dark"] .participant-benefits li>span{background:var(--soft);border-color:var(--line)}
html[data-theme="dark"] .report-intention{background:#1E3626;color:var(--ink)}
html[data-theme="dark"] .report-tags li,html[data-theme="dark"] .report-feelings li{border-color:var(--line)}
html[data-theme="dark"] .report-tags li:first-child{background:#18233a;border-color:#2b3b63;color:#9db8ff}
html[data-theme="dark"] .report-scale i{background:#2E4236}
html[data-theme="dark"] .progress-mode{background:var(--soft);color:var(--primary)}
html[data-theme="dark"] .progress-window,html[data-theme="dark"] .participant-report-frame,html[data-theme="dark"] .report-scroll-frame{box-shadow:0 20px 48px #00000059;border-color:var(--line)}
html[data-theme="dark"] .step-top{border-bottom-color:#2e423680}
html[data-theme="dark"] dialog::backdrop{background:#000000a6}
html[data-theme="dark"] .walkthrough-video{background:var(--soft);color:var(--ink)}
html[data-theme="dark"] .hero-product:before{background:radial-gradient(ellipse at 65% 50%,#1d4a3499,transparent 72%)}
html[data-theme="dark"] .hero-chart .benefit-progression,html[data-theme="dark"] .ad-chart{background:linear-gradient(130deg,#1B2A20,#121C15 80%);border-color:var(--line)}
html[data-theme="dark"] .jh-chart-scale text{fill:var(--muted)}
html[data-theme="dark"] .jh-chart-scale line{stroke:#2E4236}
html[data-theme="dark"] .jh-chart-series .jh-chart-circle-mark{fill:var(--bg)}
html[data-theme="dark"] .chart-legend span,html[data-theme="dark"] .jh-chart-legend span{color:var(--ink)}
html[data-theme="dark"] .chart-legend .jh-chart-circle,html[data-theme="dark"] .jh-chart-legend .jh-chart-circle{background:var(--bg)}
html[data-theme="dark"] .hero-chart{--chart-teal:#4fc1c5}
html[data-theme="dark"] .jh-chart-series.is-effect{--jh-chart-color:#4fc1c5}
html[data-theme="dark"] .jh-chart-series.is-unwanted{--jh-chart-color:#ef7c7c}
html[data-theme="dark"] .chart-legend .jh-chart-circle,html[data-theme="dark"] .jh-chart-legend .jh-chart-circle{border-color:#4fc1c5}
html[data-theme="dark"] .chart-legend .jh-chart-diamond,html[data-theme="dark"] .jh-chart-legend .jh-chart-diamond{background:#ef7c7c}
html[data-theme="dark"] .report-scale i.is-on{background:#4fc1c5}
html[data-theme="dark"] .chart-legend span:last-child,html[data-theme="dark"] .benefit-stages small{color:#d9a27f}
html[data-theme="dark"] .oi-iphone:before{background:radial-gradient(ellipse at 50% 45%,#1d4a34b3,transparent 68%)}
html[data-theme="dark"] .oi-iphone:after{box-shadow:0 40px 80px #00000080,0 12px 24px #00000059}
html[data-theme="dark"] .oi-iphone-frame{background:linear-gradient(160deg,#2a2f2c,#121513 60%,#252a27);box-shadow:0 0 0 1.5px #3a403c inset}
html[data-theme="dark"] .oi-iphone-frame img{background:#0F1A13}
html[data-theme="dark"] .oi-stage-art{background:radial-gradient(ellipse 80% 70% at 50% 35%,#1B2E21 0,#152519 55%,#0F1A13 100%)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#768C7C}
html[data-theme="dark"] .contact-error{color:#f08a8a}
html[data-theme="dark"] .contact-field [aria-invalid="true"],html[data-theme="dark"] .contact-field [aria-invalid="true"]:focus{border-color:#f08a8a;outline-color:#f08a8a}
html[data-theme="dark"] .contact-success{background:var(--soft)}
html[data-theme="dark"] .progress-window{background:var(--surface);border-color:var(--line);box-shadow:0 24px 70px #00000059}
html[data-theme="dark"] .hero-product .progress-footer{background:var(--surface-low)}
html[data-theme="dark"] .hero-milestones span{background:#2E4236}
html[data-theme="dark"] .skip{background:var(--surface);color:var(--ink)}
html[data-theme="dark"] .screen-track{background:var(--surface)}
html[data-theme="dark"] .screen-stage{background:radial-gradient(ellipse at 50% 45%,#1B2E21,#0F1A13 78%)}
html[data-theme="dark"] .screen-arrow:hover:not(:disabled){background:var(--soft)}
html[data-theme="dark"] .contact-field input,html[data-theme="dark"] .contact-field textarea{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .cookie-panel{background:var(--surface);box-shadow:0 18px 50px #00000080}
html[data-theme="dark"] .cookie-actions .button[data-cookie-choice="rejected"]{background:transparent;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .cookie-actions .button[data-cookie-choice="rejected"]:hover{background:var(--soft);border-color:#3c5546}
html[data-theme="dark"] .header-actions .sign-in{background:transparent;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .header-actions .sign-in:hover{background:var(--soft);border-color:#3c5546}
html[data-theme="dark"] .theme-toggle:hover{background:var(--soft);border-color:#3c5546;color:var(--ink)}
html[data-theme="dark"] .theme-toggle{background:transparent;border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .oi-iphone-glow{background:radial-gradient(closest-side at 50% 46%,#1d4a34b3,#1d4a3455 55%,transparent)}
html[data-theme="dark"] .oi-iphone-shadow{box-shadow:0 40px 80px #00000080,0 12px 24px #00000059}

/* Section rhythm by night, as by day: ground, a lighter green band for "why", then a deep glowing band for the steps. */
html[data-theme="dark"] .why-band{background:#1A2D21}
html[data-theme="dark"] .why-band-points li{background:#20352A;border-color:#2F4A39}
html[data-theme="dark"] .oi-why .oi-why-card{background:#20352A}
html[data-theme="dark"] .oi-why .oi-why-card.is-list{border-color:#2F4A39}
html[data-theme="dark"] .journey-band{background:radial-gradient(ellipse 70% 60% at 85% 0%,#1d4a34 0,transparent 70%),radial-gradient(ellipse 60% 50% at 0% 100%,#173d2b 0,transparent 70%),var(--band)}
/* "Send message" before the form is filled: a quiet but readable button, not a faded green one. */
html[data-theme="dark"] .contact-submit .button:disabled{opacity:1;background:var(--soft);color:var(--muted);border-color:var(--line)}
/* "What yours could be": a soft glow behind the growing flower so it doesn't float in an empty dark box. */
html[data-theme="dark"] .oi-flower{background:radial-gradient(closest-side,#1f4a3399,#1d4a3433 60%,transparent);border-radius:50%}
/* Step numbers by night: the brand green instead of terracotta, the only warm colour on the dark page. */
html[data-theme="dark"] .step-number,html[data-theme="dark"] .journey-band .step-number{background:#7BD591;border-color:#7BD591;color:#0F2A1D}
