/* ─── EA Landing — static CSS ──────────────────────────────────────── */
:root {
  --bg: #17161a;
  --bg-alt: #1f1e23;
  --bg-deep: #0f0e12;
  --paper: #f5f2ea;
  --ink: #f5f2ea;
  --muted: rgba(245, 242, 234, 0.65);
  --rule: rgba(245, 242, 234, 0.12);
  --accent: #ff8a6b;

  /* character bubble colors (dark-mode rebalanced) */
  --c-margot: #ff8a6b;
  --c-theo:   #b8e061;
  --c-ines:   #e8c85a;
  --c-yuki:   #7ec4d8;
  --c-omar:   #e08a5c;
  --c-priya:  #b5a8f0;

  /* balanced light (for the alpha-CTA section only) */
  --bal-bg: #faf5e8;
  --bal-ink: #18161a;
  --bal-accent: #e8513a;

  --f-display: "Fraunces", Georgia, serif;
  --f-sans: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); overflow-x: hidden; }
body { font-family: var(--f-sans); }
html { scroll-behavior: smooth; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--bg-deep); }
h1, h2, h3, blockquote { text-wrap: balance; }

/* ─── Bubble (SVG composed: body + face) ─────────────────────────── */
.bubble {
  display: inline-block;
  width: var(--s, 80px);
  height: var(--s, 80px);
  position: relative;
  transform: rotate(var(--rot, 0deg));
  flex-shrink: 0;
}
.bubble svg {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.bubble svg:first-child { color: var(--bubble-color, var(--c-margot)); fill: currentColor; }
.bubble svg.face { color: var(--bg-deep); fill: currentColor; stroke: var(--bg-deep); }

.bubble-margot { --bubble-color: var(--c-margot); }
.bubble-theo   { --bubble-color: var(--c-theo); }
.bubble-ines   { --bubble-color: var(--c-ines); }
.bubble-yuki   { --bubble-color: var(--c-yuki); }
.bubble-omar   { --bubble-color: var(--c-omar); }
.bubble-priya  { --bubble-color: var(--c-priya); }

/* on-cream variant for the alpha CTA */
.bubble-on-cream svg.face { color: var(--bal-bg); fill: var(--bal-bg); stroke: var(--bal-bg); }

/* ─── Typography helpers ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 18px;
  text-transform: none;
}
.eyebrow-on-cream { color: rgba(24, 22, 26, 0.55); }

.accent { color: var(--accent); }
.accent-cream { color: var(--bal-accent); }
.serif-i { font-family: var(--f-serif); font-style: italic; color: var(--ink); }

.h1 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 7.5vw, 116px);
  line-height: 0.9;
  letter-spacing: -4px;
  margin: 0;
  max-width: min(880px, calc(100vw - 640px));
}
.h2 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: -1.8px;
  margin: 0 0 48px;
  max-width: 800px;
}
.h2-cast {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 76px; line-height: 0.95; letter-spacing: -2px;
  margin: 0; max-width: 880px;
}
.h2-cta {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 88px; line-height: 0.95; letter-spacing: -2.5px;
  color: var(--bal-ink); margin: 0 auto; max-width: 900px;
}
.h2-install {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 64px; line-height: 0.95; letter-spacing: -1.8px;
  margin: 0 0 24px;
}
.h2-faq {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 56px; line-height: 0.95; letter-spacing: -1.5px;
  margin: 0 0 40px;
}

/* ─── Nav ────────────────────────────────────────────────────────── */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 96px; position: sticky; top: 0; z-index: 30;
  background: rgba(23, 22, 26, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.wordmark {
  font-family: var(--f-display); font-style: italic; font-size: 28px;
  font-weight: 500; letter-spacing: -1px; color: var(--ink);
}
.wordmark-dot { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--ink); }
.nav-links a { text-decoration: none; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--f-sans); border: none; font-weight: 500;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--bg-deep); padding: 20px 36px; font-size: 17px; font-weight: 600; border-radius: 999px; }
.btn-ghost  { background: transparent; color: var(--ink); border: 1px solid var(--rule); padding: 20px 36px; font-size: 17px; border-radius: 999px; }
.btn-light  { background: var(--ink); color: var(--bg); padding: 10px 18px; font-size: 13px; border-radius: 999px; }
.btn-sm     { padding: 14px 24px; font-size: 14px; font-weight: 600; border-radius: 999px; }
.btn-xs     { padding: 10px 18px; font-size: 13px; font-weight: 600; border-radius: 999px; }

