@font-face {
  font-family: "Fredoka";
  src: url("../assets/fonts/Fredoka.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/Nunito.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --driply-blue-50: #f1faff;
  --driply-blue-100: #ddf4ff;
  --driply-blue-300: #8bd2f7;
  --driply-blue-500: #57bdf5;
  --driply-blue-600: #168fe5;
  --driply-blue-800: #164a70;
  --driply-blue-950: #082f49;
  --driply-night: #071f30;
  --driply-card-dark: #0d3048;
  --driply-mint: #45c9a5;
  --driply-sun: #ffba43;
  --white: #ffffff;
  --ink: #082f49;
  --body: #294e63;
  --border: rgba(8, 47, 73, 0.14);
  --shadow-sm: 0 8px 24px rgba(8, 47, 73, 0.09);
  --shadow-lg: 0 20px 54px rgba(8, 47, 73, 0.18);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 40px;
  --radius-pill: 999px;
  --wrap: min(1120px, calc(100% - 64px));
  --space-section: clamp(72px, 7.5vw, 108px);
  --screen-width: 280px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 92px; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--driply-blue-50);
  color: var(--body);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overscroll-behavior: contain; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

h1, h2, h3, .brand, strong {
  color: var(--ink);
}

h1, h2, h3, .brand {
  margin: 0;
  font-family: "Fredoka", "Nunito", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(3.2rem, 5.2vw, 4.75rem); }
h2 { font-size: clamp(2.4rem, 3.7vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--driply-sun);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: var(--space-section); }

.site-header {
  position: sticky;
  z-index: 200;
  top: 0;
  padding: 12px 0;
  background: rgba(241, 250, 255, 0.84);
  border-bottom: 1px solid rgba(8, 47, 73, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--wrap);
  min-height: 54px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 650;
  text-decoration: none;
}

.brand img { border-radius: 13px; box-shadow: var(--shadow-sm); }

.nav-panel { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 24px); font-size: .88rem; }
.nav-panel a { font-weight: 800; text-decoration: none; }
.nav-panel a:hover { color: var(--driply-blue-600); }

.nav-panel .nav-cta {
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 13px;
  border: 0;
  border-radius: 15px;
  background: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 5vw, 72px) 0 0;
  background:
    radial-gradient(circle at 72% 14%, rgba(87, 189, 245, .3), transparent 30%),
    linear-gradient(145deg, var(--driply-blue-50) 20%, #e3f7ff 82%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-bottom: 72px;
}

.hero-grid > *, .onboarding-story > *, .logging-grid > *, .activities-grid > *, .reminder-grid > *, .insights-grid > *, .share-grid > *, .privacy-grid > *, .pricing-grid > *, .policy-layout > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--driply-blue-800);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--driply-blue-600); box-shadow: 0 0 0 6px rgba(22, 143, 229, .12); }
.hero-copy h1 span { color: var(--driply-blue-600); }
.hero-lead { max-width: 490px; margin-top: 24px; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 21px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  text-decoration: none;
}

.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 15px 28px rgba(8, 47, 73, .18); }
.button-primary:hover { background: var(--driply-blue-800); transform: translateY(-2px); }
.button-ghost { border: 1px solid var(--border); background: rgba(255, 255, 255, .55); color: var(--ink); }

