/* Marketing site. Built on theme.css. */

.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
html { scroll-padding-top: 84px; }
body { overflow-x: hidden; }

/* ---- Nav ---- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 70px; }
.nav-links { display: flex; gap: 26px; margin-right: auto; font-size: 14.5px; font-weight: 550; }
.nav-links a, .nav-help { color: var(--ink-2); transition: color .15s; }
.nav-links a:hover, .nav-help:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-help { font-size: 14.5px; font-weight: 550; margin-right: 8px; }
.nav-actions .btn-sm { font-size: 14.5px; padding: 8px 14px; }

/* ---- Hero ---- */
.hero { position: relative; padding: 138px 0 100px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.aurora i:nth-child(1) { width: 620px; height: 620px; top: -220px; right: -120px; background: #cdd8ff; animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 460px; height: 460px; top: 260px; right: 28%; background: #c9f1ff; opacity: .8; animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 420px; height: 420px; bottom: -220px; left: -100px; background: #ffe6da; opacity: .75; animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-90px, 70px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(100px, -50px) scale(.9); } }
@keyframes drift3 { to { transform: translate(80px, -60px) scale(1.1); } }

.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero-eyebrow { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); color: var(--ink-2); padding: 6px 13px; margin-bottom: 22px; box-shadow: var(--shadow-s); animation: rise .8s var(--ease) both; }
.hero h1 { font-size: clamp(44px, 6.2vw, 74px); line-height: 1.03; letter-spacing: -.038em; font-weight: 800; animation: rise .8s .06s var(--ease) both; }
#hero-word { display: inline-block; min-height: 1.1em; transition: opacity .32s var(--ease), transform .32s var(--ease); }
#hero-word.swap { opacity: 0; transform: translateY(14px); }
.hero-lead { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 31em; animation: rise .8s .12s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise .8s .18s var(--ease) both; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); animation: rise .8s .24s var(--ease) both; }
.hero-note a { font-weight: 600; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-stage { perspective: 1400px; animation: stageIn 1.1s .15s var(--ease) both; }
@keyframes stageIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.stage-tilt { position: relative; transform-style: preserve-3d; transform: rotateY(var(--ry, -7deg)) rotateX(var(--rx, 4deg)); transition: transform .35s ease-out; will-change: transform; }

.mock-window { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-bar span { margin-left: 10px; padding: 3px 12px; background: var(--surface); border-radius: 7px; font-size: 12px; color: var(--ink-3); }
.mock-body { padding: 18px 18px 12px; }
.mock-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.mock-head strong { font-size: 17px; letter-spacing: -.02em; }
.mock-count { font-size: 13px; color: var(--ink-3); }
.mock-row { display: grid; grid-template-columns: 38px 1fr auto 74px; align-items: center; gap: 12px; padding: 11px 8px; border-top: 1px solid var(--line); border-radius: 8px; transition: background .4s; }
.mock-row:first-of-type { border-top: 0; }
.mock-row.lit { background: var(--brand-softer); }
.mock-row b { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.mock-row small { color: var(--ink-3); font-size: 12.5px; }
.mock-os { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); color: var(--ink-4); transition: background .4s, color .4s; }
.mock-os svg { width: 20px; height: 20px; }
.mock-os.on { background: var(--brand-soft); color: var(--brand); }
.mock-go { padding: 5px 0; border-radius: 8px; background: var(--brand-soft); color: var(--brand-deep); text-align: center; font-size: 12.5px; font-weight: 650; }
.mock-go.off { background: var(--surface-2); color: var(--ink-3); }

.float-card { position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 15px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transform: translateZ(60px); will-change: transform; font-size: 13.5px; }
.float-card b { display: block; font-weight: 650; line-height: 1.3; }
.float-card small { color: var(--ink-3); font-size: 12px; }
.float-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); flex: none; }
.float-ico svg { width: 17px; height: 17px; }
.float-ico.mint { background: var(--mint-soft); color: var(--mint-deep); }
.float-code { flex-direction: column; align-items: flex-start; gap: 7px; left: -44px; bottom: -36px; animation: bob 6s ease-in-out infinite; }
.float-code .digits { font-size: 16.5px; gap: 3px; }
.float-secure { right: -26px; top: 58px; animation: bob 7s -2s ease-in-out infinite; }
.cipher { font-family: var(--mono); }
.float-joined { right: 6px; bottom: -22px; opacity: 0; transition: opacity .5s var(--ease), translate .5s var(--ease); translate: 0 14px; }
.float-joined.show { opacity: 1; translate: 0 0; }
@keyframes bob { 50% { translate: 0 -9px; } }

