/* Presence — site styles. Brand: Fredoka, mint → sky → lavender, deep teal ink. */

:root {
  --bg: #f5fcfb;
  --surface: #ffffff;
  --ink: #0b3b3e;
  --text: #1c4a4d;
  --muted: #557174;
  --accent: #006d6d;
  --mint: #73d4ac;
  --sky: #60bfdf;
  --lavender: #aaa8ee;
  --slate: #a3b1b9;
  --track: #e3ecec;
  --line: #d6e5e4;
  --blob-opacity: 0.55;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1a1b;
    --surface: #132425;
    --ink: #eaf7f5;
    --text: #cfe4e2;
    --muted: #8fadaa;
    --accent: #7ee3d0;
    --slate: #4f6168;
    --track: #1d3233;
    --line: #23393a;
    --blob-opacity: 0.18;
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Fredoka", ui-rounded, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0; font-weight: 600; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

/* Soft brand blobs behind the top of every page */
.blobs { position: absolute; inset: 0 0 auto 0; height: 760px; overflow: hidden; z-index: -1; pointer-events: none; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: var(--blob-opacity); }
.blobs span:nth-child(1) { width: 420px; height: 420px; background: var(--mint); left: -120px; top: -60px; }
.blobs span:nth-child(2) { width: 380px; height: 380px; background: var(--sky); right: -100px; top: 80px; }
.blobs span:nth-child(3) { width: 300px; height: 300px; background: var(--lavender); left: 35%; top: 340px; }
.page-blobs { height: 420px; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 14px rgb(60 140 150 / 0.25); }
.site-nav { display: flex; gap: 22px; font-size: 16px; font-weight: 500; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

/* Hero */
.hero { position: relative; padding: 48px 0 88px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 700; letter-spacing: -0.02em; }
.hero p.lede { font-size: 21px; color: var(--text); max-width: 30ch; margin: 22px 0 32px; }

.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: 17px; text-decoration: none;
}
.store svg { width: 20px; height: 20px; fill: currentColor; }
.store.soon { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }

/* The ring — the page's one moving moment */
.ring { width: min(380px, 80vw); aspect-ratio: 1; margin-inline: auto; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring .track { stroke: var(--track); }
.ring .fill { stroke: url(#brand); stroke-dasharray: 100; stroke-dashoffset: 12; animation: fill 2.4s cubic-bezier(.65,0,.35,1) .3s both; }
@keyframes fill { from { stroke-dashoffset: 100; } }
.ring .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .center strong { font-size: clamp(40px, 6vw, 58px); color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.ring .center span { color: var(--muted); font-size: 17px; margin-top: 8px; }

/* Hero phones: Today in front, Progress and Rhythm fanned behind */
.phones { position: relative; height: clamp(440px, 52vw, 600px); }
.phone {
  position: absolute; top: 50%; left: 50%;
  height: 100%; width: auto;
  filter: drop-shadow(0 28px 40px rgb(11 59 62 / 0.22)) drop-shadow(0 6px 12px rgb(11 59 62 / 0.12));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.phone.front { transform: translate(-50%, -50%); z-index: 2; }
.phone.back { height: 88%; opacity: .96; z-index: 1; }
.phone.left  { transform: translate(-108%, -50%) rotate(-7deg); }
.phone.right { transform: translate(8%, -50%) rotate(7deg); }
.phones:hover .phone.left  { transform: translate(-116%, -51%) rotate(-9deg); }
.phones:hover .phone.right { transform: translate(16%, -51%) rotate(9deg); }
@keyframes rise { from { opacity: 0; translate: 0 24px; } }
.phone { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.phone.back { animation-delay: .15s; }

/* ---------- Home page, editorial layout ---------- */
.pill {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--line); color: var(--accent);
  font-size: 14px; font-weight: 600; margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta-note { color: var(--muted); font-size: 15px; }

/* Floating glass chips */
.chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--surface) 60%, var(--line));
  box-shadow: 0 14px 34px rgb(11 59 62 / 0.14);
  line-height: 1.15; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip b { display: block; color: var(--ink); font-size: 17px; font-weight: 600; }
.chip small { display: block; color: var(--muted); font-size: 13px; }
.chip-ico, .eyebrow-ico, .tile-ico {
  display: grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(135deg, var(--mint), var(--sky) 55%, var(--lavender));
}
.chip-ico { width: 36px; height: 36px; border-radius: 12px; }
.chip-ico svg { width: 20px; height: 20px; }
@keyframes float { 50% { translate: 0 -8px; } }
.hero-chip { left: -2%; bottom: 3%; animation-delay: -2s; }

/* Stats strip */
.stats { padding: 8px 0 56px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 20px 50px rgb(11 59 62 / 0.06);
}
.stats-grid div { padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; }
.stats-grid div + div { border-left: 1px solid var(--line); }
.stats-grid strong {
  font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(120deg, #2aa889, #3ba7cf 55%, #7f79d9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-grid span { color: var(--muted); font-size: 16px; }

/* Showcases */
.show { position: relative; padding: 96px 0; overflow: hidden; }
.show-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.show.flip .show-copy { order: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow-ico { width: 30px; height: 30px; border-radius: 10px; }
.eyebrow-ico svg { width: 17px; height: 17px; }
.show h2 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 16px; }
.show p { font-size: 19px; max-width: 46ch; margin: 0 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; color: var(--ink); }
.ticks li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; translate: 0 3px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.show-stage { position: relative; height: clamp(460px, 48vw, 620px); }
.halo {
  position: absolute; inset: 6% 4%; border-radius: 48px;
  background: var(--halo); opacity: .9;
}
.halo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1.2px, transparent 1.3px);
  background-size: 18px 18px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
}
.tone-mint     { --halo: linear-gradient(150deg, #c8f3e3, #d9f4ee 60%, transparent); }
.tone-sky      { --halo: linear-gradient(150deg, #caeefb, #e0f1fa 60%, transparent); }
.tone-lavender { --halo: linear-gradient(150deg, #e5e2ff, #eceafc 60%, transparent); }
.tone-sun      { --halo: linear-gradient(150deg, #fbf0d9, #e7f5ee 60%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .halo { opacity: .14; }
}
.solo {
  position: absolute; left: 50%; top: 50%; height: 92%; width: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 30px 44px rgb(11 59 62 / 0.22)) drop-shadow(0 6px 12px rgb(11 59 62 / 0.1));
}
.solo.front-solo { transform: translate(-62%, -50%) rotate(-3deg); z-index: 2; }
.solo.back-solo { height: 82%; transform: translate(-12%, -48%) rotate(6deg); opacity: .97; z-index: 1; }
.c-tl { left: 2%; top: 16%; }
.c-tr { right: 2%; top: 16%; animation-delay: -1.5s; }
.c-bl { left: 2%; bottom: 14%; animation-delay: -3s; }
.c-br { right: 2%; bottom: 14%; animation-delay: -4s; }

/* Little things */
.little { padding: 88px 0; border-top: 1px solid var(--line); }
.little h2, .pricing h2 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 700; letter-spacing: -0.02em; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(11 59 62 / 0.08); }
.tile-ico { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px; }
.tile-ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 20px; margin-bottom: 6px; }
.tile p { margin: 0; font-size: 16px; color: var(--muted); }

/* Compare */
.compare { padding: 88px 0; border-top: 1px solid var(--line); }
.compare h2 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 700; letter-spacing: -0.02em; margin-top: 14px; }
.compare .intro { max-width: 58ch; margin: 14px 0 0; }
.compare-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-top: 36px; align-items: stretch; }
.bars, .ctable { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px; }
.bars-title { margin: 0 0 18px; font-weight: 600; color: var(--muted); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: 14px; margin-bottom: 16px; }
.bar-name { font-weight: 500; color: var(--ink); font-size: 16px; }
.bar { height: 16px; border-radius: 999px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--slate); transform-origin: left; }
.reveal.in .bar i { animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.bar-val { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar-row.ours .bar-name, .bar-row.ours .bar-val { color: var(--accent); font-weight: 700; }
.bar-row.ours .bar i { background: linear-gradient(90deg, var(--mint), var(--sky) 55%, var(--lavender)); }
.savings { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.savings strong {
  font-size: 54px; line-height: 1; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(120deg, #2aa889, #3ba7cf 55%, #7f79d9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.savings span { color: var(--muted); font-size: 18px; }
.ctable table { width: 100%; border-collapse: collapse; font-size: 16px; margin-bottom: 20px; }
.ctable th, .ctable td { padding: 12px 8px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ctable thead th { color: var(--muted); font-weight: 500; font-size: 14px; }
.ctable tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.ctable td { color: var(--text); }
.ctable tr.ours th, .ctable tr.ours td { color: var(--accent); font-weight: 700; border-bottom: 0; }
.ctable tr.ours { background: linear-gradient(90deg, color-mix(in srgb, var(--mint) 18%, transparent), color-mix(in srgb, var(--lavender) 14%, transparent)); }
.ctable tr.ours th { border-radius: 12px 0 0 12px; }
.ctable tr.ours td:last-child { border-radius: 0 12px 12px 0; }
.compare .fine { color: var(--muted); font-size: 13px; margin: 18px 4px 0; max-width: 80ch; }

/* Pricing */
.pricing { padding: 88px 0; border-top: 1px solid var(--line); }
.pricing .intro { max-width: 60ch; margin: 14px 0 0; }
.plans { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; margin-top: 36px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 30px 28px; }
.plan h3 { font-size: 20px; }
.plan .price { font-size: 44px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin: 12px 0 4px; line-height: 1; }
.plan .price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .sub { margin: 0; color: var(--muted); font-size: 16px; }
.plan.best {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(135deg, var(--mint), var(--sky) 55%, var(--lavender)) border-box;
  box-shadow: 0 24px 50px rgb(11 59 62 / 0.12);
}
.badge {
  position: absolute; top: -13px; left: 26px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #0b3b3e;
  background: linear-gradient(135deg, var(--mint), var(--sky) 55%, var(--lavender));
}

/* Closing */
.closing { padding: 40px 0 96px; }
.closing-card {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 36px; padding: 64px 24px;
  background: linear-gradient(135deg, #c8f3e3, #caeefb 55%, #e5e2ff);
  color: #0b3b3e;
}
.closing-card img { border-radius: 18px; box-shadow: 0 12px 30px rgb(11 59 62 / 0.2); }
.closing-card h2 { color: #0b3b3e; font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em; margin: 22px 0 10px; }
.closing-card p { max-width: 44ch; margin: 0 auto 26px; color: #1c4a4d; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; }
.closing-card .store.soon { background: #0b3b3e; color: #f5fcfb; border-color: transparent; }
.text-link { color: #0b3b3e; font-weight: 600; }

/* Scroll-in */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; translate: 0 0; }
.day .eyebrow { margin-bottom: 14px; }

/* Day timeline */
.day { padding: 72px 0; }
.day h2, .section h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.01em; }
.day p.intro { max-width: 56ch; margin: 14px 0 34px; }
.timeline { display: flex; height: 44px; border-radius: 14px; overflow: hidden; background: var(--track); }
.timeline i { display: block; height: 100%; }
.timeline .u { background: var(--mint); }
.timeline .p { background: var(--slate); }
.timeline-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 15px; font-weight: 500; margin-top: 10px; }
.key { display: flex; gap: 22px; margin-top: 18px; font-size: 16px; color: var(--muted); }
.key span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.key .ku::before { background: var(--mint); }
.key .kp::before { background: var(--slate); }
.key .kf::before { background: var(--track); border: 1px solid var(--line); }

/* Features */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 64px; margin-top: 40px; }
.features h3 { font-size: 22px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.features h3 .dot { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), var(--sky) 55%, var(--lavender)); flex: none; }
.features p { margin: 0; max-width: 44ch; }

/* Privacy band */
.privacy-band { padding: 80px 0; border-top: 1px solid var(--line); }
.privacy-band .narrow { text-align: center; }
.privacy-band p { font-size: 21px; margin: 16px auto 18px; max-width: 40ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* Text pages (support, privacy, terms) */
.page { position: relative; padding: 40px 0 80px; }
.page h1 { font-size: clamp(38px, 6vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
.page .meta { color: var(--muted); font-size: 16px; margin: 10px 0 40px; }
.page h2 { font-size: 24px; margin: 40px 0 8px; }
.page p, .page li { max-width: 68ch; }
.page ul { padding-left: 1.2em; }

.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; margin: 8px 0 48px; }
.contact h2 { margin-top: 0; }
.contact p { margin: 6px 0 0; }
.contact .email { font-size: 22px; font-weight: 600; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; }

@media (max-width: 980px) and (min-width: 761px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan.best { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { padding: 24px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phones { height: 460px; }
  .hero-chip { left: 0; bottom: 6%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid div + div { border-left: 0; border-top: 1px solid var(--line); }
  .show { padding: 64px 0; }
  .show-grid { grid-template-columns: 1fr; gap: 28px; }
  .show.flip .show-copy { order: 0; }
  .show-stage { height: 480px; }
  .chip { padding: 8px 12px 8px 8px; }
  .chip b { font-size: 15px; }
  .c-tl, .c-bl { left: 0; } .c-tr, .c-br { right: 0; }
  .tiles { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 24px; }
  .compare-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 112px 1fr 62px; gap: 10px; }
  .bar-name { font-size: 14px; }
  .bars, .ctable { padding: 22px 18px; }
  .phone.left  { transform: translate(-98%, -50%) rotate(-7deg); }
  .phone.right { transform: translate(-2%, -50%) rotate(7deg); }
  .hero p.lede { font-size: 19px; }
  .features { grid-template-columns: 1fr; gap: 32px; }
  .site-nav { gap: 16px; font-size: 15px; }
  .site-nav .hide-sm { display: none; }
  .timeline-scale .mid { display: none; }
  .key { flex-wrap: wrap; gap: 10px 18px; }
}

/* ---------- The flip: their number vs ours ---------- */
.flipcard { padding: 24px 0 88px; }
.flip-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.flip-side { border-radius: 28px; padding: 30px 30px 26px; border: 1px solid var(--line); background: var(--surface); }
.flip-side.old { background: color-mix(in srgb, var(--surface) 60%, var(--track)); }
.flip-side.old .flip-num { color: var(--muted); }
.flip-side.new {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(135deg, var(--mint), var(--sky) 55%, var(--lavender)) border-box;
  box-shadow: 0 24px 50px rgb(11 59 62 / 0.12);
}
.flip-label { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.flip-side.new .flip-label { color: var(--accent); }
.flip-num { margin: 10px 0 0; font-size: clamp(44px, 6vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.flip-side.new .flip-num {
  background: linear-gradient(120deg, #2aa889, #3ba7cf 55%, #7f79d9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flip-cap { margin: 6px 0 14px; font-weight: 500; color: var(--ink); }
.flip-note { margin: 0; color: var(--muted); font-size: 16px; }
.flip-arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--mint), var(--sky) 55%, var(--lavender)); box-shadow: 0 10px 24px rgb(11 59 62 / 0.18); }
.flip-arrow svg { width: 24px; height: 24px; }
.flipcard h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; letter-spacing: -0.02em; margin: 56px 0 0; text-align: center; }
.flipcard .intro { max-width: 58ch; margin: 16px auto 0; text-align: center; font-size: 19px; }

/* ---------- Pillars ---------- */
.pillars-sec { padding: 72px 0 24px; border-top: 1px solid var(--line); }
.pillars-sec h2 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 700; letter-spacing: -0.02em; margin-top: 14px; }
.pillars-sec .intro { max-width: 56ch; margin: 14px 0 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px 24px 22px; }
.pillar .tile-ico { width: 40px; height: 40px; border-radius: 13px; margin-bottom: 14px; }
.pillar .tile-ico svg { width: 22px; height: 22px; }
.pillar-kind { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pillar h3 { font-size: 21px; margin: 6px 0 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Why gentle ---------- */
.why { padding: 24px 0 72px; }
.why-card { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 44px; }
.why h2 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin-top: 14px; }
.why-copy p { margin: 0 0 14px; }
.why-copy .fine { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

@media (max-width: 980px) and (min-width: 761px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .flip-grid { grid-template-columns: 1fr; gap: 14px; }
  .flip-arrow { margin: 0 auto; transform: rotate(90deg); }
  .flipcard h2 { margin-top: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .why-card { grid-template-columns: 1fr; gap: 10px; padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .ring .fill { animation: none; }
  .phone { animation: none; transition: none; }
  .chip { animation: none; }
  .reveal.in .bar i { animation: none; }
  .reveal { opacity: 1; translate: none; transition: none; }
  details summary::after { transition: none; }
}

/* ---------- Why it works page (why.html) and the home teaser ---------- */
.sci-hero { position: relative; padding: 40px 0 40px; }
.sci-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; letter-spacing: -0.02em; margin-top: 18px; }
.sci-hero .lede { font-size: 21px; margin: 20px 0 0; max-width: 46ch; }
.sci-story { padding: 40px 0 56px; }
.sci-story h2, .sci-studies h2, .sci-map h2, .science h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin-top: 14px; }
.sci-story p { margin: 16px 0 0; max-width: 62ch; }
.sci-studies { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.studies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.study { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 26px 22px; }
.study-num { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .06em; color: #0b3b3e;
  padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--mint), var(--sky) 55%, var(--lavender)); }
.study h3 { font-size: 22px; margin: 14px 0 8px; }
.study p { margin: 0 0 10px; font-size: 16px; }
.study .in-app { color: var(--ink); background: color-mix(in srgb, var(--mint) 16%, transparent); border-radius: 12px; padding: 10px 12px; }
.study .in-app b { color: var(--accent); }
.study .cite, .sci-note { font-size: 13px; color: var(--muted); margin: 0; }
.sci-map { padding: 40px 0 72px; }
.sci-note { margin-top: 22px; max-width: 70ch; }
.science { padding: 24px 0 72px; }
.science .intro { max-width: 60ch; margin: 14px 0 0; }
.science .tiles { margin-top: 28px; }
.science .more { display: inline-block; margin-top: 26px; font-weight: 600; font-size: 18px; }
@media (max-width: 760px) {
  .studies { grid-template-columns: 1fr; }
  .sci-hero .lede { font-size: 19px; }
}

/* Header download button */
.site-nav { align-items: center; }
.nav-cta { padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--bg) !important; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav-cta:hover { opacity: .9; }

/* Today's rhythm stats under the sample bar */
.day-stats { display: flex; gap: 28px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.day-stats b { color: var(--ink); font-weight: 700; font-size: 20px; margin-right: 4px; }
@media (max-width: 760px) { .day-stats { gap: 18px; font-size: 15px; } }
