/* ============================================
   Aszeal — Design Tokens
   ============================================ */
:root {
  --cream: #FAFAFA;
  --cream-2: #F0F0F0;
  --ink: #0D0D0D;
  --ink-soft: #1C1C1C;
  --accent: #0D0D0D;
  --accent-dark: #000000;
  --accent-tint: #ECECEC;
  --success: #0D0D0D;
  --text-body: #1A1A1A;
  --text-muted: #5C5C5C;
  --text-invert-muted: #B3B3B3;
  --border: #E0E0E0;
  --border-soft: rgba(13,13,13,0.08);
  --white: #FFFFFF;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(13,13,13,0.07);
  --shadow-md: 0 10px 30px rgba(13,13,13,0.10);

  --font-serif: 'Fraunces', serif;
  --font-sans: 'Geist', system-ui, sans-serif;
  --font-body: 'Old Standard TT', Georgia, serif;
  --font-display: 'Cinzel', Georgia, serif;

  --container: 1160px;
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }
h1, h2, h3, p { margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: var(--radius-sm); z-index: 200;
}
.skip-link:focus {
  left: 16px; top: 16px;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 1px;
  box-shadow: 0 0 0 4px var(--ink);
  border-radius: 4px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 32px; height: 32px; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
  white-space: nowrap;
}
.btn .icon { width: 17px; height: 17px; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); opacity: 0.85; }
.btn:active { transform: scale(0.98); }
.btn-outline { width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 0.92rem; }
.btn-sm { padding: 9px 16px; font-size: 0.74rem; min-height: 38px; }
/* Buttons on dark sections need a hairline so a black button still reads as a button */
.final-cta .btn, .price-card--featured .btn, .bento-card--feature .btn { border-color: rgba(255,255,255,0.45); }

.link-quiet { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.link-quiet:hover { color: var(--ink); text-decoration: underline; }

/* ============================================
   Typography helpers
   ============================================ */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.78rem;
  font-weight: 600; color: var(--text-muted); margin-bottom: 18px;
}
.eyebrow .rule { width: 22px; height: 1.5px; background: var(--accent); display: inline-block; }
.eyebrow-invert { color: var(--text-invert-muted); }
.eyebrow-invert .rule { background: var(--cream); }

.h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }

.h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 46ch;
}
.h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.h2-invert { color: var(--cream); max-width: 50ch; }
.h2-invert em { color: var(--cream); }

.lede {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.6;
}
.section-lede {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.6;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,250,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 74px;
}
.header-left { display: flex; align-items: center; gap: 18px; }

@media (max-width: 400px) {
  .header-left { gap: 10px; }
  .site-logo { gap: 6px; }
  .site-logo-mark { width: 26px; height: 26px; }
  .site-logo-word { font-size: 0.86rem; letter-spacing: 0.015em; }
  .header-actions .btn-sm { padding: 8px 11px; font-size: 0.68rem; letter-spacing: 0.02em; }
}

.site-logo { display: inline-flex; align-items: center; gap: 10px; }
.site-logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.site-logo-word {
  font-weight: 800; font-size: 1.05rem; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--ink);
}

.main-nav { display: none; gap: 32px; margin-left: 14px; }
.main-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); position: relative; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.is-active { color: var(--ink); font-weight: 700; }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; padding: 0;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform 200ms ease, opacity 200ms ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border-soft);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--border-soft); }
.mobile-nav a.is-active { color: var(--accent-dark); font-weight: 700; }
.mobile-nav .btn { margin-top: 10px; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ============================================
   Page banner (sub-page headers)
   ============================================ */
.page-banner { padding: 64px 0 8px; }
.page-banner .lede { max-width: 60ch; }

/* ============================================
   Hero
   ============================================ */
.hero { padding: 64px 0 80px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; }   /* headline starts at the top, level with the phone */
  .hero-copy { padding-top: 40px; }
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-ctas .btn { padding: 10px 18px; min-height: 40px; font-size: 0.8rem; }
@media (max-width: 700px) {
  .hero-ctas { flex-wrap: nowrap; gap: 8px; }
  .hero-ctas .btn { padding: 9px 11px; font-size: 0.7rem; letter-spacing: 0.02em; min-height: 38px; gap: 6px; }
  .hero-ctas .btn .icon { width: 14px; height: 14px; }
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px;
  color: var(--text-muted); font-size: 0.9rem;
}
.hero-trust li { position: relative; padding-left: 16px; }
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
}

