:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #9fb0c3;
  --teal: #5cf2d4;
  --teal-dark: #19bca6;
  --orange: #ff9c66;
  --blue: #759bff;
  --night: #07101d;
  --night-2: #0a1626;
  --panel: rgba(15, 30, 48, 0.8);
  --line: rgba(155, 187, 213, 0.17);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  --radius: 28px;
  --shell: 1180px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; color: var(--ink); background: var(--night); overflow-x: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 83% 5%, rgba(49, 201, 186, 0.16), transparent 25rem),
    radial-gradient(circle at 10% 28%, rgba(74, 104, 211, 0.12), transparent 30rem),
    linear-gradient(180deg, #07101d 0%, #091523 48%, #07101d 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.035em; }
h1 { font-size: clamp(3.35rem, 7vw, 6.8rem); line-height: 0.94; margin-bottom: 1.6rem; max-width: 830px; }
h1 em { display: block; color: var(--teal); font-style: normal; }
h2 { font-size: clamp(2.4rem, 4.8vw, 4.5rem); line-height: 1.02; margin-bottom: 1.3rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.65rem; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(5rem, 9vw, 9rem); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--teal); color: #04120f; padding: 0.8rem 1rem; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.eyebrow { margin-bottom: 1rem; color: var(--teal); font-size: 0.77rem; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: 0.9rem max(24px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid rgba(155, 187, 213, 0.12);
  background: rgba(7, 16, 29, 0.82);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; width: max-content; }
