@font-face {
  font-family: "Inter";
  src: url("assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #121212;
  --dark: #111817;
  --mint: #4fbaac;
  --mint-dark: #337f76;
  --mint-soft: #e7f6f3;
  --lilac: #d9c9ff;
  --lilac-soft: #f2edff;
  --paper: #fbfbfa;
  --surface: #fff;
  --surface-soft: #f4f7f6;
  --muted: #68686f;
  --line: #e3e3e0;
  --shadow: 0 22px 54px rgba(18, 18, 18, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 78% 8%, rgba(217, 201, 255, .48), transparent 28%), linear-gradient(180deg, #fff 0%, #fbfbfa 42%, #f6faf9 100%);
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(79,186,172,.15) .7px, transparent .7px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000, transparent 38%); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.orbit-icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; border-radius: 8px; background: var(--dark); color: #fff; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(227,227,224,.8); background: rgba(251,251,250,.86); backdrop-filter: blur(16px); }
.nav-wrap { width: min(calc(100% - 48px), var(--max)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 12px; }
.brand span { display: grid; }
.brand strong { font-size: 19px; line-height: 1; letter-spacing: -.03em; }
.brand em { margin-top: 4px; color: var(--muted); font-size: 10px; font-style: normal; font-weight: 700; }
.brand small { display: inline-block; margin-left: 5px; padding: 3px 6px; transform: translateY(-2px); border-radius: 999px; background: var(--lilac); font-size: 9px; letter-spacing: .05em; }
nav { display: flex; gap: 28px; margin-left: auto; }
nav a { color: #48484d; font-size: 14px; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--mint-dark); }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 108px 0; }
.hero { min-height: calc(100svh - 78px); display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 70px; padding-top: 84px; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { margin: 0 0 13px; color: var(--mint-dark); font-size: 11px; line-height: 1.2; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 590px; margin: 0; font-size: clamp(48px, 5vw, 64px); line-height: .98; letter-spacing: -.062em; font-weight: 800; }
h2 { margin: 0; font-size: clamp(36px, 4vw, 46px); line-height: 1.04; letter-spacing: -.05em; }
h3 { margin: 0; font-size: 22px; line-height: 1.12; letter-spacing: -.025em; }
.lead { max-width: 590px; margin: 27px 0 0; color: #4f4f55; font-size: 19px; line-height: 1.58; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border: 1px solid var(--mint); border-radius: 8px; background: var(--mint); color: #0c2f2b; font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(79,186,172,.2); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #61c4b7; box-shadow: 0 15px 32px rgba(79,186,172,.3); }
.button-secondary { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: none; }
.button-secondary:hover { background: var(--surface-soft); box-shadow: none; }
.button-small { min-height: 44px; padding: 10px 16px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 25px; color: var(--muted); font-size: 11px; font-weight: 700; }
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }

.hero-visual { position: relative; min-height: 590px; display: flex; align-items: center; justify-content: center; }
.app-frame { position: absolute; margin: 0; overflow: hidden; border: 1px solid rgba(18,18,18,.12); background: white; box-shadow: 0 30px 80px rgba(18,18,18,.15); }
.app-frame img { width: 100%; height: auto; }
.desktop-frame { left: 0; top: 80px; width: 101%; border-radius: 16px; transform: rotate(-1.2deg); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #f7f7f5; }
.browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: #ccc; }
.browser-bar b { margin-left: 8px; color: #8a8a8e; font-size: 9px; }
.mobile-frame { right: -16px; bottom: 2px; z-index: 2; width: 168px; border-radius: 20px; transform: rotate(2deg); }
.orbit-ring { position: absolute; border: 1px solid rgba(79,186,172,.32); border-radius: 50%; }
.orbit-ring::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 8px rgba(79,186,172,.12); }
.orbit-ring-one { width: 510px; height: 510px; }
.orbit-ring-one::after { right: 34px; top: 66px; }
.orbit-ring-two { width: 630px; height: 630px; border-color: rgba(217,201,255,.6); }
.orbit-ring-two::after { left: 34px; bottom: 100px; background: var(--lilac); box-shadow: 0 0 0 8px rgba(217,201,255,.22); }
.visual-pill { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 11px; font-weight: 800; }
.visual-pill svg { color: var(--mint-dark); font-size: 17px; }
.visual-pill-top { top: 40px; right: 35px; }
.visual-pill-bottom { left: 5px; bottom: 65px; }

.intro { padding-top: 90px; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading > p:last-child { max-width: 650px; margin: 19px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.88); box-shadow: 0 16px 40px rgba(18,18,18,.045); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:nth-child(even) { background: linear-gradient(145deg, #fff, var(--lilac-soft)); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon-wrap { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mint-soft); color: var(--mint-dark); font-size: 28px; }
.feature-card h3 { margin-top: 42px; }
.feature-card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.stages-section { width: 100%; max-width: none; padding-left: max(24px, calc((100% - var(--max))/2)); padding-right: max(24px, calc((100% - var(--max))/2)); background: linear-gradient(135deg, #101817, #172523); color: white; }
.stages-section .eyebrow { color: #7cd5c9; }
.stages-section .section-heading > p:last-child { color: #b7c2c0; }
.stage-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.stage-tabs button { min-height: 46px; padding: 0 19px; border: 1px solid #35433f; border-radius: 999px; background: transparent; color: #c5cfcd; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.stage-tabs button[aria-selected="true"] { border-color: var(--mint); background: var(--mint); color: var(--dark); }
.stage-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; padding: 52px; border: 1px solid #33423f; border-radius: 18px; background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(217,201,255,.07)); }
.stage-icon { margin-bottom: 26px; }
.stage-panel h3 { font-size: 32px; }
.stage-panel p:not(.eyebrow) { max-width: 520px; color: #c6cecd; line-height: 1.6; }
.stage-panel ul { margin: 24px 0 0; padding: 0; list-style: none; }
.stage-panel li { position: relative; margin-top: 12px; padding-left: 25px; color: #e5e9e8; font-size: 14px; }
.stage-panel li::before { content: "✓"; position: absolute; left: 0; color: #72d0c4; font-weight: 800; }
.rhythm-visual { position: relative; min-height: 320px; display: grid; place-items: center; }
.rhythm-orbit { width: 270px; height: 270px; position: relative; display: grid; place-items: center; border: 1px solid rgba(114,208,196,.38); border-radius: 50%; box-shadow: inset 0 0 0 46px rgba(79,186,172,.04); }
.rhythm-orbit::before { content: ""; width: 155px; height: 155px; border: 22px solid #d9c9ff; border-left-color: var(--mint); border-radius: 50%; box-shadow: 0 0 45px rgba(217,201,255,.2); }
.rhythm-orbit span { position: absolute; top: 17px; right: 47px; width: 13px; height: 13px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 9px rgba(79,186,172,.15); }
.rhythm-orbit b { position: absolute; top: 40px; right: 5px; padding: 6px 8px; border-radius: 999px; background: white; color: var(--dark); font-size: 9px; }
.rhythm-copy { position: absolute; bottom: 10px; left: 0; display: grid; padding: 17px 20px; border: 1px solid #364640; border-radius: 10px; background: #16211f; box-shadow: var(--shadow); }
.rhythm-copy small { color: #72d0c4; font-size: 9px; font-weight: 800; }
.rhythm-copy strong { margin-top: 5px; font-size: 16px; }
.rhythm-copy em { margin-top: 4px; color: #aeb9b7; font-size: 11px; font-style: normal; }

.preview-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 20px; }
.preview-card, .calendar-demo { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.preview-card > div { padding: 28px 30px 22px; }
.preview-card .number { float: right; color: #d7dedc; font-size: 42px; font-weight: 800; letter-spacing: -.06em; }
.preview-card img { width: 100%; height: auto; border-top: 1px solid var(--line); background: var(--surface-soft); object-fit: contain; }
.calendar-demo { padding: 30px; background: linear-gradient(145deg, #fff, #f3f7f6); }
.calendar-head { display: flex; align-items: center; gap: 14px; }
.calendar-head > svg { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-dark); }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.weekdays { margin-top: 30px; color: #8b8b8f; font-size: 8px; font-weight: 800; text-align: center; }
.days { margin-top: 8px; }
.days span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.days span.today { background: var(--mint); color: #092b27; }
.days span.moon-day { border: 1px solid var(--lilac); background: var(--lilac-soft); }
.calendar-note { display: flex; gap: 10px; margin: 28px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.calendar-note svg { flex: 0 0 auto; color: var(--mint-dark); font-size: 20px; }

.rituals { padding-top: 90px; }
.ritual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ritual-card { min-height: 205px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ritual-card > svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--lilac-soft); color: #65518e; }
.ritual-card div { margin-top: 24px; }
.ritual-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.ritual-card b { margin-top: auto; color: var(--mint-dark); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.library-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 25px 0 0; color: var(--muted); font-size: 12px; }
.library-note svg { color: var(--mint-dark); font-size: 20px; }

.practical { padding-top: 70px; }
.sound-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 38px; border-radius: 18px; background: var(--dark); color: white; }
.spotify-mark { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: #1db954; color: #081b0f; font-size: 34px; }
.sound-card h2 { max-width: 600px; font-size: 31px; }
.sound-card p:not(.eyebrow) { margin-bottom: 0; color: #bdc6c4; line-height: 1.55; }
.spotify-button { border-color: #1db954; background: #1db954; color: #071b0d; }
.practical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.practical-card { display: flex; gap: 24px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.practical-card .icon-wrap { flex: 0 0 52px; }
.practical-card p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.status-pill { display: inline-block; margin-top: 15px; padding: 6px 10px; border-radius: 999px; background: var(--lilac-soft); color: #59447e; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.trust-section { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; padding-left: max(24px, calc((100% - var(--max))/2)); padding-right: max(24px, calc((100% - var(--max))/2)); background: var(--lilac-soft); }
.trust-copy p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.6; }
.trust-list { display: grid; gap: 12px; }
.trust-list article { display: flex; gap: 18px; padding: 22px; border: 1px solid rgba(100,81,142,.12); border-radius: 12px; background: rgba(255,255,255,.7); }
.trust-list article > svg { flex: 0 0 auto; width: 27px; height: 27px; color: var(--mint-dark); }
.trust-list h3 { font-size: 17px; }
.trust-list p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.status-dark { background: var(--dark); color: #fff; }

.final-cta { width: min(calc(100% - 48px), var(--max)); margin-top: 100px; padding: 80px 24px; border-radius: 18px; background: radial-gradient(circle at 80% 0, rgba(217,201,255,.19), transparent 35%), var(--dark); color: white; text-align: center; }
.final-cta img { margin: 0 auto 23px; }
.final-cta h2 { max-width: 720px; margin: auto; }
.final-cta > p:not(.eyebrow) { max-width: 580px; margin: 18px auto 30px; color: #bcc6c4; line-height: 1.6; }
.button-light { border-color: white; background: white; color: var(--dark); box-shadow: none; }
.button-light:hover { background: var(--mint-soft); }

.site-footer { width: min(calc(100% - 48px), var(--max)); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 30px; margin: 0 auto; padding: 55px 0 38px; }
.site-footer > p { grid-column: 1; margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 12px; font-weight: 700; }
.site-footer > small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line); color: #909095; font-size: 10px; }

dialog { width: min(calc(100% - 32px), 520px); padding: 34px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 30px 90px rgba(18,18,18,.25); }
dialog::backdrop { background: rgba(17,24,23,.64); backdrop-filter: blur(4px); }
dialog h2 { font-size: 29px; }
dialog p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-soft); cursor: pointer; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  nav { display: none; }
  .nav-wrap > .button { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 70px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 590px; }
  .desktop-frame { width: 88%; left: 3%; }
  .mobile-frame { right: 3%; }
  .feature-grid, .ritual-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { min-height: 230px; }
  .stage-panel { gap: 35px; padding: 38px; }
  .preview-grid { grid-template-columns: 1fr; }
  .calendar-demo { max-width: none; }
  .trust-section { gap: 45px; }
  .sound-card { grid-template-columns: auto 1fr; }
  .sound-card .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  .nav-wrap { width: calc(100% - 32px); min-height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 17px; }
  .nav-wrap > .button { padding: 9px 12px; font-size: 12px; }
  .section { width: calc(100% - 32px); padding: 72px 0; }
  .hero { min-height: auto; padding-top: 64px; }
  h1 { font-size: clamp(39px, 12vw, 46px); line-height: 1; }
  h2 { font-size: 33px; }
  .lead { font-size: 17px; }
  .button-row { display: grid; }
  .button-row .button { width: 100%; }
  .hero-notes { display: grid; }
  .hero-visual { min-height: 455px; margin: 12px -8px 0; overflow: hidden; }
  .desktop-frame { left: 1%; top: 55px; width: 94%; border-radius: 11px; transform: rotate(-1deg); }
  .browser-bar { height: 25px; }
  .mobile-frame { right: 0; bottom: 0; width: 114px; border-radius: 14px; }
  .orbit-ring-one { width: 370px; height: 370px; }
  .orbit-ring-two { width: 440px; height: 440px; }
  .visual-pill { display: none; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p:last-child { font-size: 16px; }
  .feature-grid, .ritual-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 24px; }
  .feature-card h3 { margin-top: 28px; }
  .stages-section, .trust-section { width: 100%; padding-left: 16px; padding-right: 16px; }
  .stage-tabs { width: 100%; }
  .stage-tabs button { min-width: 0; flex: 1 1 0; padding: 0 7px; font-size: 11px; }
  .stage-panel { grid-template-columns: 1fr; gap: 30px; padding: 26px 22px; }
  .stage-panel h3 { font-size: 27px; }
  .rhythm-visual { min-height: 280px; transform: scale(.9); }
  .preview-card > div { padding: 22px; }
  .calendar-demo { padding: 22px; }
  .ritual-card { min-height: 165px; }
  .practical { padding-top: 48px; }
  .sound-card { display: flex; flex-direction: column; align-items: flex-start; padding: 27px 24px; }
  .sound-card h2 { font-size: 29px; }
  .practical-grid, .trust-section { grid-template-columns: 1fr; }
  .practical-card { padding: 25px; }
  .trust-section { gap: 34px; }
  .final-cta { width: calc(100% - 32px); margin-top: 68px; padding: 58px 20px; }
  .site-footer { width: calc(100% - 32px); grid-template-columns: 1fr; align-items: start; }
  .footer-links, .site-footer > p, .site-footer > small { grid-column: 1; grid-row: auto; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 390px) {
  .brand small, .brand em { display: none; }
  .nav-wrap > .button { max-width: 144px; }
  .hero-visual { min-height: 390px; }
  .mobile-frame { width: 96px; }
  .practical-card { display: block; }
  .practical-card .icon-wrap { margin-bottom: 20px; }
}

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