.hero-visual { position: relative; padding: 10px 0 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* ---- Scenario tabs ---- */
.scenario-tabs {
  display: inline-flex; gap: 6px; padding: 5px;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
}
.scenario-tab {
  border: none; background: transparent; padding: 9px 16px; border-radius: 6px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.03em; font-size: 0.74rem; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
}
.scenario-tab.is-active { background: var(--ink); color: var(--cream); }

.hero-visual-caption { font-size: 0.76rem; color: var(--text-muted); text-align: center; }

/* Phones: hero copy is compact so the top half of the device shows in the lower half of the first screen */
@media (max-width: 700px) {
  .header-inner { height: 60px; }
  .hero { padding: 18px 0 48px; }
  .hero-grid { gap: 20px; }
  .hero-copy .eyebrow { font-size: 0.68rem; letter-spacing: 0.05em; margin-bottom: 10px; }
  .hero-copy .h1 { font-size: 2.05rem; line-height: 1.02; letter-spacing: -0.045em; }
  .hero-copy .lede { margin-top: 12px; font-size: 0.95rem; line-height: 1.42; letter-spacing: -0.008em; }
  .lede-extra { display: none; }
  .hero-ctas { margin-top: 16px; }
  .hero-trust { margin-top: 14px; gap: 6px 16px; font-size: 0.8rem; }
  .hero-visual { padding-top: 0; }
}
@media (max-width: 350px) {
  .hero { padding-top: 12px; }
  .hero-copy .h1 { font-size: 1.85rem; }
  .hero-copy .lede { font-size: 0.9rem; line-height: 1.38; }
  .hero-ctas { margin-top: 12px; }
  .hero-ctas .btn { font-size: 0.64rem; padding: 9px 9px; }
  .hero-ctas .btn .icon { display: none; }
  .hero-trust { margin-top: 10px; }
}

/* ---- Realistic device frame ---- */
.device-frame {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 300 / 610;
  min-height: 0;
  margin: 0 auto;
  background: linear-gradient(155deg, #3a3a3a, #050505 40%, #050505 60%, #2a2a2a);
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.device-frame::before {
  content: ""; position: absolute; top: 128px; left: -3px;
  width: 3px; height: 28px; background: #4a4a4a; border-radius: 2px 0 0 2px;
}
.device-frame::after {
  content: ""; position: absolute; top: 96px; right: -3px;
  width: 3px; height: 58px; background: #4a4a4a; border-radius: 0 2px 2px 0;
}
.device-screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--white);
  border-radius: 36px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.device-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: #050505; border-radius: 14px; z-index: 20;
}
.device-home-indicator {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 4px; border-radius: 3px; background: rgba(13,13,13,0.35); z-index: 20;
}

.status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px 4px; font-size: 0.72rem; font-weight: 700; color: var(--ink);
  flex-shrink: 0;
}
.status-bar .status-icons { display: inline-flex; align-items: center; gap: 4px; }
.status-bar .status-icons svg { width: 15px; height: 15px; }
.status-bar--invert { color: var(--white); }

