/* SYTO website styles
   Colours, fonts and shapes come from the SYTO website brief. */

:root {
  --navy: #1F2A44;
  --navy-2: #2B3858;
  --orange: #F08A24;
  --orange-soft: #F7B26B;
  --peach: #F6C9A8;
  --rose: #F2B8A6;
  --cream: #F7EEDF;
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --grey: #6B6B6B;
  --line: rgba(31, 42, 68, 0.10);
  --shadow: 0 10px 40px rgba(31, 42, 68, 0.08);
  --shadow-lg: 0 30px 80px rgba(31, 42, 68, 0.16);
  --radius: 28px;
  --radius-lg: 40px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--orange); color: var(--white); }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 92px); }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2.1vw, 22px); color: var(--grey); max-width: 34ch; }
.muted { color: var(--grey); }
.grad-text {
  background: linear-gradient(100deg, var(--orange) 0%, #E8634A 45%, var(--navy) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* polish word chip */
.polish {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-weight: 800; font-size: 15px; margin-bottom: 22px;
}
.polish .flower { width: 26px; height: 26px; }
.polish em { font-style: normal; color: var(--grey); font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-weight: 900; font-size: 17px; text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  overflow: hidden; isolation: isolate;
}
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 10px 30px rgba(31,42,68,.25); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(31,42,68,.32); }
.btn-orange { background: var(--orange); color: var(--navy); box-shadow: 0 10px 30px rgba(240,138,36,.35); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--navy); border: 1px solid var(--line); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(var(--max), 100% - 24px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(251, 248, 243, 0.72); border: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: var(--shadow); background: rgba(251, 248, 243, 0.9); }
.nav .brand img { height: 38px; width: auto; }
.nav .links { display: flex; align-items: center; gap: 8px; }
.nav .links a.text { text-decoration: none; font-weight: 800; padding: 10px 14px; border-radius: 999px; }
.nav .links a.text:hover { background: rgba(31,42,68,.06); }
.nav .btn { padding: 12px 20px; font-size: 15px; }

/* ---------- gradient blobs ---------- */
.blobs { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; will-change: transform; }
.blob.b1 { width: 560px; height: 560px; background: radial-gradient(circle at 30% 30%, #FFD3A3, var(--orange-soft) 60%, transparent 70%); top: -160px; right: -120px; animation: float1 18s ease-in-out infinite; }
.blob.b2 { width: 480px; height: 480px; background: radial-gradient(circle, var(--rose), transparent 70%); top: 260px; right: 280px; animation: float2 22s ease-in-out infinite; }
.blob.b3 { width: 520px; height: 520px; background: radial-gradient(circle, #FBE6C8, transparent 70%); top: 120px; left: -200px; animation: float3 20s ease-in-out infinite; }
.blob.b4 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(124, 150, 200, .45), transparent 70%); bottom: -120px; left: 35%; animation: float1 24s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px, 50px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px, -30px) scale(.92); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(50px, 40px); } }

/* subtle grain on top of gradients */
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.16 0 0 0 0 0.27 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 90px; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .small { margin-top: 18px; font-size: 15px; color: var(--grey); display: flex; align-items: center; gap: 8px; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(240,138,36,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,138,36,.55); } 70% { box-shadow: 0 0 0 12px rgba(240,138,36,0); } 100% { box-shadow: 0 0 0 0 rgba(240,138,36,0); } }

