/* ============ EDITMODE-BEGIN ============ */
:root {
  --bg: #F0F6FB;
  --bg-2: #FFFFFF;
  --bg-3: #E5EFF7;
  --ink: #0B1929;
  --ink-2: #1B2A3E;
  --muted: #5A6B82;
  --muted-2: #94A2B8;
  --border: rgba(11,25,41,0.08);
  --primary: #1E6EFF;
  --primary-deep: #0F47C7;
  --primary-soft: #DCE7FA;
  --cyan: #36C5E0;
  --cyan-soft: #D6F2F8;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --headline-l1: "Plantão de UTI não devia te custar o";
  --headline-l2: "jantar de casa.";
}
/* ============ EDITMODE-END ============ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
html { overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  font-weight: 400;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--cyan-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg), #E8F1F8);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: clip;
}
code, .mono { font-family: var(--mono); }

/* ===== SCENE CANVAS ===== */
#scene-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* ===== AMBIENT BLOBS (CSS only) ===== */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient-blob {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(80px);
}
.ambient-blob.blob-2 {
  background: radial-gradient(circle, rgba(54,197,224,0.65) 0%, transparent 70%);
  opacity: 0.55;
  top: 15%; right: -180px;
  animation: drift-a 28s ease-in-out infinite;
}
.ambient-blob.blob-3 {
  background: radial-gradient(circle, rgba(30,110,255,0.6) 0%, transparent 70%);
  opacity: 0.55;
  bottom: 10%; left: -160px;
  animation: drift-b 32s ease-in-out infinite;
}
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-60px, 40px); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(50px, -50px); }
}

/* ===== APP STACK ===== */
#app { position: relative; z-index: 1; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--cyan), var(--primary));
  z-index: 100;
}

/* ===== REVEAL ON SCROLL ===== */
/* By default: visible. Only when JS adds the class do we hide pending reveals. */
/* NEVER use opacity transition (transitions pause in hidden iframes) — use keyframes. */
html.js-reveal-ready .reveal { opacity: 0; transform: translateY(20px); }
html.js-reveal-ready .reveal.in {
  animation: reveal-in 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.1vw, 26px); }
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary-deep);
  padding: 8px 16px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.disclaimer-tiny {
  font-size: 11.5px; color: var(--muted); font-style: italic;
  margin-top: 8px; max-width: 540px;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--primary); font-weight: 600; margin-bottom: 14px;
}
.section-sub {
  font-size: 18px; color: var(--muted); margin-top: 14px; max-width: 720px;
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== NAV ===== */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(240,246,251,0.6);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, padding 0.2s;
}
nav.main-nav.scrolled {
  border-bottom-color: var(--border); background: rgba(240,246,251,0.88);
}
nav.main-nav .nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; gap: 24px;
  transition: padding 0.2s;
}
nav.main-nav.scrolled .nav-inner { padding: 12px 32px; }
nav.main-nav .logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
nav.main-nav .logo img { width: 32px; height: 32px; object-fit: contain; }
nav.main-nav .logo-text {
  font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.01em;
}
nav.main-nav .nav-links { display: flex; gap: 26px; align-items: center; }
nav.main-nav .nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.15s;
}
nav.main-nav .nav-links a:hover { color: var(--primary); }
nav.main-nav .nav-right { display: flex; align-items: center; gap: 14px; }
nav.main-nav .nav-link-text {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.15s;
}
nav.main-nav .nav-link-text:hover { color: var(--primary); }

/* ===== BUTTONS ===== */
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.btn-pill:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(30,110,255,0.4);
}
.btn-pill.ghost {
  background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--border);
}
.btn-pill.ghost:hover {
  background: white; box-shadow: 0 8px 20px -6px rgba(11,25,41,0.12);
  border-color: rgba(11,25,41,0.18);
}
.btn-pill.large { padding: 14px 26px; font-size: 15px; }
.btn-pill.dark { background: var(--ink); color: white; }
.btn-pill.dark:hover { background: black; }
.btn-pill .arrow {
  display: inline-block; transition: transform 0.2s;
}
.btn-pill:hover .arrow { transform: translateX(3px); }

