/* ===== Andy Labs — electric-blue brand system ===== */
:root {
  --bg: #0A0F1C;
  --bg-2: #0B1220;
  --panel: #0F172A;
  --panel-2: #131E36;
  --border: rgba(148, 163, 184, 0.10);
  --border-2: rgba(148, 163, 184, 0.20);
  --text: #F0F9FA;
  --muted: #A7B1C4;
  --muted-2: #7D8697;
  --blue: #2693D1;
  --sky: #4584EC;
  --deep: #1E6FA8;
  --grad: linear-gradient(135deg, #4584EC, #1E6FA8);
  --glow: rgba(69, 132, 236, 0.14);
  --good: #55d6a0;
  --bad: #f27d8d;
  --radius: 16px;
  --maxw: 1140px;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  --shadow-lift: 0 18px 50px rgba(69,132,236,0.13), inset 0 1px 0 rgba(255,255,255,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; }

a { color: inherit; text-decoration: none; }
img { display: block; }

.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }

/* Anchor offset for sticky nav */
section[id] { scroll-margin-top: 84px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }

/* ===== Background decoration ===== */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(148,163,184,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: fixed; top: -320px; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(69,132,236,0.20), rgba(38,147,209,0.09) 52%, transparent 76%);
  filter: blur(24px);
}

