@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

/* /operators/ landing — rebuilt 2026-08-04 to the boss's v5 reference
   (airmango-operators-v5-NEWEST.html). The reference's Tailwind pinks
   (#EC4899/#DB2777) are converted to the brand accent per CLAUDE.md.
   Two arrival modes share this one page: "via creator link" (?invite=<id>
   shows the via-strip and personalises the CTAs) and "direct" (the default
   markup below). The mode switch lives in the page's own script.
   Footer markup comes from /js/site-footer.js; its .footer* styles live here
   (that module's contract). Header comes from /js/site-header.js. */

:root {
  --bg: #FFFFFF;
  --bg-page: #F7F7F8;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F7F7F8;
  --text: #0A0A0A;
  --text-secondary: #555560;
  --text-muted: #8C8C96;
  --text-dim: #B0B0B8;
  --accent: #E8366D;
  --accent-hover: #c92d5b;
  --accent-light: rgba(232,54,109,0.06);
  --accent-light2: rgba(232,54,109,0.1);
  --accent-soft: #FDF2F8;
  --green: #16a34a;
  --green-light: rgba(22,163,74,0.08);
  --border: #E8E8EC;
  --border-light: #F0F0F4;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Header CSS lives in /css/site-header.css */

/* ═══ VIA-STRIP — the "@creator sent you this page" banner (Mode 1) ═══
   Hidden by default; the invite script un-hides it only after the
   airmango_creator_invite_card RPC confirms the id in ?invite= is real. */
.via-strip {
  background: var(--accent-soft);
  border-bottom: 1px solid #F6D4E0;
  padding: 11px 48px;
  font-size: 13.5px;
  color: #6B4B58;
  display: flex;
  align-items: center;
  gap: 10px;
}
.via-strip strong { color: var(--text); }
.via-strip.is-hidden { display: none; }
.via-av {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #7A4E5F center/cover no-repeat;
  flex: 0 0 auto;
}

/* ═══ HERO ═══ */
.hero {
  padding: 72px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}
.hero .eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.07;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero p.lead {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 54ch;
}
.cta-primary {
  white-space: nowrap;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.cta-primary:hover { background: var(--accent-hover); }
.cta-secondary {
  white-space: nowrap;
  background: var(--bg);
  color: var(--text);
  border: 1px solid #ddd;
  padding: 15px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.cta-secondary:hover { border-color: var(--text); background: #fafafa; }
.hero .cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ═══ TRUST STRIP ═══ */
.trust-strip {
  padding: 40px 48px;
  background: #fafafa;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.trust-strip .label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 600;
}
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

/* ═══ SECTION BLOCKS ═══ */
.section-block { padding: 96px 48px; }
.section-block.alt { background: #f8f8f8; }
.section-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-align: center;
  margin-bottom: 12px;
}
.section-block h2 {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

/* ═══ HOW IT WORKS ═══ */
.hiw-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
}
.hiw-row:last-child { margin-bottom: 0; }
.hiw-row.reverse .hiw-text { order: 2; }
.hiw-row.text-left .hiw-text { order: -1; }
.hiw-text .num {
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.hiw-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hiw-text > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}
.hiw-text ul { list-style: none; }
.hiw-text li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 14px;
}
.hiw-text li::before {
  content: "✓";
  color: var(--green);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.hiw-text li strong { display: inline; margin-right: 4px; }
.hiw-visual {
  min-height: 340px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.hiw-visual img { max-width: 100%; display: block; }

/* ═══ FAQ ═══ */
.faq-section { padding: 96px 48px; background: var(--bg); }
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(30px, 3.4vw, 40px);
  letter-spacing: -0.02em;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg);
}
.faq-question {
  padding: 22px 26px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question:hover { background: #fafafa; }
.faq-question .chevron {
  color: var(--text-muted);
  font-size: 18px;
  transition: transform 0.25s;
}
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 26px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 26px 22px;
}

/* ═══ FINAL CTA ═══ */
.final-cta {
  padding: 96px 48px;
  background: #fafafa;
  text-align: center;
  border-top: 1px solid var(--border-light);
}
.final-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.final-cta p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.6;
}
.final-cta .cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ═══ FOOTER (markup from /js/site-footer.js) ═══ */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 24px 36px;
  background: var(--bg);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 60px; padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-logo { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--text); }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.footer-col a { font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px; color: var(--text-muted);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--text-muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--text); }

/* ═══ RESPONSIVE ═══
   Mobile is explicitly "next step" (boss video 2026-08-04) — these rules only
   keep the page from breaking outright below the desktop widths. */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 48px 24px 64px; }
  .hiw-row { grid-template-columns: 1fr; gap: 32px; }
  .hiw-row.reverse .hiw-text { order: 0; }
  .hiw-row.text-left .hiw-text { order: 0; }
}
@media (max-width: 900px) {
  .hero .phones { display: none; }
  .hiw-visual.phones-vis { display: none; }
  .section-block { padding: 64px 24px; }
  .faq-section { padding: 64px 24px; }
  .final-cta { padding: 64px 24px; }
  .via-strip { padding: 11px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
