/* helloo landing page – plain CSS, no build step */
:root {
  --navy: #0a1a3f;
  --navy-2: #0f2557;
  --royal: #1d4ed8;
  --blue: #2f5bea;
  --sky: #60a5fa;
  --mist: #bfdbfe;
  --ice: #eaf0ff;
  --canvas: #f5f8ff;
  --line: #dce6fb;
  --ink: #0f172a;
  --muted: #5b6b8c;
  /* the four colours of the helloo mark */
  --c-blue: #2563eb;
  --c-yellow: #ffb800;
  --c-pink: #ff3d8b;
  --c-green: #10b981;
  --radius: 22px;
  --shadow: 0 30px 60px -20px rgba(29, 78, 216, .28), 0 12px 24px -12px rgba(10, 26, 63, .18);
  --shadow-sm: 0 10px 30px -12px rgba(29, 78, 216, .25);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 16px/1.65 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; color: var(--navy); }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- progress + header ---------- */
.progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); background: linear-gradient(90deg, var(--c-blue), var(--c-pink), var(--c-yellow), var(--c-green)); z-index: 100; }
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; transition: background .3s, box-shadow .3s, padding .3s; padding: 16px 0; }
.nav.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.nav .logo img { height: 40px; width: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 0; }
.nav ul a { padding: 8px 11px; border-radius: 10px; font-weight: 500; font-size: 14.5px; color: #33446b; transition: background .2s, color .2s; }
.nav ul a:hover { background: var(--ice); color: var(--blue); }
.nav .actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); padding: 6px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s; min-height: 46px; }
.btn .icon { transition: transform .25s; }
.btn:hover .icon.arrow { transform: translateX(4px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--royal)); box-shadow: 0 10px 24px -8px rgba(47, 91, 234, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(47, 91, 234, .7); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--sky); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 130px 0 40px; overflow: hidden; background: radial-gradient(1100px 500px at 50% -10%, #dfe8ff 0%, transparent 70%); }
.aurora { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 420px; height: 420px; background: var(--c-blue); left: -80px; top: 60px; opacity: .22; }
.aurora i:nth-child(2) { width: 320px; height: 320px; background: var(--c-pink); right: 6%; top: 40px; opacity: .16; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 300px; height: 300px; background: var(--c-yellow); left: 38%; top: 260px; opacity: .14; animation-delay: -11s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { text-align: center; max-width: 900px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--blue); box-shadow: var(--shadow-sm); }
.eyebrow b { background: var(--blue); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { text-wrap: balance; font-size: clamp(36px, 5.4vw, 68px); margin: 22px 0 20px; font-weight: 800; letter-spacing: -.04em; }
.grad { background: linear-gradient(100deg, var(--blue) 0%, var(--c-pink) 55%, var(--c-yellow) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 7s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.hero p.lead { font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.invite-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; justify-content: center; align-items: center; }
.invite-note .icon { color: var(--c-green); }

.stage { position: relative; margin: 64px auto 0; max-width: 1080px; perspective: 1600px; }
.browser { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; transform-style: preserve-3d; }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: linear-gradient(#fff, #f3f7ff); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7e1f7; }
.browser .bar i:nth-child(1) { background: #ff6b6b; } .browser .bar i:nth-child(2) { background: var(--c-yellow); } .browser .bar i:nth-child(3) { background: var(--c-green); }
.browser .bar span { margin-left: 14px; flex: 1; max-width: 340px; background: var(--ice); border-radius: 8px; padding: 4px 12px; font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.browser img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px 10px 10px; box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; color: var(--navy); animation: float 6s ease-in-out infinite; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.chip .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 17px; }
.chip.c1 { left: -3%; top: 14%; } .chip.c1 .dot { background: var(--c-green); }
.chip.c2 { right: -3%; top: 34%; animation-delay: -2s; } .chip.c2 .dot { background: var(--c-pink); }
.chip.c3 { left: 6%; bottom: -22px; animation-delay: -4s; } .chip.c3 .dot { background: var(--c-yellow); }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- ticker ---------- */
.ticker { margin-top: 90px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker .track { display: flex; gap: 14px; width: max-content; animation: slide 42s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.tk { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 10px; font-size: 13.5px; white-space: nowrap; color: #33446b; }
.tk b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--blue); }
.tk em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.tk .s-new { background: #dbe7ff; color: #1d4ed8; } .tk .s-as { background: #ede4ff; color: #6d3fd6; } .tk .s-ip { background: #fff1d1; color: #a76500; } .tk .s-rv { background: #d8f1fd; color: #0369a1; } .tk .s-cl { background: #d9f6e8; color: #0b7a4f; }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 120px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--navy); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* problem → promise */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.panel { border-radius: 26px; padding: 40px; position: relative; overflow: hidden; }
.panel.before { background: #fff; border: 1px dashed #c8d6f5; }
.panel.after { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, #17398a 100%); color: #dbe6ff; box-shadow: var(--shadow); }
.panel h3 { font-size: 26px; margin-bottom: 22px; }
.panel.after h3 { color: #fff; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.panel li { display: flex; gap: 12px; align-items: flex-start; }
.panel li .icon { margin-top: 4px; font-size: 18px; }
.before li { color: #50607f; } .before li .icon { color: #e0577a; }
.after li .icon { color: #5eead4; }
.panel .glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: var(--blue); filter: blur(90px); opacity: .5; right: -80px; top: -80px; }

/* ---------- story (sticky) ---------- */
.story { background: #fff; border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 56px; align-items: start; }
.steps .step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .4s; padding-block: 30px; }
.steps .step.active { opacity: 1; }
.step .num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 18px; margin-bottom: 20px; }
.step:nth-child(1) .num { background: var(--c-blue); } .step:nth-child(2) .num { background: var(--c-yellow); } .step:nth-child(3) .num { background: var(--c-pink); } .step:nth-child(4) .num { background: var(--c-green); } .step:nth-child(5) .num { background: var(--navy); }
.step h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 17px; }
.step ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.step li { display: flex; gap: 10px; color: #33446b; font-size: 15.5px; }
.step li .icon { color: var(--c-green); margin-top: 4px; font-size: 17px; }
.step .shot-m { display: none; }
.pin { position: sticky; top: 92px; height: calc(100vh - 140px); max-height: 640px; display: flex; align-items: center; }
.pin .browser { width: 100%; transform: none; }
.browser img.crop { aspect-ratio: 1440 / 780; }
.pin .frame { overflow: hidden; position: relative; aspect-ratio: 1440 / 900; background: var(--canvas); }
.pin .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04) translateY(14px); transition: opacity .6s ease, transform .8s ease; }
.pin .frame img.active { opacity: 1; transform: none; }
.pin .frame img.crop { height: 114%; }
.pin .glow { position: absolute; inset: -40px; background: radial-gradient(closest-side, rgba(47, 91, 234, .22), transparent); z-index: -1; }

/* ---------- lifecycle ---------- */
.life { background: linear-gradient(180deg, var(--canvas), #fff); }
.rail { position: relative; padding: 70px 0 20px; }
.rail .line { position: absolute; left: 6%; right: 6%; top: 98px; height: 6px; border-radius: 6px; background: var(--line); }
.rail .line i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--c-blue), var(--c-pink), var(--c-yellow), var(--c-green)); }
.rail .ticket { position: absolute; top: 72px; left: calc(6% + (88% * var(--p, 0))); transform: translateX(-50%); width: 56px; transition: left .15s linear; filter: drop-shadow(0 10px 14px rgba(47, 91, 234, .35)); z-index: 3; }
.nodes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; z-index: 2; }
.node { text-align: center; padding-top: 52px; position: relative; }
.node::before { content: ''; position: absolute; top: 20px; left: 50%; width: 24px; height: 24px; transform: translateX(-50%); border-radius: 50%; background: #fff; border: 5px solid var(--line); transition: .4s; }
.node.on::before { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 8px rgba(47, 91, 234, .15); }
.node h4 { font-size: 17px; margin-bottom: 6px; } .node p { font-size: 14px; color: var(--muted); padding-inline: 6px; }
.reopen { margin: 56px auto 0; max-width: 760px; display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; box-shadow: var(--shadow-sm); }
.reopen .ic { width: 52px; height: 52px; border-radius: 16px; background: #fff3d1; color: #b86e00; display: grid; place-items: center; font-size: 26px; flex: none; }
.reopen p { color: var(--muted); font-size: 15.5px; } .reopen b { color: var(--navy); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card { position: relative; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 30px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; isolation: isolate; }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 91, 234, .10), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card.s2 { grid-column: span 2; } .card.s3 { grid-column: span 3; } .card.s4 { grid-column: span 4; }
.card h3 { font-size: 22px; margin: 16px 0 8px; } .card p { color: var(--muted); font-size: 15.5px; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 24px; }
.ico.b { background: var(--c-blue); } .ico.y { background: var(--c-yellow); } .ico.p { background: var(--c-pink); } .ico.g { background: var(--c-green); } .ico.n { background: var(--navy); }
.card .shot { margin: 26px -30px -30px; border-top: 1px solid var(--line); }
.card .shot img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: top left; transition: transform .6s; }
.card:hover .shot img { transform: scale(1.04); }
.card.dark { background: linear-gradient(150deg, var(--navy), #17398a); color: #cfdcff; border-color: transparent; }
.card.dark h3 { color: #fff; } .card.dark p { color: #b9c9f2; }
.pillrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--ice); color: var(--blue); }
.dark .pill { background: rgba(255, 255, 255, .12); color: #fff; }
.sev { display: grid; gap: 8px; margin-top: 18px; }
.sev div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #33446b; }
.sev b { width: 34px; text-align: center; padding: 2px 0; border-radius: 8px; color: #fff; font-size: 12px; }
.sev .p1 b { background: #dc2626; } .sev .p2 b { background: #ea580c; } .sev .p3 b { background: #d97706; } .sev .p4 b { background: #16a34a; }
.sev span { flex: 1; height: 8px; border-radius: 8px; background: var(--ice); overflow: hidden; } .sev span i { display: block; height: 100%; border-radius: 8px; background: var(--blue); width: 0; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.in .sev span i, .sev.in span i { width: var(--w); }
.lockviz { display: flex; gap: 10px; margin-top: 22px; }
.lockviz div { flex: 1; border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; text-align: center; }
.lockviz div b { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.thread { display: grid; gap: 10px; margin-top: 20px; }
.msg { border-radius: 14px; padding: 11px 14px; font-size: 14px; max-width: 92%; }
.msg.pub { background: var(--ice); color: #1e3a8a; }
.msg.int { background: #fff8db; color: #7a5b00; border: 1px dashed #e7c960; align-self: flex-end; margin-left: auto; }
.msg small { display: block; font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }

/* ---------- roles ---------- */
.roles { background: #fff; border-block: 1px solid var(--line); }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.tab { border: 1px solid var(--line); background: var(--canvas); color: #33446b; font: 600 14.5px 'Inter', sans-serif; padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: .25s; min-height: 44px; }
.tab:hover { border-color: var(--sky); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 10px 22px -10px rgba(10, 26, 63, .6); }
.pane { display: none; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; animation: paneIn .5s ease; }
.pane.on { display: grid; }
@keyframes paneIn { from { opacity: 0; transform: translateY(18px); } }
.pane h3 { font-size: 32px; margin-bottom: 12px; } .pane > div > p { color: var(--muted); font-size: 17px; }
.pane ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.pane li { display: flex; gap: 12px; color: #33446b; } .pane li .icon { color: var(--blue); margin-top: 5px; font-size: 17px; }
.pane .browser { transform: none; }
.after-login { margin-top: 24px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.after-login b { color: var(--blue); font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: var(--ice); padding: 2px 8px; border-radius: 6px; }

/* ---------- mobile ---------- */
.mobile { overflow: hidden; }
.mob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; aspect-ratio: 390 / 780; border-radius: 38px; border: 9px solid var(--navy); background: var(--navy); box-shadow: var(--shadow); overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.a { left: 8%; top: 40px; transform: rotate(-6deg); } .phone.b { left: 42%; top: 0; transform: rotate(5deg); }
.mob-copy h2 { font-size: clamp(30px, 4vw, 46px); margin: 12px 0 18px; font-weight: 800; } .mob-copy p { color: var(--muted); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; } .checks .icon { color: var(--c-green); margin-top: 5px; font-size: 18px; }

/* ---------- trust ---------- */
.trust { background: var(--navy); color: #cfdcff; overflow: hidden; }
.trust::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 360px at 85% 0%, rgba(47, 91, 234, .55), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(255, 61, 139, .18), transparent 70%); }
.trust .wrap { position: relative; }
.trust h2, .trust h3 { color: #fff; } .trust .sec-head p { color: #b9c9f2; } .trust .kicker { color: var(--sky); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { border-radius: 20px; padding: 28px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.tcard:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .1); }
.tcard .icon { font-size: 28px; color: var(--sky); } .tcard h3 { font-size: 19px; margin: 14px 0 8px; } .tcard p { font-size: 15px; color: #b9c9f2; }

/* ---------- your workspace ---------- */
.setup { background: #fff; border-block: 1px solid var(--line); }
.setup-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.setup-steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 66px; height: 2px; background: repeating-linear-gradient(90deg, var(--mist) 0 8px, transparent 8px 16px); z-index: 0; }
.setup-steps li { position: relative; z-index: 1; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; transition: transform .3s, box-shadow .3s, background .3s; }
.setup-steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.setup-steps .sn { position: absolute; top: 14px; right: 18px; font-size: 44px; font-weight: 800; letter-spacing: -.04em; color: var(--ice); line-height: 1; }
.setup-steps h3 { font-size: 19px; margin: 18px 0 8px; } .setup-steps p { color: var(--muted); font-size: 15px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--mist); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; line-height: 1; color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* ---------- cta + footer ---------- */
.cta-band { padding: 0 0 110px; }
.cta-box { position: relative; overflow: hidden; border-radius: 34px; padding: 80px 30px; text-align: center; color: #fff; background: linear-gradient(135deg, #0a1a3f 0%, #1d4ed8 70%, #2f5bea 100%); box-shadow: var(--shadow); }
.cta-box::before, .cta-box::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.cta-box::before { width: 300px; height: 300px; background: var(--c-pink); left: -80px; bottom: -120px; opacity: .35; }
.cta-box::after { width: 280px; height: 280px; background: var(--c-yellow); right: -60px; top: -120px; opacity: .3; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; max-width: 760px; margin: 0 auto 16px; }
.cta-box p { color: #d4e0ff; font-size: 18px; max-width: 580px; margin: 0 auto 34px; }
.cta-box .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
footer { padding: 0 0 50px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 34px; }
footer img { height: 44px; width: auto; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; } footer nav a:hover { color: var(--blue); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); } [data-reveal="right"] { transform: translateX(40px); } [data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav ul { display: none; }
  .nav.open ul { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 20px 20px; box-shadow: 0 20px 30px -20px rgba(10, 26, 63, .3); border-top: 1px solid var(--line); }
  .nav.open ul a { display: block; padding: 14px; }
  .nav .actions { margin-left: auto; }
  .menu-btn { display: block; }
  .nav .actions .btn-ghost { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .compare, .pane, .mob-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .pin { display: none; }
  .steps .step { min-height: 0; opacity: 1; padding-block: 24px; }
  .step .shot-m { display: block; margin-top: 24px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.s2, .card.s3, .card.s4 { grid-column: span 2; }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .setup-steps { grid-template-columns: 1fr 1fr; } .setup-steps::before { display: none; }
  .chip.c1 { left: 2%; } .chip.c2 { right: 2%; }
  .phones { height: 520px; max-width: 460px; margin-inline: auto; width: 100%; }
  .phone.a { left: 4%; } .phone.b { left: 46%; }
  .nodes { grid-template-columns: 1fr; gap: 26px; padding-left: 54px; }
  .rail { padding: 20px 0; }
  .rail .line { left: 14px; right: auto; top: 20px; bottom: 20px; width: 6px; height: auto; }
  .rail .line i { inset: 0 0 auto 0; width: 100%; height: calc(var(--p, 0) * 100%); }
  .rail .ticket { display: none; }
  .node { text-align: left; padding-top: 0; }
  .node::before { left: -52px; top: 2px; transform: none; }
}
@media (max-width: 640px) {
  .sec { padding: 84px 0; }
  .hero { padding-top: 120px; }
  .chip { display: none; }
  .stats { gap: 12px; } .stat { padding: 20px 12px; } .stat strong { font-size: 34px; }
  .bento, .tgrid, .setup-steps { grid-template-columns: 1fr; }
  .card.s2, .card.s3, .card.s4 { grid-column: auto; }
  .panel { padding: 28px; }
  .reopen { flex-direction: column; text-align: center; }
  .cta-box { padding: 56px 20px; border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.tlog { display: grid; gap: 10px; margin-top: 20px; }
.tlog > div { display: grid; grid-template-columns: 30px 1fr 70px 38px; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.tlog small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.tlog .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c-blue); color: #fff; font-size: 12px; font-weight: 700; }
.tlog i { height: 8px; border-radius: 8px; background: var(--ice); position: relative; overflow: hidden; }
.tlog i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 8px; background: var(--blue); transition: width 1.2s cubic-bezier(.2,.8,.2,1) .3s; }
.in .tlog i::after { width: var(--w); }
.tlog b { text-align: right; }