/* ─── Sections ───────────────────────────────────────────────────── */
.section { padding: 96px; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero { padding: 80px 96px 96px; position: relative; overflow: hidden; }
.hero-float { position: absolute; top: 40px; right: 40px; width: 560px; height: 720px; pointer-events: none; }
.hero-bubbles { position: absolute; top: 0; right: 0; display: flex; align-items: center; }
.polaroid {
  position: absolute;
  width: var(--s, 200px); height: calc(var(--s, 200px) + 20px);
  transform: rotate(var(--rot, 0deg));
  padding: 10px 10px 20px;
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
}
.polaroid img {
  width: 100%; height: calc(var(--s, 200px) - 20px);
  object-fit: cover; background: var(--bg-alt);
}
.hero-p {
  font-size: 19px; color: var(--muted); max-width: 540px; line-height: 1.55; margin-top: 32px;
}
.hero-buttons { display: flex; gap: 14px; margin-top: 36px; }

/* ─── Marquee ────────────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0; overflow: hidden; white-space: nowrap;
  font-family: var(--f-serif); font-style: italic; font-size: 28px; color: var(--ink);
}
.marquee-track { display: inline-block; animation: marquee 80s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.m-item { margin-right: 56px; display: inline-block; }
.m-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 14px; vertical-align: middle; }
.m-q { color: var(--ink); }
.m-who {
  font-family: var(--f-mono); font-style: normal; font-size: 11px; letter-spacing: 1.5px;
  color: var(--muted); margin-left: 18px; vertical-align: middle;
}
.m-star { color: var(--accent); margin: 0 28px; vertical-align: middle; }

/* ─── Grid ───────────────────────────────────────────────────────── */
.grid { display: grid; gap: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ─── Cast ───────────────────────────────────────────────────────── */
.cast-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 56px; margin-bottom: 64px;
}
.cast-header-left { flex: 1 1 auto; min-width: 0; }
.cast-header-p {
  font-size: 15px; color: var(--muted); max-width: 280px;
  line-height: 1.55; margin: 0; padding-top: 36px; flex: 0 0 280px;
}
.cast-card {
  background: var(--bg); padding: 32px; border-radius: 4px;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 18px;
}
.cast-card-head { display: flex; align-items: flex-start; gap: 20px; }
.cast-photo { width: 140px; height: 140px; object-fit: cover; border-radius: 4px; }
.cast-name { font-family: var(--f-display); font-style: italic; font-size: 36px; font-weight: 400; letter-spacing: -1px; line-height: 1; color: var(--ink); margin: 0; }
.cast-trait { font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.5px; color: var(--muted); margin-top: 6px; }
.cast-quote { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--ink); opacity: 0.9; line-height: 1.45; margin: 0; }
.btn-hire {
  margin-top: auto; align-self: flex-start;
  background: transparent; border: 1px solid currentColor;
  padding: 8px 16px; font-family: var(--f-sans); font-size: 13px;
  font-weight: 500; border-radius: 999px; cursor: pointer;
  transition: background 0.15s ease;
}
.btn-hire:hover { background: rgba(255,255,255,0.04); }
.btn-hire-margot { color: var(--c-margot); }
.btn-hire-theo   { color: var(--c-theo); }
.btn-hire-ines   { color: var(--c-ines); }
.btn-hire-yuki   { color: var(--c-yuki); }
.btn-hire-omar   { color: var(--c-omar); }
.btn-hire-priya  { color: var(--c-priya); }

/* ─── Chat strip ─────────────────────────────────────────────────── */
.chats { gap: 24px; }
.convo {
  background: var(--bg); padding: 24px; border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 10px;
}
.convo-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.convo-name { font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--ink); line-height: 1; }
.convo-status { font-family: var(--f-mono); font-size: 9px; letter-spacing: 1px; color: var(--muted); margin-top: 4px; }
.convo-status .dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 5px; }
.msg {
  color: var(--bg-deep); padding: 10px 14px;
  border-radius: 16px 16px 16px 4px; font-size: 14px; line-height: 1.45;
  max-width: 85%;
}