.brand img { border-radius: 12px; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25); }
.brand span { display: grid; gap: 0.08rem; }
.brand strong { font-size: 1rem; letter-spacing: -0.02em; }
.brand small { color: var(--muted); font-size: 0.68rem; }
.site-header nav { display: flex; gap: 1.75rem; color: #bbcad8; font-size: 0.88rem; font-weight: 650; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--teal); }
.site-header > .button { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--teal); color: #041512; font-weight: 850; box-shadow: 0 12px 28px rgba(92, 242, 212, 0.18); transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(92, 242, 212, 0.25); }
.button-small { min-height: 44px; padding: 0.75rem 1.1rem; font-size: 0.86rem; }

.hero { min-height: 940px; padding-block: clamp(5rem, 8vw, 8rem); display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(430px, 1.04fr); align-items: center; gap: clamp(3rem, 6vw, 5.5rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-lede { max-width: 720px; font-size: clamp(1.08rem, 1.7vw, 1.35rem); margin-bottom: 1.75rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
.store-badge-link { display: grid; place-items: center; width: 230px; height: 88px; border-radius: 14px; }
.store-badge-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.store-badge-link img { width: auto; height: auto; max-width: 100%; }
.app-store-badge img { width: 180px; }
.google-play-badge img { width: 227px; }
.availability { margin: 1rem 0 1.2rem; font-size: 0.84rem; color: #c4d2df; }
.availability span { color: var(--teal); margin-inline: 0.25rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; padding: 0; margin: 0; }
.trust-list li { padding: 0.5rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(13, 28, 45, 0.58); color: #c7d3df; font-size: 0.78rem; }
.trust-list li::before { content: "✓"; margin-right: 0.4rem; color: var(--teal); font-weight: 900; }
.hero-visual { position: relative; min-height: 850px; display: grid; place-items: center; }
.glow { position: absolute; inset: 8% 0 2%; border-radius: 50%; background: radial-gradient(circle, rgba(92, 242, 212, 0.2), rgba(117, 155, 255, 0.09) 42%, transparent 70%); filter: blur(28px); }
.store-showcase { position: relative; z-index: 2; width: min(100%, 480px); margin: 0; overflow: hidden; border: 1px solid rgba(161, 200, 226, 0.24); border-radius: 30px; background: #07101d; box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46); }
.store-showcase img { width: 100%; height: auto; }
.store-showcase-hero { width: min(92%, 490px); max-height: 850px; }
.store-showcase-hero img { height: 850px; object-fit: cover; object-position: top; }

.trust-rail { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1400px; margin-inline: auto; border-block: 1px solid var(--line); background: rgba(8, 19, 32, 0.65); }
.trust-rail p { display: grid; gap: 0.35rem; min-height: 110px; margin: 0; padding: 1.5rem 2rem; border-right: 1px solid var(--line); }
.trust-rail p:last-child { border-right: 0; }
.trust-rail strong { color: var(--teal); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.trust-rail span { color: #dce6ee; font-weight: 680; }

.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading p:last-child { max-width: 660px; font-size: 1.08rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered p:last-child { margin-inline: auto; }
.routine-section { padding-top: clamp(6rem, 11vw, 10rem); padding-bottom: clamp(3.5rem, 5vw, 5rem); }
.routine-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.routine-card { position: relative; grid-column: span 4; min-height: 390px; padding: 1.6rem; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(18, 39, 58, 0.86), rgba(8, 21, 35, 0.9)); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2); }
.routine-card:nth-child(n+4) { grid-column: span 6; min-height: 350px; }
.routine-card::before { content: ""; position: absolute; width: 190px; height: 190px; right: -80px; top: -90px; border-radius: 50%; background: rgba(92, 242, 212, 0.09); filter: blur(6px); }
.routine-card h3 { max-width: 360px; margin-top: 0.45rem; font-size: 1.55rem; }
.routine-card > p:last-child { max-width: 430px; margin-bottom: 0; font-size: 0.88rem; }
.routine-label { margin: 1.4rem 0 0; color: var(--teal); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.routine-ui { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.15rem 0.75rem; min-height: 120px; padding: 1.1rem; border: 1px solid rgba(170, 203, 227, 0.16); border-radius: 18px; background: rgba(5, 17, 29, 0.62); }
.routine-icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(92, 242, 212, 0.1); color: var(--teal); font-size: 1.25rem; }
.routine-ui > strong { align-self: end; color: #f5fbff; font-size: 1.55rem; line-height: 1; letter-spacing: -0.04em; }
.routine-ui > small { align-self: start; color: #8196a8; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.routine-meter { grid-column: 1 / -1; height: 6px; margin-top: 0.7rem; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.07); }
.routine-meter b { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-dark), var(--teal)); }
.water-meter b { width: 64%; background: linear-gradient(90deg, #557cff, #69d5ff); }
.hydration-card .routine-icon { color: #74d9ff; background: rgba(105, 213, 255, 0.1); }
.breath-rings { position: absolute; right: 1.3rem; width: 54px; height: 54px; border: 1px solid rgba(117, 155, 255, 0.45); border-radius: 50%; box-shadow: 0 0 0 8px rgba(117, 155, 255, 0.07), 0 0 0 16px rgba(117, 155, 255, 0.035); }
.motivation-ui { grid-template-columns: auto 1fr; align-content: center; }
.motivation-ui > small { align-self: end; }
.motivation-ui > strong { align-self: start; max-width: 430px; font-size: 1.25rem; }
.macro-ui { grid-template-columns: repeat(4, 1fr); gap: 0.55rem; }
.macro-ui > span { display: grid; gap: 0.25rem; padding: 0.8rem 0.6rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 13px; background: rgba(255, 255, 255, 0.025); }
.macro-ui b { color: #f4f9fd; font-size: 1.05rem; }
.macro-ui small { color: #7f93a5; font-size: 0.64rem; text-transform: uppercase; }

.story-stack { display: grid; gap: clamp(7rem, 12vw, 11rem); padding-top: clamp(3.5rem, 5vw, 5rem); }
.feature-story { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.feature-story.reverse .story-copy { order: 2; }
.feature-story.reverse .store-showcase { order: 1; }
.story-copy p:not(.eyebrow) { font-size: 1.08rem; }
.check-list { list-style: none; padding: 0; margin: 1.7rem 0 0; display: grid; gap: 0.8rem; color: #dbe7ef; }
.check-list li { position: relative; padding-left: 1.7rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.feature-story > .store-showcase { justify-self: center; }
.feature-story:nth-child(even) > .store-showcase { transform: rotate(-0.75deg); }
.feature-story:nth-child(odd) > .store-showcase { transform: rotate(0.75deg); }

.capability-section .section-heading { max-width: 640px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.capability-grid article { padding: 1.8rem; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.capability-grid article > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 2rem; border-radius: 12px; background: rgba(92, 242, 212, 0.1); color: var(--teal); font-size: 1.2rem; }
.capability-grid p { margin-bottom: 0; font-size: 0.92rem; }

.comparison-section { display: grid; grid-template-columns: 0.78fr 1.22fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.comparison-copy p:not(.eyebrow) { font-size: 1.08rem; }
.comparison-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(10, 24, 39, 0.78); box-shadow: var(--shadow); }
.comparison-row { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr; align-items: center; min-height: 66px; border-bottom: 1px solid var(--line); }
.comparison-row:last-child { border-bottom: 0; }
.comparison-row > * { height: 100%; padding: 1rem 1.2rem; display: flex; align-items: center; border-right: 1px solid var(--line); color: #aab9c6; font-size: 0.88rem; }
.comparison-row > *:last-child { border-right: 0; }
.comparison-row strong { color: var(--teal); background: rgba(92, 242, 212, 0.05); }
.comparison-head { background: rgba(255, 255, 255, 0.035); }
.comparison-head > * { color: #eef5fa; font-weight: 780; }

.privacy-section { background: linear-gradient(130deg, rgba(22, 64, 66, 0.58), rgba(11, 26, 43, 0.82)); border-block: 1px solid rgba(92, 242, 212, 0.18); }
.privacy-inner { display: grid; grid-template-columns: 1fr 0.95fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.privacy-inner > div:first-child p:not(.eyebrow) { font-size: 1.06rem; }
.text-link { display: inline-flex; gap: 0.45rem; align-items: center; color: var(--teal); font-weight: 800; }
.privacy-points { display: grid; gap: 0.8rem; }
.privacy-points p { display: grid; gap: 0.3rem; margin: 0; padding: 1.25rem 1.4rem; border: 1px solid rgba(92, 242, 212, 0.17); border-radius: 18px; background: rgba(5, 18, 28, 0.45); }
.privacy-points strong { color: #f0faf8; }
.privacy-points span { font-size: 0.86rem; }

.faq-section { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 4rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.4rem 2.5rem 1.4rem 0; cursor: pointer; list-style: none; color: #f0f5f8; font-size: 1.06rem; font-weight: 720; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 1.25rem; color: var(--teal); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 720px; padding-bottom: 1.4rem; margin-bottom: 0; }

.download-section { padding-top: 3rem; }
.download-card { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem); border: 1px solid rgba(92, 242, 212, 0.28); border-radius: 36px; background: linear-gradient(145deg, #133b3c, #0c2135 58%, #111c31); box-shadow: var(--shadow); text-align: center; }
.download-card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -130px; border-radius: 50%; background: rgba(92, 242, 212, 0.16); filter: blur(10px); }
.download-icon { position: relative; margin: 0 auto 1.5rem; border-radius: 27px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.download-card h2 { max-width: 780px; margin-inline: auto; }
.download-card > p:not(.eyebrow) { max-width: 650px; margin-inline: auto; font-size: 1.1rem; }
.centered-actions { justify-content: center; margin-block: 1.8rem; }
.download-card > small { display: block; color: #9eb1c0; }

.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; padding-block: 2.5rem 7rem; border-top: 1px solid var(--line); }
.site-footer p { grid-column: 1; margin: 0; font-size: 0.88rem; }
.site-footer nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 1.25rem; color: #b5c4d1; font-size: 0.83rem; }
.site-footer > small { grid-column: 1 / -1; color: #708397; }
.site-footer .store-legal { max-width: 920px; margin-top: -0.7rem; font-size: 0.67rem; line-height: 1.5; }
.sticky-download { display: none; }

/* Campaign-safe download page */
.campaign-hero { min-height: 760px; padding-block: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: 1fr 0.85fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.campaign-hero h1 { font-size: clamp(3.2rem, 6vw, 6rem); }
.campaign-visual { position: relative; }
.campaign-visual img { border-radius: 34px; box-shadow: var(--shadow); }
.campaign-visual::after { content: ""; position: absolute; inset: 12% -8% -8% 20%; z-index: -1; border-radius: 50%; background: rgba(92, 242, 212, 0.18); filter: blur(40px); }
.benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.benefit-row article { padding: 2rem; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.benefit-row span { display: block; margin-bottom: 2.5rem; color: var(--teal); font-size: 0.78rem; font-weight: 850; }
.benefit-row p { margin-bottom: 0; }
.campaign-showcase { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.campaign-showcase img { border-radius: 30px; box-shadow: var(--shadow); }
.campaign-safe-note { margin-top: 1rem; font-size: 0.76rem; color: #7f93a6; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-copy { max-width: 850px; }
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }
  .trust-rail { grid-template-columns: repeat(2, 1fr); }
  .trust-rail p:nth-child(2) { border-right: 0; }
  .trust-rail p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .routine-card { grid-column: span 6; }
  .routine-card:last-child { grid-column: 4 / span 6; }
  .feature-story, .feature-story.reverse { grid-template-columns: 1fr; }
  .feature-story.reverse .story-copy, .feature-story.reverse .store-showcase { order: initial; }
  .story-copy { max-width: 760px; }
  .feature-story > .store-showcase { width: min(100%, 500px); }
  .comparison-section, .privacy-inner, .faq-section, .campaign-hero, .campaign-showcase { grid-template-columns: 1fr; }
  .comparison-copy, .faq-section .section-heading, .campaign-hero > div:first-child { max-width: 760px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .campaign-visual { width: min(620px, 90%); margin-inline: auto; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .section { padding-block: 4.8rem; }
  .site-header { padding-inline: 14px; }
  .site-header > .button { display: none; }
  .brand small { display: none; }
  .hero { min-height: auto; padding-block: 4.2rem 3rem; gap: 2rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.3rem); }
  .hero-lede { font-size: 1.02rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: min(250px, 100%); }
  .store-badge-link { width: 100%; }
  .availability { font-size: 0.76rem; }
  .trust-list { gap: 0.45rem; }
  .trust-list li { font-size: 0.7rem; }
  .hero-visual { min-height: 610px; }
  .store-showcase-hero { width: min(96%, 390px); max-height: 610px; border-radius: 24px; }
  .store-showcase-hero img { height: 610px; }
  .trust-rail { grid-template-columns: 1fr; }
  .trust-rail p { min-height: auto; padding: 1.2rem 1.4rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-rail p:last-child { border-bottom: 0; }
  .routine-grid, .capability-grid, .benefit-row { grid-template-columns: 1fr; }
  .routine-card, .routine-card:nth-child(n+4), .routine-card:last-child { grid-column: auto; min-height: auto; }
  .routine-card { padding: 1.25rem; }
  .macro-ui { grid-template-columns: repeat(2, 1fr); }
  .feature-story > .store-showcase { width: min(100%, 430px); border-radius: 24px; transform: none; }
  .comparison-section { gap: 2rem; }
  .comparison-row { grid-template-columns: 1.25fr 0.8fr 0.9fr; }
  .comparison-row > * { padding: 0.8rem 0.65rem; font-size: 0.72rem; }
  .privacy-inner, .faq-section { gap: 2.5rem; }
  .download-card { padding: 3.5rem 1.2rem; border-radius: 26px; }
  .download-card .hero-actions { display: grid; margin-inline: auto; }
  .site-footer { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 8rem; }
  .site-footer nav { display: flex; flex-wrap: wrap; }
  .sticky-download { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0.7rem 0.65rem 1rem; border: 1px solid rgba(92, 242, 212, 0.3); border-radius: 18px; background: rgba(7, 19, 31, 0.94); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45); backdrop-filter: blur(18px); }
  .sticky-download span { display: grid; }
  .sticky-download small { color: var(--muted); font-size: 0.67rem; }
  .campaign-hero { min-height: auto; padding-top: 4rem; }
  .campaign-visual { width: 100%; }
}

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