.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-row p { max-width: 230px; margin: 0; font-size: .82rem; line-height: 1.3; }
.store-button { display: inline-flex; flex-shrink: 0; min-width: 188px; align-items: center; gap: 11px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 15px; background: rgba(255, 255, 255, .66); color: var(--ink); line-height: 1.1; }
.store-button > span { display: grid; }
.store-button small { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.store-button strong { font-size: 1.1rem; }
.app-store-icon { width: 36px; height: 36px; flex: 0 0 auto; color: var(--ink); }

.hero-art { position: relative; width: min(430px, 100%); aspect-ratio: .76; justify-self: center; }
.phone-shot { overflow: hidden; margin: 0; border-radius: 32px; background: var(--white); box-shadow: var(--shadow-lg); }
.phone-shot-main { position: absolute; z-index: 3; top: 0; left: 20%; width: 64%; max-width: var(--screen-width); transform: rotate(2deg); border: 7px solid var(--white); }
.big-number { position: absolute; z-index: 1; top: 15%; left: -3%; color: rgba(22, 143, 229, .15); font-family: "Fredoka"; font-size: clamp(7rem, 10vw, 10rem); font-weight: 700; line-height: .8; letter-spacing: -.08em; white-space: nowrap; }
.big-number span { font-size: .35em; }

.float-chip, .float-note {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .87);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.float-chip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-pill); color: var(--ink); font-size: .85rem; font-weight: 900; }
.float-chip span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--driply-blue-600); color: var(--white); }
.float-log { top: 28%; right: 0; transform: rotate(-3deg); }
.float-activity { bottom: 22%; left: 0; transform: rotate(-2deg); }
.float-activity span { background: var(--driply-blue-100); }
.float-activity b { color: var(--driply-blue-600); }
.float-note { right: 0; bottom: 2%; padding: 16px 20px; border-radius: 20px; color: var(--ink); font-family: "Fredoka"; font-size: 1.3rem; font-weight: 650; line-height: 1.05; }
.float-note span { color: var(--body); font-family: "Nunito"; font-size: .78rem; font-weight: 700; }
.hero-bubble { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .18); }
.hero-bubble-one { width: 110px; height: 110px; top: 10%; right: 3%; }
.hero-bubble-two { width: 42px; height: 42px; bottom: 18%; left: 4%; }

