/* Shared styles for every page (Saasive-based redesign, Oct 2026). */
/* Layout: Saasive "AI" homepage structure — rounded hero panel, full-bleed glowing panels, bento products, step strip, FAQ, CTA.
   Single dark theme by choice (the template is dark-only). */
:root {
  color-scheme: dark;
  --ink: #040b1d;          /* page ground (template --theme-color2) */
  --ink-2: #071330;        /* raised panel */
  --deep: #0a308d;         /* panel gradient end */
  --blue: #2289fe;         /* template primary */
  --sky: #0ea5e9;          /* PulseTech logo accent */
  --head: #ffffff;
  --text: rgba(255,255,255,.66);
  --muted: rgba(255,255,255,.45);
  --line: rgba(255,255,255,.10);
  --card: rgba(255,255,255,.04);
  --grad: linear-gradient(90deg, #7dd3fc 0%, #0ea5e9 45%, #2563eb 100%);
  --grad-btn: linear-gradient(90deg, #0ea5e9 0%, #2563eb 100%);
  --panel: linear-gradient(180deg, #040b1d 33%, #0745e3 140%);
  --f-display: "Urbanist", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r-lg: 30px; --r-md: 22px; --r-sm: 14px;
  --gutter: clamp(16px, 4vw, 60px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--f-display); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--head); font-family: var(--f-display); margin: 0; line-height: 1.12; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons + tags ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 999px; font: 600 16px/1 var(--f-display); color: #fff; background: var(--grad-btn); border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(14,165,233,.6); }
.btn svg { width: 14px; height: 14px; }
.btn.ghost { background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.btn.ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn.sm { height: 42px; padding: 0 22px; font-size: 15px; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 8px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #fff; background: linear-gradient(90deg, rgba(10,48,141,.9), rgba(4,11,29,.9)); border: 1px solid rgba(34,137,254,.35); }
.tag i { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(from 200deg, #7dd3fc, #0ea5e9, #2563eb, #7dd3fc); position: relative; }
.tag i::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #071330; }
.sec-head { display: grid; justify-items: center; gap: 18px; text-align: center; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 52px); max-width: 16ch; }
.sec-head p { max-width: 58ch; }

/* ---------- header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(4,11,29,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.site-head .wrap { display: flex; align-items: center; gap: 32px; height: 88px; }
.logo img { height: 64px; width: auto; margin-left: -8px; }
.nav { display: flex; gap: 34px; margin-inline: auto; font-size: 16px; font-weight: 500; }
.nav a { color: var(--text); transition: color .2s; }
.nav a:hover { color: #fff; }
.head-right { display: flex; align-items: center; gap: 22px; }
.head-phone { font: 500 14px/1 var(--f-mono); color: var(--text); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: #fff; cursor: pointer; }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { padding-inline: clamp(8px, 1vw, 12px); padding-top: 12px; }
.hero-panel { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(120% 90% at 0% 0%, rgba(14,165,233,.22), transparent 55%), linear-gradient(180deg, rgba(4,11,29,.35), rgba(4,11,29,.75)), url(img/site/hero-bg.webp) center/cover, #0b1430; }
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; pointer-events: none; opacity: .8; }
.hero-panel::before { left: 3%; top: 4%; width: 256px; height: 543px; background: url(img/site/stars-l.png) no-repeat; }
.hero-panel::after { right: 4%; top: 6%; width: 326px; height: 366px; background: url(img/site/stars-r.png) no-repeat; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; max-width: 1320px; margin-inline: auto; padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(64px, 8vw, 110px); }
.hero h1 { font-size: clamp(42px, 6vw, 84px); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; }
.hero h1 .pill { display: inline-block; padding: 0 .28em .06em; margin: .06em 0; border-radius: 999px; background: rgba(4,11,29,.85); box-shadow: 0 0 0 10px rgba(255,255,255,.05); }
.hero-sub { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; margin-top: 36px; }
.hero-sub .actions { display: flex; flex-direction: column; gap: 14px; }
.hero-card { flex: 1 1 280px; max-width: 380px; padding: 24px 28px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(4,11,29,.45); backdrop-filter: blur(6px); }
.hero-card p { font-size: 16px; }
.hero-card .call { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-card .call b { display: block; color: #fff; font: 500 17px/1.2 var(--f-mono); user-select: all; }
.hero-card .call small { color: var(--muted); font-size: 14px; }
.ring { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--sky); }
.ring svg { width: 20px; height: 20px; }
.swirl { position: absolute; left: clamp(16px, 4vw, 60px); bottom: 24px; width: 110px; animation: float 6s ease-in-out infinite; z-index: 0; opacity: .95; }

/* terminal */
.term { position: relative; border-radius: var(--r-md); background: rgba(4,11,29,.78); border: 1px solid rgba(34,137,254,.3); box-shadow: 0 40px 90px -30px rgba(7,69,227,.75), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.term::before { content: ""; position: absolute; inset: 0 10% auto; height: 1px; background: linear-gradient(90deg, transparent, var(--sky), transparent); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--f-mono); color: var(--muted); }
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.14); }
.term-bar em { margin-left: auto; font-style: normal; }
.term-body { padding: 22px 22px 24px; font: 400 14px/1.9 var(--f-mono); color: var(--text); }
.term-body .cmd { color: #fff; }
.term-body .cmd::before { content: "$ "; color: var(--sky); }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.svc b { font-weight: 400; color: #e6eeff; }
.svc span { color: #7dd3fc; }
.term-body .dim { color: var(--muted); }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--sky); vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }

/* ---------- product marquee ---------- */
.strip { padding: 64px 0 88px; text-align: center; }
.strip-label { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 15px; font-weight: 500; }
.marquee { margin-top: 30px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: slide 36s linear infinite; }
.mark { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 700; color: rgba(120,160,255,.38); letter-spacing: -.01em; white-space: nowrap; }
.mark svg { width: 30px; height: 30px; }

/* ---------- glowing full-bleed panel ---------- */
.glow-panel { position: relative; margin-inline: clamp(0px, .5vw, 8px); border-radius: var(--r-lg); border-top: 1px solid rgba(34,137,254,.35); background: url(img/site/network.webp) top center/100% auto no-repeat, var(--panel); overflow: hidden; }
.glow-panel::before { content: ""; position: absolute; top: -10px; left: 50%; translate: -50% 0; width: min(1155px, 90%); height: 20px; background: url(img/site/light.png) center/100% 100% no-repeat; }
.glow-panel > .wrap { position: relative; padding-block: clamp(72px, 9vw, 120px); }

/* products bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prod { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, #040b1d 30%, #0a3fc2 140%); transition: transform .25s, border-color .25s; }
.prod:hover { transform: translateY(-4px); border-color: rgba(34,137,254,.5); }
.prod.span-2 { grid-column: span 2; }
.prod.span-3 { grid-column: span 3; flex-direction: row; align-items: stretch; }
.prod-body { padding: 34px 36px 26px; display: grid; gap: 12px; align-content: start; }
.prod-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.prod h3 { font-size: 24px; }
.chip { display: inline-block; padding: 3px 9px; border-radius: 2px; font: 500 11.5px/1.5 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: #bae6fd; background: rgba(14,165,233,.10); border: 1px solid rgba(14,165,233,.32); }
.chip.beta { color: #fde68a; background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.35); }
.prod p { max-width: 52ch; }
.prod .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: 500 13px/1 var(--f-mono); color: var(--sky); }
.prod .more svg { width: 12px; height: 12px; transition: translate .2s; }
.prod .more em { font-style: normal; color: var(--muted); }
.prod:hover .more svg { translate: 3px 0; }
.shot { margin: auto 36px 0; border-radius: 16px 16px 0 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; box-shadow: 0 -20px 60px -20px rgba(14,165,233,.45); aspect-ratio: 16 / 8.2; max-width: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.prod.span-2 .shot { aspect-ratio: 16 / 7; }
.prod.span-3 .prod-body { flex: 1 1 44%; align-content: center; padding-block: 40px; }
.prod.span-3 .shot { flex: 1 1 56%; margin: 40px 0 0 0; border-radius: 16px 0 0 0; border-right: 0; aspect-ratio: auto; max-height: 300px; }

/* ---------- about ---------- */
.about { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.about::before { content: ""; position: absolute; left: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(37,99,235,.32), rgba(14,165,233,.12) 60%, transparent); pointer-events: none; }
.about-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.stack { position: relative; aspect-ratio: 1 / .95; max-width: 600px; }
.stack figure { position: absolute; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); background: #0b1430; }
.stack figure img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.stack .s1 { left: 6%; top: 0; width: 78%; aspect-ratio: 16 / 11; rotate: 6deg; }
.stack .s2 { right: 0; bottom: 0; width: 60%; aspect-ratio: 1 / 1; rotate: -6deg; }
.seal { position: absolute; left: 0; bottom: 14%; width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #1b2a5c 0 55%, #111c40 56%); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 20px 50px -10px rgba(14,165,233,.55); z-index: 2; }
.seal svg.ring-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal svg.ring-text text { fill: rgba(255,255,255,.85); font: 600 12.5px var(--f-display); letter-spacing: 3px; }
.seal .core { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 600 44px/1 var(--f-display); }
.about-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.about-copy h2 { font-size: clamp(34px, 4.2vw, 54px); }
.callout { position: relative; padding: 26px 30px; border-radius: var(--r-md); background: linear-gradient(110deg, #0745e3, #071a55 70%); color: #fff; font-size: 17px; line-height: 1.65; }
.callout::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: calc(var(--r-md) + 2px); background: var(--grad); }
.callout { isolation: isolate; }
.callout::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); background: linear-gradient(110deg, #0745e3, #071a55 70%); z-index: -1; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin-top: 6px; }
.stats div { padding: 4px 22px; border-left: 1px solid var(--line); }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats b { display: block; font: 500 clamp(32px, 3.4vw, 44px)/1.1 var(--f-display); color: #fff; font-variant-numeric: tabular-nums; }
.stats span { font-size: 15px; color: var(--muted); }

/* ---------- process ---------- */
.process { padding-bottom: clamp(80px, 10vw, 130px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, #040b1d 25%, #0745e3 150%); }
.step { position: relative; padding: 32px 34px 40px; border-left: 1px solid rgba(255,255,255,.08); display: grid; gap: 12px; align-content: start; min-width: 0; }
.step:first-child { border-left: 0; }
.step .num { justify-self: end; padding: 6px 16px; margin: -32px -34px 0 0; border-radius: 0 0 0 14px; background: rgba(255,255,255,.06); font: 500 13px/1.4 var(--f-mono); color: var(--text); }
.step .art { height: 190px; display: grid; place-items: center; position: relative; }
.step .art::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); box-shadow: inset 0 0 0 22px rgba(255,255,255,.015); }
.step .art img { position: relative; max-height: 150px; width: auto; transition: transform .4s; }
.step:hover .art img { transform: translateY(-6px) rotate(-4deg); }
.step h3 { font-size: 22px; }
.talk { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 36px; }
.talk-pill { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; border: 1px solid rgba(34,137,254,.4); background: linear-gradient(90deg, rgba(10,48,141,.6), rgba(4,11,29,.6)); color: #fff; font-weight: 500; text-align: center; }
.talk-pill b { font: 500 15px/1 var(--f-mono); color: var(--sky); user-select: all; }

/* ---------- FAQ ---------- */
.faq { position: relative; padding-block: clamp(80px, 10vw, 130px); }
.faq::before { content: ""; position: absolute; right: -10%; top: 0; width: 70%; height: 100%; background: radial-gradient(closest-side, rgba(14,165,233,.18), transparent); pointer-events: none; }
.faq-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); }
.faq-intro { display: grid; gap: 22px; align-content: start; justify-items: start; }
.faq-intro h2 { font-size: clamp(34px, 4vw, 50px); }
.faq-intro .contact-lines { display: grid; gap: 12px; width: 100%; margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-lines div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contact-lines span { color: var(--muted); font-size: 15px; }
.contact-lines b { font: 500 15px/1.4 var(--f-mono); color: #fff; user-select: all; }
.qa { border-left: 1px solid var(--line); }
.qa details { position: relative; padding: 26px 0 26px 36px; border-bottom: 1px solid var(--line); }
.qa details:last-child { border-bottom: 0; }
.qa details[open]::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #7dd3fc, #0ea5e9, #2563eb); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: #fff; font-size: 20px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: rotate .25s, background .25s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #fff; translate: -50% -50%; }
.qa summary i::after { rotate: 90deg; transition: rotate .25s; }
.qa details[open] summary i { background: var(--grad); border-color: transparent; }
.qa details[open] summary i::after { rotate: 0deg; }
.qa details p { margin-top: 14px; max-width: 60ch; }

/* ---------- CTA ---------- */
.cta { padding-bottom: 40px; }
.cta-panel { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid rgba(34,137,254,.3); background: url(img/site/cta-lines.webp) bottom center/cover no-repeat, radial-gradient(80% 120% at 80% 100%, rgba(14,165,233,.28), transparent 60%), linear-gradient(120deg, #071a55, #040b1d 60%); padding: clamp(48px, 7vw, 90px) clamp(24px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.cta-panel::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 80%; height: 1px; background: linear-gradient(90deg, transparent, var(--sky), transparent); }
.cta-panel h2 { font-size: clamp(36px, 5vw, 64px); }
.cta-panel p { margin-top: 18px; max-width: 48ch; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.cta-plane { position: absolute; right: 6%; top: -6px; width: 120px; opacity: .9; rotate: 12deg; pointer-events: none; }

/* ---------- footer ---------- */
.site-foot { position: relative; overflow: hidden; margin-top: 60px; background: url(img/site/streaks.webp) bottom center/cover no-repeat, linear-gradient(180deg, var(--ink), #0a1e5c); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .6fr)); gap: 40px; padding-block: 80px 50px; border-bottom: 1px solid var(--line); }
.foot-brand { display: grid; gap: 20px; align-content: start; justify-items: start; }
.foot-brand img { height: 68px; width: auto; margin-left: -10px; }
.foot-brand p { max-width: 38ch; }
.foot-col h4 { font-size: 16px; margin-bottom: 18px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--text); transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; font-size: 14px; color: var(--muted); }

/* ---------- motion ---------- */
@keyframes float { 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .head-phone { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod.span-2 { grid-column: span 2; }
  .prod.span-3 { grid-column: span 2; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav, .head-right .btn { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .head-right { margin-left: auto; }
  .mobile-nav.open { display: grid; gap: 4px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); }
  .mobile-nav a { padding: 12px 0; color: #fff; font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border: 0; }
  .hero-grid, .about-grid, .faq-grid, .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .term { max-width: 520px; }
  .swirl { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .step:first-child { border-top: 0; }
  .cta-actions { justify-content: flex-start; }
  .qa { border-left: 0; }
  .qa details { padding-left: 20px; }
  .stack { max-width: 520px; width: 100%; }
}
@media (max-width: 640px) {
  .site-head .wrap { height: 72px; }
  .logo img { height: 52px; }
  .cta-plane { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .prod.span-2, .prod.span-3 { grid-column: auto; }
  .prod.span-3 { flex-direction: column; }
  .prod.span-3 .shot { flex: none; margin: 0 24px; border-radius: 16px 16px 0 0; border-right: 1px solid rgba(255,255,255,.12); aspect-ratio: 16 / 8.2; }
  .prod-body { padding: 28px 24px 22px; }
  .shot { margin-inline: 24px; }
  .stats div { padding: 4px 12px; }
  .stats span { font-size: 13px; }
  .seal { width: 130px; height: 130px; }
  .seal .core { width: 64px; height: 64px; font-size: 32px; }
  .seal svg.ring-text text { font-size: 15px; }
  .qa summary { font-size: 18px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-panel::after { display: none; }
}

/* =====================================================================
   Inner pages (v2): page hero, features, work, pricing, support, legal
   ===================================================================== */
.nav a[aria-current="page"] { color: #fff; }
.foot-base a:hover, .faq-intro a, .channel-note a, .prose a { color: #bae6fd; }
.wrap.narrow { max-width: 960px; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section + .section { padding-top: 0; }

.page-hero { padding-inline: clamp(8px, 1vw, 12px); padding-top: 12px; }
.page-panel { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(120% 90% at 0% 0%, rgba(14,165,233,.22), transparent 55%), linear-gradient(180deg, rgba(4,11,29,.4), rgba(4,11,29,.82)), url(img/site/hero-bg.webp) center/cover, #0b1430; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; max-width: 1320px; margin-inline: auto; padding: clamp(56px, 7vw, 100px) var(--gutter); }
.page-grid.solo { grid-template-columns: minmax(0, 1fr); }
.page-copy { display: grid; gap: 22px; justify-items: start; }
.page-copy h1 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.01em; }
.page-hero.small .page-copy h1 { font-size: clamp(36px, 4.6vw, 60px); }
.page-hero.small .page-grid { padding-block: clamp(48px, 6vw, 80px); }
.lede { font-size: 18px; max-width: 58ch; }
.page-copy .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-shot { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 90px -30px rgba(7,69,227,.75); aspect-ratio: 16 / 10; max-width: 100%; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: min(260px, 60%); animation: float 6s ease-in-out infinite; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 30px 32px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, #040b1d 40%, #0a3fc2 220%); display: grid; gap: 10px; align-content: start; min-width: 0; }
.feature.span-2 { grid-column: span 2; }
.feature h3 { font-size: 21px; }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.two-lists h3 { font-size: 17px; margin-bottom: 8px; }
.two-lists p { line-height: 1.9; }

.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.work { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #040b1d; transition: transform .25s, border-color .25s; min-width: 0; }
.work.big { grid-column: span 3; }
.work:hover { transform: translateY(-4px); border-color: rgba(14,165,233,.5); }
.work-shot { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-body { padding: 22px 24px 24px; display: grid; gap: 8px; }
.work-body h3 { font-size: 20px; }
.work-body p { font-size: 15px; }
.work .more { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--f-mono); color: var(--sky); }
.work .more svg { width: 12px; height: 12px; }

.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps.four .step { padding-bottom: 34px; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.tier { padding: 32px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); display: grid; gap: 14px; justify-items: start; }
.tier.popular { border-color: rgba(14,165,233,.55); background: linear-gradient(180deg, rgba(7,69,227,.28), rgba(4,11,29,.4)); }
.tier-note { color: #bae6fd; font-size: 14px; font-weight: 500; }
.tier h3 { font-size: 22px; }
.price b { font: 600 46px/1 var(--f-display); color: #fff; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); }
.tier ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; width: 100%; }
.tier li { padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.addon-col h3 { font-size: 17px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.addon { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.addon b { color: #fff; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

.faq-plain { position: relative; }

.rows .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows .row:first-child { border-top: 1px solid var(--line); }
.rows .row h3 { font-size: 19px; font-weight: 500; }
.rows .row p { margin-top: 2px; font-size: 15px; color: var(--muted); }
.rows .row > span { color: rgba(255,255,255,.8); }
.rows .row > span.muted { color: var(--muted); font-style: italic; }
a.row:hover h3 { color: #bae6fd; }

.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.channels h2, .contact-form h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.channel { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.channels h2 + .channel { border-top: 1px solid var(--line); }
.channel span { color: var(--muted); font-size: 14px; }
.channel b { color: #fff; font-weight: 500; font-size: 17px; overflow-wrap: anywhere; }
a.channel:hover b, .channel.docs a:hover { color: #bae6fd; }
.channel-note { margin-top: 18px; font-size: 15px; }
.contact-form { padding: clamp(26px, 4vw, 40px); border-radius: var(--r-md); border: 1px solid rgba(14,165,233,.3); background: linear-gradient(180deg, rgba(7,69,227,.18), rgba(4,11,29,.5)); display: grid; gap: 16px; }
.contact-form h2 { margin-bottom: 0; }
.field { display: grid; gap: 7px; }
.field label { color: #fff; font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(4,11,29,.7); color: #fff; font: 400 16px/1.4 var(--f-display); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(14,165,233,.25); }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; }
.form-msg { min-height: 1.6em; font-size: 15px; }
.form-msg.ok { color: #bae6fd; }
.form-msg.err { color: #fca5a5; }

.prose { max-width: 75ch; margin-inline: auto; color: var(--text); font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: #fff; font-weight: 600; }
.prose .highlight { padding: 18px 22px; margin: 22px 0; border-left: 2px solid var(--sky); background: rgba(14,165,233,.07); color: #e6eeff; }

@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.four .step:nth-child(3) { border-left: 0; }
  .steps.four .step:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .tiers, .addons { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .work, .work.big { grid-column: span 3; }
}
@media (max-width: 900px) {
  .page-grid, .support-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
}
@media (max-width: 640px) {
  .features, .two-lists, .steps.four { grid-template-columns: minmax(0, 1fr); }
  .feature.span-2 { grid-column: auto; }
  .steps.four .step { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .steps.four .step:first-child { border-top: 0; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work, .work.big { grid-column: auto; }
  .rows .row { grid-template-columns: minmax(0, 1fr); }
}

/* v4: live hero terminal, bento tweak */
.term-body a.cmd:hover { color: #bae6fd; }
.svc span.warn { color: #fbbf24; }
.svc span.bad { color: #f87171; }
@media (max-width: 1100px) { .bento .prod.span-2:last-child { grid-column: auto; } }