/* ---------- phone mockup ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.phone {
  position: relative; width: 320px; height: 650px; border-radius: 54px; padding: 12px;
  background: linear-gradient(145deg, #2B3858, #141c2f); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.phone:hover { transform: rotateY(0) rotateX(0); }
.screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: var(--paper);
  padding: 50px 18px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px;
}
.screen::before { /* notch */
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; border-radius: 20px; background: #10172a;
}
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-hello { font-weight: 900; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.app-hello small { display: block; font-size: 12px; font-weight: 700; color: var(--grey); letter-spacing: 0; }
.app-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.app-card { background: var(--white); border-radius: 22px; padding: 14px 16px; box-shadow: 0 4px 16px rgba(31,42,68,.06); }
.app-card.cream { background: var(--cream); }
.app-card .tag { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.app-card h4 { margin: 4px 0 6px; font-size: 17px; font-weight: 900; letter-spacing: -.01em; line-height: 1.2; }
.app-card p { font-size: 13px; color: var(--grey); line-height: 1.45; }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ring-card { text-align: center; padding: 14px 10px; }
.ring { width: 78px; height: 78px; margin: 0 auto 6px; }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--cream); }
.ring .fill { stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.ring-label { font-weight: 900; font-size: 15px; }
.ring-sub { font-size: 11px; color: var(--grey); font-weight: 700; }
.app-dose { display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: var(--white); border-radius: 22px; padding: 14px 16px; }
.app-dose b { display: block; font-size: 15px; }
.app-dose span { font-size: 12px; opacity: .75; }
.app-dose .pill { background: var(--orange); color: var(--navy); font-weight: 900; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.app-tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 6px 4px; border-top: 1px solid var(--line); }
.app-tabs span { width: 26px; height: 26px; border-radius: 9px; background: var(--cream); }
.app-tabs span.on { background: var(--navy); }

/* floating chips around the phone */
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 11px; border-radius: 999px; background: rgba(255,255,255,.85);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-weight: 800; font-size: 14px; white-space: nowrap; animation: bob 6s ease-in-out infinite;
}
.float-chip .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); }
.float-chip .ic.orange { background: var(--orange); }
.float-chip .ic.navy { background: var(--navy); }
.float-chip.c1 { top: 70px; left: -30px; }
.float-chip.c2 { top: 300px; right: -40px; animation-delay: -2s; }
.float-chip.c3 { bottom: 70px; left: -10px; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.5); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: scroll 38s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font-weight: 900; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.marquee-item .flower { width: 26px; height: 26px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: inline-block; font-weight: 900; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--grey); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  position: relative; padding: 34px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.benefit .num { font-weight: 900; font-size: 15px; color: var(--grey); }
.benefit .icon { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; margin: 26px 0 22px; }
.benefit:nth-child(1) .icon { background: linear-gradient(135deg, #FFE1BF, var(--orange-soft)); }
.benefit:nth-child(2) .icon { background: linear-gradient(135deg, #FCE4DA, var(--rose)); }
.benefit:nth-child(3) .icon { background: linear-gradient(135deg, #E3E8F4, #BFCBE6); }
.benefit h3 { margin-bottom: 10px; }
.benefit p { color: var(--grey); }

/* spotlight hover on cards */
.spot { --mx: 50%; --my: 50%; }
.spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(240,138,36,.12), transparent 45%);
}
.spot:hover::after { opacity: 1; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative; border-radius: var(--radius); padding: 30px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; min-height: 280px;
  display: flex; flex-direction: column;
}
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--grey); font-size: 16px; }
.tile .visual { margin-top: auto; padding-top: 22px; }
.t1 { grid-column: span 3; background: linear-gradient(160deg, #FFF4E6, #FFE0BF); }
.t2 { grid-column: span 3; }
.t3 { grid-column: span 2; }
.t4 { grid-column: span 2; background: var(--navy); color: var(--white); }
.t4 p { color: rgba(255,255,255,.72); }
.t5 { grid-column: span 2; }
.t6 { grid-column: span 6; min-height: 0; background: linear-gradient(120deg, var(--cream), #FFF 60%); }
.t6 .split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }

/* reminder chips in tile 1 */
.remind-list { display: grid; gap: 10px; }
.remind { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.85); border-radius: 18px; padding: 14px 16px; font-weight: 800; box-shadow: 0 4px 14px rgba(240,138,36,.12); }
.remind small { display: block; font-weight: 700; color: var(--grey); font-size: 13px; }
.toggle { width: 46px; height: 28px; border-radius: 999px; background: var(--orange); position: relative; flex-shrink: 0; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); }
.toggle.off { background: #E3DCD1; }
.toggle.off::after { right: auto; left: 3px; }

/* week guide card in tile 2 */
.week {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.week span { flex: 1; text-align: center; padding: 10px 0; border-radius: 14px; background: var(--cream); font-weight: 800; font-size: 13px; }
.week span.today { background: var(--navy); color: var(--white); }
.guide { background: var(--paper); border-radius: 20px; padding: 16px 18px; border: 1px dashed rgba(31,42,68,.18); }
.guide b { display: block; margin-bottom: 4px; }
.guide p { font-size: 14px; }

/* check-in chips tile 3 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; border-radius: 999px; background: var(--cream); font-weight: 800; font-size: 14px; cursor: pointer; transition: background .2s, color .2s, transform .2s; user-select: none; border: 0; font-family: inherit; color: var(--navy); }
.chip:hover { transform: translateY(-2px); }
.chip.on { background: var(--orange); color: var(--navy); }

/* heatmap tile 4 */
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.heat i { aspect-ratio: 1; border-radius: 8px; background: rgba(255,255,255,.1); }
.heat i.l1 { background: rgba(240,138,36,.35); }
.heat i.l2 { background: rgba(240,138,36,.65); }
.heat i.l3 { background: var(--orange); }

/* protein bars tile 5 */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars i { flex: 1; border-radius: 10px 10px 6px 6px; background: var(--cream); position: relative; overflow: hidden; height: 100%; }
.bars i b { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(180deg, var(--orange-soft), var(--orange)); border-radius: 10px 10px 6px 6px; height: 0; transition: height 1.2s cubic-bezier(.2,.8,.2,1); }
.bars-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; color: var(--grey); margin-top: 8px; }

/* prescriber doc tile 6 */
.doc { background: var(--white); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); transform: rotate(-2deg); max-width: 420px; margin-left: auto; }
.doc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.doc-head b { font-size: 16px; }
.doc-head span { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--cream); }
.doc-line { height: 10px; border-radius: 6px; background: #EEE7DC; margin-bottom: 9px; }
.doc-line.w60 { width: 60%; } .doc-line.w80 { width: 80%; } .doc-line.w40 { width: 40%; }
.doc-spark { height: 60px; margin: 14px 0; }

/* privacy band */
.privacy-band { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 70px 60px; position: relative; overflow: hidden; isolation: isolate; }
.privacy-band .blob { opacity: .2; }
.privacy-band h2 { margin-bottom: 40px; }
.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.priv { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.priv .ic { width: 48px; height: 48px; border-radius: 16px; background: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.priv b { display: block; font-size: 19px; line-height: 1.3; }

/* why */
.why-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.why-card { border-radius: var(--radius); padding: 44px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.why-card blockquote { margin: 0; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.5; font-weight: 700; letter-spacing: -.01em; }
.why-card .sig { margin-top: 26px; display: flex; align-items: center; gap: 14px; font-weight: 900; }
.why-card .sig small { display: block; color: var(--grey); font-weight: 700; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--orange-soft), var(--rose)); display: grid; place-items: center; font-weight: 900; font-size: 20px; color: var(--navy); }
.name-card { background: linear-gradient(160deg, var(--cream), #FFE2C6); }
.name-card .word { font-size: clamp(64px, 9vw, 110px); font-weight: 900; letter-spacing: -.05em; line-height: .9; }
.name-card .say { display: inline-block; margin: 14px 0 20px; font-weight: 800; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.7); }
.name-card p { font-size: 17px; }
.name-card .big-flower { position: absolute; right: -50px; bottom: -50px; width: 220px; height: 220px; opacity: .55; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* closing cta */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  border-radius: var(--radius-lg); padding: 100px 30px;
  background: linear-gradient(120deg, #FFD9B0 0%, var(--orange-soft) 35%, var(--rose) 70%, #F5D7E0 100%);
  background-size: 200% 200%; animation: shift 14s ease infinite;
}
@keyframes shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta h2 { max-width: 16ch; margin: 0 auto 18px; }
.cta p { color: rgba(31,42,68,.75); font-size: 19px; margin-bottom: 34px; }

/* footer */
.footer { background: var(--navy); color: rgba(255,255,255,.75); margin-top: 120px; padding: 70px 0 40px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand img { height: 46px; width: auto; }
.footer-links { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--white); font-weight: 800; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.07); transition: background .2s; }
.footer-links a:hover { background: rgba(255,255,255,.15); }
.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer .safety { max-width: 60ch; }

/* ---------- plans page ---------- */
.page-hero { position: relative; padding: 160px 0 60px; text-align: center; isolation: isolate; }
.page-hero .lead { margin: 20px auto 0; max-width: 40ch; }
.billing { display: inline-flex; margin: 34px auto 0; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.billing button { position: relative; z-index: 1; border: 0; background: transparent; font: inherit; font-weight: 900; font-size: 15px; padding: 12px 22px; border-radius: 999px; cursor: pointer; color: var(--navy); transition: color .25s; }
.billing button.on { color: var(--white); }
.billing .slider { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--navy); transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s; }
.billing .save { display: inline-block; margin-left: 6px; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--orange); color: var(--navy); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; padding-bottom: 40px; }
.plan { position: relative; border-radius: var(--radius); padding: 34px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.plan .badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 900; padding: 6px 12px; border-radius: 999px; background: var(--cream); }
.plan h3 { font-size: 26px; }
.plan .tagline { color: var(--grey); margin: 6px 0 22px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price .amount { font-size: 54px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.price .per { color: var(--grey); font-weight: 800; }
.price-note { font-size: 14px; color: var(--grey); min-height: 22px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.plan li svg { flex-shrink: 0; margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured { background: var(--navy); color: var(--white); border: 0; box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.plan.featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--orange), var(--rose), var(--orange-soft)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan.featured .tagline, .plan.featured .price .per, .plan.featured .price-note { color: rgba(255,255,255,.7); }
.plan.featured .badge { background: var(--orange); color: var(--navy); }
.plan.founding { background: linear-gradient(165deg, #FFF3E3, #FFE0C0); }
.plans-foot { text-align: center; color: var(--grey); font-weight: 700; padding: 10px 0 0; }
.plans-foot b { color: var(--navy); }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-radius: 22px; background: var(--white); border: 1px solid var(--line); margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 900; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s, background .3s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--orange); }
.faq details p { padding: 0 26px 24px; color: var(--grey); }

/* ---------- early access ---------- */
.form-card { max-width: 620px; margin: 40px auto 0; border-radius: var(--radius-lg); padding: 40px; background: rgba(255,255,255,.85); border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-align: left; }
.chosen { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--cream); font-weight: 900; margin-bottom: 22px; }
.chosen a { font-weight: 800; font-size: 14px; color: var(--grey); }
.form-placeholder { border: 2px dashed rgba(31,42,68,.18); border-radius: 22px; padding: 26px; text-align: center; color: var(--grey); }
.tally-frame { width: 100%; border: 0; min-height: 320px; }
.peek { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: 22px; background: var(--navy); color: var(--white); }

/* ---------- simple pages ---------- */
.prose { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); padding: 50px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.prose h2 { font-size: 22px; letter-spacing: -.01em; margin: 30px 0 8px; }
.prose p, .prose li { color: #3a4560; }
.prose ul { padding-left: 20px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* logo wobble */
.brand:hover .bowl-line { animation: wobble .8s ease; }
@keyframes wobble { 0%,100% { transform: translateY(0); } 30% { transform: translateY(-2px); } 60% { transform: translateY(1px); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; text-align: left; }
  .phone-wrap { margin-top: 30px; }
  .benefits, .priv-grid, .plans { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t1, .t2, .t6 { grid-column: span 2; }
  .t3, .t4, .t5 { grid-column: span 1; }
  .t6 .split, .why-grid { grid-template-columns: 1fr; }
  .doc { margin: 0 auto; }
  .privacy-band { padding: 50px 26px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .links a.text { display: none; }
  .nav .brand img { height: 32px; }
  .section { padding: 80px 0; }
  .bento { grid-template-columns: 1fr; }
  .t1, .t2, .t3, .t4, .t5, .t6 { grid-column: span 1; }
  .phone { width: 280px; height: 580px; transform: none; }
  .float-chip { font-size: 12px; }
  .float-chip.c1 { left: -6px; top: 40px; }
  .float-chip.c2 { right: -6px; }
  .float-chip.c3 { left: 0; }
  .why-card, .prose, .form-card { padding: 28px; }
  .cta { padding: 70px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- extras: inline logo, fun touches ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand svg.logo { height: 38px; width: auto; overflow: visible; }
.footer .brand svg.logo { height: 46px; }
.bowl-line { transform-box: fill-box; transform-origin: center; }
@media (max-width: 640px) { .nav .brand svg.logo { height: 32px; } }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--orange), var(--rose), var(--navy)); }

/* log button in the phone */
.app-dose .pill { border: 0; cursor: pointer; font-family: inherit; transition: transform .2s, background .3s; }
.app-dose .pill.done { background: #FFFFFF; animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.confetti { position: fixed; pointer-events: none; z-index: 80; width: 9px; height: 9px; border-radius: 50%; }

/* hero h1 underline swoosh */
.swoosh { position: relative; display: inline-block; }
.swoosh svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 18px; overflow: visible; }
.swoosh path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s .6s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* weight tile */
.kind-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.kind-num { white-space: nowrap; font-size: 34px; font-weight: 900; letter-spacing: -.04em; line-height: 1; transition: filter .4s; }
.kind-num small { font-size: 15px; color: var(--grey); letter-spacing: 0; font-weight: 800; }
.kind-num.hide { filter: blur(12px); }
.mini-toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--cream); color: var(--navy); font: inherit; font-weight: 800; font-size: 13px; padding: 6px 8px 6px 12px; border-radius: 999px; cursor: pointer; }
.mini-toggle .toggle { width: 38px; height: 22px; }
.mini-toggle .toggle::after { width: 16px; height: 16px; }
.trend path.line { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2s cubic-bezier(.2,.8,.2,1); }
.in .trend path.line, .trend.in path.line { stroke-dashoffset: 0; }
button.toggle-btn { border: 0; padding: 0; cursor: pointer; }

/* check-in tile on navy */
.t4 .chip { background: rgba(255,255,255,.1); color: var(--white); }
.t4 .chip.on { background: var(--orange); color: var(--navy); }
.t4 .heat { margin-top: 16px; }
.heat-label { font-size: 12px; font-weight: 800; color: rgba(255,255,255,.6); margin-top: 8px; display: flex; justify-content: space-between; }

/* tick list */
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F2A44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* name card eyebrow */
.why-card .eyebrow { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.name-card .word { color: var(--navy); }

/* phone tilt follows the mouse */
.phone.tilt { transition: transform .15s linear; }

/* thanks page */
.big-tick { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 26px; background: linear-gradient(135deg, var(--orange-soft), var(--orange)); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(240,138,36,.35); animation: pop .7s cubic-bezier(.2,1.6,.4,1); }
.socials { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* 404 */
.lost { font-size: clamp(120px, 22vw, 240px); font-weight: 900; letter-spacing: -.06em; line-height: .9; }
.lost .o { display: inline-block; width: .72em; height: .72em; vertical-align: -.02em; animation: spin 18s linear infinite; }

/* form error / helper text */
.form-note { font-size: 14px; color: var(--grey); margin-top: 16px; }
.form-note a { font-weight: 800; }

/* mobile polish */
.name-card > *:not(.big-flower) { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .float-chip.c2, .float-chip.c3 { display: none; }
  .float-chip.c1 { top: -18px; left: 50%; transform: translateX(-50%); animation: none; }
  .name-card .big-flower { width: 150px; height: 150px; right: -40px; bottom: -40px; opacity: .25; }
  .hero .actions .btn { flex: 1 1 auto; }
}

/* plans polish */
.plan .badge { position: static; align-self: flex-start; margin-bottom: 16px; }
.plan.featured .price .amount { color: var(--white); }
.plan.featured.reveal.in { transform: translateY(-12px); }
.plan .btn { padding: 17px 20px; font-size: 16px; }
@media (max-width: 980px) { .plan.featured.reveal.in { transform: none; } }

[hidden] { display: none !important; }

/* =========================================================
   v2: fluid look. Liquid shapes, soft glows, waves.
   ========================================================= */
.orb { display: inline-block; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #FFE3C4 0%, var(--orange-soft) 35%, var(--orange) 70%, #E8634A 100%);
  box-shadow: 0 4px 12px rgba(240,138,36,.35), inset -2px -3px 6px rgba(31,42,68,.12); }
.app-avatar .orb { width: 26px; height: 26px; animation: breathe 5s ease-in-out infinite; }
.marquee-item .orb { width: 18px; height: 18px; }
.polish { padding: 9px 18px 9px 12px; background: rgba(255,255,255,.55); }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* liquid morphing shapes */
.liquid { position: absolute; pointer-events: none; z-index: -1;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  animation: morph 14s ease-in-out infinite, drift 22s ease-in-out infinite; will-change: border-radius, transform; }
@keyframes morph {
  0%,100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  25% { border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%; }
  50% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 37% 63% 37%; }
}
@keyframes drift { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(14px,-18px) rotate(14deg); } }
.phone-wrap { isolation: isolate; }
.liquid.l1 { width: 440px; height: 440px; top: 50%; left: 50%; margin: -220px 0 0 -220px;
  background: linear-gradient(135deg, #FFD2A1 0%, var(--orange) 45%, var(--rose) 100%); opacity: .9;
  box-shadow: inset -30px -40px 80px rgba(232,99,74,.35), inset 30px 30px 60px rgba(255,255,255,.45); }
.liquid.l2 { width: 170px; height: 170px; right: 4%; bottom: 6%;
  background: linear-gradient(160deg, rgba(255,255,255,.75), rgba(255,255,255,.15));
  border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation-duration: 10s, 16s; animation-direction: reverse, normal; z-index: 1; }
.name-card .liquid.name-liquid { width: 240px; height: 240px; right: -60px; bottom: -70px; z-index: 0; opacity: .8;
  background: linear-gradient(135deg, var(--orange-soft), var(--orange) 60%, var(--rose)); }
.cta .liquid { z-index: -1; opacity: .55; }
.cta .liquid.c1 { width: 380px; height: 380px; left: -90px; top: -140px; background: linear-gradient(135deg, #FFF1DF, #FFD3A3); }
.cta .liquid.c2 { width: 320px; height: 320px; right: -80px; bottom: -150px; background: linear-gradient(135deg, var(--rose), #F9DCE4); animation-duration: 18s, 26s; }

/* blurred blobs morph too, so the background flows */
.blob { animation-name: float1, morph; animation-duration: 18s, 16s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.blob.b2 { animation-name: float2, morph; animation-duration: 22s, 19s; }
.blob.b3 { animation-name: float3, morph; animation-duration: 20s, 13s; }

/* soft light that follows the mouse in the hero */
.hero { overflow: hidden; }
.hero-glow { position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; pointer-events: none;
  left: var(--gx, 70%); top: var(--gy, 40%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240,138,36,.22), rgba(242,184,166,.12) 40%, transparent 70%);
  transition: left .9s cubic-bezier(.2,.8,.2,1), top .9s cubic-bezier(.2,.8,.2,1); }

/* fluid reveal: rise out of a soft blur */
.reveal { filter: blur(10px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1), filter 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { filter: none; }

/* softer, rounder, glassier cards */
:root { --radius: 34px; --radius-lg: 48px; }
.benefit, .tile, .why-card, .plan, .faq details { transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.benefit:hover, .tile:hover, .why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.benefit .icon { border-radius: 42% 58% 60% 40% / 50% 45% 55% 50%; animation: morph 12s ease-in-out infinite; }
.priv .ic { border-radius: 42% 58% 60% 40% / 50% 45% 55% 50%; animation: morph 12s ease-in-out infinite; }

/* gradient headline flows slowly */
.grad-text { background-size: 200% auto; animation: flow 8s ease-in-out infinite; }
@keyframes flow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* wave into the footer */
.wave { display: block; width: 100%; height: 90px; margin-top: 120px; fill: var(--navy); }
.footer { margin-top: -1px; border-radius: 0; }

/* 404 orb */
.lost .o { border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FFE3C4, var(--orange) 60%, #E8634A); animation: morph 10s ease-in-out infinite; }

@media (max-width: 640px) {
  .liquid.l1 { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .liquid.l2 { width: 110px; height: 110px; }
  .wave { height: 50px; margin-top: 80px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { filter: none; } }
.liquid.l2 { z-index: -1; right: auto; bottom: auto; left: 2%; top: 4%; width: 150px; height: 150px;
  background: linear-gradient(160deg, #2B3858, var(--navy)); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: .9; }
.liquid.l1 { filter: blur(1px); }
.liquid.l1::after { content: ""; position: absolute; inset: -30px; border-radius: inherit; background: inherit; filter: blur(50px); opacity: .6; z-index: -1; }
.name-card .liquid.name-liquid { opacity: .45; filter: blur(2px); }
@media (max-width: 640px) { .liquid.l2 { width: 90px; height: 90px; left: 0; top: 0; } }
.name-card .liquid.name-liquid { width: 300px; height: 300px; right: -110px; bottom: -120px; }

/* early access: form visible straight away, no inner scroll bar */
.tally-frame { display: block; width: 100%; height: 400px; min-height: 0; border: 0; overflow: hidden; }
.page-hero.compact { padding-top: 120px; }
.page-hero.compact h1 { font-size: clamp(34px, 5vw, 60px) !important; }
.page-hero.compact .lead { margin-top: 14px; }
.page-hero.compact .form-card { margin-top: 26px; padding: 30px; }
@media (max-width: 640px) { .page-hero.compact { padding-top: 100px; } .page-hero.compact .form-card { padding: 22px; } }
@media (max-width: 640px) { .chosen { font-size: 14px; padding: 8px 14px; gap: 6px; flex-wrap: wrap; } .page-hero.compact .lead { font-size: 17px; } }

/* =========================================================
   v3: interactive phone and tiles
   ========================================================= */
.phone { cursor: default; }
.screen { padding-bottom: 0; }
.app-view { display: none; flex-direction: column; gap: 12px; flex: 1; min-height: 0; animation: viewIn .45s cubic-bezier(.2,.8,.2,1); }
.app-view.on { display: flex; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
button.app-card { border: 0; font: inherit; color: inherit; cursor: pointer; }
.ring-card.tap { transition: transform .2s; }
.ring-card.tap:hover { transform: translateY(-2px); }
.ring-card.tap:active { transform: scale(.95); }
.ring-sub { white-space: nowrap; }
.app-tabs { padding: 10px 6px 14px; }
.app-tabs button { width: 46px; height: 36px; border-radius: 14px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.app-tabs svg { width: 22px; height: 22px; fill: none; stroke: #9AA0AE; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.app-tabs button.on { background: var(--navy); }
.app-tabs button.on svg { stroke: var(--white); }
.app-sub { font-weight: 900; font-size: 13px; color: var(--grey); margin-top: 4px; }
.moods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.mood { border: 0; background: var(--white); border-radius: 18px; padding: 12px 4px 10px; font: inherit; font-size: 12px; font-weight: 800; color: var(--navy); cursor: pointer; display: grid; justify-items: center; gap: 6px; box-shadow: 0 4px 14px rgba(31,42,68,.06); transition: transform .25s, background .25s; }
.mood i { width: 30px; height: 30px; border-radius: 50%; display: block; transition: transform .35s cubic-bezier(.2,1.6,.4,1); }
.mood .m1 { background: linear-gradient(135deg, #D9DEEA, #AFB8CE); }
.mood .m2 { background: linear-gradient(135deg, #FBE6C8, #F6C9A8); }
.mood .m3 { background: linear-gradient(135deg, #FFD3A3, #F7B26B); }
.mood .m4 { background: linear-gradient(135deg, #F7B26B, #F08A24); }
.mood.on { background: var(--navy); color: var(--white); transform: translateY(-3px); }
.mood.on i { transform: scale(1.18); }
.chips.small { gap: 6px; }
.chips.small .chip { font-size: 12px; padding: 7px 11px; background: var(--white); }
.chips.small .chip.on { background: var(--orange); }
.app-save { margin-top: auto; border: 0; border-radius: 999px; padding: 14px; background: var(--navy); color: var(--white); font: inherit; font-weight: 900; cursor: pointer; transition: transform .2s, background .3s; }
.app-save:active { transform: scale(.97); }
.app-save.done { background: var(--orange); color: var(--navy); }
.big-word { font-size: 30px; font-weight: 900; letter-spacing: -.03em; transition: filter .4s; }
.big-word.hide { filter: blur(10px); }
.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 8px; }
.mini-cal i { aspect-ratio: 1; border-radius: 6px; background: var(--cream); }
.mini-cal i.on { background: var(--orange); }
.mini-cal i:nth-child(3n).on { background: var(--orange-soft); }
.screen .mini-toggle { font-size: 12px; }
.app-toast { position: absolute; left: 14px; right: 14px; bottom: 74px; z-index: 5; padding: 12px 14px; border-radius: 18px; background: var(--navy); color: var(--white); font-weight: 800; font-size: 13px; text-align: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none; transition: opacity .35s, transform .45s cubic-bezier(.2,1.4,.4,1); }
.app-toast.show { opacity: 1; transform: none; }
.try-hint { position: absolute; bottom: -46px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 800; font-size: 14px; color: var(--grey); }
.tap-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s infinite; }
.phone-wrap { margin-bottom: 40px; }

/* tiles */
.tile { padding-top: 34px; }
.try { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 900; padding: 5px 11px; border-radius: 999px; background: rgba(240,138,36,.14); color: #C4610C; letter-spacing: .02em; }
.t4 .try { background: rgba(255,255,255,.12); color: var(--orange-soft); }
.tile-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; border: 0; border-radius: 999px; padding: 12px 18px; background: var(--navy); color: var(--white); font: inherit; font-weight: 900; font-size: 14px; cursor: pointer; transition: transform .2s, background .3s; }
.tile-btn:hover { transform: translateY(-2px); }
.tile-btn:active { transform: scale(.97); }
.tile-btn .arrow { width: 16px; height: 16px; }
.tile-btn.light { margin: 0; padding: 7px 14px; font-size: 12px; background: var(--orange); color: var(--navy); }
.tile-btn.done { background: var(--orange); color: var(--navy); }
.week button { flex: 1; text-align: center; padding: 10px 0; border-radius: 14px; background: var(--cream); font: inherit; font-weight: 800; font-size: 13px; border: 0; color: var(--navy); cursor: pointer; transition: background .25s, color .25s, transform .2s; }
.week button:hover { transform: translateY(-2px); }
.week button.today { background: var(--navy); color: var(--white); }
.week { gap: 6px; }
.guide p[data-guide-text] { transition: opacity .25s; }
.guide .guide-foot { margin-top: 8px; font-size: 12px; font-weight: 700; color: #9a8f80; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--cream); margin: 4px 0 6px; }
.seg button { border: 0; background: transparent; font: inherit; font-weight: 900; font-size: 12px; padding: 6px 12px; border-radius: 999px; color: var(--navy); cursor: pointer; transition: background .25s, color .25s; }
.seg button.on { background: var(--navy); color: var(--white); }
.trend path { transition: d .8s cubic-bezier(.2,.8,.2,1); }
.heat i { transition: background .3s, transform .4s cubic-bezier(.2,1.6,.4,1); }
.heat i.pop { transform: scale(1.3); }
.today-line { font-weight: 800; color: var(--grey); font-size: 14px; margin-bottom: 10px; }
.today-line b { color: var(--navy); font-size: 22px; }
.bars i:last-child { box-shadow: 0 0 0 2px var(--orange) inset; }
.t5 .tile-btn { width: 100%; }
button.doc { display: block; width: 100%; text-align: left; border: 0; font: inherit; color: inherit; cursor: pointer; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
button.doc:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); }
.doc-head, .doc-line { display: flex; }
.doc-line { display: block; }
.doc-open { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 900; color: var(--orange); }

/* pretend phone notification */
.notif { position: fixed; top: 16px; left: 50%; z-index: 90; width: min(380px, calc(100% - 24px)); display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 24px; background: rgba(255,255,255,.88); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform: translate(-50%, -140%); transition: transform .6s cubic-bezier(.2,1.3,.4,1); }
.notif.show { transform: translate(-50%, 0); }
.notif-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; flex-shrink: 0; }
.notif b { display: block; font-size: 13px; }
.notif span[data-notif-text] { font-size: 15px; font-weight: 700; }

/* bottom sheet */
.sheet-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(31,42,68,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.sheet-backdrop.show { opacity: 1; }
.sheet { position: fixed; z-index: 96; left: 50%; bottom: 0; width: min(640px, 100%); max-height: 88vh; overflow: auto; padding: 14px 30px 34px; border-radius: 34px 34px 0 0; background: var(--paper); box-shadow: 0 -20px 60px rgba(31,42,68,.25); transform: translate(-50%, 100%); transition: transform .55s cubic-bezier(.2,1,.3,1); }
.sheet.show { transform: translate(-50%, 0); }
.sheet-grab { width: 48px; height: 5px; border-radius: 999px; background: #D8D0C3; margin: 0 auto 18px; }
.sheet-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.sheet-head h3 { font-size: 24px; }
.eyebrow-sm { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.sheet-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); font-size: 24px; line-height: 1; cursor: pointer; color: var(--navy); flex-shrink: 0; }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sheet-card { background: var(--white); border-radius: 20px; padding: 14px; box-shadow: 0 4px 14px rgba(31,42,68,.05); }
.sheet-card span { display: block; font-size: 12px; font-weight: 800; color: var(--grey); }
.sheet-card b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.02em; margin: 2px 0; }
.sheet-card small { font-size: 12px; color: var(--grey); }
.sheet h4 { margin: 22px 0 10px; font-size: 16px; font-weight: 900; }
.sheet-bars { display: grid; gap: 10px; }
.sheet-bars div { display: grid; grid-template-columns: 70px 1fr; gap: 4px 12px; align-items: center; font-size: 14px; font-weight: 800; }
.sheet-bars i { height: 10px; border-radius: 999px; background: var(--cream); position: relative; overflow: hidden; }
.sheet-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--orange-soft), var(--orange)); transition: width 1s .2s cubic-bezier(.2,.8,.2,1); }
.sheet.show .sheet-bars i::after { width: var(--w); }
.sheet-bars em { grid-column: 2; font-style: normal; font-size: 12px; font-weight: 700; color: var(--grey); }
.sheet .ticks { margin-top: 0; }
.sheet-foot { margin-top: 20px; font-size: 12px; color: var(--grey); }
@media (max-width: 640px) {
  .sheet { padding: 12px 20px 28px; }
  .sheet-grid { grid-template-columns: 1fr 1fr; }
  .try-hint { font-size: 13px; }
}
.float-chip { pointer-events: none; }
.float-chip.c3 { display: none; }
.float-chip.c1 { top: 30px; left: -80px; }
.float-chip.c2 { right: -80px; top: 250px; }
.app-toast { top: 48px; bottom: auto; transform: translateY(-14px) scale(.96); }
@media (max-width: 980px) { .float-chip.c1 { left: -10px; } .float-chip.c2 { right: -10px; } }
@media (max-width: 640px) { .float-chip { display: none !important; } }

/* =========================================================
   v4: QA fixes and polish
   ========================================================= */
:root { --orange-ink: #A84F00; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* readable orange for small text on light backgrounds */
.section-head .eyebrow, .why-card .eyebrow, .eyebrow-sm, .app-card .tag, .doc-open { color: var(--orange-ink); }
.try { color: var(--orange-ink); background: rgba(240,138,36,.16); }
.t4 .try { color: var(--orange-soft); background: rgba(255,255,255,.12); }

/* headlines break evenly, no lonely last words */
h1, h2, h3, .lead, .cta p { text-wrap: balance; }
.app-card .h4 { margin: 4px 0 6px; font-size: 17px; font-weight: 900; letter-spacing: -.01em; line-height: 1.2; color: var(--navy); }

/* nav: Plans link on phones too, shorter button label */
.nav .btn .short { display: none; }
@media (max-width: 640px) {
  .nav .links a.text { display: inline-block; padding: 10px 10px; font-size: 15px; }
  .nav { padding-left: 14px; }
}
@media (max-width: 400px) {
  .nav .btn .long { display: none; }
  .nav .btn .short { display: inline; }
}

/* hero pill never wraps awkwardly */
.polish { white-space: nowrap; max-width: 100%; }

/* tile title row: badge sits beside the title, never on top of it */
.tile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tile-head h3 { margin: 0; }
.tile .try { position: static; flex-shrink: 0; margin-top: 2px; }
.tile { padding-top: 30px; }
.tile .visual { margin-top: 0; padding-top: 22px; }

/* week picker: comfy taps, two rows on small screens */
.week { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.week button { min-height: 44px; padding: 0; }
@media (max-width: 480px) { .week { grid-template-columns: repeat(4, 1fr); } }

/* weight tile: wraps instead of spilling */
.kind-top { flex-wrap: wrap; row-gap: 10px; }

/* bigger tap targets */
.toggle-btn { position: relative; }
.toggle-btn::before { content: ""; position: absolute; inset: -9px -6px; }
.seg button { min-height: 36px; padding: 8px 14px; }
.mini-toggle { min-height: 38px; }
.tile-btn { min-height: 46px; }
.tile-btn.light { min-height: 40px; padding: 9px 16px; }
.app-tabs button { width: 56px; height: 44px; }
.app-dose .pill { min-height: 38px; padding: 9px 16px; }
.nav .brand { min-height: 44px; }

/* floating labels only where there is room */
@media (max-width: 1240px) { .float-chip { display: none !important; } }

/* why cards: content centred, no dead space */
.why-card { display: flex; flex-direction: column; justify-content: center; }
.name-card { justify-content: flex-start; }

/* tablet: use the width */
@media (min-width: 700px) and (max-width: 980px) {
  .benefits, .priv-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit { padding: 26px; }
  .why-grid { grid-template-columns: 1.15fr .85fr; }
  .hero { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .actions, .hero .small { justify-content: center; }
  .plans { max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* plans: Plus first on phones and tablets */
@media (max-width: 980px) {
  .plan.featured { order: -1; }
  .plans { gap: 16px; }
}

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; font-weight: 900; font-size: 19px; color: var(--navy);
  background: linear-gradient(135deg, #FFE1BF, var(--orange-soft)); border-radius: 42% 58% 60% 40% / 50% 45% 55% 50%; animation: morph 12s ease-in-out infinite; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--grey); }
@media (max-width: 699px) { .steps { grid-template-columns: 1fr; } }

/* SYTO sign-up form */
.ea-form { display: grid; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-label { font-weight: 900; font-size: 16px; }
.field { width: 100%; font: inherit; font-size: 17px; color: var(--navy); padding: 16px 20px; border-radius: 18px; border: 1.5px solid rgba(31,42,68,.16); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: #A3A6AE; }
.field:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,138,36,.18); }
.field[aria-invalid="true"] { border-color: #C0392B; }
.field-error { margin: -2px 0 2px; font-size: 14px; font-weight: 800; color: #B03A2E; }
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; cursor: pointer; font-weight: 700; line-height: 1.45; }
.consent input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; cursor: pointer; }
.consent .box { flex-shrink: 0; width: 26px; height: 26px; border-radius: 9px; border: 1.5px solid rgba(31,42,68,.25); background: var(--white); display: grid; place-items: center; transition: background .2s, border-color .2s, transform .25s cubic-bezier(.2,1.6,.4,1); }
.consent .box::after { content: ""; width: 12px; height: 7px; border: 3px solid var(--navy); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s cubic-bezier(.2,1.6,.4,1); }
.consent input:checked + .box { background: var(--orange); border-color: var(--orange); transform: scale(1.06); }
.consent input:checked + .box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent input:focus-visible + .box { outline: 3px solid var(--orange); outline-offset: 3px; }
.ea-submit { margin-top: 12px; width: 100%; padding: 18px 26px; }
.ea-submit.sending { opacity: .8; pointer-events: none; }
.chosen { margin-bottom: 18px; }
.form-note { margin-top: 16px; }

/* phone-only join bar */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: flex; position: fixed; z-index: 70; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(251,248,243,.92); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-weight: 900; font-size: 14px; line-height: 1.25;
    transform: translateY(150%); transition: transform .5s cubic-bezier(.2,1.2,.3,1); }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { padding: 12px 18px; font-size: 15px; flex-shrink: 0; }
}

/* lighter effects on phones so scrolling stays smooth */
@media (max-width: 640px) {
  .blob { filter: blur(50px); animation: none; }
  .blob.b3, .blob.b4 { display: none; }
  .hero-glow { display: none; }
  .liquid { animation-duration: 20s, 30s; }
  .reveal { filter: none; }
  .priv, .polish, .float-chip { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* plans page: tidy price note */
.price-note { min-height: 0; }
.name-card > .liquid { position: absolute; z-index: 0; }
.name-card .say, .why-card .eyebrow { align-self: flex-start; }
.doc-head span { white-space: nowrap; }
.hero .small { align-items: flex-start; }
.hero .small .dot-live { margin-top: 7px; flex-shrink: 0; }
.phone { text-align: left; }
@media (min-width: 641px) and (max-width: 980px) {
  .t5 { grid-column: span 2; }
  .liquid.l2 { left: calc(50% - 240px); top: 2%; }
}
@media (max-width: 420px) { .plan .btn { font-size: 15px; padding: 16px 18px; white-space: nowrap; } }

/* v5: Claire feedback */
.app-hello small { font-size: 11px; }
.ring-sub { white-space: normal; line-height: 1.25; }
.ring-tap { margin-top: 4px; display: inline-block; font-size: 10px; font-weight: 900; color: var(--orange-ink); background: rgba(240,138,36,.14); padding: 2px 8px; border-radius: 999px; }
.today-line small { display: block; font-size: 12px; font-weight: 700; color: var(--grey); margin-top: 2px; }
.week-hint { font-size: 12px; font-weight: 800; color: var(--grey); margin-bottom: 8px; }
.heat-key { display: flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.65); }
.heat-key i { width: 14px; height: 14px; border-radius: 4px; background: rgba(255,255,255,.1); }
.heat-key i.l1 { background: rgba(240,138,36,.35); } .heat-key i.l2 { background: rgba(240,138,36,.65); } .heat-key i.l3 { background: var(--orange); }
.tile-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.tile-btns .tile-btn { margin-top: 0; width: 100%; padding: 12px 10px; }
.tile-btn.scan { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.plus-tag { font-size: 10px; font-weight: 900; padding: 2px 7px; border-radius: 999px; background: var(--orange); color: var(--navy); }
.scan-result { margin-top: 10px; font-size: 13px; color: var(--grey); background: var(--cream); border-radius: 14px; padding: 10px 12px; }
.scan-result b { color: var(--navy); }
.t5 .tile-btn { width: auto; }
.kind-num small { white-space: nowrap; }
.kind-num { white-space: normal; }
.kind-num small { display: block; margin-top: 4px; }
.tile-btn.scan { white-space: nowrap; gap: 6px; }

/* v6: made for the UK */
.uk-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: 60px 56px;
  background: linear-gradient(135deg, #FFF3E3 0%, #FFE2C6 55%, #F9D9D2 100%); border: 1px solid rgba(240,138,36,.18); }
.uk-band .liquid.u1 { width: 380px; height: 380px; right: -120px; top: -140px; background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.1)); z-index: -1; }
.uk-head { max-width: 640px; margin-bottom: 36px; }
.uk-head .eyebrow { display: inline-block; font-weight: 900; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.uk-head p { margin-top: 16px; font-size: 19px; color: #5a4f45; }
.uk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uk-grid li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); border-radius: 24px; padding: 18px; box-shadow: 0 6px 20px rgba(240,138,36,.08); }
.uk-grid li svg { grid-row: span 2; width: 52px; height: 52px; padding: 11px; border-radius: 42% 58% 60% 40% / 50% 45% 55% 50%; background: linear-gradient(135deg, #FFE1BF, var(--orange-soft)); }
.uk-grid b { font-size: 17px; line-height: 1.25; }
.uk-grid span { font-size: 15px; color: var(--grey); line-height: 1.45; }
@media (max-width: 980px) { .uk-grid { grid-template-columns: 1fr 1fr; } .uk-band { padding: 44px 30px; } }
@media (max-width: 640px) { .uk-grid { grid-template-columns: 1fr; } .uk-band { padding: 34px 20px; } .uk-head p { font-size: 17px; } }
@media (max-width: 400px) { .hero .polish em { display: none; } }
@media (max-width: 480px) { .hero .polish em { display: none; } }
.app-avatar { background: transparent; }
.app-avatar svg { display: block; }
.app-top { gap: 14px; }
.app-hello { min-width: 0; }