/* ─── Steps ──────────────────────────────────────────────────────── */
.steps { gap: 40px; }
.step { padding: 32px 0; border-top: 1px solid var(--rule); }
.step-num { font-family: var(--f-mono); font-size: 10px; letter-spacing: 2px; color: var(--accent); margin-bottom: 18px; }
.step-title { font-family: var(--f-display); font-style: italic; font-size: 36px; font-weight: 400; letter-spacing: -1px; color: var(--ink); margin: 0 0 14px; line-height: 1; }
.step-body { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ─── Industries ─────────────────────────────────────────────────── */
.industries { gap: 32px; }
.industry {
  background: var(--bg-alt); padding: 36px; border-radius: 4px;
  border: 1px solid var(--rule);
  min-height: 240px; display: flex; flex-direction: column; justify-content: space-between;
}
.industry-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: 2px; color: var(--accent); }
.industry-body { font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--ink); line-height: 1.3; margin: 0; }

/* ─── Big quote ──────────────────────────────────────────────────── */
.quote-section { padding: 120px 96px; text-align: center; }
.big-quote {
  font-family: var(--f-display); font-style: italic; font-size: 56px;
  line-height: 1.15; letter-spacing: -1.5px; color: var(--ink);
  margin: 32px auto 0; max-width: 900px; font-weight: 400;
}
.quote-attr { margin-top: 28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); }

/* ─── Alpha CTA (cream section) ──────────────────────────────────── */
.alpha {
  background: var(--bal-bg); color: var(--bal-ink);
  text-align: center; padding: 120px 96px;
}
.alpha-bubbles { display: flex; justify-content: center; margin-bottom: 32px; }
.alpha-p {
  font-size: 17px; color: rgba(24,22,26,0.7);
  max-width: 520px; margin: 24px auto 0; line-height: 1.55;
}
.alpha-form {
  margin: 36px auto 0; display: flex; gap: 8px; max-width: 460px;
  background: var(--bal-ink); padding: 6px; border-radius: 999px;
}
.alpha-form input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 12px 18px; font-family: var(--f-sans); font-size: 15px;
  color: var(--bal-bg);
}
.alpha-form input::placeholder { color: rgba(245,242,234,0.5); }
.alpha-form button {
  background: var(--bal-accent); color: var(--bal-bg); border: none;
  padding: 12px 24px; font-family: var(--f-sans); font-size: 14px;
  font-weight: 600; border-radius: 999px; cursor: pointer;
}
.alpha-form button:disabled { opacity: 0.6; cursor: wait; }
[hidden] { display: none !important; }
.alpha-success {
  margin: 36px auto 0; max-width: 520px;
  padding: 24px 28px; background: var(--bal-ink); color: var(--bal-bg);
  border-radius: 28px; display: flex; align-items: center; gap: 18px; text-align: left;
}
.alpha-success .check {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bal-accent); color: var(--bal-ink);
  display: grid; place-items: center;
  font-family: var(--f-serif); font-style: italic; font-size: 22px; font-weight: 500;
}
.success-t { font-family: var(--f-serif); font-style: italic; font-size: 19px; line-height: 1.3; margin-bottom: 4px; }
.success-b { font-size: 14px; opacity: 0.7; line-height: 1.5; }
.fineprint { margin-top: 20px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.5px; color: rgba(24,22,26,0.5); }
.fineprint.dark { color: var(--muted); margin-top: 32px; letter-spacing: 1.5px; }

