/* DoseKin website styles: warm, light and caring. Built around the logo's "halo" ring.
   Palette from the Android app: ocean, teal, mint halo, coral capsule, amber pulse. */

:root {
  color-scheme: light dark;
  --ocean-deep: #05303B;
  --ocean: #0B3A44;
  --teal: #0D7377;
  --mint: #7BE8CF;
  --mint-soft: #DDF7F0;
  --coral: #F06E5B;
  --coral-soft: #FFE5E0;
  --amber: #FFC93C;
  --amber-soft: #FFF4D2;
  --violet: #7C5CD6;
  --violet-soft: #EDE7FB;
  --green: #2F9E44;
  --green-soft: #DDF5E3;

  --bg: #FBF7F1;
  --bg-2: #F4EEE4;
  --card: #FFFFFF;
  --line: #ECE4D8;
  --ink: #0B3A44;
  --muted: #5B7177;
  --accent: #0D7377;
  --shadow-sm: 0 1px 2px rgba(11, 58, 68, .06), 0 6px 16px -8px rgba(11, 58, 68, .14);
  --shadow: 0 2px 4px rgba(11, 58, 68, .04), 0 24px 48px -24px rgba(11, 58, 68, .28);

  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;

  --wrap: 1180px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071E24;
    --bg-2: #0A262D;
    --card: #0F2D35;
    --line: #1B4049;
    --ink: #EAF7F5;
    --muted: #9ABBC0;
    --accent: #7BE8CF;
    --mint-soft: rgba(123, 232, 207, .12);
    --coral-soft: rgba(240, 110, 91, .16);
    --amber-soft: rgba(255, 201, 60, .14);
    --violet-soft: rgba(124, 92, 214, .2);
    --green-soft: rgba(47, 158, 68, .18);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -8px rgba(0, 0, 0, .5);
    --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .7);
  }
}

