/* Simples landing page. Light by default, dark on request (the toggle in the header). */
:root { --bg: #F2F3F5; --card: #FFFFFF; --text: #16181D; --muted: #5B6270; --line: #DADEE5; --soft: #E9EBEF; --accent: #FFD23F; --accent-hover: #F5C518; --on-accent: #1C1700; --tint: #FFF6D6; --shadow: 0 1px 2px rgba(22,24,29,.04), 0 10px 30px rgba(22,24,29,.07); color-scheme: light; }
:root[data-theme="dark"] { --bg: #0F1114; --card: #181B20; --text: #ECEEF2; --muted: #9AA1AE; --line: #2A2F37; --soft: #22262C; --tint: #2A2614; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Onest, system-ui, sans-serif; -webkit-font-smoothing: antialiased; transition: background .2s, color .2s; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
button { font: inherit; }
input::placeholder { color: var(--muted); }
:focus-visible { outline: 2px solid #E0B424; outline-offset: 2px; }
.display { font-family: Unbounded, sans-serif; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1160px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; font: 700 16px Unbounded, sans-serif; color: var(--on-accent); }
.brand-name { font: 700 18px Unbounded, sans-serif; letter-spacing: -.02em; }
.nav { display: none; gap: 28px; margin-left: 24px; font: 500 15px Onest, sans-serif; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.btn-ghost { height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: transparent; color: var(--text); font: 600 15px Onest, sans-serif; cursor: pointer; display: inline-flex; align-items: center; }
.btn-ghost:hover { background: var(--soft); color: var(--text); }
.btn-accent { border: 0; background: var(--accent); color: var(--on-accent); font: 600 15px Onest, sans-serif; cursor: pointer; border-radius: 12px; }
.btn-accent:hover { background: var(--accent-hover); }
.top .btn-accent { display: none; height: 40px; padding: 0 18px; }
.wide-only { display: none; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .top .btn-accent { display: inline-block; }
  .wide-only { display: flex; }
}

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 20px; display: flex; flex-direction: column; gap: 32px; scroll-margin-top: 70px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.eyebrow { font: 600 13px Onest, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.h2 { margin: 0; font: 700 clamp(26px, 4.6vw, 44px)/1.12 Unbounded, sans-serif; letter-spacing: -.03em; text-wrap: balance; }
.muted { color: var(--muted); }

/* Hero */
.hero { max-width: 1160px; margin: 0 auto; padding: clamp(36px, 7vw, 88px) 20px clamp(48px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 500 13px Onest, sans-serif; color: var(--muted); }
.pill b { padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
a.pill { text-decoration: none; transition: border-color .15s ease, color .15s ease; }
a.pill:hover, a.pill:focus-visible { border-color: var(--accent); color: var(--text); }
.h1 { margin: 0; font: 700 clamp(34px, 6.4vw, 64px)/1.06 Unbounded, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.lead { margin: 0; max-width: 520px; font: 400 clamp(17px, 2.2vw, 20px)/1.5 Onest, sans-serif; color: var(--muted); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.cta-main { flex: 1 1 260px; max-width: 340px; padding: 17px 22px; font-size: 16px; box-shadow: 0 6px 18px rgba(255,210,63,.35); }
.partners { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 13px Onest, sans-serif; color: var(--muted); }

/* Phone mockup */
.phone-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; scroll-margin-top: 90px; }
.phone-sun { position: absolute; top: 50%; left: 50%; width: min(440px, 110%); aspect-ratio: 1; transform: translate(-50%, -54%); border-radius: 50%; background: var(--accent); opacity: .9; }
.float { position: absolute; z-index: 3; left: -8px; padding: 12px 14px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); gap: 10px; align-items: center; }
.float-a { top: 90px; width: max-content; }
.float-b { bottom: 170px; max-width: 220px; }
.float-icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; }
.float-text { font: 500 13px/1.3 Onest, sans-serif; }
.float-text b { font-weight: 600; }
.np { background: #E8262B; color: #fff; font: 700 12px Onest, sans-serif; border-radius: 8px; }
.phone { position: relative; z-index: 2; width: 300px; height: 620px; border-radius: 46px; background: #0B0C0E; padding: 10px; box-shadow: 0 30px 60px rgba(22,24,29,.28), 0 0 0 1px rgba(255,255,255,.06) inset; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #111; font-family: Onest, sans-serif; user-select: none; -webkit-user-select: none; }
.feed { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; touch-action: pan-y; }
.feed::-webkit-scrollbar { display: none; }
.slide { position: relative; height: 600px; scroll-snap-align: start; scroll-snap-stop: always; }
.ph-label { position: absolute; top: 46%; left: 0; right: 0; text-align: center; font: 500 11px ui-monospace, Menlo, monospace; color: rgba(255,255,255,.75); letter-spacing: .04em; }
.slide-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0)); }
.slide-info { position: absolute; left: 16px; right: 76px; bottom: 26px; color: #fff; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.slide-tag { padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.18); font: 500 11px Onest, sans-serif; }
.slide-name { font: 600 17px/1.25 Onest, sans-serif; }
.slide-price { font: 700 20px Unbounded, sans-serif; }
.rail { position: absolute; right: 10px; bottom: 26px; display: flex; flex-direction: column; gap: 14px; align-items: center; color: #fff; font: 500 10px Onest, sans-serif; }
.rail button { border: 0; background: transparent; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; font: inherit; padding: 0; }
.rail span { width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.28); backdrop-filter: blur(6px); display: grid; place-items: center; }
.rail [aria-pressed="true"] svg { fill: #FF3B5C; stroke: #FF3B5C; }
.ph-top { position: absolute; top: 0; left: 0; right: 0; padding: 40px 14px 0; display: flex; align-items: center; gap: 8px; color: #fff; pointer-events: none; z-index: 2; }
.ph-round { pointer-events: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.3); color: #fff; font: 600 18px Onest, sans-serif; cursor: pointer; display: grid; place-items: center; }
.ph-cat { font: 600 15px Onest, sans-serif; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.dots { margin-left: auto; display: flex; gap: 4px; }
.dots i { width: 5px; height: 5px; border-radius: 3px; background: #fff; opacity: .5; transition: all .2s; }
.dots i.on { height: 16px; opacity: 1; }
.layer { position: absolute; inset: 0; transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.cats { z-index: 4; background: #FAF8F5; color: #1E1B18; transform: translateX(-100%); }
.cats-head { padding: 44px 16px 14px; display: flex; align-items: center; gap: 10px; }
.shop-mark { width: 36px; height: 36px; border-radius: 50%; background: #B5533C; color: #fff; display: grid; place-items: center; font: 700 14px Unbounded, sans-serif; }
.shop-name { display: flex; flex-direction: column; }
.shop-name b { font: 700 15px Unbounded, sans-serif; letter-spacing: -.02em; }
.shop-name span { font: 400 11px Onest, sans-serif; color: #7A716A; }
.cats-grid { padding: 0 12px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; grid-auto-rows: 1fr; }
.cat { position: relative; border: 0; border-radius: 14px; cursor: pointer; overflow: hidden; padding: 0; text-align: left; }
.cat small { position: absolute; top: 12px; left: 12px; font: 500 9px ui-monospace, Menlo, monospace; color: rgba(255,255,255,.75); }
.cat b { position: absolute; left: 12px; bottom: 12px; color: #fff; font: 600 15px Onest, sans-serif; }
.made-on { padding: 0 0 14px; text-align: center; font: 400 10px Onest, sans-serif; color: #9A918A; }
.card { z-index: 5; background: #fff; color: #16181D; transform: translateX(100%); touch-action: pan-y; }
.card-hero { position: relative; height: 300px; flex: none; }
.card-hero .ph-round { position: absolute; top: 40px; left: 14px; }
.card-hero .ph-label { top: 50%; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-row { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.card-row span { font: 600 17px/1.25 Onest, sans-serif; }
.card-row b { font: 700 17px Unbounded, sans-serif; white-space: nowrap; }
.card-note { font: 400 13px/1.45 Onest, sans-serif; color: #5B6270; }
.sizes { display: flex; gap: 6px; }
.sizes button { min-width: 44px; height: 36px; border-radius: 10px; border: 1.5px solid #DADEE5; background: #fff; color: #16181D; font: 600 13px Onest, sans-serif; cursor: pointer; }
.sizes button[aria-pressed="true"] { border-color: #16181D; }
.shop-btn { height: 48px; border-radius: 12px; border: 0; background: #B5533C; color: #fff; font: 600 15px Onest, sans-serif; cursor: pointer; }
.card-body .shop-btn { margin-top: auto; }
.veil { position: absolute; inset: 0; z-index: 6; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; background: #fff; color: #16181D; border-radius: 22px 22px 0 0; padding: 10px 16px 18px; transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; gap: 12px; }
.grab { align-self: center; width: 36px; height: 4px; border-radius: 2px; background: #DADEE5; }
.sheet-col { display: flex; flex-direction: column; gap: 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head b { font: 700 15px Unbounded, sans-serif; }
.sheet-x { border: 0; background: #F2F3F5; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font: 500 16px Onest, sans-serif; color: #16181D; }
.np-box { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #F2F3F5; font: 500 12px/1.3 Onest, sans-serif; }
.np-box .np { width: 30px; height: 30px; font-size: 10px; display: grid; place-items: center; flex: none; }
.pays { display: flex; flex-direction: column; gap: 6px; }
.pays button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #DADEE5; background: #fff; cursor: pointer; text-align: left; font: 500 12px Onest, sans-serif; color: #16181D; }
.pays i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #DADEE5; display: grid; place-items: center; flex: none; }
.pays i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.pays [aria-pressed="true"], .pays [aria-pressed="true"] i { border-color: #B5533C; }
.pays [aria-pressed="true"] i::after { background: #B5533C; }
.sheet .shop-btn { height: 46px; font-size: 14px; }
.done { display: none; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0 6px; text-align: center; }
.done-mark { width: 52px; height: 52px; border-radius: 50%; background: #E9F6EE; display: grid; place-items: center; }
.done b { font: 700 15px Unbounded, sans-serif; }
.done span { font: 400 12px/1.4 Onest, sans-serif; color: #5B6270; }
.done button { margin-top: 6px; width: 100%; height: 44px; border-radius: 12px; border: 0; background: #F2F3F5; color: #16181D; font: 600 14px Onest, sans-serif; cursor: pointer; }
.toast { position: absolute; left: 12px; right: 12px; top: 86px; z-index: 8; padding: 10px; border-radius: 14px; background: #fff; color: #16181D; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; gap: 10px; align-items: center; transform: translateY(-12px); opacity: 0; transition: all .3s; pointer-events: none; }
.toast.on { transform: none; opacity: 1; }
.toast-pic { width: 44px; height: 44px; border-radius: 8px; flex: none; }
.toast-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.toast-text small { font: 400 10px Onest, sans-serif; color: #5B6270; }
.toast-text b { font: 600 12px Onest, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-text span { font: 600 11px Onest, sans-serif; }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 88px; height: 24px; border-radius: 14px; background: #000; z-index: 9; }
.clock { position: absolute; top: 12px; left: 24px; z-index: 9; font: 600 12px Onest, sans-serif; color: #fff; }
.phone-hint { position: relative; z-index: 2; font: 500 13px Onest, sans-serif; color: var(--muted); text-align: center; }
/* Screens of the mockup */
.screen[data-view="cats"] .cats, .screen[data-view="card"] .card, .screen[data-view="checkout"] .card { transform: none; }
.screen[data-view="checkout"] .veil { opacity: 1; pointer-events: auto; }
.screen[data-view="checkout"] .sheet { transform: none; }
.screen[data-view="cats"] .clock { color: #1E1B18; }
.sheet.is-done .sheet-col { display: none; }
.sheet.is-done .done { display: flex; }

/* Cards */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.step { padding: 28px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.step-no { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 700 17px Unbounded, sans-serif; }
.step h3 { margin: 0; font: 600 20px/1.25 Unbounded, sans-serif; letter-spacing: -.02em; }
.step p { margin: 0; font: 400 16px/1.5 Onest, sans-serif; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.feature { padding: 24px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.feature h3 { margin: 0; font: 600 17px/1.3 Onest, sans-serif; }
.feature p { margin: 0; font: 400 15px/1.5 Onest, sans-serif; color: var(--muted); }
.niches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.niche { display: flex; gap: 16px; align-items: center; padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.niche-pic { width: 72px; height: 96px; flex: none; border-radius: 10px; display: grid; place-items: center; font: 500 9px ui-monospace, Menlo, monospace; color: rgba(255,255,255,.8); text-align: center; }
.niche-text { display: flex; flex-direction: column; gap: 6px; }
.niche-text b { font: 600 17px/1.25 Onest, sans-serif; }
.niche-text span { font: 400 15px/1.45 Onest, sans-serif; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: stretch; }
.plans-note { margin: 20px 0 0; text-align: center; color: var(--muted); }
.plans-note a { color: inherit; font-weight: 600; }
.plan { position: relative; padding: 28px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.plan-first { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 24px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 12px Onest, sans-serif; }
.plan-head { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.plan-head h3 { margin: 0; font: 700 22px Unbounded, sans-serif; letter-spacing: -.02em; }
.plan-free, .plan-head h3.plan-free { font: 700 26px/1.15 Unbounded, sans-serif; letter-spacing: -.02em; }
.plan-soon { padding: 6px 12px; border-radius: 8px; background: var(--soft); font: 600 15px Onest, sans-serif; }
.plan-sub { font: 400 15px Onest, sans-serif; color: var(--muted); }
.plan-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.plan-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font: 400 14px/1.35 Onest, sans-serif; }
.plan-rows span { color: var(--muted); }
.plan-rows b { font-weight: 600; text-align: right; }
.plan .btn-accent, .plan-outline { margin-top: auto; height: 50px; border-radius: 12px; font: 600 16px Onest, sans-serif; cursor: pointer; }
.plan-outline { border: 1px solid var(--line); background: transparent; color: var(--text); }
.plan-outline:hover { border-color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; gap: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border-radius: 12px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px; border: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; font: 600 17px/1.35 Onest, sans-serif; }
.faq-q span { flex: 1; }
.faq-q i { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--soft); color: var(--text); display: grid; place-items: center; font: 500 20px/1 Onest, sans-serif; font-style: normal; transition: transform .2s; }
.faq-a { display: none; margin: 0; padding: 0 66px 22px 20px; font: 400 16px/1.55 Onest, sans-serif; color: var(--muted); text-wrap: pretty; }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--accent); color: #1C1700; }
.faq-item.open .faq-a { display: block; }

/* Final call and footer */
.final { max-width: 1160px; margin: 0 auto; padding: clamp(24px, 5vw, 64px) 20px clamp(48px, 7vw, 96px); }
.final-box { border-radius: 20px; background: var(--accent); color: var(--on-accent); padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.final-box h2 { margin: 0; max-width: 760px; font: 700 clamp(28px, 5vw, 52px)/1.08 Unbounded, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.final-box p { margin: 0; max-width: 520px; font: 400 18px/1.5 Onest, sans-serif; }
.final-box button { padding: 18px 26px; border-radius: 12px; border: 0; background: #16181D; color: #FFFFFF; font: 600 16px Onest, sans-serif; cursor: pointer; }
.final-box button:hover { background: #2A2D34; }
.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 36px 20px 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.foot .brand-mark { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.foot .brand-name { font-size: 16px; }

/* Sign-in dialog */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(15,17,20,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-box { width: 100%; max-width: 420px; border-radius: 16px; background: var(--card); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.3); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-head .brand-mark { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.modal-head .brand-name { font-size: 16px; }
.modal-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); color: var(--text); font: 400 20px/1 Onest, sans-serif; cursor: pointer; }
.auth { display: flex; flex-direction: column; gap: 14px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--soft); }
.tabs button { height: 40px; border-radius: 9px; border: 0; background: transparent; color: var(--text); font: 600 14px Onest, sans-serif; cursor: pointer; }
.tabs [aria-selected="true"] { background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.auth label { display: flex; flex-direction: column; gap: 6px; font: 500 14px Onest, sans-serif; }
.auth input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 400 16px Onest, sans-serif; outline: none; }
.auth input:focus { border-color: #E0B424; box-shadow: 0 0 0 3px rgba(255,210,63,.35); }
.auth .btn-accent { height: 52px; font-size: 16px; margin-top: 4px; }
.auth-note { font: 400 13px/1.45 Onest, sans-serif; color: var(--muted); text-align: center; }
.auth-error { margin: 0; min-height: 0; font: 500 14px/1.4 Onest, sans-serif; color: #D0343F; }
.auth-error:empty { display: none; }
.welcome { display: none; flex-direction: column; align-items: center; gap: 10px; padding: 28px 0 12px; text-align: center; }
.welcome-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.welcome b { font: 700 18px Unbounded, sans-serif; }
.welcome span { font: 400 15px Onest, sans-serif; color: var(--muted); }
.modal.done .auth { display: none; }
.modal.done .welcome { display: flex; }
.modal:not(.register) .reg-only { display: none; }
.modal.register .login-only { display: none; }
.auth-forgot { align-self: center; font: 600 14px Onest, sans-serif; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.gift { color: #B07A00; }
:root[data-theme="dark"] .gift { color: var(--accent); }
.pw { position: relative; display: block; }
.pw input { width: 100%; padding-right: 48px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--muted); display: grid; place-items: center; padding: 0; cursor: pointer; }
.pw-eye:hover { color: var(--text); }

/* Footer links and the legal pages (offer, privacy) */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font: 500 14px Onest, sans-serif; }
.foot-links a { color: var(--muted); }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--text); }
.auth-terms { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font: 400 13px/1.45 Onest, sans-serif !important; color: var(--muted); }
.auth-terms input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: #E0B424; }
.auth-terms a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.legal-back { text-decoration: none; }
.legal { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; font: 400 16px/1.6 Onest, sans-serif; overflow-wrap: anywhere; }
.legal h1 { font: 700 clamp(28px, 5vw, 40px)/1.15 Unbounded, sans-serif; letter-spacing: -.02em; margin: 8px 0 16px; }
.legal h2 { font: 600 19px/1.3 Unbounded, sans-serif; margin: 36px 0 12px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-lead { font-size: 18px; color: var(--muted); }
.legal-table { overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { color: var(--muted); font-weight: 600; }
.plan-price { display: flex; flex-direction: column; gap: 4px; font: 700 26px/1.15 Unbounded, sans-serif; letter-spacing: -.02em; }
.plan-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.plan-price small { font: 500 15px Onest, sans-serif; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.plan-year { font: 500 14px Onest, sans-serif; color: var(--muted); letter-spacing: 0; }
/* Words in tables are not broken mid-word; the first column fits its longest label, the rest share the width. */
.legal-table { overflow-wrap: normal; }
.legal-table th:first-child, .legal-table td:first-child { width: 1%; white-space: nowrap; }
.legal-table th:last-child, .legal-table td:last-child { width: 20%; }
.brand-logo { display: block; width: auto; }
.brand-logo-dark { display: none; }
:root[data-theme="dark"] .brand-logo:not(.brand-logo-dark) { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }

/* Phone menu (below 860 px, where the top navigation is hidden). Sections land below the sticky header. */
.section, .hero { scroll-margin-top: 76px; }
.menu-btn { display: grid; }
.menu-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.menu { position: fixed; top: 0; left: 0; bottom: 0; z-index: 41; width: min(320px, 86vw); display: flex; flex-direction: column; gap: 2px;
  padding: 16px 14px 20px; background: var(--card); box-shadow: var(--shadow); overflow-y: auto;
  transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; }
.menu-head .icon-btn { font-size: 22px; line-height: 1; }
.menu a { display: block; padding: 14px 12px; border-radius: 12px; font: 500 17px Onest, sans-serif; color: var(--text); text-decoration: none; }
.menu a:hover, .menu a:focus-visible { background: var(--soft); color: var(--text); }
.menu-cta { margin-top: auto; min-height: 52px; padding: 0 16px; }
body.menu-open { overflow: hidden; }
body.menu-open .menu { transform: none; visibility: visible; transition: transform .25s ease; }
body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
@media (min-width: 860px) { .menu-btn, .menu, .menu-backdrop { display: none; } }

/* Footer: legal links with the accepted card brands under them, on white chips so they read in both themes. */
.foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.foot-cards { display: flex; gap: 10px; }
.foot-cards img { box-sizing: content-box; height: 22px; width: auto; padding: 7px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); object-fit: contain; }
@media (max-width: 600px) { .foot-right { align-items: flex-start; } }