/* ===== SECTIONS BASE ===== */
section {
  padding: 100px 0; position: relative;
  scroll-margin-top: 100px;
}

/* ===== HERO ===== */
section.hero { padding: 140px 0 100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px; align-items: center;
}
.hero-content { max-width: 620px; }
.hero h1 { margin: 18px 0 22px; }
.hero h1 .line { display: block; }
.hero-subcopy {
  font-size: 18px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.55;
}
.hero-subcopy + .hero-subcopy { color: var(--muted); font-size: 16.5px; margin-bottom: 28px; }
.hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-bottom: 22px;
}
.trust-line {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 13.5px; max-width: 540px;
}
.trust-line .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.logo-strip {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.logo-strip .label {
  font-family: var(--mono);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted-2); margin-bottom: 14px;
}
.logo-strip .logos { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.logo-strip .logos span {
  color: var(--muted); font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em;
}

/* ===== HERO RIGHT (browser window + callouts) ===== */
.hero-window-wrap {
  position: relative;
  perspective: 1800px;
}
.hero-window {
  transform: perspective(1800px) rotateY(-9deg) rotateX(4deg) rotateZ(0.5deg);
  animation: floatBw 9s ease-in-out infinite;
  position: relative;
  filter: drop-shadow(0 30px 50px rgba(11,25,41,0.18));
}
.hero-window::before {
  content: ""; position: absolute; inset: -30px;
  background: radial-gradient(circle at 60% 50%, rgba(54,197,224,0.35) 0%, transparent 60%);
  filter: blur(40px); z-index: -1;
}
@keyframes floatBw {
  0%, 100% { transform: perspective(1800px) rotateY(-9deg) rotateX(4deg) rotateZ(0.5deg) translateY(0); }
  50%      { transform: perspective(1800px) rotateY(-9deg) rotateX(4deg) rotateZ(0.5deg) translateY(-10px); }
}

.callout {
  position: absolute; z-index: 3;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  box-shadow: 0 14px 30px -10px rgba(11,25,41,0.18);
  max-width: 250px;
}
.callout .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: white; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.callout .ttl { font-weight: 700; color: var(--ink); font-size: 13px; line-height: 1.2; }
.callout .sub { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.callout.cl1 { top: -38px; left: -22px; animation: floatCl1 7s ease-in-out infinite; }
.callout.cl2 { bottom: -34px; right: -28px; animation: floatCl2 8s ease-in-out infinite; }
@keyframes floatCl1 {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
@keyframes floatCl2 {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(8px); }
}

/* ===== BROWSER WINDOW ===== */
.bw {
  background: var(--bg-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border),
    0 4px 12px rgba(11,25,41,0.05),
    0 24px 40px -20px rgba(11,25,41,0.18),
    0 60px 80px -40px rgba(54,197,224,0.25);
}
.bw-chrome {
  display: flex; align-items: center; gap: 12px;
  background: #F1F4F8;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.bw-dots { display: flex; gap: 6px; }
.bw-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.bw-dots span:nth-child(1) { background: #FF5F57; }
.bw-dots span:nth-child(2) { background: #FFBD2E; }
.bw-dots span:nth-child(3) { background: #28C840; }
.bw-url {
  flex: 1; display: flex; align-items: center; gap: 8px;
  max-width: 460px; min-width: 0;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
}
.bw-url .lock {
  width: 10px; height: 10px;
  border: 1.4px solid var(--muted);
  border-radius: 2px; position: relative; flex-shrink: 0;
}
.bw-url .lock::before {
  content: ""; position: absolute;
  top: -4px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px;
  border: 1.4px solid var(--muted);
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}
.bw-url .path {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bw-screen {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top center;
  background: #0B1929;
}
.bw.bw-portrait .bw-screen { aspect-ratio: 9/16; max-height: 540px; }
/* Scene-card image-slots still use the 4:5 portrait via the scene-card aspect-ratio */

/* ===== SCENES (Em cena) ===== */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.scene-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.scene-card.scene-dark {
  background: linear-gradient(135deg, var(--ink), var(--primary-deep));
  border: 1px solid rgba(54,197,224,0.18);
  padding: 28px 24px;
  color: white;
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative; overflow: hidden;
}
.scene-card.scene-dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(54,197,224,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(30,110,255,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.scene-card.scene-dark > * { position: relative; z-index: 1; }
.scene-card.scene-dark .label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--cyan); font-weight: 600;
  text-transform: uppercase;
}
.scene-card.scene-dark h3 {
  color: white; font-size: 22px; margin: 10px 0 14px;
  letter-spacing: -0.015em;
}
.scene-card.scene-dark p {
  color: rgba(255,255,255,0.78);
  font-size: 13.5px; line-height: 1.55;
}
.scene-card.scene-dark p .pop {
  color: var(--cyan); font-weight: 600;
}
.scene-card .scene-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,25,41,0.78) 100%);
  color: white;
  pointer-events: none;
}
.scene-card .scene-overlay .num {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--cyan);
  text-transform: uppercase;
}
.scene-card .scene-overlay .cap {
  font-weight: 700; font-size: 14px; margin-top: 4px;
}

/* image-slot host styling (consolidated below — see ===== IMAGE-SLOT) */

/* ===== PILLARS ===== */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.pillar-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 26px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 0.25s ease-out;
  cursor: pointer;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(11,25,41,0.15);
  border-color: rgba(30,110,255,0.16);
}
.pillar-card .icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(30,110,255,0.4);
}
.pillar-card h3 { font-size: 21px; }
.pillar-card .desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.pillar-card .mini-bw { margin-top: 4px; }
.pillar-card .mini-bw .bw-screen { aspect-ratio: 16/10; max-height: 220px; }
.pillar-card .tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--mono); font-size: 11.5px;
  background: var(--primary-soft); color: var(--primary-deep);
  padding: 5px 11px; border-radius: 7px;
  letter-spacing: 0.01em;
}

