/* ───────────────────────────────────────────────────────
   Anantam Site Manager 1.0 — marketing styles
   Editorial / cream + maroon + orange
   ─────────────────────────────────────────────────────── */

:root {
  --bg: #FAF7F2;
  --paper: #FFFFFF;
  --ink: #1F1714;
  --ink-soft: #5C4F48;
  --muted: #9C8E86;
  --border: #E8DFD3;
  --border-soft: #F2EBDD;
  --maroon: #5C1A24;
  --maroon-light: #FFB68A;
  --orange: #E8601C;
  --orange-pale: #FDE8DC;
  --orange-light: #FFB68A;
  --shadow: 0 2px 20px rgba(44,36,32,0.07);

  /* Nexa — primary brand typeface. Falls back to Outfit (a similar geometric grotesk)
     if Nexa fails to load from the CDN. */
  --font-body: 'Nexa', 'Nexa Text', 'Outfit', 'Helvetica Neue', sans-serif;
  --font-highlight: 'Nexa', 'Nexa Text', 'Outfit', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--maroon); color: var(--bg); }

.tahoma { font-family: var(--font-highlight); font-style: italic; }
.maroon { color: var(--maroon); }
.orange { color: var(--orange); }

/* ─── Layout ─── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 56px; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 18px 56px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  /* Used both for the nav-bar mark and footer mark — the <img> inside sets the visible height */
}
.logo img {
  display: block;
  height: 52px;
  width: auto;
}
.logo-text-hide { /* legacy text spans now hidden — image replaces them */
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.nav-links { display: flex; gap: 36px; align-items: center; font-size: 13px; }
.nav-links a { opacity: 0.85; white-space: nowrap; }
.nav-links a:hover { opacity: 1; color: var(--orange); }
.btn {
  padding: 10px 18px;
  background: var(--orange); color: #fff; border: none; border-radius: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 200ms;
}
.btn:hover { background: #C04E12; }
.btn-lg { padding: 16px 28px; font-size: 13px; letter-spacing: 0.1em; }
.btn-xl { padding: 20px 28px; font-size: 13px; letter-spacing: 0.1em; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ─── HERO ─── */
.hero { padding-bottom: 96px; }
.hero-top {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 72px 56px 56px;
  position: relative; overflow: hidden;
}
.hero-top-inner { max-width: 1240px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--maroon);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  color: var(--maroon); letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  max-width: min(720px, 92%);
  line-height: 1.55;
  text-wrap: balance;
}

#hero-phones {
  display: flex; gap: 36px; justify-content: center; align-items: flex-end;
  perspective: 1400px;
  margin-top: 12px;
  min-height: 620px;
}

.hero-copy { max-width: 1100px; margin: 0 auto; padding: 80px 56px 0; text-align: center; }
.h1 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0; color: var(--ink);
  text-wrap: balance;
}
.h1 .em {
  font-family: var(--font-highlight); font-style: italic; font-weight: 400;
  color: var(--orange);
}
.lede {
  max-width: 640px; margin: 32px auto 0;
  font-size: 18px; line-height: 1.55; color: var(--ink-soft);
}
.lede.left { margin-left: 0; margin-right: 0; }
.cta-row { margin-top: 40px; display: flex; gap: 16px; justify-content: center; align-items: center; }
.cta-row .btn { display: inline-flex; gap: 8px; align-items: center; }

