/* Yada Yada website. One light stylesheet, no frameworks: fast on South African mobile data. */
:root {
  --ink: #070f24;
  --navy: #0b1a3d;
  --navy-2: #12285a;
  --text: #0b1430;
  --text-2: #3b4866;
  --muted: #6b7690;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e4e9f3;
  --blue: #2f6bff;
  --blue-2: #5b8cff;
  --gold: #f4b63f;
  --gold-2: #ffd27a;
  --mint: #34d399;
  --pay: #7a5ac8;
  --pay-t: #efeafa;
  --pay-o: #4f3394;
  --due: #d9620c;
  --due-t: #fdeee2;
  --due-o: #8f3f05;
  --bring: #2e9a68;
  --bring-t: #e3f5ec;
  --bring-o: #1d6544;
  --date: #2f6bff;
  --date-t: #e7eeff;
  --date-o: #1d46b8;
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 1px 2px rgba(11, 20, 48, 0.04), 0 8px 24px rgba(11, 20, 48, 0.06);
  --shadow-lg: 0 30px 80px rgba(3, 8, 24, 0.45);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 4px 14px rgba(3, 8, 24, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav .pill { background: var(--gold); color: var(--ink) !important; padding: 9px 16px; box-shadow: 0 6px 20px rgba(244, 182, 63, 0.35); }
.nav .pill:hover { background: var(--gold-2) !important; }
.nav.solid { background: rgba(7, 15, 36, 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: rgba(255, 255, 255, 0.08); }
.nav.light { background: rgba(246, 248, 252, 0.86); border-color: var(--line); }
.nav.light .brand { color: var(--text); }
.nav.light .nav-links a { color: var(--text-2); }
.nav.light .nav-links a:hover { color: var(--text); background: rgba(11, 20, 48, 0.05); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s; }
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px rgba(244, 182, 63, 0.35); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(244, 182, 63, 0.45); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 128px 0 96px; isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: 0.9; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.aurora .a1 { width: 52vw; height: 52vw; left: -6%; top: -8%; background: radial-gradient(circle, #2f6bff 0%, transparent 65%); }
.aurora .a2 { width: 44vw; height: 44vw; right: -4%; top: 4%; background: radial-gradient(circle, #f4b63f 0%, transparent 62%); opacity: 0.55; animation-duration: 28s; }
.aurora .a3 { width: 40vw; height: 40vw; left: 30%; bottom: -16%; background: radial-gradient(circle, #7a5ac8 0%, transparent 62%); opacity: 0.6; animation-duration: 34s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6%, 4%, 0) scale(1.08); } 100% { transform: translate3d(-4%, 6%, 0) scale(0.96); } }
.grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.eyebrow b { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1; letter-spacing: -0.04em; margin: 22px 0 22px; font-weight: 800; }
.hero h1 .glow { background: linear-gradient(100deg, #ffe2a3 0%, #f4b63f 40%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.78); max-width: 540px; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.small-print { display: flex; flex-wrap: wrap; gap: 8px 18px; color: rgba(255, 255, 255, 0.62); font-size: 14px; }
.small-print span::before { content: '✓'; color: var(--mint); font-weight: 800; margin-right: 6px; }

/* ---------- The phone ---------- */
.stage { position: relative; perspective: 1400px; display: flex; justify-content: center; }
.phone { position: relative; width: 310px; height: 630px; border-radius: 48px; padding: 12px; background: linear-gradient(145deg, #2a3a63, #0e1630); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: rotateY(-14deg) rotateX(6deg) translateY(0); } 50% { transform: rotateY(-10deg) rotateX(4deg) translateY(-12px); } }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #eef1f7; color: var(--text); }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #05070d; z-index: 5; }
.reflection { position: absolute; inset: 0; border-radius: 37px; background: linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, transparent 30%); pointer-events: none; z-index: 6; }
.halo { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 182, 63, 0.35), transparent 65%); filter: blur(20px); top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }

/* chat view */
.chat-head { position: absolute; top: 0; left: 0; right: 0; padding: 50px 16px 12px; background: #ffffff; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); z-index: 3; transition: opacity 0.5s; }
.chat-head .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #9fb4e6, #6d86c4); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; }
.chat-head b { display: block; font-size: 14px; line-height: 1.2; }
.chat-head small { color: var(--muted); font-size: 11px; }
.unread { margin-left: auto; background: #ef4444; color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; font-variant-numeric: tabular-nums; }
.feed { position: absolute; left: 0; right: 0; top: 104px; bottom: 0; padding: 10px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; }
.bubble { max-width: 82%; padding: 7px 11px; border-radius: 14px; font-size: 12.5px; line-height: 1.35; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); align-self: flex-start; animation: pop 0.35s var(--ease) both; transition: opacity 0.6s, filter 0.6s, transform 0.6s; }
.bubble.me { align-self: flex-end; background: #dcf2ff; }
.bubble i { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; color: #6d86c4; margin-bottom: 1px; }
.bubble.key { box-shadow: 0 0 0 2px rgba(244, 182, 63, 0); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
.screen.sorting .bubble:not(.key) { opacity: 0.12; filter: blur(2px); transform: scale(0.97); }
.screen.sorting .bubble.key { box-shadow: 0 0 0 2px var(--gold), 0 8px 24px rgba(244, 182, 63, 0.35); }
.scan { position: absolute; left: 0; right: 0; height: 120px; top: -140px; background: linear-gradient(180deg, transparent, rgba(47, 107, 255, 0.18), transparent); z-index: 4; pointer-events: none; }
.screen.sorting .scan { animation: scan 1.4s var(--ease) forwards; }
@keyframes scan { to { top: 100%; } }

/* calm view */
.calm { position: absolute; inset: 0; padding: 54px 14px 14px; background: linear-gradient(180deg, #f6f8fc, #eef2fa); opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); z-index: 4; }
.screen.calmed .calm { opacity: 1; transform: none; }
.feed { transition: opacity 0.45s var(--ease); }
.screen.calmed .feed, .screen.calmed .chat-head { opacity: 0; }
.calm .hi { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; margin: 6px 4px 0; }
.calm .sub { color: var(--muted); font-size: 12px; margin: 0 4px 12px; }
.calm .summary { background: var(--navy); color: #fff; border-radius: 18px; padding: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.calm .summary .ring { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: conic-gradient(var(--gold) 0 120deg, rgba(255, 255, 255, 0.15) 0); position: relative; }
.calm .summary .ring::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--navy); }
.calm .summary .ring b { position: relative; z-index: 1; font-size: 14px; }
.calm .summary span { font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.calm .summary strong { display: block; font-size: 15px; color: #fff; }
.item { display: flex; align-items: center; gap: 10px; border-radius: 16px; padding: 11px; margin-bottom: 8px; opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.screen.calmed .item { opacity: 1; transform: none; }
.screen.calmed .item:nth-of-type(2) { transition-delay: 0.15s; }
.screen.calmed .item:nth-of-type(3) { transition-delay: 0.3s; }
.screen.calmed .item:nth-of-type(4) { transition-delay: 0.45s; }
.item .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.item b { display: block; font-size: 13.5px; line-height: 1.25; }
.item span { font-size: 11.5px; }
.item .chk { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; opacity: 0.5; flex: none; }
.i-pay { background: var(--pay-t); color: var(--pay-o); } .i-pay .ic { background: var(--pay); }
.i-due { background: var(--due-t); color: var(--due-o); } .i-due .ic { background: var(--due); }
.i-bring { background: var(--bring-t); color: var(--bring-o); } .i-bring .ic { background: var(--bring); }
.i-date { background: var(--date-t); color: var(--date-o); } .i-date .ic { background: var(--date); }
.toast { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: all 0.5s var(--ease) 0.9s; }
.screen.calmed .toast { opacity: 1; transform: translate(-50%, 0); }
.badge-float { position: absolute; background: #fff; color: var(--text); border-radius: 16px; padding: 10px 14px; box-shadow: 0 20px 50px rgba(3, 8, 24, 0.35); font-size: 13px; font-weight: 700; display: flex; gap: 10px; align-items: center; animation: float2 8s ease-in-out infinite; }
.badge-float small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.badge-float .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 14px; }
.bf1 { left: -30px; top: 110px; } .bf2 { right: -26px; bottom: 120px; animation-delay: -3s; }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
section { padding: 110px 0 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 16px; font-weight: 800; }
.sub { color: var(--text-2); font-size: clamp(17px, 1.5vw, 19px); max-width: 640px; margin: 0; }
.center { text-align: center; } .center .sub { margin: 0 auto; }

/* facts strip */
.facts { margin-top: -48px; position: relative; z-index: 2; }
.facts .row { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.fact { padding: 26px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.fact span { color: var(--text-2); font-size: 14.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--blue)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) 0.2s; }
.steps.in::before { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step .num { width: 68px; height: 68px; border-radius: 22px; margin: 0 auto 18px; display: grid; place-items: center; font-weight: 800; font-size: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 1; }
.step:nth-child(1) .num { color: var(--due); } .step:nth-child(2) .num { color: var(--blue); } .step:nth-child(3) .num { color: var(--bring); }
.step h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.step p { margin: 0 auto; color: var(--text-2); max-width: 300px; }

/* languages */
.lang { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--navy); color: #fff; border-radius: 32px; padding: 56px; overflow: hidden; position: relative; }
.lang::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(47, 107, 255, 0.45), transparent 65%); }
.lang .h2 { color: #fff; } .lang .sub { color: rgba(255, 255, 255, 0.75); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; margin-top: 28px; position: relative; z-index: 1; }
.tabs button { font: inherit; font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, 0.75); background: none; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: all 0.25s var(--ease); min-height: 44px; }
.tabs button[aria-selected='true'] { background: #fff; color: var(--ink); }
.lang-cards { position: relative; z-index: 1; display: grid; gap: 12px; }
.lang-cards .item { opacity: 1; transform: none; padding: 16px; border-radius: 18px; transition: transform 0.4s var(--ease); }
.lang-cards .item b { font-size: 16px; } .lang-cards .item span { font-size: 13.5px; }
.lang-cards .item .ic { width: 42px; height: 42px; border-radius: 12px; font-size: 17px; }
.lang-cards.swap .item { animation: swap 0.55s var(--ease) both; }
.lang-cards.swap .item:nth-child(2) { animation-delay: 0.06s; } .lang-cards.swap .item:nth-child(3) { animation-delay: 0.12s; }
@keyframes swap { 0% { opacity: 1; transform: none; } 38% { opacity: 0; transform: translateY(-8px); } 42% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; margin-top: 48px; }
.tile { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 26px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.35s var(--ease), box-shadow 0.35s; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 20, 48, 0.05), 0 24px 50px rgba(11, 20, 48, 0.1); }
.tile h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.015em; }
.tile p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.tile .tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--pay-o); background: var(--pay-t); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }
.tile .tag.free { color: var(--bring-o); background: var(--bring-t); }
.t-ask { background: linear-gradient(160deg, #0b1a3d, #12285a); color: #fff; border: 0; }
.t-ask p { color: rgba(255, 255, 255, 0.75); }
.t-ask .tag { background: rgba(255, 255, 255, 0.12); color: #fff; }
.t-today, .t-ask { grid-column: span 4; }
.t-cal, .t-pay { grid-column: span 2; }
.t-family, .t-bag, .t-snap, .t-voice { grid-column: span 3; }
.demo { margin-top: auto; padding-top: 20px; }
.ask-box { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; padding: 14px; display: grid; gap: 10px; min-height: 150px; }
.q { justify-self: end; background: var(--gold); color: var(--ink); font-weight: 700; padding: 8px 13px; border-radius: 14px 14px 4px 14px; font-size: 14px; }
.a { background: rgba(255, 255, 255, 0.1); padding: 10px 13px; border-radius: 14px 14px 14px 4px; font-size: 14px; color: #fff; min-height: 40px; }
.a .src { display: block; color: rgba(255, 255, 255, 0.55); font-size: 12px; margin-top: 4px; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--gold); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ref { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--pay-t); color: var(--pay-o); border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.ref code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; }
.copy { font: inherit; font-size: 13px; font-weight: 800; border: 0; background: var(--pay); color: #fff; border-radius: 999px; padding: 7px 12px; cursor: pointer; min-height: 36px; }
.amount { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; color: var(--text); }
.people { display: flex; align-items: center; gap: 10px; }
.av2 { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; border: 3px solid #fff; box-shadow: var(--shadow); }
.av2 + .av2 { margin-left: -16px; }
.done-by { display: flex; align-items: center; gap: 8px; background: var(--bring-t); color: var(--bring-o); border-radius: 14px; padding: 10px 12px; font-weight: 700; font-size: 14px; margin-top: 12px; }
.done-by .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--bring); color: #fff; display: grid; place-items: center; font-size: 12px; }
.paper { position: relative; background: #fffdf7; border: 1px solid #efe6cf; border-radius: 12px; padding: 14px; transform: rotate(-2deg); overflow: hidden; }
.paper i { display: block; height: 7px; border-radius: 4px; background: #e8dfc7; margin-bottom: 7px; }
.paper i.hl { background: var(--gold); width: 70%; }
.paper::after { content: ''; position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, rgba(47, 107, 255, 0.35), transparent); animation: scanp 2.6s ease-in-out infinite; }
@keyframes scanp { 0% { top: -40px; } 60%, 100% { top: 100%; } }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.bars span { width: 7px; border-radius: 4px; background: linear-gradient(180deg, var(--gold), var(--due)); animation: eq 1.1s ease-in-out infinite; }
.bars span:nth-child(2) { animation-delay: -0.2s; } .bars span:nth-child(3) { animation-delay: -0.5s; } .bars span:nth-child(4) { animation-delay: -0.8s; } .bars span:nth-child(5) { animation-delay: -0.35s; } .bars span:nth-child(6) { animation-delay: -0.65s; } .bars span:nth-child(7) { animation-delay: -0.1s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.bag { display: grid; gap: 8px; }
.bag label { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.bag input { width: 20px; height: 20px; accent-color: var(--bring); }
.bag input:checked + span { text-decoration: line-through; color: var(--muted); }

/* in plain words */
.qa3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.qa { padding: 30px; }
.qa-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.qa h3 { font-size: 23px; }
.qa p { font-size: 16.5px; line-height: 1.65; }

/* week + calendar tiles */
.week { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.week .day > b { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.week .item, .t-today .item { opacity: 1; transform: none; margin: 0; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.cal i { font-style: normal; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--bg); color: var(--text); font-size: 14px; position: relative; }
.cal i.d1 { background: var(--due-t); color: var(--due-o); } .cal i.d2 { background: var(--date-t); color: var(--date-o); } .cal i.d3 { background: var(--pay-t); color: var(--pay-o); }
.cal i.d1::after, .cal i.d2::after, .cal i.d3::after { content: ''; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* privacy */
.privacy { background: var(--ink); color: #fff; border-radius: 32px; padding: 64px 56px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; position: relative; overflow: hidden; }
.privacy::before { content: ''; position: absolute; width: 600px; height: 600px; left: -240px; bottom: -320px; background: radial-gradient(circle, rgba(52, 211, 153, 0.25), transparent 65%); }
.privacy .h2 { color: #fff; } .privacy .sub { color: rgba(255, 255, 255, 0.72); }
.shield { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint), #0ea5e9); font-size: 38px; margin-bottom: 22px; box-shadow: 0 20px 50px rgba(52, 211, 153, 0.35); }
.plist { display: grid; gap: 14px; position: relative; z-index: 1; }
.plist div { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 18px; padding: 16px 18px; }
.plist .pi { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(52, 211, 153, 0.15); color: var(--mint); font-weight: 800; }
.plist b { display: block; } .plist span { color: rgba(255, 255, 255, 0.7); font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; max-width: 900px; margin-left: auto; margin-right: auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.plan.plus { background: linear-gradient(160deg, #0b1a3d, #1b2f66); color: #fff; border: 0; position: relative; overflow: hidden; }
.plan.plus::after { content: ''; position: absolute; width: 300px; height: 300px; right: -100px; top: -120px; background: radial-gradient(circle, rgba(244, 182, 63, 0.4), transparent 65%); }
.plan h3 { margin: 0; font-size: 22px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; margin: 10px 0 2px; }
.price small { font-size: 16px; font-weight: 600; opacity: 0.7; letter-spacing: 0; }
.plan .note { margin: 0 0 20px; color: var(--text-2); font-size: 15px; }
.plan.plus .note { color: rgba(255, 255, 255, 0.7); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.plan li { padding-left: 30px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--bring-t); color: var(--bring-o); }
.plan.plus li::before { background: var(--gold); color: var(--ink); }
.ribbon { position: absolute; top: 22px; right: 22px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; z-index: 1; }

/* faq */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: box-shadow 0.25s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 20px 32px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--blue); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--text-2); }

/* final cta */
.final { margin-top: 110px; background: var(--ink); color: #fff; text-align: center; padding: 96px 0; position: relative; overflow: hidden; isolation: isolate; }
.final .h2 { color: #fff; max-width: 760px; margin: 0 auto 16px; }
.final .sub { color: rgba(255, 255, 255, 0.72); margin: 0 auto 32px; }

/* footer */
footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); font-size: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-top: 44px; padding-bottom: 44px; }
footer .brand { margin-bottom: 10px; }
footer h4 { color: #fff; font-size: 14px; margin: 0 0 10px; }
footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: #fff; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 18px; font-size: 13px; }

/* documents */
.doc-hero { background: var(--ink); color: #fff; padding: 132px 0 64px; position: relative; overflow: hidden; isolation: isolate; }
.doc-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.035em; line-height: 1.05; margin: 10px 0 10px; }
.doc-hero p { color: rgba(255, 255, 255, 0.7); margin: 0; }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 44px 48px; margin: -32px auto 0; max-width: 860px; position: relative; box-shadow: var(--shadow); }
.doc h2 { font-size: 22px; margin: 34px 0 8px; letter-spacing: -0.01em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text-2); }
.doc .table { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--bg); color: var(--text); }
mark { background: #fff1c9; color: #7a4b00; border-radius: 4px; padding: 0 4px; }

/* hero load-in (never depends on scrolling) */
.rise { animation: rise-in 0.9s var(--ease) both; }
.rise.d2 { animation-delay: 0.08s; } .rise.d3 { animation-delay: 0.16s; } .rise.d4 { animation-delay: 0.24s; } .rise.d5 { animation-delay: 0.32s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal='2'] { transition-delay: 0.08s; } [data-reveal='3'] { transition-delay: 0.16s; } [data-reveal='4'] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .phone { transform: rotateY(-10deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 108px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; text-align: center; }
  .lead, .cta-row, .small-print { margin-left: auto; margin-right: auto; justify-content: center; }
  .facts .row { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .lang, .privacy { grid-template-columns: 1fr; padding: 40px 28px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-today, .t-ask { grid-column: span 2; } .t-cal, .t-pay, .t-family, .t-snap, .t-bag, .t-voice { grid-column: span 1; }
  .qa3 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; } footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .nav-links a:not(.pill) { display: none; }
  .steps { grid-template-columns: 1fr; gap: 34px; } .steps::before { display: none; }
  .bento { grid-template-columns: 1fr; } .t-today, .t-cal, .t-ask, .t-pay, .t-family, .t-snap, .t-bag, .t-voice { grid-column: span 1; }
  .week { grid-template-columns: 1fr; }
  .bf1 { left: -6px; top: 70px; } .bf2 { right: -6px; }
  .phone { width: 280px; height: 570px; }
  .doc { padding: 26px 20px; border-radius: 20px; }
  section { padding-top: 84px; }
}
@media (max-width: 420px) { .facts .row { grid-template-columns: 1fr; } .fact { border-right: 0; border-bottom: 1px solid var(--line); } .badge-float { display: none; } }

/* ===================== 2026 enhancements (progressive: older browsers get the classic version) ===================== */

/* Seamless page-to-page transitions (cross-document View Transitions). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

/* Better line breaking for headings and paragraphs. */
h1, .h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Skip rendering work for sections far below the fold until they're near. */
section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.sr:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 800; }

/* Reading progress bar. */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--blue), var(--pay)); pointer-events: none; }

@supports (animation-timeline: view()) {
  /* Scroll-driven reveals run on the compositor: smooth even on budget phones. */
  [data-reveal] { opacity: 1; transform: none; transition: none; animation: sd-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  @keyframes sd-reveal { from { opacity: 0; transform: translateY(48px) scale(0.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
  .steps::before { transition: none; transform: scaleX(1); animation: sd-grow linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
  @keyframes sd-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .progress { animation: sd-progress linear both; animation-timeline: scroll(root); }
  @keyframes sd-progress { to { transform: scaleX(1); } }
  /* The hero phone drifts up and settles as you scroll past. */
  .hero .stage { animation: sd-parallax linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  @keyframes sd-parallax { to { transform: translateY(-60px) scale(0.96); opacity: 0.6; } }
}

/* Cursor spotlight on cards (pointer devices only). */
@media (hover: hover) {
  .tile::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 107, 255, 0.10), transparent 45%); }
  .tile:hover::before { opacity: 1; }
  .t-ask::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 182, 63, 0.16), transparent 45%); }
}

/* Plus card: a slowly turning gradient border (animated with @property). */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.plan.plus { border: 2px solid transparent; background: linear-gradient(160deg, #0b1a3d, #1b2f66) padding-box, conic-gradient(from var(--angle), #f4b63f, #2f6bff, #7a5ac8, #34d399, #f4b63f) border-box; animation: spin-border 7s linear infinite; }
@keyframes spin-border { to { --angle: 360deg; } }

/* Hero phone follows the pointer a little (set by site.js). */
.stage { transition: transform 0.4s var(--ease); }
.tilt { transform: perspective(1200px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform 0.25s ease-out; }

/* ---------- Try it: sample groups ---------- */
.try { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 28px; box-shadow: var(--shadow); }
.try .tabs { background: var(--bg); margin: 0 auto 24px; display: flex; width: max-content; max-width: 100%; overflow-x: auto; }
.try .tabs button { color: var(--text-2); }
.try .tabs button[aria-selected='true'] { background: var(--ink); color: #fff; }
.try-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.try-chat { background: #e9eef6; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 380px; position: relative; overflow: hidden; }
.try-chat .head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid rgba(11, 20, 48, 0.08); }
.try-chat .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #9fb4e6, #6d86c4); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px; flex: none; }
.try-chat .head b { font-size: 15px; } .try-chat .head small { color: var(--muted); display: block; font-size: 12px; }
.try-chat .bubble { font-size: 13.5px; max-width: 88%; }
.try-chat.sorting .bubble:not(.key) { opacity: 0.25; filter: blur(1.5px); }
.try-chat.sorting .bubble.key { box-shadow: 0 0 0 2px var(--gold), 0 8px 20px rgba(244, 182, 63, 0.3); }
.try-arrow { display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 13px; }
.try-arrow .orb { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from var(--angle), var(--gold), var(--blue), var(--pay), var(--gold)); animation: spin-border 3s linear infinite; position: relative; }
.try-arrow .orb::after { content: '→'; position: absolute; inset: 4px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 24px; color: var(--text); font-weight: 800; }
.try-list { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.try-list .count { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.try-list .item { opacity: 0; transform: translateY(14px); }
.try-list .item.show { opacity: 1; transform: none; }
.try-list .item b { font-size: 15px; } .try-list .item span { font-size: 13px; }
.try-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 18px 0 0; }
@media (max-width: 860px) { .try-grid { grid-template-columns: 1fr; } .try-arrow { grid-auto-flow: column; } .try-arrow .orb { transform: rotate(90deg); } .try-chat { min-height: 0; } }

/* ---------- 404 ---------- */
.lost { min-height: 78vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; padding: 120px 22px 80px; position: relative; overflow: hidden; isolation: isolate; }
.lost h1 { font-size: clamp(40px, 7vw, 72px); letter-spacing: -0.04em; margin: 8px 0 12px; }
.lost p { color: rgba(255, 255, 255, 0.72); margin: 0 0 28px; }