/* ===== SPOTLIGHTS ===== */
.spotlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.spotlight.reverse > .spotlight-text { order: 2; }
.spotlight-text h2 { margin-bottom: 16px; }
.spotlight-text p.lead {
  font-size: 16.5px; color: var(--muted); margin-bottom: 28px; line-height: 1.55;
}
.spotlight-bullets { list-style: none; padding: 0; margin: 0; }
.spotlight-bullets li {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.spotlight-bullets li:last-child { border-bottom: none; }
.spotlight-bullets .num {
  font-family: var(--mono);
  font-size: 13px; font-weight: 600; color: var(--primary);
  padding-top: 2px;
}
.spotlight-bullets .title {
  font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 4px;
}
.spotlight-bullets .desc {
  color: var(--muted); font-size: 13.5px; line-height: 1.5;
}
.spotlight-window {
  perspective: 1800px;
}
.spotlight-window .bw {
  transition: transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.tilt-l .spotlight-window .bw {
  transform: perspective(1800px) rotateY(6deg) rotateX(2deg);
}
.tilt-r .spotlight-window .bw {
  transform: perspective(1800px) rotateY(-6deg) rotateX(2deg);
}
.spotlight-window .bw:hover {
  transform: perspective(1800px) rotateY(0deg) rotateX(0deg) translateY(-4px);
}

/* ===== TOOLS ===== */
.tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.tool-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px 24px;
  text-decoration: none; color: inherit;
  display: block;
  transition: all 0.22s ease-out;
}
.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(54,197,224,0.25);
  box-shadow: 0 14px 28px -16px rgba(11,25,41,0.12);
}
.tool-card .icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--cyan-soft); color: var(--primary-deep);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.tool-card h4 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.tool-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ===== AUDIENCE ===== */
.audience-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.audience-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px;
}
.audience-card .code {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  color: var(--primary); margin-bottom: 10px; letter-spacing: 0.04em;
}
.audience-card h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.audience-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ===== CTA FINAL ===== */
.cta-card {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 28px;
  padding: 64px;
  color: white;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-card h2 { color: white; margin-bottom: 12px; }
.cta-card .cta-sub { color: rgba(255,255,255,0.9); margin-bottom: 30px; font-size: 16.5px; }
.cta-form {
  display: flex; gap: 8px; max-width: 540px; margin: 0 auto 22px;
  background: white; padding: 8px; border-radius: 999px;
  box-shadow: 0 20px 40px -20px rgba(11,25,41,0.3);
}
.cta-form input {
  flex: 1; border: none; outline: none; padding: 0 20px;
  font-size: 15px; color: var(--ink); background: transparent;
  font-family: inherit;
}
.cta-form input::placeholder { color: var(--muted-2); }
.cta-form button {
  background: var(--ink); color: white;
  border: none; padding: 12px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.cta-form button:hover { background: black; transform: translateY(-1px); }
.cta-success {
  display: inline-block; padding: 10px 20px;
  background: rgba(255,255,255,0.18); color: white; border-radius: 999px;
  font-size: 14px; margin-bottom: 14px;
  animation: cta-fade 4s ease-out forwards;
}
@keyframes cta-fade {
  0% { opacity: 0; transform: translateY(8px); }
  10%, 80% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}
.cta-checks {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.9);
}
.cta-checks span { display: flex; align-items: center; gap: 6px; }

/* ===== FOOTER ===== */
footer.main-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px; color: var(--muted);
}
footer.main-footer a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
footer.main-footer a:hover { color: var(--primary); }
footer.main-footer .sep { color: var(--muted-2); margin: 0 10px; }