/* Section-scoped glow */
.section-glow { position: relative; isolation: isolate; overflow: clip; }
.section-glow::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  filter: blur(30px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 28px rgba(69,132,236,0.32), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(69,132,236,0.45), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-ghost { background: rgba(240,249,250,0.04); color: var(--text); border-color: var(--border-2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.btn-ghost:hover { background: rgba(240,249,250,0.08); transform: translateY(-2px); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,15,28,0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border-2);
  padding: 3px;
  box-shadow: 0 4px 16px rgba(69,132,236,0.28);
}
.brand-name { font-size: 19px; letter-spacing: -0.02em; }
.brand-dim { color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(240,249,250,0.04); border: 1px solid var(--border-2);
  color: var(--text); cursor: pointer;
}
.nav-toggle .i { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }
.nav.menu-open .nav-toggle .i-menu { display: none; }
.nav.menu-open .nav-toggle .i-close { display: block; }

.nav-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 10px 20px 18px; border-top: 1px solid var(--border);
  background: rgba(10,15,28,0.97);
}
.nav.menu-open .nav-menu { display: flex; }
.nav-menu a {
  padding: 13px 8px; font-size: 16px; font-weight: 500; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.nav-menu a:last-child { border-bottom: none; }
.nav-menu a:hover { color: var(--text); }
.nav-menu-cta { color: var(--sky) !important; font-weight: 600 !important; }

/* ===== Hero ===== */
.hero { padding: 92px 0 90px; text-align: center; position: relative; }
.hero-title {
  font-size: clamp(44px, 7vw, 82px); line-height: 1.04; letter-spacing: -0.04em;
  font-weight: 700; margin-bottom: 26px;
}
.hero-title .serif { font-size: 1.08em; letter-spacing: -0.02em; padding-right: 0.06em; }
.grad {
  background: linear-gradient(120deg, #6FB1F5 0%, #4584EC 45%, #2693D1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 680px; margin: 0 auto 38px; font-size: clamp(16px, 2vw, 19px);
  color: var(--muted); line-height: 1.65;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-meta {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  flex-wrap: wrap; max-width: 920px; margin: 0 auto;
  padding: 22px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(240,249,250,0.03), rgba(240,249,250,0));
  box-shadow: var(--shadow-card);
}
.hm-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hm-item strong { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.hm-item span { font-size: 13px; color: var(--muted-2); }
.hm-divider { width: 1px; height: 34px; background: var(--border-2); }

/* ===== Phone frame (real app screenshots) ===== */
.phone {
  border-radius: 44px; padding: 9px;
  background: linear-gradient(180deg, #131C30, #070B14);
  border: 1px solid rgba(148,163,184,0.24);
  box-shadow:
    0 34px 90px rgba(0,0,0,0.55),
    0 0 0 1px rgba(69,132,236,0.10),
    inset 0 1px 0 rgba(255,255,255,0.10);
}
.phone img { width: 100%; height: auto; border-radius: 35px; }

/* Hero screenshot */
.hero-shot { position: relative; margin: 72px auto 0; display: flex; justify-content: center; }
.hero-shot::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -10%; bottom: -14%; left: 50%; transform: translateX(-50%);
  width: min(820px, 96vw);
  background: radial-gradient(ellipse 55% 50% at 50% 48%, rgba(69,132,236,0.24), transparent 72%);
  filter: blur(30px);
}
.hero-shot .phone { width: min(292px, 80vw); }

/* ===== Tools strip / marquee ===== */
.strip { padding: 34px 0 38px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.strip-label {
  text-align: center; color: var(--muted-2); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 22px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 44px; width: max-content; padding-right: 44px;
  animation: marquee 30s linear infinite;
}
.marquee-track span { color: var(--muted); font-size: 15px; font-weight: 600; opacity: 0.8; white-space: nowrap; }
.marquee-track .strip-plus {
  color: #8FBAF7; opacity: 1;
  padding: 2px 14px; border-radius: 999px;
  border: 1px solid rgba(69,132,236,0.4); background: rgba(69,132,236,0.1);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.head-left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.section-head h2, .op-head h2 {
  font-size: clamp(30px, 4.5vw, 46px); letter-spacing: -0.03em; line-height: 1.08;
  font-weight: 700; margin-bottom: 18px;
}
.section-head h2 .serif { font-size: 1.06em; }
.lead { color: var(--muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.65; }

/* ===== Split (chatbot vs andy) ===== */
.split { display: grid; grid-template-columns: 1fr 1.06fr; gap: 22px; max-width: 960px; margin: 0 auto; align-items: start; }
.split-col { padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow-card); }
.split-bad { background: rgba(15,23,42,0.45); transform: scale(0.985); transform-origin: center right; }
.split-bad .check-list li { color: var(--muted-2); }
.split-good {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #101A30, #0E1830) padding-box,
    linear-gradient(135deg, rgba(69,132,236,0.7), rgba(30,111,168,0.25)) border-box;
  box-shadow: 0 26px 70px rgba(69,132,236,0.14), inset 0 1px 0 rgba(255,255,255,0.06);
}
.col-label { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 22px; display: flex; align-items: center; gap: 9px; }
.col-label img { border-radius: 6px; }
.col-bad { color: var(--muted-2); }
.col-good { color: #8FBAF7; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.check-list li {
  position: relative; padding: 0 0 0 30px; font-size: 15px; color: var(--text);
  min-height: 56px; display: flex; align-items: center;
  border-bottom: 1px solid rgba(148,163,184,0.06);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; margin-top: -10px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.check-list.good li::before { content: "✓"; background: rgba(85,214,160,0.15); color: var(--good); }
.check-list.bad li::before { content: "×"; background: rgba(242,125,141,0.10); color: var(--bad); }
.eng-card .check-list li { min-height: 0; padding: 7px 0 7px 30px; border-bottom: none; font-size: 14.5px; align-items: flex-start; }
.eng-card .check-list li::before { top: 9px; margin-top: 0; }

/* Real-app proof (chat view mid-task) */
.proof {
  display: grid; grid-template-columns: auto 1fr; gap: 60px;
  align-items: center; max-width: 880px; margin: 72px auto 0;
}
.phone-sm { width: min(258px, 74vw); justify-self: center; }
.proof-copy .eyebrow { margin-bottom: 10px; }
.proof-copy h3 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.025em; margin-bottom: 12px; }
.proof-copy p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 480px; }

.kicker {
  max-width: 760px; margin: 62px auto 0; text-align: center;
  font-size: clamp(19px, 2.6vw, 25px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.4;
}

/* ===== Timeline (A day with Andy) ===== */
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding: 8px 0; }
.timeline::before {
  content: ""; position: absolute; left: 37px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--sky) 12%, var(--deep) 88%, transparent);
  opacity: 0.55;
}
.tl-item { display: flex; gap: 26px; padding: 17px 0; align-items: flex-start; }
.tl-time {
  flex: 0 0 76px; text-align: center; position: relative; z-index: 1;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: #fff;
  padding: 6px 0; border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 4px 16px rgba(69,132,236,0.35), 0 0 0 5px var(--bg-2);
}
.tl-item p { color: var(--muted); font-size: 15.5px; line-height: 1.65; padding-top: 3px; }
.tl-kicker { text-align: center; color: var(--text); font-size: 16.5px; font-weight: 500; margin-top: 40px; }

/* ===== Capabilities bento ===== */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap-card {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--panel); box-shadow: var(--shadow-card);
  transition: transform .2s ease, border-color .2s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.cap-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-lift); }
.cap-feature { grid-column: span 2; background: linear-gradient(160deg, #111B32, #0E1728); border-color: rgba(69,132,236,0.28); }
.cap-wide { grid-column: span 2; }
.cap-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(69,132,236,0.16), rgba(30,111,168,0.12));
  border: 1px solid rgba(69,132,236,0.28); color: var(--sky);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.cap-icon .i { width: 22px; height: 22px; }
.cap-card h3 { font-size: 17.5px; letter-spacing: -0.02em; margin-bottom: 9px; }
.cap-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Bento screenshot crop (real app, top of the Command Center feed) */
.cap-shot { margin-top: auto; padding-top: 24px; display: flex; justify-content: center; }
.cap-shot-frame {
  width: min(300px, 100%); height: 260px; overflow: hidden;
  border-radius: 30px 30px 0 0; padding: 8px 8px 0;
  background: linear-gradient(180deg, #131C30, #070B14);
  border: 1px solid rgba(148,163,184,0.24); border-bottom: none;
  box-shadow: 0 18px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.10);
  mask-image: linear-gradient(#000 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(#000 58%, transparent 100%);
}
.cap-shot-frame img { width: 100%; height: auto; border-radius: 23px 23px 0 0; }

/* ===== Built by operators ===== */
#operators { padding: 84px 0; }
.op-block {
  position: relative; padding: 48px 52px; border-radius: 22px;
  border: 1px solid transparent;
  background:
    linear-gradient(170deg, #101A30, #0C1424) padding-box,
    linear-gradient(150deg, rgba(69,132,236,0.5), rgba(148,163,184,0.12)) border-box;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.op-head { margin-bottom: 22px; }
.op-body { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; }
.op-attrib {
  display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 14.5px; font-weight: 500;
}
.op-attrib img {
  border-radius: 12px; background: var(--panel);
  border: 1px solid var(--border-2); padding: 5px;
  box-shadow: 0 4px 16px rgba(69,132,236,0.25);
}

/* ===== Mid-page CTA bands ===== */
.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(69,132,236,0.06), rgba(69,132,236,0.02)); }
.band-inner {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  flex-wrap: wrap; padding-top: 34px; padding-bottom: 34px; text-align: center;
}
.band-inner p { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 47px; left: 6%; right: 6%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--sky) 15%, var(--deep) 85%, transparent);
  opacity: 0.4;
}
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); position: relative; z-index: 1; box-shadow: var(--shadow-card); }
.step-num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 13px; font-weight: 800; letter-spacing: 0.03em; color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(69,132,236,0.35);
}
.step h3 { font-size: 17px; margin: 16px 0 9px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ===== Security ===== */
.security .eyebrow { color: var(--blue); }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec-card {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--panel); box-shadow: var(--shadow-card);
  transition: border-color .2s, transform .2s, box-shadow .25s;
}
.sec-card:hover { border-color: rgba(69,132,236,0.4); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.sec-feature {
  grid-column: span 2; grid-row: span 2;
  background: linear-gradient(150deg, #111B32, #0D1626);
  border-color: rgba(69,132,236,0.3);
  display: flex; flex-direction: column;
}
.sec-tag {
  display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #8FBAF7; margin-bottom: 14px;
  padding: 4px 10px; border-radius: 999px; background: rgba(69,132,236,0.12);
  border: 1px solid rgba(69,132,236,0.25);
}
.sec-card h3 { font-size: 17px; letter-spacing: -0.02em; margin-bottom: 9px; }
.sec-feature h3 { font-size: 21px; }
.sec-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.sec-feature p { font-size: 15px; }

/* Isolation diagram */
.iso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; padding-top: 26px; }
.iso-vm {
  padding: 14px 12px; border-radius: 12px;
  border: 1px solid var(--border-2); background: var(--bg-2);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0.6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.iso-you {
  opacity: 1;
  border-color: rgba(69,132,236,0.6);
  background: linear-gradient(170deg, rgba(69,132,236,0.13), rgba(30,111,168,0.05));
  box-shadow: 0 10px 30px rgba(69,132,236,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}
.iso-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; }
.iso-label .i { width: 14px; height: 14px; color: var(--muted-2); flex: none; }
.iso-you .iso-label .i { color: var(--sky); }
.iso-row {
  font-size: 10.5px; font-weight: 600; color: var(--muted-2);
  padding: 4px 9px; border-radius: 6px;
  background: rgba(240,249,250,0.03); border: 1px solid var(--border);
}
.iso-you .iso-row { color: #8FBAF7; border-color: rgba(69,132,236,0.25); background: rgba(69,132,236,0.07); }

.sec-note {
  margin-top: 28px; padding: 24px 28px; border-radius: var(--radius);
  border: 1px solid var(--border-2); background: rgba(240,249,250,0.02);
  color: var(--muted); font-size: 15px; line-height: 1.65;
  box-shadow: var(--shadow-card);
}
.sec-note strong { color: var(--text); }

/* ===== Engagement ===== */
.eng-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.eng-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); position: relative; box-shadow: var(--shadow-card); }
.eng-feature {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #111B32, #0E1728) padding-box,
    linear-gradient(135deg, rgba(69,132,236,0.7), rgba(30,111,168,0.2)) border-box;
  box-shadow: 0 24px 70px rgba(69,132,236,0.13), inset 0 1px 0 rgba(255,255,255,0.06);
}
.eng-flag {
  position: absolute; top: -13px; left: 30px; font-size: 12px; font-weight: 700;
  padding: 5px 13px; border-radius: 999px; background: var(--grad); color: #fff;
  letter-spacing: 0.02em; box-shadow: 0 6px 18px rgba(69,132,236,0.35);
}
.eng-card h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 5px; }
.eng-line { color: var(--muted-2); font-size: 14px; margin-bottom: 20px; }
.eng-anchor { text-align: center; color: var(--text); font-size: 16.5px; font-weight: 500; margin-top: 38px; }
.eng-foot { text-align: center; color: var(--muted-2); font-size: 14.5px; margin-top: 10px; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); padding: 4px 24px; transition: border-color .2s; box-shadow: var(--shadow-card); }
.faq-item[open] { border-color: rgba(69,132,236,0.35); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--sky); font-weight: 400; transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.65; padding: 0 0 20px; }