/* ─── Install ────────────────────────────────────────────────────── */
.install-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: flex-start; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--accent); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,138,107,0.13);
}
.pill span:last-child { font-family: var(--f-mono); font-size: 10px; letter-spacing: 2px; color: var(--accent); }
.install-p { font-size: 17px; color: var(--muted); line-height: 1.55; max-width: 460px; margin: 0 0 28px; }
.install-card {
  background: var(--bg-deep); border: 1px solid var(--rule);
  padding: 32px 32px 28px;
}
.install-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.install-card-tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: 2px; color: var(--accent); }
.install-card-count { font-family: var(--f-mono); font-size: 9px; letter-spacing: 1.5px; color: var(--muted); }
.req { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 24px 0; }
.req + .req { border-top: 1px solid var(--rule); }
.req-n { font-family: var(--f-display); font-style: italic; font-size: 36px; color: var(--accent); line-height: 1; font-weight: 400; }
.req-title-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.req-title { font-family: var(--f-display); font-style: italic; font-size: 28px; color: var(--ink); letter-spacing: -0.5px; line-height: 1; }
.req-tag { font-family: var(--f-mono); font-size: 9px; letter-spacing: 1.5px; color: var(--muted); }
.req-body { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }
.install-card-foot {
  margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.5px; color: var(--muted);
}

/* ─── FAQ (native <details>) ─────────────────────────────────────── */
.faq-list { max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 24px 0; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--f-display); font-style: italic; font-size: 28px; color: var(--ink); font-weight: 400; }
.faq-icon { font-family: var(--f-mono); font-size: 18px; color: var(--accent); flex-shrink: 0; }
.faq-icon::before { content: "+"; }
.faq-item[open] .faq-icon::before { content: "–"; }
.faq-a { font-size: 16px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; max-width: 720px; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer { padding: 64px 96px 32px; background: var(--bg-deep); border-top: 1px solid var(--rule); }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 48px; }
.footer-tag { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--muted); max-width: 320px; line-height: 1.5; margin: 18px 0 0; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); text-decoration: none;
}
.byline { margin-top: 18px; font-family: var(--f-serif); font-style: italic; font-size: 14px; color: var(--muted); line-height: 1.5; }
.byline a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.col-h { font-family: var(--f-mono); font-size: 10px; letter-spacing: 2px; color: var(--muted); margin-bottom: 14px; }
.col-i { font-size: 14px; color: var(--ink); opacity: 0.85; margin-bottom: 8px; }
.col-blurb { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.5px; color: var(--muted);
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .hero-float { display: none; }
  .h1 { max-width: 880px; }
}
@media (max-width: 1100px) {
  .section { padding: 80px 56px; }
  .nav { padding: 20px 56px; }
  .hero { padding: 64px 56px 80px; }
  .footer { padding: 56px 56px 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .install-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .h2 { font-size: 52px; letter-spacing: -1.4px; }
  .h2-cast { font-size: 60px; letter-spacing: -1.6px; }
  .h2-cta { font-size: 72px; letter-spacing: -2px; }
  .h1 { letter-spacing: -2.5px; }
  .cast-header { flex-direction: column; gap: 24px; }
  .cast-header-p { padding-top: 0; flex-basis: auto; max-width: 560px; }
  .alpha { padding: 96px 56px; }
  .quote-section { padding: 96px 56px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 24px; }
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px 64px; }
  .footer { padding: 48px 24px 24px; }
  .nav-links { display: none; }
  .btn-light { padding: 9px 14px; font-size: 12px; }
  .grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .h1 { font-size: 56px; letter-spacing: -2px; }
  .h2 { font-size: 38px; letter-spacing: -1px; margin-bottom: 32px; }
  .h2-cast { font-size: 44px; letter-spacing: -1.2px; }
  .h2-cta { font-size: 56px; letter-spacing: -1.5px; }
  .h2-faq { font-size: 38px; letter-spacing: -1px; }
  .h2-install { font-size: 42px; letter-spacing: -1.2px; }
  .big-quote { font-size: 32px; letter-spacing: -0.8px; line-height: 1.2; }
  .hero-p { font-size: 17px; }
  .hero-buttons { flex-wrap: wrap; gap: 10px; }
  .hero-buttons .btn { padding: 16px 24px; font-size: 15px; }
  .alpha { padding: 80px 24px; }
  .alpha-form { flex-direction: column; border-radius: 18px; gap: 6px; padding: 8px; }
  .alpha-form input { padding: 14px 16px; }
  .alpha-form button { width: 100%; padding: 14px; border-radius: 12px; }
  .faq-q { font-size: 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cast-card-head { flex-wrap: wrap; }
  .install-card { padding: 24px; }
  .quote-section { padding: 80px 24px; }
}