/* ---- Call / live transcript screen (native call-screen style) ---- */
.call-screen {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
  background:
    radial-gradient(90% 52% at 50% 24%, rgba(118, 96, 236, 0.5) 0%, rgba(118, 96, 236, 0) 72%),
    radial-gradient(70% 42% at 88% 82%, rgba(46, 116, 206, 0.26) 0%, rgba(46, 116, 206, 0) 72%),
    linear-gradient(180deg, #1d1947 0%, #141635 48%, #0e1227 100%);
}
.call-header { text-align: center; padding: 12px 20px 0; flex-shrink: 0; }
.call-status-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: #8B93A7;
}
.call-status-label .status-dot { width: 6px; height: 6px; border-radius: 50%; background: #3ECF6E; animation: pulseDot 1.4s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.call-number-big { margin-top: 8px; font-weight: 700; font-size: 1.3rem; color: #FFFFFF; letter-spacing: 0.01em; }
.call-duration { margin-top: 3px; font-size: 0.74rem; color: #9BA0C8; font-variant-numeric: tabular-nums; }

.call-ai-avatar {
  width: 52px; height: 52px; border-radius: 50%; margin: 14px auto 0;
  background: radial-gradient(circle at 32% 26%, #b9abff 0%, #7b69f0 46%, #4a3fc4 100%);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.03em;
  box-shadow: 0 0 0 5px rgba(140, 120, 255, 0.16), 0 0 0 11px rgba(140, 120, 255, 0.07), 0 8px 26px rgba(110, 90, 240, 0.5);
  animation: avatarGlow 3.2s ease-in-out infinite;
}
@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 0 0 5px rgba(140, 120, 255, 0.16), 0 0 0 11px rgba(140, 120, 255, 0.07), 0 8px 26px rgba(110, 90, 240, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(140, 120, 255, 0.22), 0 0 0 15px rgba(140, 120, 255, 0.09), 0 8px 34px rgba(110, 90, 240, 0.66); }
}
.call-waveform { width: min(200px, 74%); height: 28px; margin: 10px auto 0; }
.call-waveform canvas { display: block; width: 100%; height: 100%; }

.transcript {
  flex: 1; min-height: 0; overflow: hidden; padding: 18px 20px 14px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
}
.transcript-line {
  opacity: 1; transform: translateY(0);
  transition: opacity 450ms ease, transform 450ms ease;
}
.transcript-line.is-entering { opacity: 0; transform: translateY(8px); }
.transcript-line.is-dim { opacity: 0.4; }
.transcript-line.is-gone { opacity: 0; transform: translateY(-8px); }
.transcript-speaker { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.transcript-line.ai .transcript-speaker { color: #8FA3FF; }
.transcript-line.caller .transcript-speaker { color: #8B93A7; }
.transcript-text { font-size: 0.8rem; line-height: 1.45; color: #E5E7EB; }

.call-end-wrap { display: flex; justify-content: center; padding: 12px 0 18px; flex-shrink: 0; }
.call-end-btn {
  width: 50px; height: 50px; border-radius: 50%;
  background: #FF453A; display: flex; align-items: center; justify-content: center;
}
.call-end-btn .icon { width: 21px; height: 21px; transform: rotate(135deg); }

/* ---- iMessage screen ---- */
.imsg-screen { flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--white); }
.imsg-header { text-align: center; padding: 8px 44px 10px; border-bottom: 1px solid var(--border-soft); flex-shrink: 0; position: relative; }
.imsg-header .imsg-close { position: absolute; right: 16px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.imsg-header .imsg-title { font-weight: 700; font-size: 0.8rem; color: var(--ink); }
.imsg-header .imsg-to { margin-top: 6px; font-size: 0.74rem; color: var(--text-muted); }
.imsg-header .imsg-to strong { color: #2E8B4F; font-weight: 600; }
.imsg-header .imsg-sub { margin-top: 2px; font-size: 0.64rem; color: var(--text-muted); }

.imsg-contact { display: none; flex-direction: column; align-items: center; padding: 10px 16px 8px; border-bottom: 1px solid var(--border-soft); flex-shrink: 0; }
.imsg-contact-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; color: var(--text-muted); margin-bottom: 4px; }
.imsg-contact-number { font-size: 0.76rem; font-weight: 700; color: var(--ink); }
.imsg-contact-time { font-size: 0.6rem; color: var(--text-muted); margin-top: 6px; }

.imsg-body { flex: 1; position: relative; padding: 10px 14px; min-height: 0; }
.imsg-compose {
  position: absolute; left: 14px; right: 14px; bottom: 10px;
  background: var(--cream-2); border-radius: 16px; padding: 10px 13px;
  font-size: 0.72rem; line-height: 1.45; color: var(--ink); white-space: pre-wrap;
  transition: opacity 300ms ease, transform 300ms ease;
}
.imsg-send-btn {
  position: absolute; right: 18px; bottom: 16px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #E0E0E0; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
}
.imsg-send-btn.is-ready { background: #2FB350; }
.imsg-send-btn .icon { width: 14px; height: 14px; }
.imsg-send-btn.is-sending { transform: scale(0.85); }

.imsg-bubble {
  display: none;
  max-width: 78%; margin-left: auto; padding: 11px 14px; border-radius: 18px;
  border-bottom-right-radius: 4px;
  background: #2FB350; color: var(--white);
  font-size: 0.72rem; line-height: 1.45; white-space: pre-wrap;
  opacity: 0; transform: scale(0.85); transform-origin: bottom right;
}
.imsg-bubble.is-sent { display: block; animation: bubbleIn 360ms cubic-bezier(.2,.9,.3,1.4) forwards; }
@keyframes bubbleIn { to { opacity: 1; transform: scale(1); } }
.imsg-footer-input {
  display: none; position: absolute; left: 14px; right: 14px; bottom: 10px;
  align-items: center; gap: 8px;
}
.imsg-footer-input .imsg-plus {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.imsg-footer-input .imsg-field {
  flex: 1; height: 30px; border-radius: 15px; border: 1px solid var(--border);
  background: var(--white); display: flex; align-items: center; padding: 0 12px;
  font-size: 0.68rem; color: var(--text-muted);
}

/* ---- Google Calendar screen ---- */
.cal-screen { flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--white); }
.cal-header { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 10px; flex-shrink: 0; }
.cal-header .cal-icon-btn { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); background: var(--cream-2); }
.cal-header .cal-month { font-weight: 700; font-size: 0.86rem; color: var(--ink); display: flex; align-items: center; gap: 4px; }
.cal-header .cal-icons { display: flex; align-items: center; gap: 8px; }
.cal-daylabel { padding: 0 16px 8px; }
.cal-daylabel .cal-dow { font-size: 0.6rem; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; }
.cal-daylabel .cal-date { font-size: 1.3rem; font-weight: 700; color: #1A73E8; line-height: 1; }

.cal-grid { flex: 1; position: relative; overflow: hidden; padding: 0 0 0 44px; }
.cal-hour-row { position: relative; height: 46px; border-top: 1px solid var(--border-soft); }
.cal-hour-row .cal-hour-label { position: absolute; left: -40px; top: -6px; width: 36px; font-size: 0.58rem; color: var(--text-muted); text-align: right; }
.cal-event {
  position: absolute; left: 6px; right: 6px; border-radius: 5px; padding: 3px 8px;
  font-size: 0.62rem; font-weight: 600; color: var(--white); line-height: 1.25; overflow: hidden;
}
.cal-event.is-new { opacity: 0; transform: scaleY(0.4); transform-origin: top; animation: calEventIn 420ms ease forwards; }
@keyframes calEventIn { to { opacity: 1; transform: scaleY(1); } }

.cal-sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--white); border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 24px rgba(13,13,13,0.14);
  padding: 10px 18px 16px;
  transform: translateY(0); transition: transform 320ms ease, opacity 320ms ease;
}
.cal-sheet.is-dismissed { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cal-sheet .cal-sheet-handle { width: 34px; height: 4px; background: var(--border); border-radius: 3px; margin: 0 auto 10px; }
.cal-sheet .cal-sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-sheet .cal-sheet-close { width: 22px; height: 22px; border-radius: 50%; background: var(--cream-2); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.cal-save-btn {
  background: #1A73E8; color: var(--white); border-radius: 999px;
  padding: 6px 16px; font-size: 0.72rem; font-weight: 700;
  transition: transform 160ms ease, opacity 160ms ease;
}
.cal-save-btn.is-pressed { transform: scale(0.92); opacity: 0.8; }
.cal-sheet-title { font-size: 0.92rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.cal-sheet-time { font-size: 0.72rem; color: var(--text-muted); }

/* ============================================
   Sections generic
   ============================================ */
.section { padding: 88px 0; }
.section-alt { background: var(--cream-2); }

/* Folded into the homepage scroll on mobile only; desktop/tablet keep the separate pages */
.mobile-page-section { display: block; }
@media (min-width: 900px) {
  .mobile-page-section { display: none; }
}
.desktop-only { display: none; }
@media (min-width: 900px) {
  .desktop-only { display: block; }
}
.built-for-headline { max-width: none; text-align: center; }

/* ============================================
   Steps
   ============================================ */
.steps-grid { display: grid; gap: 20px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.step-num { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--accent); margin-bottom: 14px; }
.step-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.step-card p { color: var(--text-muted); }
.how-more { margin-top: 36px; }
.how-more .link-quiet { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.how-more .icon { color: var(--accent); }

/* ============================================
   Bento features
   ============================================ */
.bento { display: grid; gap: 18px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-card--feature { grid-column: span 2; }
  .bento > .bento-card:last-child { grid-column: 1 / -1; }   /* six cards: the last one fills the final row instead of leaving a gap */
}
/* Icon + title share the top row and the copy runs full-width beneath, so cards read wide rather than square */
.bento-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 10px;
  align-items: center;
}
.bento-card > p { grid-column: 1 / -1; }
.bento-card .feature-icon { margin-bottom: 0; width: 40px; height: 40px; }
.bento-card--feature {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
/* The black card: white title and text. Doubled class so the generic .bento-card h3 / p colours below can't override it. */
.bento-card.bento-card--feature h3,
.bento-card.bento-card--feature p { color: var(--white); }
.bento-card h3 {
  font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--ink); margin: 0;
}
.bento-card p { color: var(--text-muted); margin: 0; }

/* NovaFlow (lifecycle SMS engine) — premium feature */
.nova-title { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.nova-name { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; max-width: none; }
.nova-sub {
  margin-top: 6px; font-family: var(--font-display); font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}
.nova-head .section-lede { margin-top: 12px; }
.nova-grid { display: grid; gap: 18px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .nova-grid { grid-template-columns: repeat(2, 1fr); } }
.premium-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--white);
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 4px; line-height: 1;
}
.premium-tag svg { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.premium-tag--sm { font-size: 0.58rem; padding: 4px 8px; margin-left: 8px; vertical-align: 1px; }
.price-card--featured .premium-tag { background: var(--white); color: var(--ink); }
.price-card--featured .price-popular { background: var(--white); color: var(--ink); }
.price-card--featured .price-includes { color: var(--text-invert-muted); }

.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-tint); color: var(--accent-dark);
  margin-bottom: 18px;
}
.bento-card--feature .feature-icon { background: rgba(255,255,255,0.14); color: var(--cream); }
.feature-icon .icon { width: 21px; height: 21px; }
.feature-icon--sm { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; }

/* ============================================
   Stats band
   ============================================ */
.stats-band { background: var(--ink); padding: 92px 0; }
.stats-grid { display: grid; gap: 34px 24px; margin-top: 56px; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem); color: var(--cream); line-height: 1;
  margin-bottom: 14px;
}
.stat { display: flex; flex-direction: column; }          /* equal-height columns, with the source line level across all four */
.stat-source { margin-top: auto; }
.stat-num .pre { font-size: 0.6em; margin-right: 2px; }
.stat-num span:not(.pre) { font-size: 0.5em; margin-left: 3px; color: var(--text-invert-muted); }
.stat-desc { color: var(--text-invert-muted); font-size: 0.98rem; margin-bottom: 8px; max-width: 22ch; }
.stat-source { color: rgba(179,179,179,0.55); font-size: 0.8rem; }

/* ============================================
   Calculator
   ============================================ */
.calc-grid { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .calc-grid { grid-template-columns: 0.9fr 1.1fr; } }
.calc-assumption {
  margin-top: 22px; font-size: 0.88rem; color: var(--text-muted);
  border-left: 2px solid var(--accent); padding-left: 14px; max-width: 42ch;
}
.calc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm);
}
.calc-field { margin-bottom: 26px; }
.calc-field-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.calc-field-head label { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.calc-field-head output { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--accent-dark); }

input[type="range"] {
  width: 100%; height: 6px; border-radius: 999px; background: var(--border);
  appearance: none; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--white); box-shadow: var(--shadow-sm);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--white);
  background: var(--accent); box-shadow: var(--shadow-sm); cursor: pointer;
}

.calc-results {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 30px; padding-top: 26px; border-top: 1px dashed var(--border);
}
.calc-result-label { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; }
.calc-result-num { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--ink); }
.calc-result-num--money { color: var(--success); }
.calc-result-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================
   Industries
   ============================================ */