/* ===== CTA / contact form ===== */
.cta { padding: 70px 0 100px; }
.cta-box {
  text-align: center; padding: 64px 40px 56px; border-radius: 26px;
  border: 1px solid rgba(69,132,236,0.3);
  background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(69,132,236,0.16), rgba(30,111,168,0.05) 55%, rgba(240,249,250,0.01));
  position: relative; overflow: hidden;
  box-shadow: 0 40px 110px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.07);
}
.cta-box h2 { font-size: clamp(30px, 5vw, 50px); letter-spacing: -0.03em; margin-bottom: 18px; font-weight: 700; }
.cta-box h2 .serif { font-size: 1.06em; }
.cta-lead { max-width: 580px; margin: 0 auto 38px; color: var(--muted); font-size: 17px; }

.demo-form { max-width: 520px; margin: 0 auto; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.01em; }
.form-field input {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--border-2); background: rgba(10,15,28,0.6);
  color: var(--text); font-family: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.form-field input::placeholder { color: var(--muted-2); }
.form-field input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(69,132,236,0.18); }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-micro { text-align: center; color: var(--muted-2); font-size: 13px; margin-top: 14px; }
.form-status { text-align: center; font-size: 14px; margin-top: 10px; min-height: 0; color: var(--good); font-weight: 500; }
.form-status.error { color: var(--bad); }
.form-alt { text-align: center; color: var(--muted-2); font-size: 14px; margin-top: 16px; }
.form-alt a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-alt a:hover { color: var(--text); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-tag { color: var(--muted-2); font-size: 14px; margin-top: 2px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 15px; transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; gap: 10px; }

/* ===== Reveal animation (JS adds .reveal-init / .reveal-in) ===== */
.reveal-init { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .btn, .cap-card, .sec-card, .faq-item summary::after { transition: none; }
  .btn:hover, .btn-ghost:hover, .cap-card:hover, .sec-card:hover { transform: none; }
  .reveal-init { opacity: 1; transform: none; }
  .reveal-in { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1060px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-feature, .cap-wide { grid-column: span 2; }
}
@media (max-width: 940px) {
  .sec-grid, .steps, .eng-grid { grid-template-columns: 1fr 1fr; }
  .sec-feature { grid-column: span 2; grid-row: span 1; }
  .steps::before { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; max-width: 620px; }
  .split-bad { transform: none; }
  .proof { grid-template-columns: 1fr; gap: 34px; max-width: 620px; text-align: center; }
  .proof-copy p { margin: 0 auto; }
  .check-list li { min-height: 0; padding: 12px 0 12px 30px; align-items: flex-start; }
  .check-list li::before { top: 14px; margin-top: 0; }
  .eng-feature { grid-column: span 2; order: -1; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .split, .cap-grid, .sec-grid, .steps, .eng-grid { grid-template-columns: 1fr; }
  .sec-feature, .cap-feature, .cap-wide, .eng-feature { grid-column: span 1; }
  .hm-divider { display: none; }
  .hero { padding: 56px 0 60px; }
  .section { padding: 64px 0; }
  #operators { padding: 64px 0; }
  .op-block { padding: 32px 24px; }
  .hero-shot { margin-top: 52px; }
  .phone { border-radius: 38px; padding: 8px; }
  .phone img { border-radius: 30px; }
  .cap-shot-frame { width: min(280px, 100%); }
  .iso { grid-template-columns: 1fr; }
  .iso-vm { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .iso-label { width: 100%; }
  .timeline::before { left: 31px; }
  .tl-time { flex: 0 0 64px; font-size: 12px; }
  .tl-item { gap: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .band-inner { flex-direction: column; gap: 16px; }
  .footer-inner { flex-direction: column; }
}
