/* Goodmins site. Dark, calm, the app's palette: greys, one blue, green for earned. */
:root {
  --bg: #0b0b0c; --bg-2: #111113; --card: #151517; --card-2: #1c1c1f; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #f2f2f0; --dim: #a1a1a6; --faint: #6e6e74;
  --blue: #7ab0f5; --green: #6bcb93; --red: #f08a82;
  --radius: 22px; --ease: cubic-bezier(.2,.7,.2,1);
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(122,176,245,.35); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

/* Background: soft aurora + grain-free grid */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after { content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .22; }
.aurora::before { background: radial-gradient(circle, var(--blue), transparent 60%); top: -25vmax; right: -15vmax; animation: drift 22s var(--ease) infinite alternate; }
.aurora::after { background: radial-gradient(circle, var(--green), transparent 60%); bottom: -35vmax; left: -20vmax; opacity: .12; animation: drift 28s var(--ease) infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-8vmax, 6vmax) scale(1.1); } }

/* Nav */
.top { position: sticky; top: 0; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(11,11,12,.72); backdrop-filter: saturate(1.5) blur(14px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 1.15rem var(--display); letter-spacing: -.01em; }
.brand img { width: 26px; height: 26px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--dim); text-decoration: none; font-size: .95rem; transition: color .2s; }
nav a:hover { color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text) !important; font-size: .88rem; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(107,203,147,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(107,203,147,0); } 100% { box-shadow: 0 0 0 0 rgba(107,203,147,0); } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--dim); font-size: .9rem; margin-bottom: 26px; }
a.badge { text-decoration: none; transition: border-color .25s, color .25s; }
a.badge:hover { border-color: var(--line-2); color: var(--text); }
.badge b { background: rgba(107,203,147,.16); color: var(--green); font-weight: 600; padding: 3px 10px; border-radius: 99px; font-size: .8rem; }
h1 { font: 800 clamp(2.8rem, 6.6vw, 5.2rem)/1 var(--display); letter-spacing: -.045em; margin: 0 0 24px; }
.grad { background: linear-gradient(100deg, var(--blue) 0%, #a8d4ff 35%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: sheen 8s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--dim); max-width: 36ch; margin: 0 0 34px; }
.lead strong { color: var(--text); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 600; text-decoration: none; color: var(--text);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: transform .25s var(--ease), background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.07); }
.btn.primary { background: var(--text); color: #0b0b0c; border-color: var(--text); }
.btn.primary:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(255,255,255,.35); }
.btn small { font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: #0b0b0c; color: var(--text); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--dim); font-size: .92rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--green); }

/* Phone + floating cards */
.stage { position: relative; display: grid; place-items: center; perspective: 1200px; padding: 20px 0; }
.stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(122,176,245,.35), transparent 62%); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.phone { position: relative; width: min(310px, 78vw); padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #3a3a3e, #1a1a1d 40%, #2a2a2e);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08); transition: transform .6s var(--ease); transform-style: preserve-3d; }
.phone img { border-radius: 36px; width: 100%; height: auto; background: #121212; border-top: 30px solid #121212; }
.phone::after { content: ""; position: absolute; top: 18px; left: 50%; translate: -50%; width: 24%; height: 18px; border-radius: 99px; background: #000; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 16px; font-size: .9rem; font-weight: 500; white-space: nowrap;
  background: rgba(28,28,31,.82); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); animation: bob 6s ease-in-out infinite; }
.float b { font-weight: 700; }
.float .up { color: var(--green); } .float .down { color: var(--blue); }
.float i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--card-2); font-style: normal; font-size: 1rem; }
.f1 { top: 12%; left: -6%; } .f2 { top: 46%; right: -4%; animation-delay: -2s; } .f3 { bottom: 10%; left: -2%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Ticker */
.ticker { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); overflow: hidden; padding: 18px 0; margin-top: 30px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.ticker span { color: var(--dim); font: 600 1.05rem var(--display); white-space: nowrap; display: inline-flex; align-items: center; }
.ticker span::after { content: "✦"; color: var(--faint); font-size: .8rem; margin-left: 40px; }
.ticker b { color: var(--green); font-weight: 700; margin-left: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 110px 0; position: relative; }
.kicker { display: inline-block; color: var(--blue); font: 600 .85rem var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
h2 { font: 800 clamp(2rem, 4.4vw, 3.3rem)/1.05 var(--display); letter-spacing: -.035em; margin: 0 0 18px; }
.sub { color: var(--dim); font-size: 1.12rem; max-width: 58ch; margin: 0 0 56px; }
.center { text-align: center; } .center .sub { margin-inline: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card .n { font: 800 3.2rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--line-2); position: absolute; top: 18px; right: 24px; }
.card h3 { font: 700 1.35rem var(--display); margin: 0 0 10px; letter-spacing: -.015em; }
.card p { color: var(--dim); margin: 0; }
.mini { height: 120px; margin: -6px 0 22px; display: flex; align-items: center; }
.chips { display: flex; flex-direction: column; gap: 8px; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 99px; background: var(--card-2); border: 1px solid var(--line); font-size: .85rem; color: var(--dim); width: fit-content; }
.chip b { color: var(--green); }
.slots { display: flex; gap: 8px; }
.slot { padding: 12px 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); text-align: center; font-size: .82rem; color: var(--dim); }
.slot b { display: block; font: 700 1.3rem var(--display); color: var(--text); }
.slot.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.slot.on b { color: var(--blue); }
.timeline { width: 100%; }
.timeline .row { display: flex; justify-content: space-between; color: var(--faint); font-size: .78rem; margin-top: 8px; }
.bar { position: relative; height: 10px; border-radius: 99px; background: var(--card-2); }
.bar i { position: absolute; inset: 0 auto 0 0; width: 70%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--green)); animation: shift 4s ease-in-out infinite alternate; }
@keyframes shift { from { width: 82%; } to { width: 58%; } }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; }
.habits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.habit { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); cursor: pointer; user-select: none;
  transition: border-color .25s, background .25s, transform .25s var(--ease); }