.industry-grid { display: grid; gap: 12px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .industry-grid { gap: 16px; grid-template-columns: repeat(4, 1fr); } }
.industry-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 22px 20px;
}
.industry-card h3 {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink); margin-bottom: 6px;
}
.industry-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
/* Phones: one card per row, icon beside the copy so each card is a wide rectangle */
@media (max-width: 699px) {
  .industry-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; }
  .industry-card .feature-icon { grid-row: 1 / span 2; margin: 0; }
  .industry-card h3 { margin: 0 0 4px; }
}

/* ============================================
   Demo / contact
   ============================================ */
.demo-wrap { max-width: 640px; }
.demo-form { margin-top: 40px; }
.demo-form-row { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 18px; }
@media (min-width: 620px) { .demo-form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.demo-form-row .field { margin-bottom: 0; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field input {
  min-height: 48px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white); color: var(--text-body);
}
.field input:focus { border-color: var(--accent); }
.field input:invalid[data-touched="true"] { border-color: #C0392B; }
.demo-submit { margin-top: 6px; }
.demo-submit:disabled { opacity: 0.6; cursor: default; }
.demo-status { min-height: 1.3em; margin-top: 12px; font-size: 0.92rem; color: var(--text-muted); }
.demo-status.is-error { color: #B42318; }
.demo-note { margin-top: 14px; font-size: 0.82rem; color: var(--text-muted); }
.demo-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.demo-success {
  margin-top: 40px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px; text-align: center;
}
.demo-success .icon-lg { color: var(--success); margin: 0 auto 14px; }
.demo-success h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.demo-success p { color: var(--text-muted); }

.contact-info-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-info-link { display: inline-block; margin-top: 10px; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--ink); }
.contact-info-link:hover { text-decoration: underline; }
.contact-info-text { margin-top: 10px; color: var(--text-body); }

/* ============================================
   Pricing
   ============================================ */
.billing-toggle {
  display: inline-flex; margin-top: 36px; padding: 5px;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
}
.toggle-btn {
  border: none; background: transparent; padding: 9px 18px; border-radius: 6px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.03em; font-size: 0.78rem; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
}
.toggle-btn.is-active { background: var(--ink); color: var(--cream); }
.badge-save { background: var(--success); color: var(--white); font-size: 0.72rem; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.toggle-btn.is-active .badge-save { background: var(--white); color: var(--ink); }
@media (max-width: 360px) {   /* keep "Monthly | Annual [Coming soon]" inside very narrow phones */
  .billing-toggle { max-width: 100%; }
  .toggle-btn { padding: 9px 11px; gap: 6px; }
  .badge-save { font-size: 0.66rem; padding: 2px 6px; }
}

.pricing-grid { display: grid; gap: 20px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.price-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
}
.price-card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ink); margin-bottom: 8px;
}
.price-tagline { color: var(--text-muted); font-size: 0.92rem; min-height: 42px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin: 20px 0 24px; font-family: var(--font-serif); }
.price-amount--custom .custom-label { font-style: italic; font-size: 2.3rem; line-height: 1.2; color: var(--ink); }
.price-card--featured .price-amount--custom .custom-label { color: var(--cream); }
.price-amount .currency { font-style: italic; font-size: 1.4rem; color: var(--ink); }
.price-amount .amount { font-size: 2.6rem; font-style: italic; color: var(--ink); }
.price-amount .period { font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-muted); margin-left: 4px; }
.price-amount--tight { margin-bottom: 4px; }
.price-billed { margin: 0 0 24px; font-family: var(--font-body); font-size: 0.95rem; color: var(--text-muted); }
.price-card--featured .price-billed { color: var(--text-invert-muted); }
/* Annual plans aren't live yet: tag the annual billing line while Annual is selected */
.pricing-grid.is-annual:not(.annual-live) .price-billed::after {
  content: "Coming soon"; display: inline-block; margin-left: 8px; padding: 1px 8px; vertical-align: 1px;
  border: 1px solid currentColor; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
/* Stripe "Subscribe" button on the Starter and Pro cards. It stays hidden until its payment link is set (payments.js). */
.price-actions { display: flex; flex-direction: column; gap: 10px; }
.price-actions .btn { width: 100%; }
.btn[hidden] { display: none; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; cursor: default; }
.price-try-link {
  align-self: center; padding: 4px 0; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px;
}
.price-try-link:hover { color: var(--ink); }
.price-card--featured .price-try-link { color: var(--text-invert-muted); }
.price-card--featured .price-try-link:hover { color: var(--white); }
.price-includes { margin: 22px 0 12px; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; list-style: none; }
.price-features li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--text-body); }
.price-features li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--success); font-weight: 700;
}
.price-card { --card-bg: var(--white); --card-line: var(--ink); }
.price-card--featured {
  --card-bg: var(--ink); --card-line: var(--white);
  background: var(--ink); border-color: var(--ink); color: var(--cream);
  box-shadow: var(--shadow-md);
}
/* Small print under a bullet (usage limits, message caps) */
.price-card .price-features .price-note {
  display: block; margin-top: 5px; font-family: var(--font-body); font-size: 0.86rem; line-height: 1.4;
  color: var(--text-muted);
}
.price-card--featured .price-features .price-note { color: var(--text-invert-muted); }
.price-card .price-features .price-sub + .price-note { margin-top: 12px; }
/* Level-2 bullets (NovaFlow's features): outlined check ring, filled with the card colour */
.price-features .price-sub { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; list-style: none; }
.price-card .price-features .price-sub li { padding-left: 25px; font-size: 0.92rem; line-height: 1.4; }
.price-card .price-features .price-sub li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; box-sizing: border-box;
  border: 1.5px solid var(--card-line); border-radius: 50%; background: var(--card-bg);
}
.price-card .price-features .price-sub li::after {
  content: ""; position: absolute; left: 5.5px; top: 6px; width: 4px; height: 7px; box-sizing: border-box;
  border: solid var(--card-line); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.price-card--featured h3, .price-card--featured .price-amount .amount, .price-card--featured .price-amount .currency { color: var(--cream); }
.price-card--featured .price-tagline, .price-card--featured .price-amount .period { color: var(--text-invert-muted); }
.price-card--featured .price-features li { color: var(--cream); }
.price-card--featured .price-features li::before { color: var(--white); }
.price-popular {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}

/* ============================================
   Final CTA
   ============================================ */
.final-cta { background: var(--ink); padding: 100px 0; text-align: center; }
.final-cta .wrap { display: flex; flex-direction: column; align-items: center; }
.final-cta .eyebrow { justify-content: center; }
.final-cta-lede { margin-top: 20px; color: var(--text-invert-muted); font-size: 1.08rem; max-width: 46ch; }
.final-cta .btn { margin-top: 30px; }

/* ============================================
   Scroll reveal
   ============================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal-in { opacity: 1; transform: translateY(0); }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--ink); color: var(--cream); padding: 64px 0 0; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; border-bottom: 1px solid rgba(247,243,234,0.1); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-logo-word--invert { color: var(--cream); }
.footer-brand p { margin-top: 16px; color: var(--text-invert-muted); font-size: 0.92rem; max-width: 34ch; }
.footer-heading { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; color: var(--text-invert-muted); font-weight: 700; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--cream); font-size: 0.92rem; opacity: 0.88; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding: 26px 0; color: var(--text-invert-muted); font-size: 0.82rem;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }

/* ============================================
   Body copy typeface — Old Standard TT.
   Kept last so it wins over the per-component sizes above.
   ============================================ */
.lede, .section-lede, .final-cta-lede,
.step-card p:not(.step-num), .bento-card p, .industry-card p,
.price-tagline, .price-features li,
.demo-note, .demo-success p, .contact-info-text,
.hero-trust li, .footer-brand p {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
}
.lede { font-size: 1.12rem; }
.section-lede, .final-cta-lede { font-size: 1.06rem; }
.step-card p:not(.step-num), .bento-card p, .industry-card p { font-size: 0.98rem; line-height: 1.5; }
.price-tagline { font-size: 0.98rem; }
.price-features li { font-size: 0.96rem; line-height: 1.45; }
.demo-note { font-size: 0.88rem; }
.demo-success p { font-size: 0.98rem; }
.contact-info-text { font-size: 1rem; }
.hero-trust li { font-size: 0.95rem; }
.footer-brand p { font-size: 0.95rem; }
@media (max-width: 700px) {
  .hero-trust li { font-size: 0.88rem; }
}

/* ============================================
   NovaFlow showcase: animated SMS phone beside the NovaFlow copy
   ============================================ */
#novaflow { scroll-margin-top: 80px; }
.nova-showcase { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.nova-showcase .nova-grid { margin-top: 0; }
.nova-phone { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; }

.nova-tabs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 5px;
  width: min(100%, 300px);
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
}
.nova-tab {
  border: none; background: transparent; padding: 9px 6px; border-radius: 6px; min-height: 40px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.03em; font-size: 0.72rem; color: var(--text-muted);
}
.nova-tab.is-active { background: var(--ink); color: var(--cream); }
.nova-caption {
  width: min(100%, 300px); min-height: 4.4em; text-align: center;
  font-family: var(--font-body); font-size: 0.95rem; line-height: 1.45; color: var(--text-muted);
}

/* Home page, desktop/tablet: short teaser with a button. Mobile shows the full block instead. */
.nova-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin-top: 30px; }
.nova-mini li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.03em; color: var(--ink);
}
.nova-mini .feature-icon { margin-bottom: 0; flex-shrink: 0; }
.nova-cta { margin-top: 32px; }

