/* Hey! Ads mock-up. The app's colours (HeyApp/UI/Theme.swift), Inter, an 8-point grid. */
@font-face { font-family: Inter; src: url(fonts/inter_regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter_medium.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter_semibold.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter_bold.ttf); font-weight: 700; font-display: swap; }

:root {
  --brand: #E8590C;
  --brand-2: #F97316;
  --brand-deep: #C2410C;
  --brand-soft: #FFF0E6;
  --brand-line: #FDD9C2;
  --ink: #0F0F0F;
  --ink-2: #3F3F46;
  --muted: #737373;
  --soft: #F1F1F0;
  --line: #E7E5E4;
  --bg: #FFFFFF;
  --page: #FBFAF8;
  --error: #D62828;
  --green: #2E7D32;
  --green-soft: #E8F5E9;
  --r-lg: 24px; --r: 16px; --r-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15,15,15,.05);
  --shadow: 0 1px 2px rgba(15,15,15,.04), 0 12px 32px -8px rgba(15,15,15,.10);
  --shadow-lg: 0 40px 80px -20px rgba(15,15,15,.28), 0 12px 24px -8px rgba(15,15,15,.12);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--page);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
svg.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[lang=ta] body { line-height: 1.6; }
html[lang=ta] h1, html[lang=ta] h2 { line-height: 1.25; letter-spacing: -0.01em; }

.demo-banner { background: var(--ink); color: #fff; text-align: center; font-size: 12px; font-weight: 500; padding: 6px 12px; }

/* ---------- Top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px clamp(16px, 4vw, 48px); background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(231,229,228,.8);
}
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand-ads { font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand-deep)); padding: 3px 9px; border-radius: 999px; margin-left: 2px; letter-spacing: 0; }
.top-nav { display: flex; align-items: center; gap: 12px; }
.nav-link { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); padding: 8px 4px; }
.nav-link.active { color: var(--ink); }
.lang {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--bg); border-radius: 999px; height: 40px; padding: 0 14px 0 12px;
  font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s;
}
.lang:hover { background: var(--soft); }
.lang svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.lang-name::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 7px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: translateY(-3px) rotate(45deg); }
/* The real picker sits over the label, invisible: a tap opens the phone's own list. */
.lang select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.lang:focus-within { outline: 3px solid var(--brand-line); outline-offset: 2px; }
.who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer;
  font: 600 16px/1 Inter, sans-serif; text-decoration: none; border-radius: 999px; height: 48px; padding: 0 24px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, opacity .2s; white-space: nowrap;
}
.btn:active { transform: scale(.96); }
.btn:focus-visible, .lang:focus-visible, .chip:focus-visible, .big-tile:focus-within, .listen:focus-visible, .mic:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, .tile input:focus-visible + span {
  outline: 3px solid rgba(232,89,12,.35); outline-offset: 2px;
}
.btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -6px rgba(232,89,12,.55);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 28px -6px rgba(232,89,12,.65); transform: translateY(-1px); }
.btn-primary:active { transform: scale(.96); }
.btn-primary[disabled] { opacity: .55; cursor: progress; }
.btn-white { background: #fff; color: var(--brand-deep); box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); }
.btn-soft { background: var(--brand-soft); color: var(--brand-deep); }
.btn-ghost { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 24px; font-size: 17px; }
.btn-xl { height: 60px; padding: 0 32px; font-size: 18px; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 8px 0; color: var(--brand-deep); font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 72px clamp(20px, 4vw, 48px) 88px;
}
.hero-glow {
  position: absolute; inset: -80px -10% auto; height: 640px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 75% 40%, rgba(249,115,22,.18), transparent 70%),
              radial-gradient(35% 40% at 20% 20%, rgba(255,214,186,.5), transparent 70%);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--brand-line); color: var(--brand-deep); font-weight: 600; font-size: 13px; box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(232,89,12,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(232,89,12,.05); } }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); font-weight: 700; letter-spacing: -0.04em; }
