:root {
  --ink: #17241f;
  --muted: #68736c;
  --cream: #f5f1e8;
  --paper: #faf8f2;
  --forest: #0b2824;
  --forest-light: #174139;
  --lime: #d9f09c;
  --peach: #eab7a4;
  --line: rgba(23, 36, 31, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
button, textarea, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.grain {
  position: fixed; inset: 0; opacity: .035; pointer-events: none; z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  height: 78px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center;
  justify-content: space-between; position: absolute; z-index: 10; width: 100%; color: #f8f6ef;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 17px "Manrope"; letter-spacing: -.4px; }
.brand-mark { width: 26px; height: 18px; display: flex; align-items: flex-end; gap: 3px; }
.brand-mark span { display: block; width: 5px; border-radius: 5px; background: var(--lime); }
.brand-mark span:nth-child(1) { height: 9px; transform: rotate(-10deg); }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 12px; transform: rotate(10deg); }
nav { display: flex; gap: 34px; font-size: 13px; color: rgba(255,255,255,.7); }
nav a { transition: color .2s; }
nav a:hover { color: white; }
.sound-toggle {
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: rgba(255,255,255,.78);
  border-radius: 30px; padding: 8px 13px; display: flex; gap: 8px; align-items: center; cursor: pointer; font-size: 11px;
}
.sound-toggle svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sound-toggle.active { color: var(--lime); border-color: rgba(217,240,156,.45); }

.hero {
  min-height: 780px; height: 100vh; max-height: 960px; position: relative; overflow: hidden;
  color: #f5f3ec; padding: 78px clamp(22px, 7.2vw, 110px) 0; display: grid; grid-template-columns: 1.05fr .95fr;
  background:
    radial-gradient(circle at 72% 42%, rgba(70,133,111,.45), transparent 27%),
    linear-gradient(132deg, #061815 0%, #0a2621 54%, #12372f 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .21;
  background: linear-gradient(115deg, transparent 46%, rgba(255,255,255,.08) 46.2%, transparent 46.5%);
}
.hero-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; left: -420px; top: 180px; background: #3d6c5f; filter: blur(120px); opacity: .15; }
.hero-copy { align-self: center; position: relative; z-index: 2; padding-bottom: 70px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2.4px; font: 600 10px "Manrope"; color: #6e786f; margin: 0 0 26px; }
.hero .eyebrow { color: #c0c9bf; display: flex; gap: 10px; align-items: center; }
.hero .eyebrow span { width: 17px; height: 1px; background: var(--lime); }
h1, h2 { font-family: "Manrope", sans-serif; font-weight: 400; letter-spacing: -3px; margin: 0; }
h1 { font-size: clamp(54px, 6.3vw, 96px); line-height: .98; max-width: 850px; }
h1 em, .closing h2 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.hero-sub { color: rgba(245,243,236,.63); font-size: 16px; line-height: 1.7; max-width: 480px; margin: 32px 0; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button {
  border: 0; border-radius: 100px; min-height: 49px; display: inline-flex; align-items: center; justify-content: center;
  gap: 18px; padding: 0 24px; cursor: pointer; font-weight: 600; font-size: 13px; transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #15251f; box-shadow: 0 12px 36px rgba(0,0,0,.18); }
.button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.text-button { border: 0; background: none; color: rgba(255,255,255,.75); cursor: pointer; font-size: 12px; display: flex; gap: 10px; align-items: center; }
.play-icon { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; place-items: center; font-size: 7px; padding-left: 1px; }
.hero-orbit { position: relative; display: grid; place-items: center; align-self: center; height: 610px; z-index: 1; }
.orb {
  width: clamp(260px, 27vw, 410px); aspect-ratio: 1; border-radius: 50%; position: relative; overflow: hidden;
  background: radial-gradient(circle at 32% 25%, #b7d7ac, #5c8971 35%, #284e44 62%, #102a26 100%);
  box-shadow: inset -40px -50px 90px rgba(5,21,18,.68), 0 70px 130px rgba(0,0,0,.27), 0 0 90px rgba(134,195,161,.13);
  animation: float 6s ease-in-out infinite;
}
.orb-light { position: absolute; width: 72%; height: 45%; border-radius: 50%; background: rgba(222,241,184,.17); filter: blur(22px); left: -3%; top: 4%; transform: rotate(-22deg); }
.orb-shadow { position: absolute; width: 65%; height: 25%; background: rgba(6,21,19,.28); filter: blur(16px); right: -12%; bottom: 12%; transform: rotate(-15deg); }
.orbit-ring { position: absolute; border: 1px solid rgba(223,239,201,.2); border-radius: 50%; transform: rotate(-17deg); }
.ring-one { width: 108%; height: 54%; }
.ring-two { width: 88%; height: 122%; transform: rotate(65deg); border-color: rgba(223,239,201,.09); }
.orbit-note { position: absolute; bottom: 46px; right: 15px; font: italic 12px Georgia; color: rgba(255,255,255,.46); line-height: 1.45; }
.hero-footer { position: absolute; left: clamp(22px, 7.2vw, 110px); right: clamp(22px, 7.2vw, 110px); bottom: 25px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 10px; color: rgba(255,255,255,.43); }
.hero-footer p { margin: 0; }
.hero-footer p:first-child { color: rgba(255,255,255,.69); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-15px) rotate(1deg); } }

.section-shell { max-width: 1440px; margin: auto; padding: 120px clamp(22px, 7.2vw, 110px); position: relative; }
.section-number { position: absolute; left: clamp(22px, 3vw, 44px); top: 126px; border: 1px solid var(--line); border-radius: 50%; width: 31px; height: 31px; display: grid; place-items: center; color: #788178; font-size: 9px; }
.section-heading { max-width: 550px; margin-left: 8.5%; }
.section-heading h2 { font-size: clamp(42px, 4.2vw, 66px); line-height: 1.02; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; max-width: 440px; font-size: 14px; margin-top: 24px; }
.mood-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; margin-top: 70px; }
.mood-card {
  border: 1px solid var(--line); background: rgba(255,255,255,.3); padding: 20px 18px 24px; min-height: 240px;
  border-radius: 16px; display: flex; flex-direction: column; text-align: left; cursor: pointer; transition: transform .25s, background .25s, border-color .25s;
}
.mood-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.62); }
.mood-card.selected { border-color: #5a7669; background: #f9f7f0; box-shadow: 0 18px 40px rgba(38,51,43,.08); transform: translateY(-6px); }
.mood-card strong { font: 500 17px "Manrope"; margin-top: auto; }
.mood-card > span:last-child { font-size: 10px; color: #8a928b; margin-top: 6px; }
.mood-art { height: 120px; display: grid; place-items: center; position: relative; }
.mood-art i { display: block; position: absolute; background: #56766a; }
.mood-heavy i { width: 60px; height: 13px; border-radius: 50%; box-shadow: 0 14px 20px rgba(29,56,48,.23); }
.mood-heavy i:nth-child(1) { transform: translateY(-25px); background: #9aafa0; width: 48px; }
.mood-heavy i:nth-child(3) { transform: translateY(25px); background: #294c42; width: 72px; }
.mood-restless i { width: 66px; height: 1px; transform: rotate(-18deg); }
.mood-restless i:nth-child(1) { transform: translateY(-20px) rotate(15deg); }
.mood-restless i:nth-child(3) { transform: translateY(20px) rotate(8deg); }
.mood-foggy i { width: 70px; height: 28px; border-radius: 50%; filter: blur(5px); opacity: .35; }
.mood-foggy i:nth-child(1) { transform: translate(-15px,-18px); }
.mood-foggy i:nth-child(3) { transform: translate(18px,18px); }
.mood-tender i { width: 62px; height: 62px; border-radius: 50% 50% 50% 8%; transform: rotate(-45deg); background: var(--peach); opacity: .78; }
.mood-tender i:nth-child(2), .mood-tender i:nth-child(3) { display: none; }
.mood-okay i { border: 1px solid #66877a; background: transparent; width: 68px; height: 68px; border-radius: 50%; }
.mood-okay i:nth-child(2) { width: 43px; height: 43px; }
.mood-okay i:nth-child(3) { width: 17px; height: 17px; background: #66877a; }
.mood-response { margin-top: 25px; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #657269; font: italic 13px Georgia; opacity: .7; }
.response-dot { width: 6px; height: 6px; border-radius: 50%; background: #809b8f; }

.breathing-section { background: var(--forest); color: #f6f5ee; min-height: 650px; padding: 90px clamp(22px, 12vw, 180px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; position: relative; }
.breathing-section::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: #4c806d; filter: blur(130px); opacity: .11; right: 3%; }
.eyebrow.light { color: rgba(255,255,255,.46); }
.breathing-copy { max-width: 470px; position: relative; z-index: 2; }
.breathing-copy h2 { font-size: clamp(45px, 5vw, 74px); line-height: 1; }
.breathing-copy > p:nth-of-type(2) { color: rgba(255,255,255,.52); line-height: 1.7; font-size: 14px; margin: 26px 0 40px; }
.breath-pattern { display: flex; align-items: center; max-width: 360px; justify-content: space-between; }
.breath-pattern div { display: flex; flex-direction: column; }
.breath-pattern strong { font: 400 27px "Manrope"; color: var(--lime); }
.breath-pattern span { text-transform: uppercase; font-size: 8px; letter-spacing: 1.5px; color: rgba(255,255,255,.4); }
.breath-pattern i { width: 45px; height: 1px; background: rgba(255,255,255,.14); }
.breathing-tool { display: flex; flex-direction: column; align-items: center; z-index: 2; }
.breath-halo { width: 330px; height: 330px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: transform 3.8s ease-in-out; }
.breath-halo::before, .breath-halo::after { content: ""; position: absolute; border-radius: 50%; inset: 0; border: 1px solid rgba(217,240,156,.16); }
.breath-halo::after { inset: 28px; border-color: rgba(217,240,156,.3); }
.breath-circle { width: 215px; height: 215px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 25%, #89aa81, #3b6658 55%, #173b34); box-shadow: inset -30px -25px 60px rgba(5,22,19,.45), 0 30px 70px rgba(0,0,0,.2); }
.breath-circle span { font: italic 13px Georgia; color: rgba(255,255,255,.72); }
.breath-circle strong { font: 400 55px "Manrope"; margin-top: 3px; }
.breath-halo.inhale { transform: scale(1.11); }
.breath-halo.hold { transform: scale(1.11); }
.breath-halo.exhale { transform: scale(.86); transition-duration: 5.8s; }
.button-light { background: #f3f1e7; color: #17332c; margin-top: 30px; min-width: 178px; }
.breath-skip { border: 0; background: transparent; color: rgba(255,255,255,.4); cursor: pointer; margin-top: 13px; font-size: 10px; }

.unload-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; align-items: center; }
.unload .section-heading { margin-left: 16%; }
.privacy-note { display: flex; gap: 13px; align-items: center; margin-top: 40px; color: #77817a; }
.privacy-note span { border: 1px solid #b5bdb5; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; }
.privacy-note p { margin: 0; font-size: 10px; line-height: 1.6; }
.privacy-note strong { color: #39483f; font-weight: 600; }
.journal-card { background: #ece7dc; border-radius: 18px; padding: 22px 26px; min-height: 430px; box-shadow: 0 30px 70px rgba(58,55,44,.12); display: flex; flex-direction: column; transform: rotate(.6deg); }
.journal-top, .journal-bottom { display: flex; justify-content: space-between; align-items: center; color: #92988f; text-transform: uppercase; font-size: 8px; letter-spacing: 1.2px; }
.journal-top { padding-bottom: 17px; border-bottom: 1px solid rgba(24,38,32,.11); }
#saveStatus.saved { color: #4a7463; }
textarea { width: 100%; flex: 1; resize: none; border: 0; outline: 0; background: transparent; color: #26352e; padding: 29px 5px; font: italic 21px/1.7 Georgia, serif; }
textarea::placeholder { color: #a3a198; }
.journal-bottom { border-top: 1px solid rgba(24,38,32,.11); padding-top: 15px; }
.journal-bottom > div { display: flex; gap: 10px; }
.clear-button, .save-button { border: 0; background: none; cursor: pointer; text-transform: none; font-size: 10px; }
.clear-button { color: #8e928c; padding: 10px 12px; }
.save-button { background: var(--forest); color: white; border-radius: 30px; padding: 10px 15px; display: flex; gap: 8px; align-items: center; }
.save-button svg { width: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.grounding { background: #dbe6d5; padding: 90px clamp(22px, 9vw, 140px); }
.grounding-card { max-width: 1180px; margin: auto; display: grid; grid-template-columns: .75fr 1.25fr; gap: 12%; background: #183a32; border-radius: var(--radius); color: white; padding: 70px 8%; position: relative; box-shadow: 0 25px 80px rgba(15,47,39,.18); }
.grounding-intro h2 { font-size: clamp(38px, 4vw, 59px); line-height: 1.05; }
.grounding-intro > p:last-of-type { color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.7; max-width: 310px; }
.tiny-number { position: absolute; top: 25px; left: 28px; font-size: 9px; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.18); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.sense-list { display: flex; flex-direction: column; }
.sense-list button { border: 0; border-bottom: 1px solid rgba(255,255,255,.13); background: none; color: white; padding: 13px 0; display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; text-align: left; cursor: pointer; }
.sense-list button > span { font: 400 26px "Manrope"; color: var(--lime); }
.sense-list p { margin: 0; display: flex; flex-direction: column; }
.sense-list strong { font-size: 12px; font-weight: 500; }
.sense-list small { color: rgba(255,255,255,.35); font-size: 9px; margin-top: 3px; }
.sense-list i { font-style: normal; color: rgba(255,255,255,.4); }
.sense-list button.done i { color: var(--lime); }
.sense-list button.done i::after { content: "✓"; }
.sense-list button.done i { font-size: 0; }
.sense-list button.done i::after { font-size: 14px; }
.sense-list button.done { opacity: .6; }
.grounding-progress { grid-column: 2; }
.grounding-progress span { font-size: 9px; color: rgba(255,255,255,.45); }
.grounding-progress div { height: 2px; background: rgba(255,255,255,.12); margin-top: 10px; }
.grounding-progress i { display: block; width: 0; height: 100%; background: var(--lime); transition: width .4s; }

.sounds { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; }
.sounds .section-number { top: 126px; }
.sounds-heading { margin-left: 17%; }
.sound-board { display: grid; gap: 11px; }
.sound-card { background: rgba(255,255,255,.45); border: 1px solid var(--line); border-radius: 14px; min-height: 90px; padding: 15px 20px; display: grid; grid-template-columns: 70px 1fr 30px; align-items: center; text-align: left; cursor: pointer; transition: background .2s, transform .2s; }
.sound-card:hover { transform: translateX(5px); }
.sound-card.active { background: #183a32; color: white; border-color: #183a32; }
.sound-symbol { width: 54px; height: 54px; border-radius: 50%; background: #dbe3d3; display: grid; place-items: center; color: #46675a; font: 17px Georgia; letter-spacing: -3px; overflow: hidden; }
.sound-card.active .sound-symbol { background: var(--lime); color: #17362f; }
.sound-card > span:nth-child(2) { display: flex; flex-direction: column; }
.sound-card strong { font: 500 14px "Manrope"; }
.sound-card small { color: #889089; font-size: 9px; margin-top: 5px; }
.sound-card > i { font-style: normal; border: 1px solid #c9cec8; border-radius: 50%; width: 25px; height: 25px; display: grid; place-items: center; }
.sound-card.active > i { border-color: rgba(255,255,255,.25); transform: rotate(45deg); }
.volume-control { display: grid; grid-template-columns: 25px 1fr 36px; align-items: center; gap: 12px; padding: 15px 4px 0; color: #7e8981; font-size: 9px; }
.volume-control svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
input[type=range] { width: 100%; height: 2px; accent-color: #315a4b; cursor: pointer; }

.closing { background: var(--forest); color: white; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; padding: 70px 22px; }
.closing h2 { font-size: clamp(50px, 6vw, 82px); line-height: 1.02; position: relative; z-index: 2; }
.closing > p:nth-of-type(2) { color: rgba(255,255,255,.48); font-size: 13px; position: relative; z-index: 2; }
.closing .button { position: relative; z-index: 2; }
.closing-orb { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(117,164,132,.45), rgba(21,62,52,.12) 50%, transparent 70%); }
.closing::before, .closing::after { content: ""; position: absolute; width: 520px; height: 210px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; transform: rotate(-12deg); }
.closing::after { transform: rotate(65deg); }
footer { background: #071b17; min-height: 100px; color: rgba(255,255,255,.42); padding: 0 clamp(22px, 7.2vw, 110px); display: flex; align-items: center; justify-content: space-between; font-size: 9px; }
footer .brand { color: white; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 30; background: #f8f5ec; color: #20372e; padding: 12px 20px; border-radius: 30px; box-shadow: 0 10px 40px rgba(0,0,0,.2); font-size: 12px; transform: translate(-50%, 100px); opacity: 0; transition: .35s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { height: auto; min-height: 940px; grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { align-self: start; padding-bottom: 0; }
  .hero-orbit { height: 420px; }
  .orb { width: 290px; }
  .orbit-ring { width: 450px; }
  .mood-grid { grid-template-columns: repeat(2, 1fr); }
  .mood-card:last-child { grid-column: span 2; }
  .breathing-section { grid-template-columns: 1fr; gap: 45px; text-align: center; }
  .breathing-copy { margin: auto; }
  .breath-pattern { margin: auto; }
  .unload-layout, .grounding-card, .sounds { grid-template-columns: 1fr; gap: 55px; }
  .unload .section-heading, .sounds-heading { margin-left: 8.5%; }
  .grounding-progress { grid-column: 1; }
}

@media (max-width: 560px) {
  .site-header { height: 65px; }
  .sound-toggle span { display: none; }
  .hero { min-height: 840px; padding-top: 125px; }
  h1 { font-size: 48px; letter-spacing: -2px; }
  .hero-sub { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-orbit { height: 340px; }
  .orb { width: 220px; }
  .ring-one { width: 330px; }
  .ring-two { width: 270px; }
  .orbit-note { display: none; }
  .hero-footer { bottom: 18px; }
  .hero-footer p:last-child { display: none; }
  .section-shell { padding-top: 90px; padding-bottom: 90px; }
  .section-number { display: none; }
  .section-heading, .unload .section-heading, .sounds-heading { margin-left: 0; }
  .section-heading h2 { letter-spacing: -2px; }
  .mood-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 45px; }
  .mood-card { min-height: 190px; padding: 13px; }
  .mood-art { height: 100px; transform: scale(.8); }
  .mood-card > span:last-child { display: none; }
  .breathing-section { padding: 80px 22px; }
  .breath-halo { width: 270px; height: 270px; }
  .breath-circle { width: 185px; height: 185px; }
  .journal-card { padding: 19px; min-height: 390px; }
  textarea { font-size: 18px; }
  .grounding { padding: 55px 14px; }
  .grounding-card { padding: 65px 25px 35px; }
  .sound-card { grid-template-columns: 62px 1fr 30px; }
  footer { flex-direction: column; justify-content: center; gap: 12px; text-align: center; }
}

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