@media (min-width: 900px) {
  /* Features page: NovaFlow comes first, above the cards that explain the basics. In the HTML it still follows them,
     so phones keep the original order (basics, then NovaFlow). */
  .features-main { display: flex; flex-direction: column; }
  .features-main > .page-banner { order: 1; padding-bottom: 36px; }   /* room before the tinted NovaFlow band starts */
  .features-main > #novaflow { order: 2; }
  .features-main > .features-basics { order: 3; }
  .features-main > .features-basics .bento { margin-top: 0; }        /* no heading above the grid any more */
  .features-main > .final-cta { order: 4; }
  .features-main > .section { padding: 56px 0; }                     /* the sections sit closer together */

  /* NovaFlow copy + cards on the left two columns, the phone in the third. Both start at the top of the band, level
     with the phone; the last row soaks up the phone's extra height. */
  .nova-showcase--features {
    grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; row-gap: 28px; align-items: start;
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "copy copy phone" "cards cards phone" ". . phone";
  }
  .nova-showcase--features .nova-copy { grid-area: copy; }
  .nova-showcase--features .nova-cards { grid-area: cards; }
  .nova-showcase--features .nova-phone { grid-area: phone; }

  /* Home page: copy on the left, phone on the right */
  .nova-showcase--home { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 64px; align-items: center; }
}