html[lang=ta] .hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.hero h1 em {
  font-style: normal; background: linear-gradient(90deg, var(--brand-2), var(--brand-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 19px; color: var(--ink-2); margin: 24px 0 32px; max-width: 32em; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.from { color: var(--muted); font-size: 15px; }
.from strong { color: var(--ink); font-size: 18px; }
.trust { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.trust li svg { color: var(--brand); width: 22px; height: 22px; padding: 7px; box-sizing: content-box; background: var(--brand-soft); border-radius: 10px; }

/* The phone with a live Hey! feed that scrolls by itself */
.stage { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.phone {
  position: relative; width: 320px; border-radius: 52px; padding: 11px; background: linear-gradient(145deg, #2a2a2a, #0b0b0b);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone-hero { transform: rotate(-2deg); }
.notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0b0b0b; z-index: 3; }
.phone-screen { position: relative; border-radius: 42px; overflow: hidden; background: #fff; height: 640px; overflow-y: auto; scrollbar-width: none; }
.phone-screen::-webkit-scrollbar { display: none; }
.phone-hero .phone-screen { overflow: hidden; isolation: isolate; }
.hero-bar { position: relative; z-index: 2; box-shadow: 0 1px 0 var(--line); }
.feed-roll { animation: roll 38s linear infinite; }
.stage:hover .feed-roll { animation-play-state: paused; }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.float {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow); font-weight: 600; font-size: 14px; white-space: nowrap; animation: bob 6s ease-in-out infinite;
}
.float svg { color: var(--brand); }
.f1 { top: 14%; left: -4%; }
.f2 { top: 46%; right: -6%; animation-delay: -2s; }
.f2 svg { color: var(--green); }
.f3 { bottom: 12%; left: 0; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* In-app look (as SponsoredCard.swift and PostCard.swift) */
.app { font-size: 13px; background: #fff; }
.app-top { display: flex; align-items: center; gap: 6px; padding: 44px 14px 8px; }
.phone-screen > .app > .app-top { position: sticky; top: 0; z-index: 2; background: #fff; box-shadow: 0 1px 0 var(--line); }
.app-top img { width: 26px; height: 26px; }
.app-top b { font-size: 19px; letter-spacing: -0.02em; }
.app-top .svc { margin-left: auto; color: #D62828; background: #FDECEC; border-radius: 999px; padding: 4px 10px; font-weight: 600; font-size: 11px; }
.app-top .plus { width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 6px; display: grid; place-items: center; font-weight: 700; line-height: 1; }
.app-chips { display: flex; gap: 6px; padding: 4px 12px 8px; overflow: hidden; }
.app-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-weight: 600; font-size: 11px; white-space: nowrap; }
.app-chips span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.app-stories { display: flex; gap: 10px; padding: 2px 12px 10px; border-bottom: 1px solid var(--line); }
.app-stories div { display: grid; justify-items: center; gap: 3px; font-size: 9px; color: var(--muted); }
.app-stories i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; color: var(--muted);
  background: var(--soft); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand); }
.app-stories div:first-child i { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--line); }
.post-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; }
.post-head .avatar { width: 30px; height: 30px; font-size: 12px; background: var(--soft); color: var(--muted); }
.post-name { font-weight: 600; line-height: 1.2; word-break: break-word; }
.post-sub { color: var(--muted); font-size: 10.5px; }
.post-sub b { color: var(--ink); }
.dots { margin-left: auto; color: var(--muted); font-weight: 700; }
.post-photo { aspect-ratio: 4/5; background: var(--brand-soft) center / cover no-repeat; display: grid; place-items: center; color: var(--brand-deep); font-weight: 600; }
.post-photo.tomato { background: radial-gradient(circle at 30% 35%, #ef4444 0 14%, transparent 15%), radial-gradient(circle at 68% 30%, #dc2626 0 12%, transparent 13%),
  radial-gradient(circle at 50% 62%, #ef4444 0 16%, transparent 17%), radial-gradient(circle at 22% 75%, #b91c1c 0 11%, transparent 12%),
  radial-gradient(circle at 80% 72%, #ef4444 0 13%, transparent 14%), linear-gradient(160deg, #84a14c, #5b7a2e); aspect-ratio: 1/1; }
.post-photo.fish { background: radial-gradient(ellipse 22% 9% at 32% 34%, #cbd5e1 0 96%, transparent 100%), radial-gradient(ellipse 24% 9% at 64% 52%, #e2e8f0 0 96%, transparent 100%),
  radial-gradient(ellipse 20% 8% at 38% 72%, #94a3b8 0 96%, transparent 100%), linear-gradient(160deg, #38bdf8, #0e7490); aspect-ratio: 1/1; }
.post-photo.greens { background: radial-gradient(circle at 25% 30%, #4ade80 0 13%, transparent 14%), radial-gradient(circle at 62% 28%, #22c55e 0 15%, transparent 16%),
  radial-gradient(circle at 45% 64%, #16a34a 0 17%, transparent 18%), radial-gradient(circle at 80% 70%, #4ade80 0 12%, transparent 13%), linear-gradient(160deg, #a16207, #713f12); aspect-ratio: 1/1; }
.post-actions { display: flex; align-items: center; gap: 14px; padding: 9px 12px 2px; }
.post-actions svg { width: 20px; height: 20px; stroke-width: 2.2; }
.post-actions .price { margin-left: auto; font-weight: 700; color: var(--brand-deep); font-size: 15px; }
.post-actions .price small { color: var(--muted); font-size: 10px; font-weight: 600; }
.post-title { font-weight: 600; padding: 4px 12px 14px; }
.ad-strip { display: flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; padding: 11px 14px; }
.ad-strip svg { width: 16px; height: 16px; }
.ad-strip .chev { margin-left: auto; }
.ad-body { padding: 10px 12px 16px; }
.ad-title-row { display: flex; gap: 8px; align-items: baseline; }
.ad-title { font-weight: 600; font-size: 14px; flex: 1; word-break: break-word; }
.ad-price { font-weight: 700; color: var(--brand-deep); font-size: 16px; white-space: nowrap; }
.ad-price small { color: var(--muted); font-weight: 600; font-size: 10.5px; }
.ad-text { margin-top: 4px; color: var(--ink); word-break: break-word; }
.ph { color: #A3A3A3; }

/* ---------- Home: bands ---------- */
.band { max-width: 1200px; margin: 0 auto; padding: 88px clamp(20px, 4vw, 48px); }
.eyebrow { color: var(--brand-deep); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
html[lang=ta] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
.how h2, .prices h2, .faq h2 { max-width: 16em; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.how-card {
  position: relative; background: var(--bg); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow);
  border: 1px solid rgba(231,229,228,.6); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.how-num { position: absolute; right: 20px; top: 4px; font-size: 96px; font-weight: 700; color: var(--brand-soft); line-height: 1; letter-spacing: -0.05em; }
.how-icon { position: relative; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-deep)); color: #fff; box-shadow: 0 12px 24px -8px rgba(232,89,12,.6); }
.how-icon svg { width: 30px; height: 30px; }
.how-card h3 { position: relative; margin-bottom: 8px; }
.how-card p { position: relative; color: var(--muted); margin: 0; }

.reach { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.reach-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.reach-list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bg); border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.reach-list b { min-width: 56px; font-size: 18px; color: var(--brand-deep); }
.rings { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin: 0 auto; }
.ring { position: absolute; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1.5px solid rgba(232,89,12,.25); background: rgba(232,89,12,.04); }
.r50 { width: 100%; height: 100%; } .r25 { width: 78%; height: 78%; } .r10 { width: 56%; height: 56%; background: rgba(232,89,12,.08); }
.r5 { width: 36%; height: 36%; background: rgba(232,89,12,.1); } .r2 { width: 18%; height: 18%; background: rgba(232,89,12,.14); border-color: rgba(232,89,12,.5); }
.rings.seen .ring { animation: grow 1.2s var(--ease) both; }
.rings.seen .r25 { animation-delay: .1s; } .rings.seen .r10 { animation-delay: .2s; } .rings.seen .r5 { animation-delay: .3s; } .rings.seen .r2 { animation-delay: .4s; }
@keyframes grow { from { transform: translate(-50%,-50%) scale(.3); opacity: 0; } }
.shop-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.shop-pin img { width: 34px; }
.buyer { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.b1 { left: 38%; top: 34%; } .b2 { left: 64%; top: 40%; } .b3 { left: 42%; top: 66%; } .b4 { left: 30%; top: 52%; } .b5 { left: 72%; top: 62%; }
.b6 { left: 86%; top: 20%; background: #A3A3A3; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 16px; }
.price-card { position: relative; background: var(--bg); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.price-card.best { border: 2px solid var(--brand); background: linear-gradient(180deg, #fff, var(--brand-soft)); }
.price-card .badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price-card h3 { font-size: 18px; color: var(--ink-2); }
.price-card .amt { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; margin: 8px 0 2px; }
.price-card .per { color: var(--muted); }
.price-card .save { color: var(--green); font-weight: 600; font-size: 14px; margin-top: 6px; }
.fine { color: var(--muted); font-size: 14px; }

.faq-list { margin-top: 32px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--bg); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }

.cta-band {
  margin: 24px auto 88px; border-radius: 32px; padding: 72px 24px; text-align: center; color: #fff; overflow: hidden; position: relative;
  background: radial-gradient(60% 120% at 80% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--brand-2), var(--brand-deep));
  max-width: 1104px; width: calc(100% - 2 * clamp(16px, 4vw, 48px));
}
.cta-band h2 { margin: 0 auto 28px; max-width: 18em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }

/* ---------- Home: what a buyer sees (a real Hey! screen, played as a story by app.js) ---------- */
.see { display: grid; grid-template-columns: .95fr 1.05fr; grid-template-areas: "head stage" "list stage"; column-gap: 56px; align-items: start; }
.see-head { grid-area: head; align-self: end; }
.see-stage { grid-area: stage; position: relative; display: flex; justify-content: center; padding: 8px 0; }
.see-list { grid-area: list; }
.see-steps { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; gap: 10px; }
.see-steps li {
  position: relative; overflow: hidden; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; cursor: pointer;
  border-radius: var(--r); border: 1px solid transparent; transition: background .4s var(--ease), border-color .4s, box-shadow .4s;
}
.see-steps li b { display: block; font-size: 17px; margin-bottom: 2px; }
.see-steps li div span { color: var(--muted); font-size: 15px; }
.see-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--soft); color: var(--muted); transition: all .4s var(--ease); }
.see-steps li.on { background: var(--bg); border-color: var(--brand-line); box-shadow: var(--shadow); }
.see-steps li.on .see-num { background: linear-gradient(135deg, var(--brand-2), var(--brand-deep)); color: #fff; box-shadow: 0 6px 14px -6px rgba(232,89,12,.7); }
.see-steps li.on::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--brand); animation: seeBar var(--dur, 3s) linear forwards; }
@keyframes seeBar { from { width: 0; } to { width: 100%; } }
#see-replay { margin-left: 16px; }
.see-phone { width: 320px; }
.see-screen { height: 660px; overflow: hidden !important; position: relative; font-size: 13px; }
.u-status { position: absolute; top: 0; left: 0; right: 0; height: 42px; z-index: 4; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 0 32px; font-weight: 700; font-size: 13px; }
.u-sys { display: flex; align-items: center; gap: 5px; }
.u-sig { display: flex; gap: 2px; align-items: flex-end; height: 10px; }
.u-sig i { width: 3px; background: var(--ink); border-radius: 1px; }
.u-bat { width: 22px; height: 11px; border: 1.5px solid var(--ink); border-radius: 3px; padding: 1px; }
.u-bat i { display: block; height: 100%; width: 72%; background: var(--ink); border-radius: 1px; }
.u-head { position: absolute; top: 42px; left: 0; right: 0; z-index: 3; background: #fff; }
.u-head .app-top { padding: 4px 14px 8px; }
.u-feed { position: absolute; top: 80px; left: 0; right: 0; transition: transform 1.6s cubic-bezier(.45,.05,.2,1); }
.see-screen.scrolled .u-feed { transform: translateY(var(--y, 0)); }
.u-tabs { position: absolute; bottom: 0; left: 0; right: 0; height: 60px; z-index: 3; display: flex; justify-content: space-around; align-items: flex-start; padding-top: 9px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
.u-tabs svg { width: 22px; height: 22px; color: #A3A3A3; }
.u-tabs .on svg { color: var(--ink); }
.u-splash { position: absolute; inset: 0; z-index: 8; background: #fff; display: grid; place-items: center; align-content: center; gap: 10px; font-weight: 700; font-size: 22px; transition: opacity .5s; }
.u-splash img { width: 88px; }
.see-screen.s0 .u-splash img { animation: splash 1.3s var(--ease) both; }
.see-screen:not(.s0) .u-splash { opacity: 0; pointer-events: none; }
@keyframes splash { from { transform: scale(.5) rotate(-8deg); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } }
.u-ad { position: relative; }
.u-ad::after { content: ''; position: absolute; inset: 2px; border-radius: 6px; box-shadow: 0 0 0 3px var(--brand); opacity: 0; transition: opacity .4s; pointer-events: none; }
.see-screen.hl .u-ad::after { opacity: 1; animation: hl 1.4s ease-in-out infinite; }
@keyframes hl { 50% { box-shadow: 0 0 0 3px var(--brand), 0 0 0 9px rgba(232,89,12,.18); } }
.u-ad .ad-strip { transition: background .2s, transform .2s; }
.see-screen.tap .u-ad .ad-strip { background: var(--brand-line); transform: scale(.98); }
.u-finger {
  position: absolute; z-index: 9; width: 42px; height: 42px; border-radius: 50%; pointer-events: none; left: 78%; top: 92%;
  background: rgba(15,15,15,.2); border: 2px solid rgba(255,255,255,.95); box-shadow: 0 6px 16px rgba(0,0,0,.25);
  opacity: 0; transform: translate(-50%,-50%) scale(1.4);
  transition: opacity .3s, transform .3s var(--ease), left .9s var(--ease), top .9s var(--ease);
}
.see-screen.finger .u-finger { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.see-screen.tap .u-finger { transform: translate(-50%,-50%) scale(.78); }
.see-screen.tap .u-finger::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--brand); animation: ripple .7s ease-out forwards; }
@keyframes ripple { to { transform: scale(2.4); opacity: 0; } }
.u-dim { position: absolute; inset: 0; z-index: 6; background: rgba(15,15,15,.38); opacity: 0; transition: opacity .35s; pointer-events: none; }
.see-screen.callsheet .u-dim { opacity: 1; }
.u-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; background: #fff; border-radius: 24px 24px 0 0; padding: 10px 20px 28px;
  display: grid; gap: 8px; justify-items: center; text-align: center; transform: translateY(105%); transition: transform .45s var(--ease);
}
.see-screen.callsheet .u-sheet { transform: none; }
.u-grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 6px; }
.u-sheet .avatar { width: 52px; height: 52px; font-size: 20px; }
.u-sheet b { font-size: 16px; }
.u-sheet small { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.u-call { width: 100%; height: 46px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .2s, filter .2s; }
.u-call svg { width: 18px; height: 18px; }
.see-screen.press .u-call { transform: scale(.95); filter: brightness(.88); }
.u-cancel { color: var(--muted); font-weight: 600; font-size: 14px; padding-top: 4px; }
.see-toast {
  position: absolute; right: -12px; top: 14%; z-index: 3; display: flex; gap: 12px; align-items: center; max-width: 260px;
  padding: 12px 16px 12px 12px; border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.see-toast.on { opacity: 1; transform: none; }
.see-toast .ring-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.see-toast.on .ring-icon svg { animation: ringing .18s ease-in-out infinite alternate; }
@keyframes ringing { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.see-toast b { display: block; font-size: 15px; }
.see-toast span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }

/* The reach rings send out the ad like a radar; buyers inside light up. */
.shop-pin::before, .shop-pin::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.rings.seen .shop-pin::before { animation: radar 3s ease-out infinite; }
.rings.seen .shop-pin::after { animation: radar 3s 1.5s ease-out infinite; }
@keyframes radar { from { transform: scale(1); opacity: .7; } to { transform: scale(5.5); opacity: 0; } }
.rings.seen .buyer:not(.b6) { animation: ping 3s ease-out infinite; }
.rings.seen .b2 { animation-delay: .4s; } .rings.seen .b3 { animation-delay: .8s; } .rings.seen .b4 { animation-delay: .3s; } .rings.seen .b5 { animation-delay: 1s; }
@keyframes ping { 0%, 40% { box-shadow: 0 2px 6px rgba(0,0,0,.2), 0 0 0 0 rgba(232,89,12,.5); } 70% { box-shadow: 0 2px 6px rgba(0,0,0,.2), 0 0 0 10px rgba(232,89,12,0); } }

/* ---------- Log in ---------- */
.login { display: grid; grid-template-columns: 1fr 1fr; max-width: 1080px; margin: 40px auto 72px; background: var(--bg); border-radius: 32px; box-shadow: var(--shadow-lg); overflow: hidden; }
.login-side { position: relative; min-height: 640px; color: #fff; display: flex; align-items: flex-end; }
.login-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.login-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(194,65,12,.15), rgba(15,15,15,.85)); }
.login-side-text { position: relative; z-index: 1; padding: 40px; }
.login-side h2 { font-size: 32px; margin-bottom: 20px; }
.login-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.login-side li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.login-side li svg { width: 20px; height: 20px; padding: 8px; box-sizing: content-box; border-radius: 12px; background: rgba(255,255,255,.16); }
.login-card { padding: 48px clamp(24px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.login-logo { margin: 0 auto 16px; filter: drop-shadow(0 8px 16px rgba(232,89,12,.25)); }
/* The flying bird (the app's loop). The box is the old logo's place; the video is drawn bigger (its frame is wide
   enough for the spread wings), centred on the bird, without pushing anything. */
.login-bird { position: relative; width: 112px; height: 112px; margin: -8px auto 6px; pointer-events: none; }
.login-bird .bird-still { position: absolute; inset: 14px; width: 84px; height: 84px; transition: opacity .2s; }
.login-bird .bird-still.off { opacity: 0; }
.login-bird .bird-fly { position: absolute; width: 154px; height: 154px; left: 50%; top: 50%; transform: translate(calc(-50% + 4px), -50%); opacity: 0; transition: opacity .2s; }
.login-bird .bird-fly.on { opacity: 1; }
/* Cloudflare's person check. */
.human { display: flex; justify-content: center; min-height: 65px; margin: 4px 0 2px; }
.human:empty { min-height: 0; margin: 0; }
.login-card h1 { text-align: center; font-size: 32px; margin-bottom: 8px; }
.center { text-align: center; }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 48px !important; }
#login-pass { padding-right: 56px !important; }
.eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.eye:hover { background: var(--soft); }
.demo-note { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.demo-note svg { width: 14px; height: 14px; flex: none; }
.login-help { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; display: grid; gap: 14px; }
.login-help div { display: flex; gap: 12px; align-items: flex-start; }
.login-help svg { color: var(--brand); margin-top: 2px; }
.login-help p { margin: 0; font-size: 14px; color: var(--muted); }
.login-help strong { color: var(--ink); }

/* ---------- Forms ---------- */
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend, .label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.optional { color: var(--muted); font-weight: 500; font-size: 13px; }
.count { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea {
  width: 100%; font: 17px Inter, sans-serif; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--r); padding: 14px 16px; min-height: 56px; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(232,89,12,.12); outline: none; }
textarea { resize: vertical; min-height: 80px; }
select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.invalid { border-color: var(--error) !important; box-shadow: 0 0 0 4px rgba(214,40,40,.1) !important; }
.error { color: var(--error); font-size: 15px; font-weight: 600; margin: 8px 0 0; min-height: 22px; }
.hint { color: var(--muted); font-size: 15px; margin: 6px 0 24px; }

/* ---------- Create ---------- */
.create { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; max-width: 1180px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 72px; }
.create-main { background: var(--bg); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(20px, 4vw, 40px); border: 1px solid rgba(231,229,228,.6); }
.create-preview { position: sticky; top: 92px; align-self: start; }
.create-preview .phone { width: 330px; margin: 0 auto; }
.create-preview .phone-screen { height: 640px; }
/* The create page's phones scroll like a phone: momentum on touch, the page doesn't move with them, drag with a mouse. */
#live-preview, #sheet-preview { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
#live-preview.dragging, #sheet-preview.dragging { cursor: grabbing; }
#live-preview .preview-tabs, #sheet-preview .preview-tabs { position: sticky; bottom: 0; height: 52px; padding-top: 8px; }
.preview-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; color: var(--muted); font-size: 12px; font-weight: 500; }
.preview-hint::before { content: "↕"; font-size: 14px; color: var(--brand); }
.preview-title { font-weight: 600; color: var(--muted); font-size: 14px; text-align: center; margin: 0 0 14px; }

.stepper { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stepper li { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); position: relative; text-align: center; }
.stepper li::before { content: ''; position: absolute; top: 22px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.current::before { background: var(--brand); }
.stepper .s-dot { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--muted); transition: all .3s var(--ease); }
.stepper li.current .s-dot { background: linear-gradient(135deg, var(--brand-2), var(--brand-deep)); color: #fff; box-shadow: 0 8px 18px -6px rgba(232,89,12,.6); transform: scale(1.08); }
.stepper li.done .s-dot { background: var(--brand-soft); color: var(--brand-deep); }
.stepper li.current, .stepper li.done { color: var(--ink); }

.step { animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-head h2 { font-size: clamp(26px, 3.4vw, 34px); }
.listen {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--brand-line);
  background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; font-size: 14px; cursor: pointer; flex: none;
}
.listen.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.photo-zone { position: relative; }
.photo-zone > img { width: 100%; max-width: 360px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.photo-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.big-tile {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 14px; min-height: 200px; padding: 20px;
  border-radius: var(--r-lg); border: 2px dashed var(--brand-line); background: linear-gradient(180deg, #fff, var(--brand-soft));
  font-weight: 700; font-size: 18px; text-align: center; cursor: pointer; transition: transform .2s var(--ease), border-color .2s;
}
.big-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.big-tile:active { transform: scale(.98); }
.big-tile input, .change-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.tile-icon { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand-deep)); box-shadow: 0 12px 24px -8px rgba(232,89,12,.6); }
.tile-icon svg { width: 36px; height: 36px; }
.change-photo { position: relative; margin-top: 14px; }
#use-sample { margin-top: 14px; }

.tag-acc { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 3px 9px; border-radius: 999px; }
.tag-acc svg { width: 13px; height: 13px; stroke-width: 3; }
.with-mic { position: relative; }
.with-mic input, .with-mic textarea { padding-right: 64px !important; }
.mic {
  position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; transition: all .2s;
}
.mic.on { background: var(--error); color: #fff; animation: micPulse 1.2s infinite; }
@keyframes micPulse { 50% { box-shadow: 0 0 0 8px rgba(214,40,40,.15); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--bg); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s; position: relative;
}
.chip:hover { border-color: #d6d3d1; background: var(--page); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip svg { width: 17px; height: 17px; }
.select-chip select, .date-chip input { border: 0 !important; min-height: 40px !important; padding: 0 4px !important; font-size: 14px !important; font-weight: 600; background: transparent !important; box-shadow: none !important; width: auto !important; color: inherit !important; }
.price-row { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.price-row .prefix { width: 150px; flex: none; }
.price-row .chips { margin-top: 6px; flex: 1; }
.prefix { position: relative; }
.prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 17px; }
.prefix input { padding-left: 34px !important; }

.action-tiles, .radius-tiles, .day-tiles { display: grid; gap: 12px; }
.action-tiles { grid-template-columns: repeat(4, 1fr); }
.radius-tiles { grid-template-columns: repeat(5, 1fr); margin-top: 8px; }
.day-tiles { grid-template-columns: repeat(3, 1fr); margin: 8px 0 24px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; }
.tile > span {
  display: grid; justify-items: center; align-content: center; gap: 8px; height: 100%; min-height: 112px; padding: 14px 8px; text-align: center;
  border-radius: var(--r); border: 2px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 600; font-size: 14px;
  transition: all .2s var(--ease);
}
.tile > span:hover { border-color: #d6d3d1; }
.tile input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 8px 20px -10px rgba(232,89,12,.6); }
.tile .t-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); transition: all .2s; }
.tile input:checked + span .t-icon { background: var(--brand); color: #fff; }
.tile .t-icon svg { width: 24px; height: 24px; }
.tile .km { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.tile small { color: var(--muted); font-weight: 500; font-size: 12px; line-height: 1.3; }
.radius-dot { border-radius: 50%; background: rgba(232,89,12,.18); border: 2px solid var(--brand); }
.day-tiles .tile > span { min-height: 150px; }
.day-tiles .amt { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; }
.day-tiles .badge { font-style: normal; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; z-index: 1; }

.place-chips { margin: 0 0 14px; }
.map { height: 320px; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 6px; border: 1px solid var(--line); z-index: 0; }
.reach-line { display: flex; gap: 10px; align-items: center; background: var(--brand-soft); color: var(--brand-deep); border-radius: var(--r); padding: 14px 16px; font-weight: 600; margin: 18px 0 0; }

.pay-card { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--page); border: 1px solid var(--line); margin: 8px 0 20px; }
.pay-thumb { aspect-ratio: 4/5; border-radius: var(--r-sm); background: var(--brand-soft) center / cover; }
.pay-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pay-facts li { display: flex; gap: 10px; align-items: center; font-weight: 600; word-break: break-word; }
.pay-facts li:first-child { font-size: 17px; }
.pay-facts svg { color: var(--brand); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; }
.total span { font-weight: 600; color: var(--ink-2); font-size: 18px; }
.total strong { font-size: 44px; letter-spacing: -0.04em; }
.agree { display: flex; gap: 14px; align-items: center; font-size: 16px; font-weight: 500; cursor: pointer; padding: 16px; border-radius: var(--r); border: 1.5px solid var(--line); }
.agree input { width: 26px; height: 26px; accent-color: var(--brand); flex: none; }
.pay-via { text-align: center; color: var(--muted); font-size: 13px; font-weight: 500; margin: 14px 0 0; }

.step-nav { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.step-nav #next { margin-left: auto; min-width: 180px; }
.peek { display: none; }

/* ---------- My ads ---------- */
.myads { max-width: 920px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 48px) 72px; }
.myads-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.myads h1 { font-size: clamp(32px, 4vw, 44px); }
.ad-row { display: grid; grid-template-columns: 104px 1fr auto; gap: 20px; align-items: center; background: var(--bg); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid rgba(231,229,228,.6); padding: 16px; margin-bottom: 14px; }
.ad-row .thumb { width: 104px; aspect-ratio: 4/5; border-radius: var(--r-sm); background: var(--brand-soft) center / cover; }
.ad-row h3 { font-size: 18px; margin-bottom: 6px; word-break: break-word; }
.ad-row .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 14px; }
.ad-row .meta span { display: inline-flex; align-items: center; gap: 5px; }
.ad-row .meta svg { width: 15px; height: 15px; }
.stats { display: flex; gap: 24px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.stats b { display: block; font-size: 20px; color: var(--ink); }
.sample { font-size: 12px; color: var(--muted); margin-top: 4px; }
.row-side { display: grid; justify-items: end; gap: 10px; }
.status { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.review { background: #FEF3C7; color: #92400E; }
.status.live { background: var(--green-soft); color: var(--green); }
.status.ended, .status.stopped { background: var(--soft); color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 72px 24px; background: var(--bg); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.empty .tile-icon { margin: 0 auto 20px; }
.empty strong { display: block; color: var(--ink); font-size: 22px; margin-bottom: 6px; }

/* ---------- Sheets, modal, footer ---------- */
.modal, .sheet { position: fixed; inset: 0; z-index: 2000; background: rgba(15,15,15,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.modal-card { background: var(--bg); border-radius: 28px; padding: 36px 28px 28px; max-width: 400px; width: 100%; text-align: center; animation: pop .4s cubic-bezier(.2,.9,.3,1.3); box-shadow: var(--shadow-lg); }
.modal-card h2 { font-size: 28px; margin-bottom: 8px; }
.modal-card p { color: var(--muted); margin: 0 0 8px; }
.modal-card .btn { margin-top: 16px; }
.tick { width: 80px; height: 80px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.tick svg { width: 40px; height: 40px; stroke-width: 3; animation: draw .6s .15s var(--ease) both; stroke-dasharray: 30; }
@keyframes draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet { align-items: end; padding: 0; }
.sheet-card { position: relative; background: var(--page); width: 100%; border-radius: 28px 28px 0 0; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); animation: up .35s var(--ease); max-height: 92vh; overflow: auto; }
.sheet-card .phone { margin: 0 auto; width: 290px; }
.sheet-card .phone-screen { height: 560px; }
.sheet-close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; }
@keyframes up { from { transform: translateY(100%); } }

.mobile-cta { display: none; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 32px clamp(20px, 4vw, 48px) 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.foot nav { display: flex; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- Tablets ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 32px; }
  .stage { padding: 8px 0 32px; }
  .reach { grid-template-columns: 1fr; gap: 40px; }
  .see { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "list"; }
  .see-head { text-align: left; }
  .see-stage { margin-top: 24px; }
  .create { grid-template-columns: 1fr; }
  .create-preview { display: none; }
  .peek { display: inline-flex; }
  .login { grid-template-columns: 1fr; margin: 0; border-radius: 0; box-shadow: none; }
  .login-side { min-height: 0; order: 2; }
  .login-side-text { padding: 24px; }
  .login-side h2 { font-size: 24px; margin-bottom: 12px; }
  .login-side ul { gap: 8px; font-size: 14px; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .nav-link, .who-name, .nav-create { display: none; }
  .demo-banner { font-size: 11px; padding: 5px 12px; }
  .who { gap: 6px; }
  .who .link { font-size: 13px; }
  .lang { height: 36px; padding: 0 12px; font-size: 13px; }
  .top .btn-sm { height: 36px; padding: 0 14px; }
  .see-phone { width: 290px; }
  .see-screen { height: 580px; }
  .see-toast { right: 0; top: 6%; max-width: 230px; padding: 10px 12px 10px 10px; }
  .see-toast .ring-icon { width: 36px; height: 36px; }
  .see-steps { margin-top: 20px; }
  .see-steps li { padding: 12px; }
  /* On a phone only the step being shown is listed, right under the phone, so both are on screen together. */
  .see-steps { margin-top: 14px; min-height: 104px; }
  .see-steps li:not(.on) { display: none; }
  .see-list { text-align: center; }
  .see-steps li { text-align: left; }
  .see-steps li b { font-size: 16px; }
  #see-replay { margin-left: 8px; }
  .login-card { order: 1; }
  .top-nav { gap: 8px; }
  .brand { font-size: 19px; }
  .hero { padding: 32px 20px 24px; }
  .hero h1 { font-size: 46px; }
  html[lang=ta] .hero h1 { font-size: 34px; }
  .lead { font-size: 17px; margin: 18px 0 24px; }
  .hero-actions .btn { width: 100%; }
  .from { width: 100%; text-align: center; }
  .trust { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .phone { width: 290px; border-radius: 48px; }
  .phone-screen { height: 580px; border-radius: 38px; }
  .phone-hero { transform: none; }
  .float { font-size: 12px; padding: 8px 11px; }
  .f1 { left: 0; top: 10%; } .f2 { right: 0; } .f3 { left: 4px; bottom: 8%; }
  .band { padding: 64px 20px; }
  .how-grid, .price-grid { grid-template-columns: 1fr; gap: 14px; }
  .how-card { padding: 24px; display: grid; grid-template-columns: 64px 1fr; gap: 4px 18px; align-items: center; }
  .how-icon { grid-row: span 2; margin: 0; }
  .how-num { font-size: 72px; }
  .price-card { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 22px; }
  .price-card .amt { grid-row: span 3; grid-column: 2; font-size: 40px; margin: 0; }
  .cta-band { margin: 0 auto 120px; padding: 56px 20px; border-radius: 28px; }
  .cta-band .btn { width: 100%; }
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(251,250,248,0), rgba(251,250,248,.95) 30%); transform: translateY(120%); transition: transform .35s var(--ease);
  }
  .mobile-cta.show { transform: none; }
  .seeing .mobile-cta.show { transform: translateY(120%); }
  .create { padding: 0 0 120px; }
  .create-main { border-radius: 0; box-shadow: none; border: 0; padding: 20px 16px; background: var(--bg); }
  .stepper { margin-bottom: 24px; }
  .stepper .s-dot { width: 40px; height: 40px; }
  .stepper li::before { top: 19px; }
  .stepper li { font-size: 11px; }
  .step-head h2 { font-size: 26px; }
  .listen span { display: none; }
  .listen { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .big-tile { min-height: 168px; font-size: 16px; }
  .tile-icon { width: 64px; height: 64px; }
  .action-tiles { grid-template-columns: 1fr 1fr; }
  .radius-tiles { grid-template-columns: repeat(3, 1fr); }
  .tile > span { min-height: 100px; }
  .map { height: 260px; }
  .price-row .prefix { width: 100%; }
  .step-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .step-nav .btn { height: 56px; padding: 0 18px; }
  .step-nav #back span, .step-nav .peek span { display: none; }
  .step-nav #back, .step-nav .peek { width: 56px; padding: 0; }
  .step-nav #next { flex: 1; min-width: 0; }
  .error { position: fixed; left: 16px; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 901; margin: 0; background: #fff; border: 1.5px solid var(--error); border-radius: var(--r); padding: 12px 16px; box-shadow: var(--shadow); min-height: 0; }
  .error:empty { display: none; }
  #login-error { position: static; }
  .total strong { font-size: 38px; }
  .pay-card { grid-template-columns: 88px 1fr; }
  .myads { padding-top: 28px; }
  .myads-head .btn span { display: none; }
  .myads-head .btn { width: 48px; padding: 0; }
  .ad-row { grid-template-columns: 80px 1fr; gap: 14px; }
  .ad-row .thumb { width: 80px; }
  .row-side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .login-card { padding: 28px 20px 40px; }
  .login-card h1 { font-size: 28px; }
  .foot { justify-content: center; text-align: center; padding-bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