.hero-strip {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: center; gap: 56px;
  font-size: 11px; color: var(--muted); letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.hero-strip .quote {
  font-family: var(--font-highlight); font-style: italic;
  text-transform: none; letter-spacing: 0; color: var(--maroon);
}

/* ─── SECTION shells ─── */
section { scroll-margin-top: 80px; }
.section { padding: 120px 56px; border-top: 1px solid var(--border); }
.section.paper { background: var(--paper); }
.section-head {
  text-align: center; margin: 0 auto 72px; max-width: 880px;
}
.section-head.left { text-align: left; margin: 0 0 72px; }
.section-eyebrow {
  font-size: 11px; font-weight: 600; color: var(--orange);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 12px;
}
.h2 {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.01em;
  margin: 0; color: var(--ink);
  text-wrap: balance;
}
.h2 .em {
  font-family: var(--font-highlight); font-style: italic;
  color: var(--maroon); font-weight: 400;
}
.h3 {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.h3 .em {
  font-family: var(--font-highlight); font-style: italic;
  color: var(--maroon); font-weight: 400;
}
.section p { color: var(--ink-soft); line-height: 1.65; font-size: 16px; margin: 16px 0; max-width: 720px; }
.section p.lede {
  font-size: 18px; color: var(--ink); font-weight: 400;
  margin: 0 0 20px;
}
.section ul.bullets { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.section ul.bullets li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: var(--ink); line-height: 1.6;
}
.section ul.bullets li::before {
  content: ''; width: 18px; height: 1px;
  background: var(--orange); flex-shrink: 0;
  margin-top: 12px;
}

/* ─── Why-now block ─── */
.why-now { max-width: 920px; margin: 0 auto; }
.why-now ul.painlist {
  margin-top: 28px;
  display: grid; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.why-now ul.painlist li {
  background: var(--paper);
  padding: 20px 24px;
  font-size: 15px; color: var(--ink);
  display: flex; gap: 16px; align-items: flex-start;
}
.why-now ul.painlist li .num {
  font-family: var(--font-highlight); font-weight: 700; color: var(--maroon);
  font-size: 13px; flex-shrink: 0; min-width: 24px;
}

/* ─── Feature rows ─── */
.feature-row {
  display: grid; grid-template-columns: 1fr 360px; gap: 96px; align-items: center;
  padding: 64px 0; border-top: 1px solid var(--border);
  max-width: 1240px; margin: 0 auto;
}
.feature-row.reverse {
  grid-template-columns: 360px 1fr;
}
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-mount { order: 1; }
.feature-row .feature-no {
  font-size: 11px; font-weight: 700; color: var(--maroon);
  letter-spacing: 0.14em; margin-bottom: 18px;
  font-family: var(--font-highlight);
  display: flex; gap: 12px; align-items: baseline;
}
.feature-row .feature-no .label { color: var(--ink-soft); font-weight: 600; }
.feature-row .feature-mount { display: flex; justify-content: center; }

/* ─── Use cases ─── */
.use-cases { max-width: 1100px; margin: 0 auto; }
.use-case {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 280px 1fr; gap: 64px;
}
.use-case:first-of-type { border-top: none; padding-top: 0; }
.use-case .use-eyebrow {
  font-size: 11px; color: var(--orange); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.use-case .use-tag {
  font-family: var(--font-highlight); font-style: italic;
  font-size: 13px; color: var(--maroon); margin-top: 8px;
}
.use-case .lede { font-size: 18px; color: var(--ink); font-weight: 400; margin-bottom: 16px; }

/* Mobile-only elements — hidden on desktop */
.features-mobile-cta { display: none; }
.use-case-btn { display: none; }

/* ─── AI section ─── */
.ai-section { background: var(--ink); color: var(--bg); }
.ai-section .h2 { color: var(--bg); }
.ai-section .h2 .em { color: var(--orange-light); }
.ai-section .section-eyebrow { color: var(--orange-light); }
.ai-section p { color: rgba(250,247,242,0.78); }
.ai-section p.lede { color: var(--bg); }
.ai-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 1100px;
}
.ai-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,182,138,0.18);
}
.ai-card .tag {
  font-size: 10px; color: var(--orange-light);
  letter-spacing: 0.14em; text-transform: uppercase;
  font-family: var(--font-highlight); font-weight: 700;
  margin-bottom: 12px;
}
.ai-card h3 {
  font-family: var(--font-body); font-weight: 500;
  font-size: 22px; margin: 0 0 12px; color: var(--bg);
  letter-spacing: -0.005em;
}
.ai-card p { font-size: 14px; line-height: 1.6; margin: 0; color: rgba(250,247,242,0.7); max-width: none; }

/* ─── Enterprise ─── */
.enterprise-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.enterprise-grid h3 {
  font-family: var(--font-body); font-weight: 500;
  font-size: 22px; letter-spacing: -0.005em;
  margin: 0 0 16px;
}
.enterprise-grid p { margin: 0 0 16px; }

/* ─── iPad showcase ─── */
.ipad-section {
  background: var(--paper);
  padding: 120px 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ipad-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.ipad-mount { display: flex; justify-content: center; }
.ipad-stats { display: flex; gap: 32px; margin-top: 36px; }
.ipad-stats .stat .n {
  font-family: var(--font-highlight); font-weight: 700;
  font-size: 36px; color: var(--maroon);
  letter-spacing: -0.02em; line-height: 1;
}
.ipad-stats .stat .l {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 8px;
}

/* ─── Founder (orange full-bleed) ─── */
.founder-section {
  background: var(--orange);
  color: #0A0A0A;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.founder-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  min-height: 720px;
  align-items: stretch;
}
.founder-copy {
  padding: 120px 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.founder-eyebrow {
  font-size: 11px; font-weight: 700; color: #0A0A0A;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.founder-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: #0A0A0A;
}
.founder-copy h2 {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.02em; line-height: 1.05;
  margin: 0; color: #0A0A0A;
}
.founder-copy h2 .em {
  font-family: var(--font-highlight); font-style: italic;
  color: #FFFFFF;
}
.founder-copy h3 {
  font-family: var(--font-body); font-weight: 500;
  font-size: 20px; margin: 32px 0 0; color: #0A0A0A;
}
.founder-copy p { color: #0A0A0A; max-width: 480px; margin-top: 16px; line-height: 1.65; font-size: 17px; }
.founder-copy p strong { font-weight: 700; }
.founder-copy p .em { font-family: var(--font-highlight); font-style: italic; color: #fff; }
.founder-facts {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(10,10,10,0.25);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 520px;
}
.founder-facts .l {
  font-size: 10px; color: rgba(10,10,10,0.65);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 8px; font-weight: 600;
}
.founder-facts .v { font-size: 13px; color: #0A0A0A; font-weight: 600; line-height: 1.4; }

/* ── Photo: bigger, bolder, flush ── */
.founder-photo {
  position: relative;
  background: var(--orange);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 720px;
}
.founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 28%;
  /* Soft fade on the left and bottom — blends into the orange section */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 22%),
    linear-gradient(to top, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0%, #000 22%),
    linear-gradient(to top, transparent 0%, #000 22%);
          mask-composite: intersect;
}
.founder-photo .tag {
  position: absolute; bottom: 32px; right: 32px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  font-family: var(--font-highlight); font-style: italic;
  font-size: 10px; letter-spacing: 0.08em; color: #FFFFFF;
  z-index: 2;
}

/* ── Centered quote (below grid, full-width) ── */
.founder-quote-wrap {
  padding: 80px 56px 120px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.founder-quote {
  font-family: var(--font-highlight); font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  color: #0A0A0A;
  margin: 0 auto;
  max-width: 900px;
  position: relative;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.founder-quote .em {
  font-family: var(--font-highlight); font-style: italic;
  color: #FFFFFF;
  font-weight: 700;
}
.founder-quote .mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: normal;
  font-size: 1.6em;
  line-height: 0;
  color: #FFFFFF;
  display: inline-block;
  margin-right: 0.1em;
  vertical-align: -0.18em;
  font-weight: 700;
}
.founder-quote-attr {
  margin-top: 32px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0A0A0A;
  font-weight: 700;
  font-style: normal;
}

/* ─── Pricing ─── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.price-card {
  background: var(--paper);
  padding: 36px 32px 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  min-height: 580px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.accent {
  background: var(--maroon); color: var(--bg);
  border: none;
}
.price-card .badge {
  position: absolute; top: -12px; left: 32px;
  background: var(--orange); color: #fff;
  padding: 5px 12px; border-radius: 2px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-card .tier {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.price-card.accent .tier { color: var(--orange-light); }
.price-card .sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 28px; line-height: 1.45; }
.price-card.accent .sub { color: rgba(250,247,242,0.7); }
.price-card .price {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; flex-wrap: wrap;
}
.price-card .price .num {
  font-family: var(--font-highlight); font-size: 44px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em;
}
.price-card.accent .price .num { color: var(--bg); }
.price-card .price .per { font-size: 14px; color: var(--muted); }
.price-card.accent .price .per { color: rgba(250,247,242,0.6); }
.price-card .seats {
  font-size: 11px; color: var(--muted); letter-spacing: 0.06em;
  text-transform: uppercase; padding-bottom: 24px;
  border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.price-card.accent .seats {
  color: rgba(250,247,242,0.6);
  border-bottom-color: rgba(255,255,255,0.12);
}
.price-card ul { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-card ul li {
  font-size: 13px; color: var(--ink);
  display: flex; gap: 12px; align-items: flex-start;
}
.price-card.accent ul li { color: var(--bg); }
.price-card ul li::before {
  content: ''; width: 16px; height: 1px; margin-top: 8px;
  background: var(--maroon); flex-shrink: 0;
}
.price-card.accent ul li::before { background: var(--orange); }
.price-card .btn-row { margin-top: 28px; }
.price-card .btn-row .btn { width: 100%; padding: 14px 0; }

/* ─── FAQ on homepage ─── */
.faq-section { background: var(--paper); border-top: 1px solid var(--border); padding: 120px 56px; }
.faq-inner { max-width: 980px; margin: 0 auto; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 32px;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-no {
  font-family: var(--font-highlight); font-weight: 700;
  color: var(--maroon); font-size: 12px;
  letter-spacing: 0.04em; min-width: 32px;
}
.faq-item .faq-q { flex: 1; font-size: 19px; font-weight: 500; color: var(--ink); }
.faq-item .faq-plus {
  font-size: 18px; color: var(--orange);
  transition: transform 200ms;
  flex-shrink: 0;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item .faq-a {
  margin-top: 16px; padding-left: 44px;
  font-size: 15px; line-height: 1.7; color: var(--ink-soft); max-width: 760px;
}
.faq-link {
  margin-top: 40px; text-align: center;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.faq-link a {
  color: var(--maroon); border-bottom: 1px solid var(--maroon);
  padding-bottom: 2px;
}

/* ─── Footer ─── */
footer { background: var(--maroon); color: var(--bg); padding: 96px 56px 48px; }
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-cta {
  display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: flex-end;
  padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-cta h2 {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.02em; line-height: 1.05;
  margin: 0; color: var(--bg);
}
.footer-cta h2 .em { font-family: var(--font-highlight); font-style: italic; color: var(--orange-light); }
.footer-cta p { font-size: 16px; line-height: 1.6; color: rgba(250,247,242,0.7); margin-top: 24px; max-width: 540px; }
.footer-cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-cta .actions small {
  font-size: 11px; color: rgba(250,247,242,0.5); letter-spacing: 0.06em;
}
.footer-cta .actions small a {
  color: rgba(250,247,242,0.9);
  border-bottom: 1px solid rgba(250,247,242,0.3);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-cta .actions small a:hover {
  color: var(--orange-light);
  border-bottom-color: var(--orange-light);
}

/* WhatsApp button — in footer + standalone usage */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: #25D366; color: #fff;
  border: none; border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn-whatsapp:hover { background: #1DA851; transform: translateY(-1px); }
.btn-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Floating WhatsApp bubble — bottom-right, always visible */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0,0,0,0.12);
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0,0,0,0.15);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(0.9); opacity: 0.7; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa-float-label {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: var(--bg);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 2px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  font-weight: 500;
}
.wa-float:hover .wa-float-label { opacity: 1; transform: translateY(-50%) translateX(-4px); }
@media (max-width: 720px) {
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-float-label { display: none; }
}
@media print { .wa-float { display: none; } }
.footer-meta {
  margin-top: 36px;
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(250,247,242,0.5); letter-spacing: 0.06em;
  flex-wrap: wrap; gap: 16px;
}
.footer-meta .logo img {
  height: 64px;
}

/* ─── Reveal — set by IntersectionObserver in JS ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── Hamburger toggle (hidden on desktop) ─── */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent; padding: 0;
  cursor: pointer; position: relative;
  margin-right: -10px;
}
.nav-toggle span {
  display: block; position: absolute; left: 10px; right: 10px;
  height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  flex-direction: column; gap: 4px;
  box-shadow: 0 8px 24px rgba(10,10,10,0.06);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.mobile-menu a {
  padding: 14px 4px;
  font-size: 16px; font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.btn {
  margin-top: 12px; text-align: center; color: #fff;
  font-size: 13px; font-weight: 600; border-bottom: none;
  padding: 16px 24px;
}
.mobile-menu.is-open { display: flex; }
body.menu-open { overflow: hidden; }

/* ─── Mid-width: tighter nav before mobile breakpoint takes over ─── */
@media (max-width: 1080px) {
  .nav-links { gap: 22px; }
  .nav-inner { padding-left: 32px; padding-right: 32px; }
}

/* ─── Tablet ─── */
@media (max-width: 980px) {
  .wrap, .nav-inner, .hero-top, .hero-copy, .section, .ipad-section, .faq-section, footer { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  #hero-phones { gap: 12px; min-height: 0; transform: scale(0.7); transform-origin: top center; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy { order: 1; }
  .feature-row.reverse .feature-mount { order: 2; }
  .use-case { grid-template-columns: 1fr; gap: 16px; }
  .founder-grid { grid-template-columns: 1fr; min-height: 0; }
  .founder-copy { padding: 80px 32px 48px; }
  .founder-photo { min-height: 560px; order: -1; }
  .founder-quote-wrap { padding: 56px 32px 80px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .ipad-inner { grid-template-columns: 1fr; gap: 48px; }
  .enterprise-grid { grid-template-columns: 1fr; gap: 32px; }
  .ai-grid { grid-template-columns: 1fr; }
  .footer-cta { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta .actions { align-items: flex-start; }
}

/* ─── Phone ─── */
@media (max-width: 720px) {
  /* Prevent horizontal overflow from scaled mockups */
  html, body { overflow-x: hidden; max-width: 100vw; }
  html { overflow-x: clip; }
  .ipad-section, .hero, .hero-top, .section { overflow-x: clip; }

  /* Prevent grid/flex containers from being expanded by oversized fixed-width children */
  .ipad-inner { grid-template-columns: minmax(0, 1fr); }
  .feature-row, .feature-row.reverse { grid-template-columns: minmax(0, 1fr); }
  .ipad-mount, .feature-mount {
    width: 100%; min-width: 0; max-width: 100%;
    overflow: hidden;
  }
  #hero-phones {
    width: 100%; min-width: 0; max-width: 100%;
    /* overflow: visible — absolute-positioned fan children must not be clipped */
  }

  /* Containers — tight 20px gutters */
  .wrap, .nav-inner, .hero-top, .hero-copy, .section, .ipad-section, .faq-section, footer {
    padding-left: 20px; padding-right: 20px;
  }

  /* Nav: smaller logo, smaller sticky header */
  .nav-inner { padding-top: 12px; padding-bottom: 12px; }
  .logo img { height: 40px; }

  /* Section rhythm — much tighter than desktop's 120px */
  .section { padding-top: 64px; padding-bottom: 64px; }
  .ipad-section { padding-top: 64px; padding-bottom: 64px; }
  .faq-section { padding-top: 64px; padding-bottom: 64px; }
  .section-head { margin-bottom: 40px; }
  .section-head.left { margin-bottom: 40px; }
  section { scroll-margin-top: 64px; }

  /* Typography — readable lede on small screens */
  .section p { font-size: 15px; line-height: 1.6; }
  .section p.lede { font-size: 16px; line-height: 1.55; }
  .lede { font-size: 16px; margin-top: 24px; }
  .section ul.bullets li { font-size: 14px; }
  .section ul.bullets li::before { margin-top: 11px; width: 14px; }

  /* HERO */
  .hero { padding-bottom: 56px; }
  .hero-top { padding: 20px 20px 24px; }
  .eyebrow {
    font-size: 10px; padding: 7px 14px; margin-bottom: 20px;
    letter-spacing: 0.06em; max-width: 100%;
  }
  .hero-copy { padding: 32px 20px 0; }
  .h1 { font-size: clamp(34px, 9vw, 44px); }
  .h1 br { display: none; }
  .lede { margin-top: 20px; padding: 0; }
  .cta-row { margin-top: 28px; }
  .cta-row .btn { width: 100%; justify-content: center; padding: 18px 24px; font-size: 13px; }
  .btn-lg, .btn-xl { padding: 18px 24px; font-size: 13px; }

  /* Hero strip — stack vertically, smaller gap */
  .hero-strip {
    margin-top: 36px; padding-top: 20px;
    flex-direction: column; gap: 12px;
    font-size: 10px; text-align: center;
  }
  .hero-strip .quote { font-size: 14px; line-height: 1.4; }

  /* Hero phones — single phone swiper */
  #hero-phones {
    position: static;
    height: auto;
    gap: 0;
    margin-top: 16px;
    margin-bottom: 0;
    animation: none;
    scale: 1;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  /* H2 / H3 */
  .h2 { font-size: clamp(28px, 7.5vw, 36px); line-height: 1.1; }
  .h3 { font-size: clamp(24px, 6.5vw, 30px); line-height: 1.15; }
  .section-eyebrow { font-size: 10px; letter-spacing: 0.14em; }

  /* Why-now / painlist */
  .why-now ul.painlist { margin-top: 20px; }
  .why-now ul.painlist li {
    padding: 18px 18px;
    font-size: 14px; gap: 12px;
    line-height: 1.55;
  }
  .why-now ul.painlist li .num { font-size: 12px; min-width: 20px; }

  /* Features — phone mockup scaled for small screens */
  .feature-row { padding: 40px 0; gap: 24px; }
  .feature-row .feature-copy { padding: 0; min-width: 0; }
  .feature-row .feature-no { font-size: 10px; margin-bottom: 14px; gap: 8px; }
  .feature-mount {
    transform: scale(0.85);
    transform-origin: center top;
    margin: -20px 0 -78px; /* was -40px; compensates most of the 98px layout waste */
  }
  .feature-mount > * { max-width: 100%; }

  /* Features section — hide detail rows, show mobile CTA */
  .feature-row { display: none; }
  .feature-row.visible { display: grid; }
  .features-mobile-cta {
    display: flex; justify-content: center;
    padding: 8px 0 32px;
  }
  .features-mobile-cta .btn-outline {
    padding: 14px 32px; font-size: 13px;
    border: 1.5px solid var(--orange); color: var(--orange);
    background: transparent; border-radius: 2px;
    font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    cursor: pointer;
  }

  /* Use cases — accordion */
  .use-case {
    display: block; padding: 0;
    border-top: 1px solid var(--border);
  }
  .use-case:first-of-type { border-top: 1px solid var(--border); }
  .use-case-label { display: none; }
  .use-case-btn {
    display: flex; width: 100%; text-align: left;
    align-items: center; justify-content: space-between;
    background: var(--paper); border: none;
    padding: 20px 0; gap: 12px; cursor: pointer;
  }
  .use-case-btn .use-eyebrow { font-size: 10px; }
  .use-case-btn .use-tag { font-size: 12px; margin-top: 4px; }
  .use-chevron {
    font-size: 20px; font-weight: 300; color: var(--orange);
    line-height: 1; flex-shrink: 0; transition: transform 200ms ease;
  }
  .use-case-body { display: none; padding-bottom: 24px; }
  .use-case.open .use-case-body { display: block; }
  .use-case .lede { font-size: 16px; }
  .use-case .use-eyebrow { font-size: 10px; }
  .use-case .use-tag { font-size: 12px; }

  /* iPad section */
  .ipad-inner { gap: 32px; }
  .ipad-mount {
    transform: scale(0.6);
    transform-origin: center top;
    margin: 0 -80px -140px;
  }

  /* Founder */
  .founder-copy { padding: 56px 20px 32px; }
  .founder-copy h2 { font-size: clamp(30px, 7.5vw, 40px); }
  .founder-copy h3 { font-size: 17px; margin-top: 24px; }
  .founder-copy p { font-size: 15px; margin-top: 12px; }
  .founder-photo { min-height: 420px; }
  .founder-facts {
    margin-top: 32px; padding-top: 24px;
    grid-template-columns: 1fr 1fr; gap: 16px;
  }
  .founder-facts .v { font-size: 12px; }
  .founder-quote-wrap { padding: 40px 20px 56px; }
  .founder-quote { font-size: clamp(22px, 6vw, 28px); line-height: 1.3; }
  .founder-quote-attr { font-size: 11px; margin-top: 24px; }

  /* Pricing — flexible card heights */
  .pricing-grid { gap: 32px; }
  .price-card {
    padding: 28px 24px 28px;
    min-height: 0;
  }
  .price-card .badge { left: 20px; }
  .price-card .price .num { font-size: 38px; }
  .price-card .seats { padding-bottom: 18px; margin-bottom: 18px; }
  .price-card ul { gap: 10px; }
  .price-card .btn-row { margin-top: 24px; }
  .price-card .btn-row .btn { padding: 16px 0; font-size: 12px; }

  /* FAQ */
  .faq-item { padding: 20px 0; }
  .faq-item summary { gap: 12px; }
  .faq-item .faq-no { font-size: 11px; min-width: 24px; }
  .faq-item .faq-q { font-size: 16px; line-height: 1.4; }
  .faq-item .faq-plus { font-size: 20px; }
  .faq-item .faq-a {
    padding-left: 36px; font-size: 14px;
    margin-top: 12px;
  }
  .faq-link { margin-top: 32px; font-size: 12px; }

  /* Footer */
  footer { padding: 64px 20px 32px; }
  .footer-cta { padding-bottom: 40px; gap: 24px; }
  .footer-cta h2 { font-size: clamp(28px, 7.5vw, 38px); }
  .footer-cta p { font-size: 15px; margin-top: 16px; }
  .footer-cta .actions { gap: 12px; width: 100%; }
  .footer-cta .actions .btn-xl,
  .footer-cta .actions .btn-whatsapp {
    width: 100%; justify-content: center;
    padding: 18px 20px;
  }
  .footer-meta {
    margin-top: 28px;
    flex-direction: column; gap: 16px;
    text-align: left;
  }
  .footer-meta .logo img { height: 52px; }

  /* WhatsApp float — out of the way of the bottom CTAs */
  .wa-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* ─── Small phone ─── */
@media (max-width: 380px) {
  .wrap, .nav-inner, .hero-top, .hero-copy, .section, .ipad-section, .faq-section, footer {
    padding-left: 16px; padding-right: 16px;
  }
  .h1 { font-size: 30px; }
  .h2 { font-size: 26px; }
  .h3 { font-size: 22px; }
  .price-card .price .num { font-size: 34px; }
}

/* Mobile hero pan — phones drift left/right to reveal each one in turn */
@keyframes hero-pan {
  0%,
  100% { translate: 180px 0; }
  25%  { translate: 0 0; }
  50%  { translate: -180px 0; }
  75%  { translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  #hero-phones { animation: none !important; }
}

/* ─── Print ─── */
@media print {
  .nav { position: static; }
  .reveal { opacity: 1; transform: none; }
  #hero-phones, .feature-mount, .ipad-mount { display: none; }
}