.habit:hover { transform: translateY(-2px); }
.habit input { appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; margin: 0; transition: .2s; }
.habit input::after { content: "✓"; color: #0b0b0c; font-weight: 800; font-size: .8rem; transform: scale(0); transition: transform .2s var(--ease); }
.habit input:checked { background: var(--green); border-color: var(--green); }
.habit input:checked::after { transform: scale(1); }
.habit:has(input:checked) { border-color: rgba(107,203,147,.45); background: rgba(107,203,147,.07); }
.habit span { flex: 1; font-size: .95rem; }
.habit em { font-style: normal; color: var(--green); font-weight: 700; font-size: .9rem; }
.result { border-radius: var(--radius); padding: 30px; background: radial-gradient(120% 80% at 100% 0%, rgba(122,176,245,.18), transparent 60%), var(--card); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.result .label { color: var(--dim); font-size: .95rem; }
.big { font: 800 clamp(3.4rem, 7vw, 5rem)/1 var(--display); letter-spacing: -.04em; }
.big small { font-size: 1.1rem; color: var(--dim); font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.meter { height: 10px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width .6s var(--ease); }
.spend { display: grid; gap: 8px; color: var(--dim); font-size: .95rem; }
.spend div { display: flex; justify-content: space-between; } .spend b { color: var(--text); }
.note { color: var(--faint); font-size: .85rem; margin: 0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { grid-column: span 2; position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s; }
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(122,176,245,.10), transparent 40%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 3; } .tile.xl { grid-column: span 4; }
.tile h3 { font: 700 1.3rem var(--display); margin: 0 0 8px; letter-spacing: -.015em; }
.tile p { color: var(--dim); margin: 0; font-size: .98rem; }
.icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line); margin-bottom: 20px; font-size: 1.25rem; }
.tile .shot { position: absolute; right: 28px; top: 54px; width: 210px; height: auto; border-radius: 28px; border: 6px solid #232326; box-shadow: 0 30px 60px -20px #000; transform: rotate(-6deg); transition: transform .6s var(--ease); }
.tile:hover .shot { transform: rotate(-3deg) translateY(-14px); }
.tile.has-shot { padding-right: 280px; min-height: 340px; }
.grid7 { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin-top: 22px; }
.grid7 i { aspect-ratio: 1; border-radius: 4px; background: var(--card-2); }
.grid7 i.g { background: #2f6f4b; } .grid7 i.G { background: var(--green); } .grid7 i.r { background: #6b3a37; }
.walk { margin-top: 22px; display: grid; gap: 8px; font-size: .88rem; color: var(--dim); }
.walk .track { height: 8px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.walk .track i { display: block; height: 100%; width: 0; background: var(--green); border-radius: inherit; transition: width 1.6s var(--ease); }
.in .walk .track i { width: 100%; }
.walk .row { display: flex; justify-content: space-between; } .walk b { color: var(--green); }

/* Gallery: all five fit on wide screens; narrower screens scroll with arrow buttons */
.gallery { display: flex; gap: 24px; overflow-x: auto; padding: 14px 4px 10px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 max(200px, calc((100% - 96px) / 5)); scroll-snap-align: start; text-align: center; }
.gallery .phone { width: 100%; padding: 7px; border-radius: 36px; }
.gallery .phone img { border-radius: 30px; border-top-width: 24px; }
.gallery .phone::after { top: 13px; height: 14px; }
.gallery figcaption { color: var(--dim); margin-top: 16px; font-weight: 500; }
.gallery figure:hover .phone { transform: translateY(-8px); }
.gallery-nav { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.gallery-nav[hidden] { display: none; }
.arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--text);
  background: var(--card); border: 1px solid var(--line-2); transition: background .2s, transform .2s var(--ease), opacity .2s; }
.arrow:hover:not(:disabled) { background: var(--card-2); transform: translateY(-2px); }
.arrow:disabled { opacity: .35; cursor: default; }
.arrow svg { width: 20px; height: 20px; }

/* Every feature, explained */
.fgroup { margin-top: 56px; }
.fgroup:first-of-type { margin-top: 0; }
.fgroup-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.fgroup-head h3 { margin: 0; font: 800 1.5rem var(--display); letter-spacing: -.02em; }
.fgroup-head p { margin: 0; color: var(--dim); }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s; }
.fcard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.ficon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line); font-size: 1.15rem; }
.fcard h4, .pb h4 { margin: 4px 0 0; font: 700 1.1rem var(--display); letter-spacing: -.01em; }
.fcard p, .pb p { margin: 0; color: var(--dim); font-size: .96rem; flex: 1; }
.earns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.earn { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; color: var(--green); background: rgba(107,203,147,.10); border: 1px solid rgba(107,203,147,.22); }
.earn.cost { color: var(--red); background: rgba(240,138,130,.10); border-color: rgba(240,138,130,.25); }
.earn.info { color: var(--blue); background: rgba(122,176,245,.10); border-color: rgba(122,176,245,.25); }