/* ===== TWEAKS PANEL ===== */
.tweaks-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: white;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 20px -6px rgba(11,25,41,0.3);
  transition: all 0.2s;
  font-family: inherit;
}
.tweaks-toggle:hover { background: var(--primary); }
.tweaks-panel {
  position: fixed; right: 20px; bottom: 78px; z-index: 60;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px; width: 300px;
  box-shadow: 0 20px 40px -10px rgba(11,25,41,0.2);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.tweaks-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tweaks-panel h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.tweaks-section { margin-bottom: 16px; }
.tweaks-section:last-child { margin-bottom: 0; }
.tweaks-label {
  font-size: 10.5px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 8px; font-weight: 600;
}
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--ink); }
.tweaks-panel input[type="text"] {
  width: 100%; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; font-size: 12.5px; color: var(--ink);
  font-family: inherit; background: var(--bg);
}
.tweaks-panel input[type="text"]:focus { outline: 2px solid var(--primary); border-color: transparent; }

/* ===== IMAGE-SLOT (custom element host styling) ===== */
image-slot {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0B1929, #152944);
}
/* The dangerouslySetInnerHTML wrapper div needs to fill the scene-card too */
.scene-card > div:has(> image-slot) {
  position: absolute; inset: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  section.hero { padding: 110px 0 60px; }

  nav.main-nav .nav-links { display: none; }
  nav.main-nav .nav-inner { padding: 12px 20px; }
  nav.main-nav.scrolled .nav-inner { padding: 10px 20px; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(34px, 9vw, 56px); }
  .hero-window { transform: none; animation: none; filter: drop-shadow(0 18px 30px rgba(11,25,41,0.18)); }
  .callout { display: none; }

  .scenes-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }

  .spotlight { grid-template-columns: 1fr; gap: 32px; }
  .spotlight.reverse > .spotlight-text { order: 0; }
  .spotlight-window .bw { transform: none !important; }
  .tilt-l .spotlight-window .bw,
  .tilt-r .spotlight-window .bw { transform: none; }

  .cta-card { padding: 40px 22px; }
  .cta-form { flex-direction: column; padding: 0; background: transparent; box-shadow: none; gap: 10px; }
  .cta-form input { background: white; padding: 14px 20px; border-radius: 999px; }
  .cta-form button { width: 100%; padding: 14px; }

  .logo-strip .logos { gap: 16px; }

  .tweaks-toggle { right: 14px; bottom: 14px; }
  .tweaks-panel { right: 14px; bottom: 70px; width: calc(100vw - 28px); }
}

@media (max-width: 540px) {
  .scenes-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
}