@media (min-width: 640px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--round); margin: 0; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
code { font-family: var(--mono); font-size: .85em; background: var(--bg-2); border: 1px solid var(--line); padding: .08em .4em; border-radius: 6px; overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- Floating pill nav ---------- */

.topbar { position: sticky; top: 12px; z-index: 30; padding: 0 var(--gutter); margin-top: 12px; }
.pillnav { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-sm); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 19px/1 var(--round); letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; border-radius: 10px; }
.pillnav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.pillnav a.lnk { display: block; padding: 9px 13px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.pillnav a.lnk:hover { color: var(--ink); background: var(--bg-2); }
.pillnav .hide-sm { display: none; }
@media (min-width: 820px) { .pillnav .hide-sm { display: block; } }
.pillnav .cta { display: block; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.pillnav .cta:hover { background: var(--teal); color: #fff; }

/* ---------- Buttons ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; font: 700 16px/1 var(--round); text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-ink { background: var(--ink); color: var(--bg); box-shadow: 0 14px 28px -14px rgba(11, 58, 68, .7); }
.btn-soft { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-soft:hover { border-color: var(--teal); }
.btn-play { text-align: left; }
.btn-play small { display: block; font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.btn-play span { line-height: 1.05; }

/* ---------- Hero: the dose clock ---------- */

.hero { position: relative; text-align: center; padding: 64px 0 40px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -120px 0 0; z-index: -1; background: radial-gradient(50% 40% at 50% 0%, var(--mint-soft), transparent 70%), radial-gradient(30% 30% at 85% 40%, var(--coral-soft), transparent 70%), radial-gradient(30% 30% at 12% 55%, var(--amber-soft), transparent 70%); }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 650; color: var(--muted); box-shadow: var(--shadow-sm); }
.tag b { display: inline-grid; place-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(42px, 7.6vw, 84px); font-weight: 850; letter-spacing: -.04em; line-height: 1.02; margin: 26px auto 22px; max-width: 15ch; }
.mark { position: relative; white-space: nowrap; color: var(--coral); }
.mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .22em; border-radius: 99px; background: var(--amber); opacity: .55; z-index: -1; }
.hero .lede { font-size: clamp(17px, 2.2vw, 20.5px); color: var(--muted); max-width: 36em; margin: 0 auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px dashed var(--line); }
.badges svg { width: 16px; height: 16px; color: var(--teal); }
@media (prefers-color-scheme: dark) { .badges svg { color: var(--mint); } }

.clock { position: relative; width: min(780px, 100%); aspect-ratio: 1; margin: 48px auto 0; }
.clock > svg.halo { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.clock .phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 33%; min-width: 230px; z-index: 1; }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; font-size: 13px; line-height: 1.3; min-width: 190px; animation: bob 6s ease-in-out infinite; }
.chip:nth-of-type(2) { animation-delay: -1.5s; } .chip:nth-of-type(3) { animation-delay: -3s; } .chip:nth-of-type(4) { animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.chip .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; flex: none; }
.chip b { display: block; font-size: 14px; font-family: var(--round); }
.chip span { color: var(--muted); font-size: 12.5px; }
.chip i { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.c-morning { left: 0; top: 16%; } .c-morning .ic { background: var(--amber-soft); }
.c-noon { right: 0; top: 28%; } .c-noon .ic { background: var(--mint-soft); }
.c-evening { right: 0; bottom: 22%; } .c-evening .ic { background: var(--coral-soft); }
.c-night { left: 0; bottom: 14%; } .c-night .ic { background: var(--violet-soft); }
.ok { background: var(--green-soft); color: var(--green); }
.due { background: var(--coral-soft); color: #C2412F; }
.soon { background: var(--bg-2); color: var(--muted); }
@media (prefers-color-scheme: dark) { .ok { color: #7FDB95; } .due { color: #FF9A8A; } }
@media (max-width: 720px) {
  .clock { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .clock > svg.halo { display: none; }
  .clock .phone { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; grid-row: 1; margin: 0 auto 18px; width: 250px; box-shadow: 0 0 0 14px var(--mint-soft), 0 40px 70px -30px rgba(5, 48, 59, .75); }
  .chip { position: static; min-width: 0; animation: none; padding: 9px; gap: 8px; }
  .chip i { display: none; }
}

/* Phone: full-screen alarm */
.phone { padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #24505A, #031A20); box-shadow: 0 50px 90px -30px rgba(5, 48, 59, .75), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.screen { position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 9 / 19; color: #EAF7F5; text-align: center; background: radial-gradient(80% 50% at 50% 0%, rgba(123, 232, 207, .28), transparent 70%), linear-gradient(180deg, #0F5D66, #05303B 70%); display: flex; flex-direction: column; padding: 14px 14px 18px; font-size: 12px; }
.screen .isl { width: 72px; height: 20px; border-radius: 99px; background: #021317; margin: 0 auto 18px; }
.screen .who { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 700; font-size: 11.5px; }
.screen .who i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); font-style: normal; font-size: 10px; }
.screen .time { font: 800 46px/1 var(--round); letter-spacing: -.03em; margin: 14px 0 4px; }
.screen .sub { color: #A9D6D2; font-size: 12px; margin-bottom: 14px; }
.screen .ring { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; border: 5px solid var(--mint); border-top-color: transparent; transform: rotate(45deg); position: relative; animation: pulse 2.2s ease-in-out infinite; }
.screen .ring::after { content: ""; position: absolute; width: 28px; height: 12px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); border-radius: 99px; background: linear-gradient(90deg, var(--coral) 50%, #fff 50%); }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(123, 232, 207, .12); } }
.med { display: flex; align-items: center; gap: 9px; text-align: left; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 8px 10px; margin-bottom: 6px; }
.med .pl { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.med .pl b { width: 15px; height: 7px; border-radius: 99px; transform: rotate(-45deg); background: linear-gradient(90deg, var(--c) 50%, #fff 50%); }
.med strong { display: block; font-size: 11.5px; }
.med span { color: #A9D6D2; font-size: 10px; }
.screen .acts { margin-top: auto; display: grid; gap: 7px; }
.screen .take { padding: 12px; border-radius: 999px; background: var(--mint); color: #04262D; font-weight: 800; font-size: 13px; }
.screen .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.screen .row2 span { padding: 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 700; }

/* ---------- Section scaffolding ---------- */

.section { padding: 96px 0; }
@media (min-width: 960px) { .section { padding: 128px 0; } }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.over { display: inline-block; font: 800 13px/1 var(--round); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.center-head h2, .left-head h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 850; letter-spacing: -.035em; }
.center-head p, .left-head p { color: var(--muted); font-size: clamp(17px, 2vw, 19px); margin-top: 16px; }
.left-head { max-width: 620px; }

/* ---------- A day with DoseKin ---------- */

.day { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .day { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .day { grid-template-columns: repeat(4, 1fr); } }
.moment { position: relative; border-radius: 28px; padding: 26px 24px 28px; min-height: 340px; display: flex; flex-direction: column; overflow: hidden; }
.moment .clockface { font: 850 40px/1 var(--round); letter-spacing: -.04em; }
.moment .when { font: 800 12.5px/1 var(--round); letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.moment .when span { font-size: 18px; }
.moment h3 { font-size: 21px; font-weight: 800; margin: auto 0 10px; padding-top: 28px; }
.moment p { font-size: 15.5px; opacity: .82; }
.moment::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -60px; border: 22px solid currentColor; opacity: .07; }
.m-morning { background: linear-gradient(170deg, #FFE7A3, #FFF6DC); color: #4A3500; }
.m-noon { background: linear-gradient(170deg, #BDF1E4, #EAFBF6); color: #04363A; }
.m-evening { background: linear-gradient(170deg, #FFC2B6, #FFEAE5); color: #4A150E; }
.m-night { background: linear-gradient(170deg, #0F5D66, #05303B); color: #EAF7F5; }
.m-night .clockface { color: var(--mint); }

/* ---------- Family ---------- */

.family { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 980px) { .family { grid-template-columns: 1.15fr 1fr; gap: 20px; } }
.people { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 560px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.person .av { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; font: 800 20px/1 var(--round); }
.person b { font: 800 18px/1.2 var(--round); }
.person span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.person .bar { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin-top: auto; }
.person .bar i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.person.add { border-style: dashed; background: transparent; box-shadow: none; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-weight: 700; }
.person.add .av { background: var(--bg-2); color: var(--muted); }
.ecard { border-radius: 28px; padding: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.ecard .top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ecard .top .av { width: 56px; height: 56px; border-radius: 18px; background: var(--coral); color: #fff; display: grid; place-items: center; font: 800 22px/1 var(--round); }
.ecard .top b { display: block; font: 800 20px/1.2 var(--round); }
.ecard .top span { color: var(--muted); font-size: 14px; }
.ecard .sos { white-space: nowrap; margin-left: auto; font: 800 11.5px/1 var(--round); letter-spacing: .08em; text-transform: uppercase; color: #C2412F; background: var(--coral-soft); padding: 7px 10px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .ecard .sos { color: #FF9A8A; } }
.ecard dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ecard dl div { background: var(--bg); border-radius: 16px; padding: 12px 14px; }
.ecard dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ecard dd { margin: 2px 0 0; font: 800 17px/1.3 var(--round); }
.ecard .call { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--mint-soft); }
.ecard .call svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.ecard .call b { display: block; font-family: var(--round); }
.ecard .call span { color: var(--muted); font-size: 13.5px; }
.ecard .call i { margin-left: auto; font-style: normal; font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 999px; background: var(--teal); color: #fff; }
.ecard .note { color: var(--muted); font-size: 14.5px; }
@media (prefers-color-scheme: dark) { .ecard .call svg { color: var(--mint); } }

/* ---------- Everything else: numbered list ---------- */

.list { display: grid; gap: 0 48px; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .list { grid-template-columns: 1fr 1fr; } }
.item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.item .ico { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: var(--bg-2); color: var(--teal); }
@media (prefers-color-scheme: dark) { .item .ico { color: var(--mint); } }
.item .ico svg { width: 24px; height: 24px; }
.item h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; display: flex; align-items: baseline; gap: 10px; }
.item h3 small { font: 700 12px/1 var(--mono); color: var(--coral); }
.item p { color: var(--muted); font-size: 15.5px; }

/* ---------- Privacy: settings-style panel ---------- */

.privacy { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .privacy { grid-template-columns: 1fr 1fr; gap: 72px; } }
.settings { background: var(--card); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); overflow: hidden; }
.settings header { display: flex; align-items: center; gap: 12px; padding: 20px 22px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.settings header svg { width: 40px; height: 40px; border-radius: 12px; }
.settings header b { display: block; font: 800 17px/1.2 var(--round); }
.settings header span { color: var(--muted); font-size: 13px; }
.srow { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.srow:last-child { border-bottom: 0; }
.srow .si { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.srow .si svg { width: 20px; height: 20px; }
.srow b { display: block; font-size: 15.5px; }
.srow span { color: var(--muted); font-size: 13px; }
.srow .val { margin-left: auto; font: 800 13px/1 var(--round); padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.toggle { margin-left: auto; width: 46px; height: 28px; border-radius: 99px; background: var(--line); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.toggle.on { background: var(--teal); }
.toggle.on::after { left: 22px; }
.v-no { background: var(--coral-soft); color: #C2412F; }
.v-yes { background: var(--green-soft); color: var(--green); }
@media (prefers-color-scheme: dark) { .v-no { color: #FF9A8A; } .v-yes { color: #7FDB95; } }
.si.s1 { background: var(--coral-soft); color: #C2412F; } .si.s2 { background: var(--amber-soft); color: #8A6100; } .si.s3 { background: var(--violet-soft); color: var(--violet); } .si.s4 { background: var(--mint-soft); color: var(--teal); } .si.s5 { background: var(--green-soft); color: var(--green); }
@media (prefers-color-scheme: dark) { .si.s1 { color: #FF9A8A; } .si.s2 { color: var(--amber); } .si.s3 { color: #B9A5F0; } .si.s4 { color: var(--mint); } .si.s5 { color: #7FDB95; } }
.yours { display: grid; gap: 12px; margin-top: 28px; list-style: none; }
.yours li { display: flex; gap: 14px; align-items: flex-start; }
.yours li i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--round); font-style: normal; background: var(--ink); color: var(--bg); flex: none; }
.yours b { display: block; font-family: var(--round); font-size: 17px; }
.yours span { color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; align-items: start; } }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 800 17px/1.35 var(--round); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--accent); font-size: 18px; font-weight: 700; }
.faq details[open] summary::after { content: "−"; background: var(--teal); color: #fff; }
.faq details p { color: var(--muted); padding-bottom: 20px; font-size: 16px; }

/* ---------- CTA ---------- */

.cta { position: relative; overflow: hidden; text-align: center; border-radius: 40px; padding: 72px 24px; color: #fff; background: radial-gradient(60% 80% at 50% 0%, rgba(255, 201, 60, .35), transparent 70%), linear-gradient(160deg, #F58A72, var(--coral) 45%, #D9503C); }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .12); }
.cta::before { width: 340px; height: 340px; left: -120px; bottom: -160px; }
.cta::after { width: 240px; height: 240px; right: -70px; top: -90px; }
.cta > * { position: relative; z-index: 1; }
.cta .logo { width: 88px; height: 88px; border-radius: 26px; margin: 0 auto 22px; box-shadow: 0 20px 40px -16px rgba(74, 21, 14, .6); }
.cta h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 850; letter-spacing: -.035em; }
.cta p { max-width: 34em; margin: 14px auto 28px; color: rgba(255, 255, 255, .9); font-size: 18px; }
.cta .btn { background: #fff; color: #4A150E; }
.disclaimer { text-align: center; font-size: 13.5px; color: var(--muted); max-width: 52em; margin: 22px auto 0; }

/* ---------- Footer ---------- */

.footer { padding: 56px 0 48px; color: var(--muted); font-size: 15px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer small { display: block; width: 100%; font-size: 13.5px; }

/* =========================================================
   Privacy policy page
   ========================================================= */

.pp-head { display: grid; gap: 32px; padding: 56px 0 40px; align-items: start; }
@media (min-width: 980px) { .pp-head { grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 80px 0 56px; } }
.pp-head h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 850; letter-spacing: -.04em; line-height: 1.02; margin: 20px 0 18px; }
.pp-head .intro { color: var(--muted); font-size: 18.5px; max-width: 34em; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.meta li { font-size: 13.5px; font-weight: 650; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }

/* "Nutrition label" style privacy label */
.label { background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: 18px; padding: 18px 20px 16px; box-shadow: 10px 10px 0 var(--mint); font-family: var(--sans); }
@media (prefers-color-scheme: dark) { .label { box-shadow: 10px 10px 0 rgba(123, 232, 207, .35); } }
.label h2 { font: 900 30px/1 var(--round); letter-spacing: -.03em; padding-bottom: 8px; border-bottom: 10px solid var(--ink); }
.label .sub { font-size: 13px; color: var(--muted); padding: 8px 0; border-bottom: 4px solid var(--ink); }
.label dl { margin: 0; }
.label dl div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.label dl div:last-child { border-bottom: 4px solid var(--ink); }
.label dt { font-weight: 650; }
.label dd { margin: 0; font-weight: 850; text-align: right; }
.label dd.z { color: var(--green); }
@media (prefers-color-scheme: dark) { .label dd.z { color: #7FDB95; } }
.label .foot { font-size: 12px; color: var(--muted); padding-top: 10px; }

.chipbar { position: sticky; top: 84px; z-index: 20; margin: 8px 0 40px; }
.chipbar nav { display: flex; gap: 8px; overflow-x: auto; padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--card) 90%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-sm); scrollbar-width: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chipbar nav::-webkit-scrollbar { display: none; }
.chipbar a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 650; color: var(--muted); text-decoration: none; white-space: nowrap; }
.chipbar a:hover { background: var(--bg-2); color: var(--ink); }
.chipbar a.active { background: var(--ink); color: var(--bg); }

.prose { max-width: 820px; margin: 0 auto; counter-reset: sec; display: grid; gap: 18px; }
.prose section { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px 22px; position: relative; }
@media (min-width: 760px) { .prose section { padding: 36px 40px 36px 96px; } }
.prose h2 { font-size: clamp(23px, 3vw, 28px); font-weight: 850; letter-spacing: -.025em; margin-bottom: 16px; counter-increment: sec; display: flex; gap: 14px; align-items: center; }
.prose h2::before { content: counter(sec); width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; flex: none; font: 850 17px/1 var(--round); background: var(--mint-soft); color: var(--teal); }
@media (prefers-color-scheme: dark) { .prose h2::before { color: var(--mint); } }
@media (min-width: 760px) { .prose h2::before { position: absolute; left: 36px; top: 34px; width: 44px; height: 44px; } }
.prose h3 { font-size: 18px; font-weight: 800; margin: 24px 0 8px; }
.prose p + p, .prose ul + p, .prose .table-wrap + p, .prose .callout + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; margin: 10px 0 0; display: grid; gap: 8px; }
.prose li::marker { color: var(--coral); }
.prose strong { font-weight: 700; }

.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 500px; }
th, td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; }
@media (max-width: 639px) {
  table { min-width: 0; } thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { padding: 14px 16px; border-bottom: 1px solid var(--line); } tr:last-child { border-bottom: 0; }
  td { padding: 0; border: 0; } td + td { margin-top: 6px; color: var(--muted); }
}

.callout { margin-top: 18px; padding: 18px 20px; border-radius: 18px; display: flex; gap: 14px; background: var(--amber-soft); }
.callout svg { width: 24px; height: 24px; flex: none; color: #8A6100; margin-top: 1px; }
@media (prefers-color-scheme: dark) { .callout svg { color: var(--amber); } }
.contact-card { margin-top: 18px; padding: 22px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 6px; }
.contact-card a { font: 800 19px/1.3 var(--round); }

@media print {
  .topbar, .chipbar, .footer nav, .skip { display: none !important; }
  .label { box-shadow: none; }
  .prose section { border: 0; padding: 0 0 24px; }
  body { background: #fff; color: #000; font-size: 12pt; }
}