.onboarding { overflow: hidden; background: var(--white); }
.onboarding-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 56px; margin-bottom: 52px; }
.onboarding-heading > p { margin: 0 0 8px; font-size: 1rem; }
.onboarding-story { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.onboarding-screens { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: min(330px, 100%); margin-inline: auto; padding-bottom: 24px; }
.onboarding-phone { position: relative; z-index: 2; overflow: hidden; margin: 0; border: 5px solid var(--white); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-lg); }
.onboarding-phone-activity, .onboarding-phone-goal { transform: translateY(24px); }
.water-path { position: absolute; z-index: 1; inset: 50% -5% auto; height: 12px; border-radius: 50%; background: var(--driply-blue-100); transform: rotate(-8deg); }
.setup-steps { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.setup-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.setup-steps li > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--driply-blue-100); color: var(--driply-blue-800); font-size: .78rem; font-weight: 900; }
.setup-steps h3 { font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.05; }
.setup-steps p { margin: 8px 0 0; font-size: .93rem; }
.onboarding-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; margin-top: 48px; padding: 24px 28px; border-radius: 24px; background: var(--driply-blue-950); color: #c8e9f8; }
.onboarding-strip > div { display: flex; align-items: center; gap: 12px; }
.onboarding-strip strong { color: var(--white); font-family: "Fredoka"; font-size: 3rem; line-height: 1; }
.onboarding-strip div span, .onboarding-strip > span { font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.onboarding-strip p { margin: 0; font-size: .88rem; }
.onboarding-strip > span { padding: 9px 13px; border-radius: var(--radius-pill); background: var(--driply-mint); color: var(--ink); white-space: nowrap; }

.logging-section { background: var(--driply-night); color: #c8e9f8; }
.logging-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px clamp(40px, 6vw, 80px); }
.light-copy h2, .light-copy h3, .eyebrow-light { color: var(--white); }
.logging-intro { grid-column: 1; grid-row: 1; max-width: 540px; }
.logging-intro > p:not(.eyebrow) { max-width: 500px; }
.logging-title-line { white-space: normal; }
.light-copy > p:not(.eyebrow) { max-width: 500px; font-size: 1rem; }
.app-detail-shot { grid-column: 2; grid-row: 1 / span 2; width: min(100%, var(--screen-width)); justify-self: center; overflow: hidden; border-radius: 26px; transform: rotate(-1deg); box-shadow: 0 24px 70px rgba(0, 0, 0, .28); }

.tap-demo { grid-column: 1; grid-row: 2; width: 100%; max-width: 580px; padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(139, 210, 247, .24); border-radius: 28px; background: var(--driply-card-dark); box-shadow: 0 20px 48px rgba(0, 0, 0, .22); }
.demo-topline { display: flex; justify-content: space-between; gap: 24px; color: #b9d9e8; font-size: .9rem; font-weight: 800; }
.demo-topline span:first-child { color: var(--white); font-size: 1.15rem; }
.demo-meter-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 24px; margin: 26px 0; }
.progress-ring { --progress: 112deg; display: grid; width: 140px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: conic-gradient(var(--driply-blue-500) var(--progress), rgba(87, 189, 245, .14) 0); }
.progress-ring::before { content: ""; grid-area: 1/1; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--driply-card-dark); }
.progress-ring div { z-index: 1; grid-area: 1/1; display: grid; text-align: center; }
.progress-ring strong { color: var(--white); font-family: "Fredoka"; font-size: 2rem; }
.progress-ring span { color: #b9d9e8; font-size: .78rem; }
.demo-total { display: grid; }
.demo-total small { color: #b9d9e8; }
.demo-total strong { color: var(--white); font-family: "Fredoka"; font-size: clamp(2.5rem, 3.5vw, 3.5rem); line-height: 1; }
.demo-total span { color: var(--driply-blue-300); font-weight: 800; }
.quick-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-buttons button { min-height: 58px; border: 1px solid rgba(139, 210, 247, .34); border-radius: var(--radius-pill); background: transparent; color: var(--white); font-weight: 900; cursor: pointer; }
.quick-buttons button:hover, .quick-buttons button:focus-visible { background: var(--driply-blue-600); border-color: var(--driply-blue-600); }
.quick-buttons button.just-tapped { animation: tap .35s ease; }
.water-track { height: 14px; margin-top: 28px; overflow: hidden; border-radius: var(--radius-pill); background: rgba(139, 210, 247, .14); }
.water-track span { --fill: 31%; display: block; width: var(--fill); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--driply-blue-600), var(--driply-blue-300)); transition: width .55s cubic-bezier(.2, .8, .2, 1); }
.reset-demo { display: block; margin: 14px auto 0; border: 0; background: transparent; color: #b9d9e8; font-size: .8rem; text-decoration: underline; cursor: pointer; }

.journey { background: var(--white); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading > p:last-child { max-width: 600px; margin-top: 22px; font-size: 1rem; }
.journey-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.journey-line::before { content: ""; position: absolute; top: 49px; left: 9%; right: 9%; height: 3px; background: linear-gradient(90deg, var(--driply-blue-100), var(--driply-blue-600), var(--driply-mint)); }
.journey-line article { position: relative; z-index: 1; display: grid; min-height: 205px; align-content: start; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.journey-line article::before { content: ""; width: 18px; height: 18px; margin: 16px 0 25px; border: 5px solid var(--white); border-radius: 50%; background: var(--driply-blue-600); box-shadow: 0 0 0 3px var(--driply-blue-100); }
.journey-line article > span { order: -1; color: var(--driply-blue-600); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.journey-line article strong { font-size: 1.05rem; }
.journey-line article b { color: var(--ink); font-family: "Fredoka"; font-size: 1.85rem; }
.journey-line article small { margin-top: 9px; color: var(--body); }
.journey-line .journey-activity { background: var(--driply-blue-950); color: #c8e9f8; transform: translateY(-16px) rotate(1deg); }
.journey-line .journey-activity strong, .journey-line .journey-activity b { color: var(--white); }
.journey-line .journey-activity small { color: #b9d9e8; }
.goal-callout { display: grid; grid-template-columns: 160px repeat(3, minmax(0, 1fr)); align-items: center; gap: 24px; margin-top: 48px; padding: 28px; border-radius: 28px; background: var(--driply-blue-100); }
.goal-callout img { width: 160px; justify-self: center; border-radius: 18px; box-shadow: var(--shadow-sm); }
.goal-callout div { padding: 12px; }
.goal-callout p { margin: 0; font-size: .85rem; font-weight: 800; }
.goal-callout strong { display: block; margin-top: 8px; font-family: "Fredoka"; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }

.activities { overflow: hidden; background: linear-gradient(180deg, var(--driply-blue-100), #c7edff); }
.activities-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 5vw, 72px); }
.activity-copy > p:not(.eyebrow) { max-width: 560px; }
.activity-equation { margin-top: 34px; overflow: hidden; border: 1px solid rgba(8, 47, 73, .1); border-radius: 28px; background: rgba(255, 255, 255, .7); box-shadow: var(--shadow-sm); }
.activity-equation > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.activity-equation > div + div { border-top: 1px solid var(--border); }
.activity-equation span { font-weight: 800; }
.activity-equation .equation-total { background: var(--ink); }
.activity-equation .equation-total span, .activity-equation .equation-total strong { color: var(--white); }
.activity-message { margin: 12px 4px 0; color: var(--driply-blue-800); font-size: .9rem; font-weight: 800; }
.activity-demo { position: relative; width: 100%; max-width: 560px; padding: clamp(20px, 2.5vw, 30px); border: 1px solid rgba(255, 255, 255, .85); border-radius: 30px; background: rgba(255, 255, 255, .58); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); }
.activity-chips { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.activity-chips button { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 10px; min-height: 84px; padding: 13px 16px; border: 1px solid var(--border); border-radius: 20px; background: var(--white); color: var(--ink); text-align: left; cursor: pointer; }
.activity-chips button span { grid-row: span 2; font-size: 1.7rem; }
.activity-chips button b { color: var(--driply-blue-600); font-size: .78rem; }
.activity-chips button[aria-pressed="true"] { border-color: var(--driply-blue-600); background: var(--driply-blue-800); color: var(--white); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(22, 74, 112, .18); }
.activity-chips button[aria-pressed="true"] b { color: var(--driply-blue-300); }
.activity-water { position: relative; height: 112px; margin-top: 24px; overflow: hidden; border: 6px solid var(--white); border-radius: 24px 24px 44px 44px; background: rgba(87, 189, 245, .15); }
.activity-water span { --activity-fill: 36%; position: absolute; inset: auto 0 0; height: var(--activity-fill); background: var(--driply-blue-500); transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.activity-water span::before { content: ""; position: absolute; top: -10px; left: -20px; width: 120%; height: 25px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.activity-water b { position: absolute; z-index: 2; top: 50%; left: 50%; color: var(--ink); font-family: "Fredoka"; font-size: 2.6rem; transform: translate(-50%, -50%); }
.screenshot-stage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, var(--screen-width))); justify-content: center; align-items: start; gap: clamp(20px, 5vw, 64px); margin-top: 64px; padding-bottom: 28px; }
.screenshot-stage figure { margin: 0; box-shadow: var(--shadow-lg); }
.screenshot-stage img { border-radius: 20px; }
.screenshot-stage figcaption { padding: 14px 8px 6px; color: var(--ink); font-size: .82rem; font-weight: 900; }
.picker-shot { padding: 9px; border-radius: 28px; background: var(--white); transform: rotate(-1deg); }
.running-shot { padding: 9px; border-radius: 28px; background: var(--white); transform: translateY(28px) rotate(1deg); }

.reminders { background: var(--driply-blue-950); color: #c8e9f8; }
.reminder-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.reminder-art { position: relative; width: min(360px, 100%); justify-self: center; padding-top: 24px; }
.reminder-art img { width: min(var(--screen-width), 100%); margin-inline: auto; border: 6px solid rgba(255, 255, 255, .13); border-radius: 28px; box-shadow: 0 24px 54px rgba(0, 0, 0, .26); }
.notification-card { position: absolute; z-index: 2; top: 0; right: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 10px; width: min(350px, 100%); padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-lg); color: var(--body); transform: rotate(1deg); }
.notification-card > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--driply-blue-100); }
.notification-card strong { display: block; }
.notification-card p { margin: 2px 0 0; font-size: .85rem; }
.notification-card small { color: #668091; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 30px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--driply-mint); font-weight: 900; }
.widget-ribbon { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 36px; margin-top: 56px; padding: 30px; border: 1px solid rgba(139, 210, 247, .22); border-radius: 28px; background: var(--driply-card-dark); }
.widget-ribbon p { margin: 0; color: var(--driply-blue-300); font-weight: 900; }
.widget-ribbon h3 { color: var(--white); }
.widget-visuals { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 28px); min-width: 0; }
.widget-visuals img { display: block; height: auto; filter: drop-shadow(0 22px 35px rgba(0, 0, 0, .22)); }
.widget-visuals .widget-full { width: min(340px, calc(100% - 100px)); }
.widget-visuals .widget-compact { width: min(76px, 20%); }

.insights { background: var(--white); }
.insights-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.section-copy > p:not(.eyebrow) { max-width: 510px; margin-top: 22px; font-size: 1rem; }
.insight-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.insight-pills span { padding: 10px 14px; border-radius: var(--radius-pill); background: var(--driply-blue-100); color: var(--ink); font-size: .8rem; font-weight: 900; }
.insight-collage { position: relative; width: min(430px, 100%); aspect-ratio: .87; justify-self: center; }
.insight-collage figure { position: absolute; overflow: hidden; margin: 0; border: 6px solid var(--white); border-radius: 26px; background: var(--white); box-shadow: var(--shadow-lg); }
.insight-collage figure:first-child { top: 0; left: 0; width: 48%; transform: rotate(-2deg); }
.insight-collage figure:nth-child(2) { right: 0; bottom: 0; width: 51%; transform: rotate(2deg); }
.insight-stamp { position: absolute; z-index: 4; right: 35%; top: 42%; display: flex; width: 120px; aspect-ratio: 1; align-items: center; justify-content: center; gap: 7px; border-radius: 50%; background: var(--driply-sun); color: var(--ink); transform: rotate(-4deg); box-shadow: var(--shadow-sm); }
.insight-stamp strong { font-family: "Fredoka"; font-size: 2.25rem; }
.insight-stamp span { font-size: .72rem; font-weight: 900; line-height: 1.1; text-transform: uppercase; }

.share-section { overflow: hidden; background: linear-gradient(135deg, var(--driply-blue-100) 0%, var(--driply-blue-50) 58%, #c7ecff 100%); }
.share-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.share-card-wrap { position: relative; width: min(var(--screen-width), 82%); margin-inline: auto; padding: 9px; border-radius: 28px; background: rgba(255, 255, 255, .68); box-shadow: var(--shadow-lg); transform: rotate(-1deg); }
.share-card-wrap img { border-radius: 20px; }
.share-tag { position: absolute; padding: 10px 15px; border-radius: var(--radius-pill); background: var(--ink); color: var(--white); font-family: "Fredoka"; font-weight: 650; letter-spacing: .06em; box-shadow: var(--shadow-sm); }
.share-tag-one { top: 18%; left: -12%; transform: rotate(-6deg); }
.share-tag-two { right: -12%; top: 48%; transform: rotate(5deg); background: var(--driply-blue-600); }
.share-tag-three { bottom: 12%; left: -10%; transform: rotate(4deg); background: var(--driply-blue-300); color: var(--ink); }
.share-quote { padding-left: 20px; border-left: 5px solid var(--driply-blue-600); color: var(--ink); font-family: "Fredoka"; font-size: 1.5rem !important; font-weight: 650; }

.privacy-section { background: linear-gradient(155deg, var(--white) 0%, var(--driply-blue-50) 48%, var(--driply-blue-100) 100%); }
.privacy-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.privacy-shot { width: min(var(--screen-width), 90%); justify-self: center; margin: 0; padding: 9px; border: 1px solid rgba(8, 47, 73, .09); border-radius: 28px; background: rgba(255, 255, 255, .68); box-shadow: var(--shadow-lg); transform: rotate(1deg); }
.privacy-shot img { border-radius: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--ink); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); }

.pricing-section { background: var(--white); }
.pricing-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 56px; margin-bottom: 44px; }
.pricing-heading > p { max-width: 470px; margin: 0 0 8px; font-size: 1rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card { position: relative; min-height: 240px; padding: 26px 24px 72px; border: 1px solid var(--border); border-radius: 24px; background: var(--driply-blue-50); }
.price-card > p { margin: 0 0 22px; color: var(--driply-blue-800); font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.price-card h3 { display: flex; align-items: flex-start; margin-bottom: 8px; font-size: clamp(2.6rem, 3.4vw, 3.35rem); }
.price-card h3 span { margin: .45em 3px 0 0; font-family: "Nunito", system-ui, sans-serif; font-size: .3em; font-weight: 900; }
.price-card small { font-weight: 800; }
.price-card-featured { background: var(--driply-blue-950); color: #c8e9f8; box-shadow: var(--shadow-lg); }
.price-card-featured > p, .price-card-featured h3 { color: var(--white); }
.price-card-lifetime { background: linear-gradient(145deg, #dff8ef, var(--driply-blue-100)); }
.price-badge { position: absolute; bottom: 22px; left: 24px; max-width: calc(100% - 48px); padding: 7px 10px; border-radius: var(--radius-pill); background: var(--driply-mint); color: var(--ink); font-size: .62rem; font-weight: 900; line-height: 1.15; text-align: center; text-transform: uppercase; }
.pricing-note { max-width: 900px; margin: 24px 0 0; color: #597587; font-size: .72rem; line-height: 1.45; }

.final-cta { position: relative; overflow: hidden; padding: 88px 0 110px; background: var(--driply-blue-600); color: var(--white); text-align: center; }
.final-cta::before, .final-cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.final-cta::before { width: 160px; height: 160px; top: 12%; left: 7%; }
.final-cta::after { width: 54px; height: 54px; right: 12%; top: 30%; }
.final-cta-inner { position: relative; z-index: 2; display: grid; justify-items: center; }
.final-cta img { width: 72px; margin-bottom: 24px; border-radius: 21px; box-shadow: 0 20px 50px rgba(8, 47, 73, .25); }
.final-cta h2 { color: var(--white); }
.final-cta p:not(.eyebrow) { margin-top: 22px; font-size: 1rem; }
.button-light { margin-top: 10px; background: var(--white); color: var(--ink); }
.store-button-light { margin-top: 10px; border-color: rgba(255, 255, 255, .5); background: var(--white); color: var(--ink); text-align: left; }
.final-water { position: absolute; inset: auto 0 0; height: 21%; background: var(--driply-blue-800); }
.final-water::before { content: ""; position: absolute; top: -28px; left: -5%; width: 110%; height: 60px; border-radius: 50%; background: var(--driply-blue-800); }

.site-footer { padding: 58px 0; background: var(--driply-night); color: #b9d9e8; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 30px 48px; }
.brand-footer { color: var(--white); }
.footer-grid > div > p { margin: 14px 0 0; }
.footer-grid .support-link { margin-top: 7px; font-size: .86rem; }
.support-link a { color: var(--white); font-weight: 800; }
.footer-grid nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 24px; font-size: .88rem; }
.footer-grid nav a { color: var(--white); font-weight: 800; text-decoration: none; }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }

.privacy-back { font-weight: 900; text-decoration: none; }
.privacy-back:hover { color: var(--driply-blue-600); }
.policy-hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 88px) 0; background: linear-gradient(145deg, var(--driply-blue-100), #dff8ef); }
.policy-hero::after { content: ""; position: absolute; width: 370px; height: 370px; right: -90px; bottom: -210px; border: 55px solid rgba(87, 189, 245, .2); border-radius: 48% 52% 50% 50%; transform: rotate(45deg); }
.policy-hero h1 { max-width: 900px; }
.policy-hero h1 span { color: var(--driply-blue-600); }
.policy-hero > .wrap > p:not(.eyebrow) { max-width: 620px; margin-top: 24px; font-size: 1.05rem; }
.policy-promise { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 35px; padding: 16px 22px; width: fit-content; border: 1px solid rgba(8, 47, 73, .1); border-radius: var(--radius-pill); background: rgba(255, 255, 255, .65); }
.policy-promise span { font-size: 1.4rem; }
.policy-updated { margin-top: 16px !important; font-size: .82rem !important; font-weight: 800; }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 64px); padding-top: 64px; padding-bottom: 88px; }
.policy-nav { position: sticky; top: 102px; display: grid; gap: 9px; max-height: calc(100svh - 126px); overflow-y: auto; padding: 22px; border: 1px solid var(--border); border-radius: 24px; background: var(--white); }
.policy-nav p { margin: 0 0 8px; color: var(--ink); font-weight: 900; }
.policy-nav a { color: var(--body); font-size: .84rem; font-weight: 800; text-decoration: none; }
.policy-nav a:hover { color: var(--driply-blue-600); }
.policy-content { max-width: 780px; }
.policy-content > section { position: relative; padding: 0 0 52px 72px; }
.policy-content > section::before { content: ""; position: absolute; top: 52px; bottom: 18px; left: 26px; width: 2px; background: var(--driply-blue-100); }
.policy-number { position: absolute; left: 0; top: 0; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--driply-blue-100); color: var(--driply-blue-800); font-weight: 900; }
.policy-content h2 { max-width: 680px; font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
.policy-content section p { margin: 18px 0 0; font-size: 1rem; }
.policy-content .policy-highlight { margin-bottom: 52px; padding: 32px 28px 32px 100px; border-radius: 28px; background: var(--driply-blue-950); color: #c8e9f8; }
.policy-highlight .policy-number { top: 32px; left: 26px; background: var(--driply-blue-600); color: var(--white); }
.policy-highlight::before { display: none; }
.policy-highlight h2 { color: var(--white); }
.control-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.control-chips span { padding: 8px 13px; border-radius: var(--radius-pill); background: var(--white); color: var(--ink); font-size: .78rem; font-weight: 900; box-shadow: var(--shadow-sm); }
.policy-end { display: grid; justify-items: start; gap: 12px; margin-left: 72px; padding: 28px; border-radius: 26px; background: var(--driply-blue-100); }
.policy-end img { border-radius: 19px; }
.policy-end p { margin: 0; color: var(--ink); font-family: "Fredoka"; font-size: 1.5rem; font-weight: 600; }
.policy-end .policy-contact { font-family: "Nunito", system-ui, sans-serif; font-size: .95rem; font-weight: 700; }
.policy-contact a { overflow-wrap: anywhere; font-weight: 900; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes tap { 50% { transform: scale(.93); } }

@media (max-width: 980px) {
  .site-header { backdrop-filter: none; }
  .menu-toggle { display: block; position: relative; z-index: 202; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-panel { position: fixed; z-index: 201; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto; padding: 88px 24px 28px; background: var(--driply-night); color: var(--white); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
  .nav-panel a { padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: var(--white); font-family: "Fredoka"; font-size: clamp(1.65rem, 5vw, 2.2rem); }
  .nav-panel .nav-cta { margin-top: 16px; border-bottom: 0; background: var(--driply-blue-600); text-align: center; }
  .menu-open .nav-panel { opacity: 1; visibility: visible; }
  .logging-grid { grid-template-columns: 1fr; max-width: 680px; }
  .logging-intro, .tap-demo { max-width: none; }
  .app-detail-shot { display: none; }
  .onboarding-heading, .pricing-heading { grid-template-columns: 1fr; gap: 20px; }
  .onboarding-heading > p, .pricing-heading > p { max-width: 620px; }
  .onboarding-strip { grid-template-columns: auto 1fr; gap: 20px; }
  .onboarding-strip > span { grid-column: 1 / -1; justify-self: start; }
  .journey-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-line::before { display: none; }
  .journey-line .journey-activity { transform: none; }
  .goal-callout { grid-template-columns: 140px repeat(3, minmax(0, 1fr)); gap: 12px; padding: 24px; }
  .goal-callout img { width: 140px; }
  .goal-callout div { padding: 8px; }
  .goal-callout strong { font-size: 2.15rem; }
  .widget-ribbon { grid-template-columns: 1fr; gap: 28px; }
  .widget-visuals { justify-content: center; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --wrap: min(100% - 40px, 640px); --space-section: 64px; --screen-width: 260px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(2.75rem, 9.8vw, 3.6rem); }
  h2 { font-size: clamp(2.15rem, 7.5vw, 2.75rem); }
  .site-header { padding: 8px 0; }
  .hero-grid, .onboarding-story, .activities-grid, .reminder-grid, .insights-grid, .share-grid, .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 40px; }
  .hero-grid { padding-bottom: 56px; }
  .hero-copy { max-width: 540px; }
  .hero-lead { margin-top: 20px; }
  .hero-actions { display: grid; }
  .store-row { align-items: flex-start; }
  .store-row p { max-width: 260px; }
  .hero-art { width: min(340px, 100%); }
  .phone-shot-main { border-width: 6px; border-radius: 28px; }
  .big-number { font-size: 7rem; }
  .float-chip { padding: 9px 12px; font-size: .78rem; }
  .float-chip span { width: 27px; height: 27px; }
  .float-note { padding: 13px 16px; font-size: 1.15rem; }
  .onboarding-heading, .pricing-heading { margin-bottom: 36px; }
  .onboarding-screens { width: min(300px, 100%); gap: 14px; }
  .onboarding-phone { border-radius: 20px; }
  .setup-steps { grid-row: 1; }
  .setup-steps li { padding: 18px 0; }
  .setup-steps h3 { font-size: 1.35rem; }
  .onboarding-strip { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .onboarding-strip > span { grid-column: 1; }
  .tap-demo { padding: 24px 20px; border-radius: 26px; }
  .demo-topline { display: grid; gap: 3px; }
  .demo-meter-row { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; margin: 24px 0; }
  .progress-ring { width: 120px; }
  .progress-ring strong { font-size: 1.8rem; }
  .demo-total strong { font-size: clamp(2rem, 8vw, 3rem); }
  .quick-buttons { gap: 7px; }
  .quick-buttons button { min-height: 48px; padding-inline: 8px; }
  .section-heading { margin-bottom: 36px; }
  .journey-line { grid-template-columns: 1fr; gap: 12px; }
  .journey-line article { min-height: 0; grid-template-columns: 74px 1fr; align-items: center; padding: 18px; }
  .journey-line article::before { display: none; }
  .journey-line article > span { grid-row: 1 / 4; }
  .journey-line article small { margin: 0; }
  .goal-callout { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; margin-top: 32px; padding: 22px 14px; border-radius: 26px; }
  .goal-callout img { grid-column: 1 / -1; width: 128px; }
  .goal-callout div { padding: 8px 0; text-align: center; }
  .goal-callout p { font-size: .75rem; }
  .goal-callout strong { font-size: 1.75rem; }
  .activity-demo { justify-self: center; padding: 20px 16px; border-radius: 26px; }
  .activity-chips { gap: 8px; }
  .activity-chips button { min-height: 78px; padding: 10px; font-size: .84rem; }
  .activity-chips button span { font-size: 1.4rem; }
  .activity-water { height: 100px; margin-top: 20px; }
  .screenshot-stage { gap: 16px; margin-top: 40px; }
  .screenshot-stage figure { padding: 6px; border-radius: 22px; }
  .screenshot-stage img { border-radius: 16px; }
  .screenshot-stage figcaption { font-size: .72rem; }
  .reminder-grid .section-copy, .share-grid .section-copy { grid-row: 1; }
  .reminder-art { width: min(330px, 100%); }
  .notification-card { padding: 14px; }
  .reminder-art img { border-width: 5px; }
  .widget-ribbon { margin-top: 40px; padding: 22px; border-radius: 26px; }
  .widget-visuals { gap: 16px; }
  .widget-visuals .widget-full { width: min(340px, calc(100% - 76px)); }
  .widget-visuals .widget-compact { width: min(60px, 20%); }
  .insight-collage { width: min(360px, 94%); }
  .insight-stamp { right: 33%; width: 100px; }
  .insight-stamp strong { font-size: 2rem; }
  .insight-stamp span { font-size: .62rem; }
  .share-tag { font-size: .8rem; padding: 9px 12px; }
  .final-cta { padding: 72px 0 92px; }
  .price-card { min-height: 228px; padding: 22px 20px 66px; }
  .price-badge { left: 20px; max-width: calc(100% - 40px); }
  .site-footer { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { display: grid; grid-template-columns: repeat(2, 1fr); justify-content: start; }
  .copyright { grid-column: 1; }
  .policy-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
  .policy-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; }
  .policy-nav p { grid-column: 1 / -1; }
  .policy-content > section { padding-left: 62px; padding-bottom: 44px; }
  .policy-number { width: 44px; height: 44px; }
  .policy-content > section::before { left: 21px; }
  .policy-content .policy-highlight { padding: 28px 24px 28px 82px; }
  .policy-highlight .policy-number { top: 28px; left: 20px; }
  .policy-end { margin-left: 0; }
}

@media (max-width: 540px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .price-card { min-height: 176px; padding: 24px; }
  .price-card > p { margin-bottom: 16px; }
  .price-card-featured, .price-card-lifetime { padding-bottom: 68px; }
  .price-card h3 { font-size: 2.8rem; }
  .price-badge { left: 24px; max-width: calc(100% - 48px); }
  .policy-content > section { padding-left: 0; padding-top: 60px; }
  .policy-content > section::before { display: none; }
  .policy-content .policy-highlight { padding: 84px 24px 28px; }
  .policy-highlight .policy-number { top: 24px; left: 24px; }
}

@media (max-width: 390px) {
  :root { --wrap: calc(100% - 32px); }
  h1 { font-size: 2.65rem; }
  h2 { font-size: 2.1rem; }
  .brand { font-size: 1.55rem; }
  .eyebrow { font-size: .68rem; }
  .demo-meter-row { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
  .progress-ring { width: 104px; }
  .quick-buttons button { font-size: .82rem; }
  .goal-callout p { font-size: .68rem; }
  .goal-callout strong { font-size: 1.5rem; }
  .activity-chips button { gap: 0 7px; font-size: .76rem; }
  .activity-chips button b { font-size: .69rem; }
  .notification-card { gap: 8px; padding: 12px; }
  .notification-card > span { width: 32px; height: 32px; }
  .notification-card p { font-size: .78rem; }
  .privacy-back { font-size: .8rem; }
  .policy-promise { border-radius: 25px; }
  .policy-nav { grid-template-columns: 1fr; }
  .policy-nav p { grid-column: 1; }
}

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