@font-face { font-family: Newsreader; src: url(/fonts/newsreader.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

/* Night ground. Teal is the left side (calm), amber the right (focus), violet where they meet (balance).
   Every text colour below is at least 7:1 on --night and on --deep. */
:root {
  color-scheme: dark;
  --night: #070a16; --deep: #0e1430; --rim: #1a2148;
  --ink: #f4f2ff; --soft: #c9cce8;
  --tide: #6ee7d8; --tide-glow: rgba(64, 214, 196, .38);
  --ember: #ffb877; --ember-glow: rgba(255, 150, 80, .34);
  --lilac: #c9b8ff; --lilac-glow: rgba(150, 120, 255, .36);
  --line: rgba(201, 204, 232, .16); --line-hi: rgba(201, 204, 232, .4);
  --serif: Newsreader, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: min(1200px, 100% - 40px);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--night); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--lilac); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; box-shadow: 0 0 0 6px rgba(201, 184, 255, .35); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--night); color: var(--ink); padding: 12px 18px; border-radius: 12px; border: 2px solid var(--lilac); }
.skip:focus { top: 16px; }
.wrap { width: var(--wrap); margin-inline: auto; }

/* The sky: the left of the page leans teal, the right leans amber, quiet violet in the middle. */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 0% 20%, rgba(40, 170, 160, .22), transparent 70%),
    radial-gradient(ellipse 55% 70% at 100% 20%, rgba(220, 120, 60, .2), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(120, 90, 230, .22), transparent 70%),
    linear-gradient(180deg, #0a0f24, var(--night) 60%); }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(7, 10, 22, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--ink); text-decoration: none; font: 600 1.35rem/1 var(--serif); letter-spacing: -.01em; }
.brand .mark { width: 36px; height: 36px; flex: none; }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.bar nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--soft); text-decoration: none; font-weight: 600; border-radius: 999px; }
.bar nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.bar nav a.get { color: var(--night); background: var(--ink); margin-left: 6px; }
.bar nav a.get:hover { background: #fff; }
@media (max-width: 760px) { .bar nav .hide-s { display: none; } }
@media (max-width: 380px) { .brand span { font-size: 1.15rem; } .bar nav a.get { padding: 0 12px; } }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.02em; text-wrap: balance; font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }

/* Hero: the headline splits around the breath. Left half teal, right half amber. */
.hero { padding: clamp(28px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); text-align: center; }
.over { color: var(--soft); font-weight: 600; font-size: 1.05rem; margin-bottom: clamp(14px, 2.5vw, 28px); }
.split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px, 3vw, 48px); font-size: clamp(2.6rem, 5.6vw, 5.4rem); font-weight: 400; line-height: .98; }
.half { display: block; }
.half > span { display: block; }
.half .to { font-weight: 700; }
.half .how { margin-top: 12px; font: 600 clamp(1.05rem, 1.6vw, 1.35rem)/1.35 var(--sans); letter-spacing: normal; color: var(--ink); }
.half.l .how { margin-left: auto; max-width: 12em; } .half.r .how { max-width: 12em; }
.half.l { text-align: right; color: var(--tide); }
.half.r { text-align: left; color: var(--ember); }
.cue { margin-top: 18px; min-height: 1.7em; color: var(--soft); font: 500 1.15rem var(--serif); letter-spacing: .01em; }
.lead { max-width: 36em; margin: 22px auto 0; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--soft); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.price { margin-top: 22px; color: var(--soft); }
.price b { font: 600 1.6rem/1 var(--serif); color: var(--ink); margin-right: 6px; }
@media (max-width: 880px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(14px, 4vw, 32px); font-size: clamp(2rem, 8.6vw, 4rem); align-items: start; }
  .split .stage { grid-column: 1 / -1; grid-row: 1; margin-bottom: 18px; width: clamp(220px, 62vw, 380px); }
  .half.l { grid-row: 2; } .half.r { grid-row: 2; }
  .half .how { font-size: 1rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1.05rem var(--sans); text-decoration: none; transition: transform .2s ease, box-shadow .3s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.main { color: #0a0d1c; background: linear-gradient(100deg, #8ff0e4, #d8ccff 50%, #ffc896); box-shadow: 0 10px 40px rgba(150, 120, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn.main:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(150, 120, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-hi); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }

/* The breath stage: a soft field behind the nose. switch.js sets --l and --r (how open each side is), which tint the field. */
.stage { --x: 0; --b: .5; --l: .6; --r: .6; --orb: var(--lilac);
  position: relative; display: block; width: clamp(240px, 30vw, 460px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.stage > span { position: absolute; display: block; }
.stage .field { inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 25% 50%, rgba(64, 214, 196, calc(.06 + var(--l) * .2)), transparent 55%),
              radial-gradient(circle at 75% 50%, rgba(255, 150, 80, calc(.06 + var(--r) * .2)), transparent 55%);
  border: 1px solid var(--line); }
.stage.big { width: min(100%, 440px); }

/* The nose. The thumb slides in on the closed side, arrows of air move in or out of the open side. */
.stage .nose { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nose .out { fill: rgba(201, 204, 232, .07); stroke: var(--soft); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nose .ns { fill: #04060d; stroke-width: 2.2; transition: fill .6s ease; }
.nose .ns.l { stroke: var(--tide); } .nose .ns.r { stroke: var(--ember); }
.stage:not([data-closed="left"]) .ns.l { fill: rgba(110, 231, 216, .5); }
.stage:not([data-closed="right"]) .ns.r { fill: rgba(255, 184, 119, .5); }
.nose .thumb { opacity: 0; transition: transform .6s cubic-bezier(.3, .7, .3, 1), opacity .5s ease; }
.nose .thumb rect { fill: #f2dcc8; stroke: #a8836a; stroke-width: 1.5; }
.nose .thumb .nail { fill: #fff3ea; stroke: #c9a58c; }
.nose .thumb.l { transform: translateX(-30px); } .nose .thumb.r { transform: translateX(30px); }
.stage[data-closed="left"] .thumb.l, .stage[data-closed="right"] .thumb.r { opacity: 1; transform: none; }
.nose .cv { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.nose .air.l .cv { stroke: var(--tide); } .nose .air.r .cv { stroke: var(--ember); }
.nose .air { opacity: 0; transition: opacity .5s ease; }
.stage[data-closed="right"] .air.l, .stage[data-closed="left"] .air.r { opacity: 1; }
.stage[data-dir="in"] .cv.in { animation: rise 1.5s linear infinite calc(var(--i) * -.5s); }
.stage[data-dir="out"] .cv.out { animation: fall 1.5s linear infinite calc(var(--i) * -.5s); }
.nose .cv.out { transform: rotate(180deg); transform-box: fill-box; transform-origin: center; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } 30% { opacity: 1; } to { opacity: 0; translate: 0 -10px; } }
@keyframes fall { from { opacity: 0; translate: 0 -10px; } 70% { opacity: 1; } to { opacity: 0; translate: 0 26px; } }
.nose text { font: 800 15px var(--sans); text-anchor: middle; letter-spacing: .06em; }
.nose .lab.l { fill: var(--tide); } .nose .lab.r { fill: var(--ember); }
.nose .st { font-size: 12px; fill: var(--ink); opacity: 0; }
.stage[data-closed="none"] .st.open, .stage[data-closed="left"] .st.shut.l, .stage[data-closed="left"] .st.go.r,
.stage[data-closed="right"] .st.shut.r, .stage[data-closed="right"] .st.go.l { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .nose .thumb, .nose .air, .nose .ns { transition: none; }
  .stage[data-dir="in"] .cv.in, .stage[data-dir="out"] .cv.out { animation: none; opacity: calc(1 - var(--i) * .3); translate: 0 calc(var(--i) * 8px); }
}
.steps { margin: 0 0 12px; padding-left: 1.4em; font-size: 1.15rem; }
.steps li { margin-bottom: 8px; }
.mirror { color: var(--soft); margin-bottom: 20px; }
.stage.small { width: 150px; margin-bottom: 26px; }

/* Try it */
#go .ps, #go[data-on="true"] .pl { display: none; }
#go[data-on="true"] .ps { display: block; }
section[id] { scroll-margin-top: 72px; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.try .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 880px) { .try .wrap { grid-template-columns: minmax(0, 1fr); } }
.try-text p { color: var(--soft); max-width: 32em; margin-top: 18px; font-size: 1.1rem; }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 30px 0; }
@media (max-width: 440px) { .modes { grid-template-columns: minmax(0, 1fr); } }
.mode { min-height: 64px; padding: 10px 16px; border-radius: 18px; text-align: left; cursor: pointer; color: var(--ink); font: inherit;
  background: rgba(255, 255, 255, .04); border: 1.5px solid var(--line); transition: border-color .3s, background .3s; }
.mode .mt { display: block; font: 600 1.3rem/1.1 var(--serif); }
.mode .md { display: block; color: var(--soft); font-size: .95rem; margin-top: 2px; }
.mode:hover { background: rgba(255, 255, 255, .08); }
.mode.calm .mt { color: var(--tide); } .mode.focus .mt { color: var(--ember); } .mode.balance .mt { color: var(--lilac); }
.mode.calm[aria-pressed="true"] { border-color: var(--tide); background: rgba(64, 214, 196, .1); }
.mode.focus[aria-pressed="true"] { border-color: var(--ember); background: rgba(255, 150, 80, .1); }
.mode.balance[aria-pressed="true"] { border-color: var(--lilac); background: rgba(150, 120, 255, .12); }
.try-box { text-align: center; }
.say { margin-top: 24px; min-height: 4.6em; }
.say strong { display: block; font: 500 clamp(1.6rem, 3vw, 2.2rem)/1.15 var(--serif); }
.say span { display: block; color: var(--soft); margin-top: 6px; }
.count { font: 600 1.5rem var(--sans); font-variant-numeric: tabular-nums; color: var(--soft); min-height: 1.6em; }

/* Three ways: laid out left to right like the nose itself */
.ways h2, .ways .intro { text-align: center; margin-inline: auto; }
.ways h2 { max-width: 16em; }
.intro { color: var(--soft); max-width: 36em; margin-top: 18px; font-size: 1.15rem; }
.band { height: 6px; border-radius: 6px; margin: clamp(40px, 6vw, 72px) 0 0; background: linear-gradient(90deg, var(--tide), var(--lilac), var(--ember)); box-shadow: 0 0 30px rgba(150, 120, 255, .35); }
.spectrum { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.spectrum li { position: relative; padding-top: 40px; }
.spectrum li::before { content: ""; position: absolute; top: -13px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--night); }
.spectrum .calm::before { left: 0; background: var(--tide); box-shadow: 0 0 18px var(--tide); }
.spectrum .balance { text-align: center; } .spectrum .balance::before { left: calc(50% - 10px); background: var(--lilac); box-shadow: 0 0 18px var(--lilac); }
.spectrum .focus { text-align: right; } .spectrum .focus::before { right: 0; background: var(--ember); box-shadow: 0 0 18px var(--ember); }
.spectrum h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.spectrum .calm h3 { color: var(--tide); } .spectrum .balance h3 { color: var(--lilac); } .spectrum .focus h3 { color: var(--ember); }
.spectrum .side { font-weight: 700; margin: 6px 0 12px; }
.spectrum p { color: var(--soft); }
.spectrum .side { color: var(--ink); }
@media (max-width: 760px) {
  .band { width: 6px; height: auto; position: absolute; left: 0; top: 0; bottom: 0; margin: 0; background: linear-gradient(180deg, var(--tide), var(--lilac), var(--ember)); }
  .ways .wrap { position: relative; }
  .spectrum { position: relative; grid-template-columns: minmax(0, 1fr); margin-top: 44px; padding-left: 34px; border-left: 0; }
  .spectrum::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 6px; border-radius: 6px; background: linear-gradient(180deg, var(--tide), var(--lilac), var(--ember)); }
  .band { display: none; }
  .spectrum li, .spectrum .balance, .spectrum .focus { text-align: left; padding-top: 0; }
  .spectrum li::before, .spectrum .calm::before, .spectrum .balance::before, .spectrum .focus::before { left: -37px; right: auto; top: 6px; }
}

/* Research */
.research .wrap { max-width: 980px; }
.research h2 { text-align: center; }
.research .intro { text-align: center; margin-inline: auto; }
.studies { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.group { margin-top: 52px; font-size: 1.5rem; color: var(--lilac); }
.group.g0 { color: var(--tide); }
.studies li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px 40px; }
.studies li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .studies li { grid-template-columns: minmax(0, 1fr); } }
.finding { font: 500 1.35rem/1.35 var(--serif); }
.cite a { font-weight: 600; display: inline-block; padding-block: 4px; }
.cite span { display: block; color: var(--soft); font-size: .95rem; margin-top: 4px; }
.honest { color: var(--soft); max-width: 40em; margin: 30px auto 0; text-align: center; }

/* Features: a plain two column list, the colour dot says which side of the spectrum it leans to */
.feats h2 { text-align: center; }
.list { list-style: none; padding: 0; margin: clamp(36px, 5vw, 60px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 34px 56px; }
.list li { position: relative; padding-left: 30px; }
.list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; }
.list .s0::before { background: var(--tide); box-shadow: 0 0 12px var(--tide); }
.list .s1::before { background: var(--lilac); box-shadow: 0 0 12px var(--lilac); }
.list .s2::before { background: var(--ember); box-shadow: 0 0 12px var(--ember); }
.list h3 { font-size: 1.4rem; }
.list p { color: var(--soft); margin-top: 6px; }

/* Buy */
.buy { text-align: center; }
.buy .wrap { padding: clamp(40px, 6vw, 80px) clamp(18px, 4vw, 60px); border-radius: 36px; border: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(150, 120, 255, .16), transparent 70%), rgba(14, 20, 48, .6); }
.amount { margin-top: 22px; font: 500 clamp(3.6rem, 9vw, 6rem)/1 var(--serif); letter-spacing: -.03em;
  background: linear-gradient(100deg, var(--tide), var(--lilac) 50%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.once { color: var(--soft); margin-top: 10px; }
.small { margin-top: 14px; }
a.full { display: inline-flex; align-items: center; min-height: 48px; overflow-wrap: anywhere; word-break: break-all; font-weight: 600; font-size: .95rem; }

/* Questions */
.faq .wrap { max-width: 820px; }
.faq h2 { text-align: center; margin-bottom: 36px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 4px; cursor: pointer; list-style: none;
  font: 500 1.35rem/1.25 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--lilac); border-bottom: 2.5px solid var(--lilac); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s ease; }
details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
details p { color: var(--soft); padding: 0 4px 22px; max-width: 40em; }

/* Footer */
footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px; }
footer nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--soft); }
footer nav a:hover, footer nav a[aria-current] { color: var(--ink); }

/* Legal pages */
.doc { padding: clamp(36px, 6vw, 80px) 0; }
.doc article { max-width: 760px; margin-inline: auto; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.doc h2 { font-size: 1.65rem; margin: 40px 0 10px; }
.doc .eff { color: var(--lilac); font-weight: 600; margin: 12px 0 28px; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 1.2em; margin: 12px 0; }
.doc li { margin: 8px 0; }
.doc li::marker { color: var(--lilac); }
.mail { font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.doc a { display: inline-block; min-height: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Big screens at 1x (a 4K monitor without scaling): grow the whole page so it reads like a laptop. */
@media (min-width: 2400px) { body { zoom: 1.5; } }
@media (min-width: 3200px) { body { zoom: 2; } }