/* Goodmins Plus */
#plus { position: relative; }
#plus::before { content: ""; position: absolute; inset: 40px 0 auto; height: 70%; background: radial-gradient(60% 60% at 50% 20%, rgba(122,176,245,.10), transparent 70%); pointer-events: none; }
.plus-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.way { padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); display: grid; gap: 6px; }
.way b { font: 700 1.15rem var(--display); background: linear-gradient(100deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.way span { color: var(--dim); font-size: .95rem; }
.plus-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.plus-benefits { display: grid; gap: 16px; }
.pb { display: grid; gap: 8px; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); }
.compare { border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: var(--card); }
.compare table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.compare th, .compare td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { font-weight: 600; color: var(--dim); background: rgba(255,255,255,.02); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.compare th:nth-child(n+2), .compare td:nth-child(n+2) { text-align: center; width: 72px; }
.compare th:last-child { color: var(--blue); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:last-child { background: rgba(122,176,245,.05); }
.compare .yes { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.compare .no { color: var(--faint); }

/* Privacy */
.private { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lock { width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; font-size: 2rem; background: var(--card); border: 1px solid var(--line-2); margin-bottom: 26px;
  box-shadow: 0 0 0 10px rgba(107,203,147,.05), 0 0 0 20px rgba(107,203,147,.03); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--green); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font: 600 1.1rem var(--display); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); rotate: 45deg; translate: 0 -3px; transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: -135deg; translate: 0 3px; }
.faq details p { color: var(--dim); margin: 0 0 22px; max-width: 64ch; }

/* Final CTA */
.final { text-align: center; padding: 120px 0 130px; }
.final .orb { width: 120px; height: 120px; margin: 0 auto 30px; padding: 26px; border-radius: 34px; background: var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 0 80px -10px rgba(122,176,245,.45); }
.final .orb path { stroke-dasharray: 80; stroke-dashoffset: 80; }
.final.in .orb path { animation: draw 2s var(--ease) forwards .2s; }
.final h2 { max-width: 16ch; margin-inline: auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 64px 0 36px; color: var(--dim); font-size: .94rem; background: linear-gradient(180deg, transparent, rgba(255,255,255,.015)); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot nav { display: block; }
.foot .brand { margin-bottom: 14px; }
.foot p { margin: 0 0 18px; max-width: 34ch; color: var(--dim); }
.foot h4 { margin: 0 0 14px; color: var(--text); font: 600 .82rem var(--body); letter-spacing: .12em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--dim); text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--text); }
.status { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text); font-size: .85rem; }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--faint); font-size: .85rem; }
.legal p { margin: 0; }
.legal a { color: var(--dim); text-decoration: none; } .legal a:hover { color: var(--text); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot { grid-template-columns: 1fr; } }

