/* DrinkItUp — product page. Quiet, typographic, lots of space. One accent: brand indigo. */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --night: #000000;
  --night-ink: #f5f5f7;
  --night-ink-2: #a1a1a6;
  --accent: #1b22a7;
  --accent-on-night: #6e8bff;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(980px, 100% - 44px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Navigation: thin, translucent, sticky ---------- */
.nav-bar {
  position: sticky; top: 0; z-index: 50; height: 48px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-bar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: auto; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.nav-links a { color: var(--ink); opacity: 0.8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.pill {
  display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 14px;
  background: var(--accent); color: #fff !important; opacity: 1 !important; font-size: 13px; font-weight: 500;
}
.pill:hover { text-decoration: none; filter: brightness(1.1); }
@media (max-width: 640px) { .nav-links li:not(:last-child) { display: none; } }

/* ---------- Type ---------- */
.headline { font-size: clamp(44px, 8vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.title { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.subhead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-2); margin: 16px auto 0; max-width: 640px; }
.eyebrow { font-size: 19px; font-weight: 600; color: var(--ink-2); margin: 0 0 8px; }
.links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 36px; margin-top: 28px; font-size: 19px; }
.links a::after { content: ' ›'; }
.center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 22px;
  background: var(--accent); color: #fff; font-size: 17px; font-weight: 500;
}
.btn:hover { text-decoration: none; filter: brightness(1.12); }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
@media (max-width: 700px) { section { padding: 80px 0; } }
.tone-2 { background: var(--paper-2); }
.night { background: var(--night); color: var(--night-ink); }
.night .subhead, .night .eyebrow { color: var(--night-ink-2); }
.night a { color: var(--accent-on-night); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; overflow: hidden; }
.hero .stage { margin-top: 64px; display: flex; justify-content: center; }

/* Phone: a quiet, realistic frame around a live Today screen */
.phone {
  width: 320px; aspect-ratio: 9 / 19.3; border-radius: 52px; padding: 12px;
  background: #1d1d1f;
  box-shadow: inset 0 0 0 2px #3a3a3c, 0 30px 60px rgba(0, 0, 0, 0.12);
  position: relative;
}
.phone::before { /* camera island */
  content: ''; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 14px; background: #000; z-index: 3;
}
.hero .phone { margin-bottom: -120px; } /* phone runs off the bottom of the hero */
.screen {
  position: relative; height: 100%; border-radius: 40px; overflow: hidden;
  background: linear-gradient(#f6faff, #e7f1ff 45%, #d3e5ff); color: #131313;
}
.screen .status { display: flex; justify-content: space-between; padding: 18px 28px 0; font-size: 13px; font-weight: 600; }
.screen .day { padding: 26px 22px 0; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; color: #8a8a8e; text-transform: uppercase; }
.screen .greet { padding: 2px 22px 0; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.screen .amount { text-align: center; margin-top: 22px; font-family: 'Chelsea Market', 'Inter', sans-serif; font-size: 54px; line-height: 1; color: #0b2a6b; }
.screen .amount small { font-size: 18px; color: #5b6f99; }
.screen .togo { display: block; width: max-content; margin: 12px auto 0; background: #fff; border-radius: 14px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.screen .water { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(#4f9bff, #2f74ec 22%, #1a4fc4 70%, #0b2a6b); }
.screen .water::before {
  content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 24' preserveAspectRatio='none'%3E%3Cpath fill='%234f9bff' d='M0 12 C 75 0 150 0 225 12 S 375 24 450 12 525 0 600 12 V24 H0Z'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x;
  animation: wave 7s linear infinite;
}
@keyframes wave { to { background-position: 100% 0; } }
.screen .character { position: absolute; left: 50%; bottom: 7%; height: 56%; width: auto; transform: translateX(-50%); }
.screen .front { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(rgba(79, 155, 255, 0.5), rgba(26, 79, 196, 0.6)); }
.screen .add {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.96); border-radius: 22px; padding: 6px 14px 6px 6px; font-weight: 700; color: #1b22a7; font-size: 14px;
}
.screen .add span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #1b22a7; color: #fff; font-size: 18px; line-height: 1; }

/* ---------- Goal ---------- */
.after-hero { padding-top: 120px; }
.figure-big { font-size: clamp(96px, 16vw, 180px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; margin: 48px 0 8px; }
.figure-big small { font-size: 0.35em; letter-spacing: -0.02em; color: var(--ink-2); font-weight: 600; margin-left: 6px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 24px 12px 0; text-align: center; }
.facts dt { font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr 1fr; row-gap: 24px; } }
.footnote { font-size: 13px; color: var(--ink-2); margin-top: 40px; }

/* ---------- Reminders (dark) ---------- */
.notes { max-width: 420px; margin: 64px auto 0; display: grid; gap: 10px; }
.note {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center;
  background: rgba(255, 255, 255, 0.1); border-radius: 22px; padding: 12px 14px; text-align: left;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.note .app { width: 38px; height: 38px; border-radius: 9px; background: #1b22a7; display: grid; place-items: center; }
.note .app svg { width: 22px; color: #fff; }
.note b { display: block; font-size: 15px; font-weight: 600; }
.note span { font-size: 15px; color: var(--night-ink-2); }
.note time { align-self: start; font-size: 13px; color: var(--night-ink-2); }

/* ---------- Character ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 64px; align-items: end; }
.trio figure { margin: 0; text-align: center; }
.trio img { width: 100%; max-width: 240px; margin: 0 auto; height: auto; }
.trio figcaption { margin-top: 20px; font-size: 17px; font-weight: 600; }
.trio figcaption span { display: block; font-weight: 400; color: var(--ink-2); font-size: 15px; }
.switch { display: inline-flex; margin-top: 32px; padding: 3px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.switch button { border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 500; padding: 6px 18px; border-radius: 16px; color: var(--ink); cursor: pointer; }
.switch button[aria-pressed='true'] { background: var(--ink); color: #fff; }

/* ---------- Simple feature list ---------- */
.list { margin: 64px auto 0; max-width: 760px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); text-align: left; }
.list h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.list p { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .list li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Plus ---------- */
.plus-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; text-align: left; }
.plus-row img { max-width: 300px; margin: 0 auto; }
.plus-row ul { list-style: none; padding: 0; margin: 28px 0 0; }
.plus-row li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; }
.plus-row li:last-child { border-bottom: 1px solid var(--line); }
.plus-row .footnote { margin-top: 20px; }
@media (max-width: 760px) { .plus-row { grid-template-columns: 1fr; text-align: center; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 56px auto 0; text-align: left; }
.faq h3 { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 40px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-size: 17px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 300; color: var(--ink-2); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--ink-2); max-width: 680px; }

/* ---------- Footer ---------- */
footer { background: var(--paper-2); color: var(--ink-2); font-size: 12px; line-height: 1.5; padding: 20px 0 32px; }
footer .disclaimer { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin: 0 0 16px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer nav { display: flex; gap: 0; flex-wrap: wrap; }
footer nav a { color: var(--ink); padding: 0 10px; border-left: 1px solid var(--line); }
footer nav a:first-child { padding-left: 0; border-left: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 72px 0 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); letter-spacing: -0.03em; margin: 0 0 8px; }
.legal .updated { color: var(--ink-2); margin: 0 0 32px; }
.legal .notice { font-size: 14px; color: var(--ink-2); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.legal h2 { font-size: 21px; letter-spacing: -0.02em; margin: 36px 0 8px; }
.legal p { margin: 0 0 12px; }
