/* MS Toolkit public sales page (index.html only; the app keeps app.css).
   Navy + electric blue. The real product is the star: real app screens and real videos throughout.
   Spacing scale: 4 8 12 16 24 32 48 64 96 128. Type: Outfit (display) + Manrope (body); Caveat for one hand-written note. */
:root {
  --night: #050c1f;
  --night-2: #0a1733;
  --night-3: #0e1f44;
  --night-line: rgba(148, 178, 230, .16);
  --on-night: #ffffff;
  --on-night-muted: #a8b7d6;
  --bg: #ffffff;
  --bg-alt: #f3f6fc;
  --ink: #0b1b3a;
  --muted: #4d5d80;
  --line: #dde5f2;
  --blue: #1a8cff;
  --blue-hi: #0a66c9;
  --sky: #5cc4ff;
  --grad: linear-gradient(135deg, #5cc4ff 0%, #1a8cff 50%, #1667c9 100%);
  --ok: #0f6e33;
  --ok-bg: #e6f6ec;
  --bad: #a3261b;
  --bad-bg: #fdecea;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 27, 58, .06), 0 12px 32px -16px rgba(11, 27, 58, .22);
  --shadow-lg: 0 2px 4px rgba(11, 27, 58, .06), 0 32px 64px -24px rgba(11, 27, 58, .35);
  --shadow-night: 0 30px 60px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
  --section: clamp(64px, 8vw, 112px);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.08; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sec { padding: var(--section) 0; }
.sec.alt { background: var(--bg-alt); }
.dark { background: var(--night); color: var(--on-night); }
.dark .muted { color: var(--on-night-muted); }
.muted { color: var(--muted); }
.head { max-width: 720px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head p:not(.eyebrow) { margin-top: 16px; font-size: 18px; }
.head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; }
.head.split h2 { max-width: 640px; }
.head.split > p { margin: 0; font-size: 17px; }
.eyebrow { font: 700 13px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 16px; }
.dark .eyebrow { color: var(--sky); }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -8px rgba(26, 140, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { background: #0f7ef0; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #b9c8e2; }
.dark .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.dark .btn-ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.link { font-weight: 700; color: var(--blue-hi); text-decoration: none; }
.link:hover { text-decoration: underline; }
.dark .link { color: var(--sky); }

/* Nav: sticky; clear over the hero, solid navy with blur once the page scrolls */
.topnav { position: sticky; top: 0; z-index: 50; transition: background .2s ease, box-shadow .2s ease; }
.topnav.stuck { background: rgba(5, 12, 31, .78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(148, 178, 230, .14); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; max-width: 1360px; }
.mark { display: inline-flex; align-items: center; gap: 12px; font: 800 20px/1 var(--font-display); color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.mark i { width: 40px; height: 40px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(26, 140, 255, .8); }
.mark i svg { width: 16px; height: 16px; }
.mark small { display: block; font: 600 12.5px/1.2 var(--font-body); color: var(--on-night-muted); margin-top: 3px; letter-spacing: 0; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links > li > a, .dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; border: 0; background: none; color: #dfe7f6; font: 600 15.5px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: color .15s, background .15s; }
.nav-links > li > a:hover, .dd-btn:hover, .dd-btn[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .06); }
.dd-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; width: 320px; margin-left: -160px; padding: 8px; display: grid; gap: 2px; border-radius: 16px; background: rgba(10, 23, 51, .97); border: 1px solid rgba(148, 178, 230, .2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dd-menu.dd-sm { width: 280px; margin-left: -140px; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: #fff; text-decoration: none; }
.dd-menu a:hover { background: rgba(92, 196, 255, .1); }
.dd-menu b { display: block; font: 700 14.5px/1.3 var(--font-body); }
.dd-menu small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--on-night-muted); }
.dd-menu .dd-all { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--night-line); border-radius: 0 0 10px 10px; font: 700 14px/1.2 var(--font-body); color: var(--sky); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .login { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 14px; border-radius: 10px; }
.nav-cta .login:hover { background: rgba(255, 255, 255, .06); }
.nav-cta .btn-sm { min-height: 48px; padding: 0 30px; font-size: 16px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
/* Phone menu sheet */
.msheet { width: 100%; max-width: 100%; height: auto; max-height: 100dvh; margin: 0 0 auto; padding: 0; border: 0; border-radius: 0 0 22px 22px; background: var(--night-2); color: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.msheet::backdrop { background: rgba(3, 8, 22, .7); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.msheet-in { padding: 12px 20px 24px; display: grid; gap: 10px; }
.msheet-top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.msheet-top .mark i { width: 34px; height: 34px; }
.msheet-x { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; font: 400 26px/1 var(--font-body); cursor: pointer; }
.msheet nav { display: grid; margin-bottom: 8px; }
.msheet nav a { padding: 12px 4px; color: #fff; text-decoration: none; font: 600 16.5px/1.2 var(--font-body); border-bottom: 1px solid var(--night-line); }
.msheet .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.msheet-h { margin-top: 10px; font: 700 11.5px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }

/* Hero: centered message, then the real product in a browser frame */
.hero { position: relative; overflow: hidden; margin-top: -80px; padding-top: 80px; background: radial-gradient(900px 520px at 50% 92%, rgba(26, 140, 255, .32), transparent 70%), radial-gradient(700px 480px at 12% 18%, rgba(22, 103, 201, .22), transparent 70%), radial-gradient(640px 420px at 92% 30%, rgba(26, 140, 255, .14), transparent 70%), linear-gradient(180deg, #040a1b 0%, #071533 55%, #0a1d45 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(170, 200, 255, .22) 1px, transparent 1.3px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 0%, transparent 75%); opacity: .5; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding-top: 50px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.promo-strip { margin: 0 0 22px; padding: 10px 18px; border-radius: 999px; background: rgba(26, 140, 255, .16); border: 1px solid rgba(92, 196, 255, .45); color: #e8f2ff; font: 600 15px/1.35 var(--font-body); text-wrap: balance; }
.kicker { font: 700 14.5px/1.2 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: #4aa8ff; }
.hero h1 { margin-top: 18px; font-size: clamp(40px, 4.5vw, 70px); line-height: .98; letter-spacing: -0.035em; }
.hero h1 .grad-text { background: linear-gradient(100deg, #5cc4ff 0%, #2b95ff 45%, #1a73f0 100%); -webkit-background-clip: text; background-clip: text; padding-bottom: .06em; }
.hero .lead { margin-top: 18px; max-width: 800px; font-size: clamp(17px, 1.2vw, 18.5px); line-height: 1.42; color: #c9d6ee; text-wrap: balance; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.btn-lg { min-height: 58px; padding: 0 40px; font-size: 17px; }
.hero .btn-primary.btn-lg { box-shadow: 0 14px 34px -10px rgba(26, 140, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.hero .btn-ghost.btn-lg { padding: 0 34px; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .24); }
.btn-lg svg { flex: none; }
.checks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 15.5px; color: #a8b7d6; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7.5' fill='none' stroke='%235cc4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
/* The product: one large frame, two dimmed tilted previews tucked behind it, cut off by the proof strip */
.showcase { --fw: min(980px, calc(100vw - 40px)); position: relative; z-index: 1; width: min(1420px, calc(100vw - 40px)); height: calc(var(--fw) * .385); margin: 26px auto 0; overflow: hidden; }
.frame { position: relative; z-index: 2; width: var(--fw); margin: 0 auto; padding: 14px 14px 0; border-radius: 26px 26px 0 0; background: linear-gradient(180deg, rgba(170, 205, 255, .3), rgba(160, 200, 255, .1)); box-shadow: 0 0 0 1.5px rgba(170, 210, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .35), 0 -20px 80px -10px rgba(26, 140, 255, .45), 0 40px 120px -20px rgba(26, 140, 255, .55); }
.frame-bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 12px; border-radius: 13px 13px 0 0; background: #e9eef8; }
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #c7d2e5; }
.frame-bar .url { flex: 0 1 340px; margin: 0 auto; padding: 4px 12px; border-radius: 8px; background: #fff; font: 600 12px/1.3 var(--font-body); color: #6a7a99; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateX(-28px); }
.frame-shot { width: 100%; background: #f3f6fc; }
.side { position: absolute; z-index: 1; top: 40px; width: 290px; margin: 0; border-radius: 18px; overflow: hidden; background: #f3f6fc; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(160, 200, 255, .3); opacity: .7; filter: blur(.4px) saturate(.85); }
.side figcaption { position: relative; z-index: 1; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); font: 800 15px/1.2 var(--font-display); color: var(--ink); }
.side-r figcaption { text-align: right; }
.side::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(7, 21, 51, .08), rgba(7, 21, 51, .5)); }
.side img { width: 100%; }
.side-l { left: 0; transform: perspective(1400px) rotateY(16deg) rotate(-2.5deg); transform-origin: left center; }
.side-r { right: 0; transform: perspective(1400px) rotateY(-16deg) rotate(2.5deg); transform-origin: right center; }
/* Proof strip: a white band the frame tucks into */
.proof { position: relative; z-index: 2; background: #fff; box-shadow: 0 -24px 40px -28px rgba(0, 0, 0, .5); border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); max-width: 1360px; }
.proof li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 28px 14px; min-width: 0; }
.proof li + li { border-left: 1px solid var(--line); }
.proof svg { flex: none; width: 36px; height: 36px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.proof span { font-size: 15px; line-height: 1.4; color: var(--muted); }
.proof b { display: block; font: 800 20px/1.2 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
section[id], [id="courses"], [id="faq"] { scroll-margin-top: 88px; }

/* Tour dialog */
.tour { width: min(960px, 94vw); padding: 0; border: 0; border-radius: 18px; background: var(--night); color: #fff; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.tour::backdrop { background: rgba(3, 8, 22, .78); backdrop-filter: blur(4px); }
.tour-in { position: relative; padding: 12px; }
.tour video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; }
.tour p { padding: 12px 6px 4px; font-size: 14px; color: var(--on-night-muted); }
.tour-x { position: absolute; z-index: 1; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: var(--night-2); color: #fff; font: 400 24px/1 var(--font-body); cursor: pointer; }

/* Video Studio section */
.create { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 56px; align-items: center; }
.samples { display: grid; gap: 12px; }
.samples button { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font: inherit; color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.samples button:hover { border-color: #b9c8e2; }
.samples button[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 140, 255, .15), var(--shadow); }
.samples button img { grid-row: span 2; width: 44px; height: 60px; object-fit: cover; border-radius: 8px; }
.samples b { font: 700 16px/1.2 var(--font-display); }
.samples small { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.phone { width: min(310px, 74vw); padding: 10px; border-radius: 44px; background: linear-gradient(160deg, #1b2b4f, #07112a); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08); margin: 0 auto; }
.phone video { width: 100%; aspect-ratio: 9 / 16; border-radius: 34px; background: #000; object-fit: cover; }
video.fading { opacity: 0; }
.phone video { transition: opacity .18s ease; }
.steps3 { list-style: none; margin: 20px auto 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.steps3 li { display: inline-flex; align-items: center; gap: 6px; }
.steps3 li + li::before { content: ""; width: 18px; height: 2px; margin-right: 2px; background: linear-gradient(90deg, #5cc4ff, #1a8cff); border-radius: 2px; }
.steps3 b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 12px; }
.phone-cap { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 15.5px; }
.ticks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: #e3efff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230a66c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks b { display: block; font-weight: 700; }
.ticks span { color: var(--muted); font-size: 14.5px; }
.formats { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.formats span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.formats i { display: inline-block; border: 2px solid var(--blue); border-radius: 3px; }

/* Toolkit */
.tools { display: grid; gap: 24px; }
.tool { position: relative; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--night-line); transition: border-color .2s; }
.tool:hover { border-color: rgba(92, 196, 255, .45); }
.tool .body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tool p { color: var(--on-night-muted); font-size: 15px; }
.tool .meta { margin-top: auto; padding-top: 8px; font-size: 13.5px; color: #c9d5ec; font-weight: 600; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font: 700 12px/1.2 var(--font-body); letter-spacing: .02em; background: rgba(92, 196, 255, .14); color: #9edcff; border: 1px solid rgba(92, 196, 255, .3); }
.tag.keep { background: rgba(255, 255, 255, .08); color: #dfe7f6; border-color: rgba(255, 255, 255, .2); }
.tool.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; overflow: hidden; background: radial-gradient(600px 400px at 85% 40%, rgba(26, 140, 255, .22), transparent 70%), var(--night-2); }
.tool.feature .body { padding: 48px; }
.tool.feature h3 { font-size: clamp(26px, 3vw, 34px); }
.tool.feature p { font-size: 16.5px; }
.mini { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: #dbe5f6; }
.mini li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.mini li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7.5' fill='none' stroke='%235cc4ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.shot-wrap { position: relative; padding: 40px 40px 40px 0; }
.browser { position: relative; padding: 28px 8px 8px; border-radius: 14px; background: #1a2848; box-shadow: var(--shadow-night); }
.browser .dots { position: absolute; top: 10px; left: 12px; display: flex; gap: 6px; }
.browser .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.browser img { border-radius: 8px; width: 100%; }
.ai-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tool.ai { display: flex; flex-direction: column; overflow: hidden; }
.tool.ai .art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; padding: 28px 28px 0; background: radial-gradient(400px 220px at 50% 0%, rgba(26, 140, 255, .25), transparent 70%), #081330; }
.tool.ai .art > img { width: 100%; border-radius: 12px 12px 0 0; box-shadow: var(--shadow-night); }
.tool.ai .art.duo .b { position: absolute; left: 28px; top: 28px; width: 64%; }
.tool.ai .art.duo .a { position: absolute; right: 22px; top: 42%; width: 52%; border-radius: 12px; z-index: 1; }
.tool.ai h3 { font-size: 24px; }
.library { border-radius: var(--radius); border: 1px solid var(--night-line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)); padding: 40px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 48px; }
.lib-head { display: flex; flex-direction: column; gap: 12px; }
.lib-head h3 { font-size: clamp(24px, 2.6vw, 30px); }
.lib-head p { color: var(--on-night-muted); font-size: 15.5px; max-width: 440px; }
.collage { grid-row: span 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.collage figure { position: relative; border-radius: 12px; overflow: hidden; background: #f3f6fc; box-shadow: var(--shadow-night); }
.collage img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.collage .c4 img { object-position: center 20%; }
.collage .c1 { grid-column: span 2; aspect-ratio: 900 / 560; }
.collage .c2 { grid-row: span 2; }
.collage .c3, .collage .c4 { aspect-ratio: 1 / 1; }
.collage figcaption { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: var(--night); color: #fff; font: 700 11px/1.3 var(--font-body); }
.chips-lib { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.res { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--night-2); border: 1px solid var(--night-line); }
.res b { display: block; font: 700 14.5px/1.25 var(--font-display); }
.res small { display: block; font-size: 12.5px; color: var(--on-night-muted); line-height: 1.35; }
.ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.green { background: linear-gradient(135deg, #34d399, #059669); }
.ic.blue { background: linear-gradient(135deg, #5cc4ff, #1667c9); }
.ic.violet { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.ic.teal { background: linear-gradient(135deg, #2dd4bf, #0f766e); }
.ic.orange { background: linear-gradient(135deg, #fb923c, #c2410c); }
.ic.pink { background: linear-gradient(135deg, #f472b6, #be185d); }

/* Workflow: one campaign across four real panels */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.panel { position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -16px; top: 30px; width: 12px; height: 12px; border-top: 2px solid #9cc7f5; border-right: 2px solid #9cc7f5; transform: rotate(45deg); }
.num { font: 800 15px/1 var(--font-display); color: var(--blue-hi); display: flex; align-items: baseline; gap: 8px; }
.num span { font: 700 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.panel h3 { font-size: 18px; margin-top: 12px; }
.panel > p:not(.num) { flex: 1; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.pframe { margin-top: 16px; aspect-ratio: 4 / 4.4; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.pframe img { width: 100%; }
.pframe.dark-frame { display: grid; place-items: center; background: radial-gradient(240px 200px at 50% 40%, #1e3a6b, #050a19); border-color: transparent; }
.pframe .vthumb { width: 52%; border-radius: 18px; border: 5px solid #0d1a36; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .8); }
.pframe.stack2 { display: flex; flex-direction: column; gap: 8px; padding: 8px; }
.pframe.stack2 img { border-radius: 8px; border: 1px solid var(--line); }
.panel em { align-self: flex-start; margin-top: 14px; font-style: normal; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e9f2ff; color: var(--blue-hi); }
.swipe { display: none; }

/* Built for mortgage */
.mort { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mort .big { margin-top: 16px; font-size: 17px; }
.check-demo { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.check-demo .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--muted); background: #fafcff; }
.check-demo .bar span:first-child { display: inline-flex; gap: 6px; }
.check-demo .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9e2f0; display: inline-block; }
.cd-step { padding: 22px 24px; }
.cd-step + .cd-step { border-top: 1px solid var(--line); }
.cd-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cd-label .count { letter-spacing: 0; text-transform: none; font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; }
.before .cd-label { color: var(--bad); } .before .count { background: var(--bad-bg); }
.after .cd-label { color: var(--ok); } .after .count { background: var(--ok-bg); }
.ad { font: 600 18px/1.5 var(--font-display); color: var(--ink); }
.ad mark { background: #ffe1dd; color: var(--bad); border-bottom: 2px solid #f0877b; padding: 0 2px; border-radius: 3px; }
.flags { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.flags li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14px; color: #3e4c6a; }
.flags li::before { content: "!"; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--bad); color: #fff; font: 800 11px/18px var(--font-body); text-align: center; }
.flags b { color: var(--ink); }
.cd-foot { padding: 14px 24px; background: #fafcff; border-top: 1px solid var(--line); font-size: 13px; color: #3e4c6a; }
.mort .ticks { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* Pricing + FAQ */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: stretch; max-width: 880px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan.feature { background: var(--night); color: #fff; border-color: transparent; box-shadow: 0 40px 80px -32px rgba(26, 140, 255, .55), var(--shadow-lg); }
.plan.feature .muted { color: var(--on-night-muted); }
.plan .pill { position: absolute; top: -13px; left: 32px; padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #fff; font: 800 12px/1 var(--font-body); letter-spacing: .04em; }
.plan h3 { font-size: 18px; }
.amt { margin: 16px 0 4px; font: 800 52px/1 var(--font-display); letter-spacing: -0.03em; }
.amt small { font: 600 15px/1.3 var(--font-body); letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan.feature .amt small { color: var(--on-night-muted); }
.plan .sub { font-size: 14.5px; margin-bottom: 8px; }
.plan h4 { margin: 20px 0 10px; font: 800 12.5px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hi); }
.plan.feature h4 { color: var(--sky); }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.list li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7.5' fill='none' stroke='%231a8cff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.plan.feature .list li::before { filter: brightness(1.5); }
.plan:not(.feature) .list { margin-top: 12px; }
.plan .btn { margin-top: 28px; }
.plan .btn + .co-note { margin-top: 12px; font-size: 13px; text-align: center; }
.plan .spacer { flex: 1; }
.addon { max-width: 880px; margin: 20px auto 0; padding: 14px 20px; border-radius: var(--radius-sm); border: 1px dashed #b9c8e2; text-align: center; font-size: 14.5px; color: var(--muted); }
.addon b { color: var(--ink); }
.faq { max-width: 780px; margin: var(--section) auto 0; }
.faq h2 { text-align: center; margin-bottom: 28px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font: 700 17px/1.35 var(--font-display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230b1b3a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 4px 20px; color: var(--muted); max-width: 680px; }
.ll { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.ll p { margin-top: 6px; max-width: 520px; }

/* Final CTA + footer */
.final { padding-bottom: 0; text-align: center; position: relative; overflow: hidden; background: radial-gradient(700px 360px at 50% 0%, rgba(26, 140, 255, .3), transparent 70%), var(--night); }
.final h2 { max-width: 720px; margin: 0 auto; }
.final .muted { margin: 16px auto 0; font-size: 18px; max-width: 620px; }
.final .btn { margin-top: 32px; }
.final .note { margin-top: 12px; font-size: 14.5px; color: #d5def0; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 32px 0 40px; border-top: 1px solid var(--night-line); margin-top: 72px; font-size: 14px; color: var(--on-night-muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--on-night-muted); text-decoration: none; }
.foot a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1140px) {
  .nav-links > li > a, .dd-btn { padding: 10px 10px; font-size: 15px; }
  .side { width: 240px; }
}
@media (max-width: 1040px) {
  .side { display: none; }
  .showcase { height: calc(var(--fw) * .5); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li { justify-content: flex-start; }
  .proof li:nth-child(3) { border-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1080px) {
  .create { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .create .ticks-col { grid-column: 1 / -1; }
  .library { grid-template-columns: 1fr; }
  .collage { grid-row: auto; }
}
/* Horizontal snap rows (tablet and phone) */
@media (max-width: 900px) {
  .head.split { grid-template-columns: 1fr; }
  .create { grid-template-columns: 1fr; gap: 28px; }
  .create .samples { order: -1; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .create .samples::-webkit-scrollbar { display: none; }
  .samples button { flex: none; scroll-snap-align: start; grid-template-columns: 34px auto; padding: 10px 14px 10px 10px; }
  .samples button img { width: 34px; height: 46px; }
  .tool.feature { grid-template-columns: 1fr; }
  .tool.feature .body { padding: 28px 24px 8px; }
  .shot-wrap { padding: 16px 20px 24px; }
  .ai-pair, .flow { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 12px; scrollbar-width: none; }
  .ai-pair::-webkit-scrollbar, .flow::-webkit-scrollbar { display: none; }
  .ai-pair > *, .flow > * { flex: 0 0 min(82%, 360px); scroll-snap-align: center; }
  .panel:not(:last-child)::after { display: none; }
  .swipe { display: block; margin-top: 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--blue-hi); }
  .mort { grid-template-columns: 1fr; gap: 40px; }
  .price { grid-template-columns: 1fr; max-width: 520px; gap: 32px; }
  .ll { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .nav { height: 64px; }
  .hero { margin-top: -64px; padding-top: 64px; }
  .mark { font-size: 18px; gap: 10px; }
  .mark i { width: 34px; height: 34px; }
  .mark small, .nav-start { display: none; }
  .nav-cta { gap: 4px; }
  .nav-cta .login { font-size: 15px; padding: 10px 10px; }
  .hero-copy { padding-top: 36px; }
  .promo-strip { margin-bottom: 18px; padding: 9px 14px; border-radius: 14px; font-size: 14px; }
  .kicker { font-size: 12px; letter-spacing: .2em; }
  .hero h1 { margin-top: 16px; font-size: clamp(34px, 10.4vw, 44px); }
  .hero .lead { margin-top: 16px; font-size: 16.5px; }
  .hero-cta { margin-top: 28px; width: 100%; flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; min-height: 56px; }
  .checks { margin-top: 18px; gap: 6px 16px; font-size: 14px; }
  .showcase { margin-top: 40px; height: calc(var(--fw) * .66); }
  .frame { padding: 6px 6px 0; border-radius: 14px 14px 0 0; }
  .frame-bar { height: 22px; padding: 0 8px; border-radius: 9px 9px 0 0; }
  .frame-bar .dots i { width: 6px; height: 6px; }
  .frame-bar .url { font-size: 9px; padding: 2px 8px; transform: translateX(-14px); }
  .proof li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 14px; }
  .proof svg { width: 28px; height: 28px; }
  .proof b { font-size: 16.5px; }
  .proof span { font-size: 13px; }
  .sec { padding: 56px 0; }
  .head { margin-bottom: 28px; }
  .head p:not(.eyebrow) { font-size: 16px; margin-top: 12px; }
  .phone { width: min(250px, 66vw); }
  .ticks { gap: 12px; }
  .ticks-col .ticks { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .ticks-col .ticks li { grid-template-columns: 20px 1fr; gap: 8px; font-size: 14px; }
  .ticks-col .ticks li::before { width: 20px; height: 20px; background-size: 11px; margin-top: 1px; }
  .ticks-col .ticks span { font-size: 13px; line-height: 1.45; }
  .formats { margin-top: 18px; }
  .tool.feature .body { padding: 24px 20px 4px; }
  .tool.feature p { font-size: 15px; }
  .tool .body { padding: 20px; }
  .tool.ai h3 { font-size: 20px; }
  .tool.ai .art { padding: 18px 18px 0; }
  .tool.ai .art.duo .b { left: 14px; top: 16px; }
  .tool.ai .art.duo .a { right: 12px; }
  .mini { display: none; }
  .library { padding: 22px 16px; }
  .collage { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .collage::-webkit-scrollbar { display: none; }
  .collage figure { flex: 0 0 74%; aspect-ratio: 4 / 3 !important; scroll-snap-align: start; }
  .chips-lib { grid-template-columns: 1fr 1fr; gap: 8px; }
  .res { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .res b { font-size: 13.5px; }
  .res small { font-size: 11.5px; }
  .ic { width: 32px; height: 32px; border-radius: 9px; }
  .ic svg { width: 17px; height: 17px; }
  .panel { padding: 18px; }
  .cd-step { padding: 18px; }
  .ad { font-size: 16px; }
  .mort .ticks { margin-top: 20px; }
  .chips { display: none; }
  .steps3 { font-size: 12.5px; gap: 4px; }
  .steps3 li + li::before { width: 10px; }
  .chips span { font-size: 13px; padding: 6px 12px; }
  .plan { padding: 28px 22px; }
  .amt { font-size: 46px; }
  .faq h2 { margin-bottom: 16px; }
  summary { padding: 15px 2px; font-size: 16px; }
  details p { padding: 0 2px 15px; font-size: 15px; }
  .ll { padding: 22px; margin-top: 32px; }
  .final .muted { font-size: 16px; }
  .foot { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