/* ---- The Messages thread inside the NovaFlow phone ---- */
.nova-screen .imsg-contact { display: flex; }
.nova-avatar { background: #E9E9EB; color: #4B4B52; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; }
/* Bottom-anchored while short; once the thread outgrows the screen it scrolls (driven by novaflow.js) and older
   messages fade out at the top */
.nova-body {
  flex: 1; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 12px 12px; margin-bottom: 55px;   /* the thread ends above the message bar, never scrolls behind it */
}
.nova-body > :first-child { margin-top: auto; }
.nova-body.is-scrolled { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 44px); mask-image: linear-gradient(to bottom, transparent 0, #000 44px); }

/* Link previews inside the thread: owner video, Google review, Google Calendar invite */
.nova-card {
  align-self: flex-start; width: 80%; flex-shrink: 0;
  border-radius: 17px; overflow: hidden; background: #E9E9EB; color: #0D0D0D;
  opacity: 0; transform: scale(0.9); transform-origin: bottom left;
  animation: novaBubbleIn 360ms cubic-bezier(.2, .9, .3, 1.4) forwards;
}
.nova-card.is-static { animation: none; opacity: 1; transform: none; }
.nova-card-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.nova-card-meta { padding: 8px 11px 10px; }
.nova-card-title { font-size: 0.64rem; font-weight: 700; line-height: 1.3; }
.nova-card-sub { margin-top: 2px; font-size: 0.58rem; color: #6B6B70; }
.nova-art--video { background: linear-gradient(160deg, #6A86B3, #2B3D63); }
.nova-silhouette { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(255, 255, 255, 0.26); }
.nova-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.nova-yt {
  position: absolute; left: 7px; top: 7px; width: 32px; height: 21px; border-radius: 11px; background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.nova-yt::before { content: ""; width: 19px; height: 13px; border-radius: 4px; background: #FF0000; }
.nova-yt::after { content: ""; position: absolute; left: 13px; top: 6px; border-style: solid; border-width: 4.5px 0 4.5px 7px; border-color: transparent transparent transparent #FFFFFF; }
.nova-play {
  position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.nova-play::after { content: ""; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #111111; }
.nova-card--review .nova-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; }
.nova-compass { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #6E6E73; display: flex; align-items: center; justify-content: center; }
.nova-compass svg { width: 18px; height: 18px; }
.nova-card--calendar { background: #D2E3FC; }
.nova-art--cal { aspect-ratio: 16 / 8; background: linear-gradient(160deg, #4C8DF6, #1A73E8); display: flex; align-items: center; justify-content: center; }
.nova-cal-tile {
  width: 46px; height: 50px; border-radius: 9px; background: #FFFFFF; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.nova-cal-dow { font-size: 0.5rem; font-weight: 700; letter-spacing: 0.06em; color: #EA4335; }
.nova-cal-day { margin-top: 3px; font-size: 1.15rem; font-weight: 700; color: #1A73E8; }
.nova-stamp { align-self: center; margin-bottom: 4px; font-size: 0.6rem; font-weight: 600; color: var(--text-muted); opacity: 0; transition: opacity 400ms ease; }
.nova-stamp.is-in { opacity: 1; }
.nova-msg {
  max-width: 80%; padding: 8px 12px; border-radius: 17px;
  font-size: 0.72rem; line-height: 1.4; white-space: pre-wrap;
  opacity: 0; transform: scale(0.85);
  animation: novaBubbleIn 360ms cubic-bezier(.2, .9, .3, 1.4) forwards;
}
.nova-msg.in { align-self: flex-start; background: #E9E9EB; color: #0D0D0D; border-bottom-left-radius: 4px; transform-origin: bottom left; }
.nova-msg.out { align-self: flex-end; background: #2FB350; color: #FFFFFF; border-bottom-right-radius: 4px; transform-origin: bottom right; }
.nova-msg.is-static { animation: none; opacity: 1; transform: none; }
@keyframes novaBubbleIn { to { opacity: 1; transform: scale(1); } }
.nova-typing { display: inline-flex; align-items: center; gap: 4px; padding: 12px 14px; }
.nova-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9A9AA0; animation: novaDot 1s ease-in-out infinite; }
.nova-typing i:nth-child(2) { animation-delay: 0.15s; }
.nova-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes novaDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }
.nova-screen .imsg-footer-input {
  display: flex; left: 0; right: 0; bottom: 0; padding: 8px 14px 16px;
  background: var(--white); border-top: 1px solid var(--border-soft);
}
.nova-screen .imsg-field { position: relative; padding-right: 34px; }
.nova-typed.is-typing { color: var(--ink); }
.nova-send {
  position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; border-radius: 50%;
  background: #E0E0E0; display: flex; align-items: center; justify-content: center;
  transform: translateY(-50%); transition: background 200ms ease, transform 200ms ease;
}
.nova-send.is-ready { background: #2FB350; }
.nova-send.is-sending { transform: translateY(-50%) scale(0.85); }

/* ============================================
   "Try it live" call-me widget (under the phone demo)
   ============================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.try-live {
  width: min(100%, 380px);
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 14px 12px; box-shadow: var(--shadow-md);
  scroll-margin-top: 110px; transition: box-shadow 300ms ease;
}
.try-live.is-highlight { box-shadow: 0 0 0 3px var(--ink), var(--shadow-md); }
.try-live-top { display: flex; align-items: center; gap: 12px; }
.try-live-pill {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  background: var(--cream-2); color: var(--ink); border-radius: 999px; padding: 6px 11px;
  font-family: var(--font-sans); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.try-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: pulseDot 1.6s ease-in-out infinite; }
.try-live-text { font-family: var(--font-body); font-size: 0.92rem; line-height: 1.35; color: var(--text-muted); }
.try-live-row { display: flex; gap: 10px; margin-top: 12px; }
.hero-copy, .hero-visual { min-width: 0; }   /* let the hero columns shrink below their contents' intrinsic width */
.try-live-input {
  flex: 1 1 0; width: 0; min-width: 0; height: 44px; padding: 0 14px;
  background: var(--cream-2); border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
}
.try-live-input::placeholder { color: #9A9A9A; }
.try-live-btn { flex-shrink: 0; min-height: 44px; padding: 0 20px; }
.try-live-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.try-live-status { margin-top: 10px; font-family: var(--font-body); font-size: 0.92rem; line-height: 1.4; color: var(--ink); }
.try-live-status:empty { display: none; }
.try-live-status.is-error { color: #B42318; }
.try-live-consent { margin-top: 10px; font-family: var(--font-body); font-size: 0.78rem; line-height: 1.4; color: var(--text-muted); }
.try-live-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
.try-live-check .try-live-consent { margin-top: 0; cursor: pointer; }
.try-live-check input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); cursor: pointer; }
.try-live-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.try-live-turnstile:not([data-sitekey=""]) { margin-top: 12px; }
.try-live-turnstile[data-sitekey=""] { display: none; }
.try-live-scope { margin-top: 8px; }

/* Legal pages (privacy.html, terms.html) */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); margin: 38px 0 10px; }
.legal p, .legal li { font-family: var(--font-body); font-size: 1.02rem; line-height: 1.6; color: var(--text-body); }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0 0 1.2em; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.draft-banner { padding: 12px 16px; border: 1px solid var(--border); border-left: 3px solid var(--ink); border-radius: 8px; background: var(--white); }
@media (max-width: 400px) {
  .try-live { padding: 12px 12px 10px; }
  .try-live-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .try-live-btn { padding: 0 14px; }
}

/* Kept in Cinzel: the "cost of a call" stats and the calculator assumption note */
.stat-desc, .calc-assumption {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.stat-desc { font-size: 0.9rem; line-height: 1.5; }
.calc-assumption { font-size: 0.78rem; }

/* ---- Additions: legal pages, stats note, calculator hints, pricing disclosure ---- */
.legal h3 { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; letter-spacing: 0.03em; color: var(--ink); margin: 26px 0 8px; }
.legal ol { margin: 10px 0 0 1.4em; list-style: decimal; }
.legal .todo { background: #FFF3BF; padding: 0 4px; border-radius: 3px; }
.stat-num--label { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.stat-source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.stat-source a:hover { color: var(--cream); }
.stats-note { margin-top: 34px; max-width: 78ch; font-family: var(--font-body); font-size: 0.86rem; line-height: 1.5; color: rgba(179, 179, 179, 0.7); }
.calc-hint { margin-top: 8px; font-family: var(--font-body); font-size: 0.82rem; line-height: 1.4; color: var(--text-muted); }
.price-legal { margin-top: 28px; max-width: 80ch; font-family: var(--font-body); font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }
.price-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Pricing page: start the plans closer to the top so Starter and Pro are on screen when the page opens */
.pricing-top { padding-top: 28px; }
.pricing-top .pricing-grid { margin-top: 24px; }

/* ---- "Try it live": three steps (number, code, consent) ---- */
.try-live-tz { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-family: var(--font-body); font-size: 0.84rem; line-height: 1.3; color: var(--text-muted); }
.try-live-tz strong { color: var(--ink); font-weight: 700; }
.try-live-link { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.try-live-select { flex: 1 1 100%; min-height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--cream-2); font: inherit; font-family: var(--font-sans); font-size: 0.9rem; color: var(--ink); }
.try-live-select[hidden] { display: none; }
.try-live-step[hidden] { display: none; }
.try-live-note { margin-top: 8px; }
.try-live-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.try-live-details { margin-top: 6px; }
.try-live-details summary { font-family: var(--font-body); font-size: 0.78rem; color: var(--text-muted); cursor: pointer; }
.try-live-details p { margin-top: 6px; }
.try-live-btn--wide { width: 100%; margin-top: 12px; }