/* ---- Sections ---- */
.section { padding: 104px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, #eef2ff, var(--bg)); }
.section-head { max-width: 680px; margin: 0 auto 58px; text-align: center; }
.section h2, .final h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; font-weight: 800; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.kicker { display: block; margin-bottom: 12px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.kicker-light { color: #9db2ff; }
.lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

/* ---- Steps ---- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps-line { position: absolute; top: 208px; left: 16%; width: 68%; height: 8px; z-index: 0; overflow: visible; }
.steps-track { stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.steps-fill { stroke: var(--brand); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: var(--draw, 1000); pathLength: 1000; }
.step { position: relative; z-index: 1; text-align: center; }
.step h3 { margin-top: 16px; font-size: 21px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.step-num { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; margin-top: 18px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 750; font-size: 15px; box-shadow: 0 0 0 7px var(--bg); }
.step-art { position: relative; height: 188px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; text-align: left; display: flex; flex-direction: column; justify-content: center; gap: 8px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover .step-art { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.art-input { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 13px; color: var(--ink-3); }
.art-input i { width: 13px; height: 13px; border-radius: 4px; background: var(--brand-soft); }
.art-dots { letter-spacing: .08em; }
.art-button { padding: 9px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 650; text-align: center; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(59, 91, 253, .12); } }
.art-url { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 11px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 12.5px; color: var(--ink-2); }
.art-url b { padding: 3px 9px; background: var(--brand); color: #fff; border-radius: 6px; font-weight: 650; }
.art-plane { position: absolute; width: 22px; height: 22px; left: 24px; bottom: 34px; color: var(--brand); animation: fly 3.2s var(--ease) infinite; }
@keyframes fly { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 15% { opacity: 1; } 70% { transform: translate(138px, -10px) rotate(4deg); opacity: 1; } 85%, 100% { transform: translate(160px, -12px) scale(.5); opacity: 0; } }
.art-pc { position: absolute; right: 26px; bottom: 26px; width: 68px; height: 48px; border-radius: 7px; background: var(--gradient); box-shadow: 0 8px 18px -6px rgba(59, 91, 253, .5); }
.art-pc::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -9px; height: 9px; background: var(--line-2); border-radius: 0 0 4px 4px; }
.art-pc i { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 3.2s infinite; }
@keyframes blink { 0%, 65% { opacity: .25; } 75%, 100% { opacity: 1; } }
.art-connect { justify-content: flex-start; padding: 14px; }
.art-screen { position: relative; flex: 1; display: flex; gap: 7px; padding: 10px; background: linear-gradient(135deg, #e7ecff, #dff4ff); border-radius: 10px; }
.art-tile { flex: 1; align-self: flex-start; height: 62%; background: rgba(255, 255, 255, .85); border-radius: 6px; }
.art-tile.s { height: 40%; }
.art-cursor { position: absolute; left: 20%; top: 26%; width: 0; height: 0; border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 0; rotate: 45deg; animation: roam 7s ease-in-out infinite; }
@keyframes roam { 25% { translate: 110px 26px; } 50% { translate: 54px 66px; } 75% { translate: 170px 44px; } }
.art-live { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 2px 4px 0; font-size: 13px; font-weight: 650; color: var(--mint-deep); }

/* ---- Bento ---- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* Pointer-following highlight (position set from JS) */
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 91, 253, .08), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 18px; }
.tile p { margin-top: 7px; font-size: 15px; color: var(--ink-2); }
.tile-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 15px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); transition: transform .3s var(--ease); }
.tile:hover .tile-ico { transform: scale(1.09) rotate(-5deg); }
.tile-ico svg { width: 22px; height: 22px; }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: center; }
.tile-wide h3, .tile-grad h3 { font-size: 23px; }
.mini-list { list-style: none; margin: 0; padding: 7px; background: var(--surface-2); border-radius: 14px; }
.mini-list li { display: flex; align-items: center; gap: 11px; padding: 9px 11px; font-size: 14px; background: var(--surface); border-radius: 9px; margin-bottom: 5px; box-shadow: var(--shadow-s); }
.mini-list li:last-child { margin: 0; opacity: .66; }
.mini-list b { font-weight: 620; }
.mini-list em { margin-left: auto; font-style: normal; color: var(--ink-3); font-size: 13px; }
.tile-grad { background: var(--gradient); border-color: transparent; color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tile-grad p { color: rgba(255, 255, 255, .88); }
.tile-grad::before { display: none; }
.meter { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.meter i { flex: 1; min-height: 12%; border-radius: 3px; background: rgba(255, 255, 255, .55); transform-origin: bottom; animation: bar 1.5s ease-in-out infinite alternate; height: 100%; }
.meter i:nth-child(3n) { animation-duration: 1.1s; }
.meter i:nth-child(3n+1) { animation-duration: 1.8s; animation-delay: -.5s; }
.meter i:nth-child(4n) { animation-delay: -.9s; }
.meter i:nth-child(5n) { animation-delay: -.3s; }
@keyframes bar { from { transform: scaleY(.22); } to { transform: scaleY(1); } }

/* ---- Quick Support ---- */
.support-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 64px; align-items: center; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a9a7b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.500 10.500l3 3 6-6.500'/%3E%3C/svg%3E") center/20px no-repeat; }
.demo { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; }
.demo-pane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-l); overflow: hidden; }
.demo-title { display: flex; align-items: center; gap: 8px; padding: 11px 15px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 620; color: var(--ink-2); }
.demo-screen { position: relative; height: 238px; padding: 28px 16px 18px; text-align: center; }
.demo-screen small { display: block; margin-bottom: 11px; font-size: 13px; color: var(--ink-3); }
.demo-digits { font-size: 14px; gap: 2px; justify-content: center; }
.demo-digits .digit { width: 1.45em; }
.demo-digits .digit-gap { width: .3em; }
.demo-dialog { position: absolute; inset: auto 12px 12px; padding: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-l); text-align: left; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.demo-dialog.show { opacity: 1; transform: none; }
.demo-dialog b { font-size: 13.5px; }
.demo-dialog p { margin: 3px 0 9px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.demo-dialog div { display: flex; justify-content: flex-end; gap: 6px; }
.demo-btn { padding: 4px 13px; border-radius: 7px; background: var(--surface-2); font-size: 12.5px; font-weight: 620; transition: transform .15s; }
.demo-btn.yes { background: var(--mint); color: #fff; }
.demo-btn.press { transform: scale(.92); }
.demo-input { display: flex; align-items: center; justify-content: center; height: 42px; border: 1.5px solid var(--line-2); border-radius: 10px; font-family: var(--mono); font-size: 15.5px; font-weight: 650; }
.demo-input.focus { border-color: var(--brand); box-shadow: var(--ring); }
.caret { width: 2px; height: 19px; margin-left: 1px; background: var(--brand); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo-connect { margin-top: 10px; padding: 9px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 650; transition: transform .15s, opacity .3s; opacity: .45; }
.demo-connect.ready { opacity: 1; }
.demo-connect.press { transform: scale(.96); }
.demo-remote { position: absolute; inset: 0; display: flex; gap: 8px; padding: 14px; background: linear-gradient(135deg, #e7ecff, #dff4ff); opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.demo-remote.show { opacity: 1; transform: none; }
.demo-remote i { flex: 1; height: 58%; background: rgba(255, 255, 255, .88); border-radius: 8px; }
.demo-remote i:nth-child(2) { height: 38%; }
.demo-link { display: flex; justify-content: center; gap: 3px; }
.demo-link i { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); transition: background .3s; }
.demo-link.on i { background: var(--mint); animation: flow 1.1s infinite; }
.demo-link.on i:nth-child(2) { animation-delay: .1s; }
.demo-link.on i:nth-child(3) { animation-delay: .2s; }
.demo-link.on i:nth-child(4) { animation-delay: .3s; }
.demo-link.on i:nth-child(5) { animation-delay: .4s; }
@keyframes flow { 40% { transform: scale(1.8); } }

/* ---- Security ---- */
.section-ink { background: var(--ink); color: #fff; overflow: hidden; }
.section-ink::before { content: ""; position: absolute; width: 620px; height: 620px; top: -260px; left: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 91, 253, .45), transparent 70%); }
.security-grid { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
.section-ink .lead { color: #b9c3dc; }
.section-ink .lead a { color: #9db2ff; }
.section-ink .lead a:hover { color: #fff; }
.sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sec-item { padding: 22px; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-l); transition: background .25s, transform .25s var(--ease); }
.sec-item:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.sec-item b { font-size: 16.5px; font-weight: 680; }
.sec-item p { margin-top: 7px; font-size: 14.5px; color: #b9c3dc; line-height: 1.55; }

/* ---- Pricing ---- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 390px)); justify-content: center; gap: 22px; }
.plan { position: relative; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.plan-best { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 32px; padding: 3px 13px; border-radius: 99px; background: var(--gradient); color: #fff; font-size: 12.5px; font-weight: 680; }
.plan h3 { font-size: 23px; }
.beta-flag { display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 99px; background: var(--mint-soft); color: var(--mint-deep); font-size: 14px; font-weight: 700; }
.after-beta { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.after-beta + .price { margin-top: 2px; }
.plan-for { margin-top: 4px; color: var(--ink-3); font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 5px; margin: 18px 0 2px; }
.price-note { min-height: 1.5em; margin-bottom: 16px; font-size: 13.5px; color: var(--mint-deep); font-weight: 600; }
.billing-toggle { display: inline-flex; gap: 4px; margin-top: 20px; padding: 4px; background: var(--surface-2); border-radius: 12px; }
.billing-toggle button { padding: 7px 16px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font-size: 14.5px; font-weight: 640; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.billing-toggle button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-s); }
.billing-toggle em { margin-left: 5px; font-style: normal; font-size: 12px; color: var(--mint-deep); }
.price b { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--ink-3); font-size: 15px; }
.plan .ticks { margin-top: 22px; }
.plan .ticks strong { color: var(--ink); font-weight: 680; }

/* ---- Platforms ---- */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform { padding: 24px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); text-align: center; box-shadow: var(--shadow-s); }
.platform b { display: block; font-weight: 680; }
.platform small { color: var(--ink-3); font-size: 13.5px; }
.plat-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); }
.plat-ico svg { width: 24px; height: 24px; }

/* ---- FAQ ---- */
.faq-wrap { max-width: 760px; }
.faq-wrap .section-head { margin-bottom: 34px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 2px; font-size: 17px; font-weight: 640; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--brand); transition: transform .25s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 2px 20px; color: var(--ink-2); animation: rise .35s var(--ease); }

/* ---- Final CTA ---- */
.final { margin: 0 24px 72px; border-radius: var(--radius-xl); background: var(--gradient); background-size: 180% 180%; animation: sweep 12s ease-in-out infinite alternate; color: #fff; text-align: center; }
@keyframes sweep { to { background-position: 100% 100%; } }
.final-inner { padding: 72px 0; }
.final h2 { margin-bottom: 24px; color: #fff; }
.final-btn { background: #fff; color: var(--brand-deep); }
.final-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(10, 20, 80, .5); }

/* ---- Footer ---- */
.footer { padding: 16px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer h4 { margin-bottom: 11px; font-size: 13.5px; font-weight: 700; }
.footer-grid a:not(.logo) { display: block; margin: 7px 0; font-size: 14.5px; color: var(--ink-2); }
.footer-grid a:not(.logo):hover { color: var(--brand); }
.footer-tag { margin-top: 10px; font-size: 14.5px; }
.footer-base { padding-top: 20px; font-size: 13.5px; }

/* ---- Small screens ---- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero { padding-top: 112px; }
  .hero-grid, .support-grid, .security-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-stage { max-width: 620px; margin: 0 auto 30px; width: 100%; }
  .float-code { left: -8px; }
  .float-secure { right: -8px; }
  .steps { grid-template-columns: 1fr; max-width: 430px; margin: 0 auto; }
  .steps-line { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: minmax(0, 460px); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .nav-help { display: none; }
  .section { padding: 72px 0; }
  .bento, .sec-list { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; gap: 16px; }
  .demo-link { display: none; }
  .float-secure { top: 44px; }
  .mock-row { grid-template-columns: 34px 1fr auto 62px; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
  .final { margin: 0 12px 48px; }
}