/* Logo drawing */
.draw path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 1.6s var(--ease) forwards .15s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.1s; }

/* Document pages (privacy) */
.doc { padding: 56px 0 40px; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.doc h2 { font: 700 1.35rem var(--display); letter-spacing: -.01em; margin: 2.4em 0 .6em; }
.doc p, .doc li { color: #d0d0cf; }
.doc li { margin: .55em 0; }
.doc strong { color: var(--text); }
.doc .muted { color: var(--faint); }
.doc .summary { border: 1px solid var(--line-2); background: var(--card); border-radius: 18px; padding: 22px 24px; }
.doc .summary p { margin: 0; color: var(--text); }

.doc .toc { margin: 28px 0 8px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); }
.doc .toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.doc .toc li { margin: 0 0 .45em; break-inside: avoid; }
.doc .toc a { color: var(--dim); text-decoration: none; } .doc .toc a:hover { color: var(--text); }
.doc h2 { scroll-margin-top: 90px; }
.doc .table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--text); font-weight: 600; background: var(--card); }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }
.doc td { color: #cfcfce; }
@media (max-width: 620px) { .doc .toc ol { columns: 1; } .doc td:first-child { white-space: normal; } }

/* Features page */
.fx-hero { padding: 56px 0 36px; }
.fx-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 18px; }
.fx-hero .lead { max-width: 52ch; margin-bottom: 28px; }
.fx-search { position: relative; max-width: 620px; }
.fx-search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.fx-search input { width: 100%; height: 56px; padding: 0 18px 0 50px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.fx-search input::placeholder { color: var(--faint); }
.fx-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(122,176,245,.15); }
.fx-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fx-facts span { padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--dim); font-size: .9rem; }
.fx-facts b { color: var(--green); font-weight: 700; }
.fx { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; padding-bottom: 40px; }
.fx-toc { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; padding: 4px 0; }
.fx-toc p { margin: 0 0 12px; color: var(--faint); font: 600 .78rem var(--body); letter-spacing: .12em; text-transform: uppercase; }
.fx-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.fx-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--dim); text-decoration: none; font-size: .93rem; transition: color .2s, border-color .2s; }
.fx-toc a:hover { color: var(--text); }
.fx-toc a.on { color: var(--text); border-left-color: var(--blue); }
.fx-body { min-width: 0; }
.fx-sec { padding: 0 0 64px; scroll-margin-top: 90px; }
.fx-sec h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.fx-intro { color: var(--dim); margin: 0 0 22px; font-size: 1.05rem; }
article.fx-item { padding: 24px 26px; margin-bottom: 14px; border-radius: 20px; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); transition: border-color .3s; }
article.fx-item:hover { border-color: var(--line-2); }
.fx-item h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 700 1.2rem var(--display); letter-spacing: -.01em; }
.fx-item h3 i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--card-2); border: 1px solid var(--line); font-style: normal; font-size: 1.05rem; }
.fx-item p, .fx-item li { color: #cfcfce; font-size: .98rem; }
.fx-item p { margin: 0 0 10px; }
.fx-item ul { margin: 0 0 10px; padding-left: 1.2em; }
.fx-item li { margin: .4em 0; }
.fx-item li::marker { color: var(--faint); }
.fx-item b { color: var(--text); font-weight: 600; }
.fx-item > :last-child { margin-bottom: 0; }
.fx-item .earns { margin: 12px 0 0; }
.fx-item .where { margin-top: 12px; color: var(--faint); font-size: .88rem; }
.fx-item .where::before { content: "In the app · "; color: var(--blue); font-weight: 600; }
.fx-table { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); }
.fx-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fx-table th, .fx-table td { padding: 11px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.fx-table th { color: var(--dim); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; background: rgba(255,255,255,.02); }
.fx-table td { color: #cfcfce; }
.fx-table td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.fx-table td:nth-child(3) { color: var(--faint); white-space: nowrap; }
.fx-table td.p { color: var(--green); } .fx-table td.m { color: var(--red); }
.fx-table tr.grp td { color: var(--blue); font: 600 .78rem var(--body); letter-spacing: .1em; text-transform: uppercase; background: rgba(122,176,245,.04); padding-top: 14px; }
.fx-table tr:last-child td { border-bottom: 0; }
.fx-table tr.hide { display: none; }
#help .faq details.fx-item { padding: 0; margin: 0; background: none; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
#help .faq details p { color: var(--dim); }
.fx-empty { padding: 22px 24px; border: 1px dashed var(--line-2); border-radius: 18px; color: var(--dim); margin: 0 0 40px; }
.fx-ask { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: radial-gradient(120% 120% at 100% 0%, rgba(122,176,245,.14), transparent 60%), var(--card); }
.fx-ask h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 6px; }
.fx-ask p { margin: 0; color: var(--dim); }
mark { background: rgba(122,176,245,.28); color: var(--text); border-radius: 4px; padding: 0 2px; }
.all-link { display: flex; justify-content: center; margin-top: 40px; }
.all-link .btn, .fx-ask .btn { height: auto; min-height: 52px; padding-block: 12px; text-align: center; }
.faq-more { margin: 28px 0 0; color: var(--dim); }

/* Phone menu: a button in the header opens a panel of links (below 960px, where the nav links hide) */
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { position: absolute; top: 100%; left: 0; right: 0; padding: 10px 20px 22px; display: grid; gap: 2px;
  background: rgba(11,11,12,.96); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid var(--line); animation: drop .3s var(--ease); }
.menu[hidden] { display: none; }
.menu a { color: var(--text); text-decoration: none; font: 600 1.15rem var(--display); padding: 13px 4px; border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.top.open { background: rgba(11,11,12,.96); border-color: var(--line); }

/* Reports showcase */
.reports { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.reports .sub { margin-bottom: 28px; }
.rlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rlist li { display: flex; gap: 14px; align-items: flex-start; }
.rlist svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: rgba(107,203,147,.12); fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.rlist b { display: block; font: 700 1.08rem var(--display); }
.rlist span { color: var(--dim); font-size: .98rem; }
.reports-shots { position: relative; height: 640px; }
.reports-shots::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(122,176,245,.28), transparent 65%); filter: blur(30px); }
.reports-shots .phone { position: absolute; width: 280px; top: 0; }
.reports-shots .front { left: 40%; top: 30px; }
.reports-shots .back { left: 8%; transform: rotate(-7deg) scale(.92); opacity: .75; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .private, .calc { grid-template-columns: 1fr; }
  .hero { text-align: left; }
  .stage { margin: 10px auto 0; width: min(560px, 100%); }
  .f1 { left: 0; } .f2 { right: 0; } .f3 { left: 2%; }
  .steps { grid-template-columns: 1fr; }
  .fgrid, .plus-ways { grid-template-columns: 1fr 1fr; }
  .plus-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.wide, .tile.xl { grid-column: span 2; }
  .tile.half { grid-column: span 2; }
  nav a.opt { display: none; }
  .menu-btn { display: inline-flex; }
  section { padding: 84px 0; }
  .reports { grid-template-columns: 1fr; gap: 32px; }
  .reports-shots { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .fx { grid-template-columns: 1fr; gap: 0; }
  .fx-toc { position: sticky; top: 68px; z-index: 5; max-height: none; overflow-x: auto; overflow-y: hidden; margin: 0 -20px 28px; padding: 10px 20px; background: rgba(11,11,12,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .fx-toc::-webkit-scrollbar { display: none; }
  .fx-toc p { display: none; }
  .fx-toc ol { display: flex; gap: 8px; border: 0; width: max-content; }
  .fx-toc a { padding: 6px 12px; margin: 0; border: 1px solid var(--line); border-radius: 99px; font-size: .85rem; white-space: nowrap; }
  .fx-toc a.on { border-color: var(--blue); }
  .fx-sec { padding-bottom: 48px; scroll-margin-top: 130px; }
}
@media (max-width: 620px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .habits { grid-template-columns: 1fr; }
  .fgrid, .plus-ways { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px 12px; }
  .compare th:nth-child(n+2), .compare td:nth-child(n+2) { width: 52px; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.half, .tile.wide, .tile.xl { grid-column: 1 / -1; }
  .tile.has-shot { padding-right: 30px; padding-bottom: 0; min-height: 0; }
  .tile .shot { position: relative; inset: auto; display: block; width: 220px; margin: 30px auto -170px; }
  .f1 { left: -2%; } .f2 { right: -2%; } .f3 { left: 0; }
  .float { font-size: .8rem; padding: 9px 12px; }
  .float i { width: 26px; height: 26px; }
  .btn { width: 100%; }
  nav { gap: 16px; }
  .top nav a:not(.pill) { display: none; }
  .reports-shots { height: 470px; }
  .reports-shots .phone { width: 220px; }
  .reports-shots .front { left: auto; right: 2%; }
  .reports-shots .back { left: 0; }
  .fx-toc { margin-inline: -16px; padding-inline: 16px; }
  article.fx-item { padding: 20px 18px; }
  .fx-table th, .fx-table td { padding: 10px 12px; }
  .fx-table td:nth-child(3) { white-space: normal; }
  .fx-ask { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .draw path, .final .orb path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
