/* ============================================================
   Simply Answered — style.css
   Palette: ink navy #0B1026 · violet #7C5CFF · teal #00D4A6
   ============================================================ */

:root {
  --ink: #0B1026;
  --ink-soft: #1A2142;
  --violet: #7C5CFF;
  --teal: #00D4A6;
  --teal-bright: #17E8BC;
  --bg: #FFFFFF;
  --bg-tint: #F4F4FE;
  --text: #2A2F45;
  --text-soft: #5A6178;
  --grad: linear-gradient(120deg, var(--violet), var(--teal));
  --radius: 20px;
  --shadow: 0 10px 40px rgba(11, 16, 38, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 16, 38, 0.18);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.container--narrow { max-width: 800px; }
.center { text-align: center; margin-top: 48px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
/* Full-width buttons must be allowed to wrap — nowrap on a long label sets a
   min-content width that blows out narrow grid/flex columns on mobile. */
.btn--full { display: block; text-align: center; width: 100%; white-space: normal; }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}
.btn--primary:hover { box-shadow: 0 12px 32px rgba(0, 212, 166, 0.45); }

.btn--outline {
  border: 2px solid var(--violet);
  color: var(--violet);
  background: transparent;
}
.btn--outline:hover { background: rgba(124, 92, 255, 0.08); }

.btn--ghost { color: var(--ink); background: transparent; }
.btn--ghost:hover { color: var(--violet); }

.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--outline-light { border: 2px solid rgba(255,255,255,0.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); }

/* ---------- Pills ---------- */
.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.10);
  color: var(--violet);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.pill--dark { background: rgba(23, 232, 188, 0.12); color: var(--teal-bright); }
.pill--offer {
  background: var(--teal-bright);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  padding: 12px 22px;
  box-shadow: 0 0 0 0 rgba(23, 232, 188, 0.55);
  animation: offer-pulse 2.2s infinite;
}
.hero .pill.pill--offer { background: var(--teal-bright); color: var(--ink); }
@keyframes offer-pulse {
  0% { box-shadow: 0 0 0 0 rgba(23, 232, 188, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(23, 232, 188, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 232, 188, 0); }
}

/* ---------- Promo bar ---------- */
.promo {
  background: linear-gradient(110deg, #6545ee, #078f78);
  color: #fff;
  font-size: 0.94rem;
  padding: 11px 0;
}
.promo strong { font-weight: 800; }
.promo__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.promo a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid rgba(255,255,255,0.6);
}
.promo a:hover { border-bottom-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 16, 38, 0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}
.nav__logo img { width: 200px; height: auto; }
.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav__links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav__links a:hover { color: var(--violet); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__mobile-actions { display: none; }
.nav__burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  width: 24px; height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 44px 0 60px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  pointer-events: none;
}
.hero__glow--1 { width: 560px; height: 560px; background: var(--violet); top: -180px; left: -120px; }
.hero__glow--2 { width: 520px; height: 520px; background: var(--teal); bottom: -220px; right: -100px; opacity: 0.4; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
/* Grid items default to min-width:auto, so a wide child can push a track past
   the container. Clamp them. */
.hero__inner > * { min-width: 0; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .pill { background: rgba(255,255,255,0.10); color: var(--teal-bright); }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 34px;
  max-width: 54ch;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 0.9rem; color: rgba(255,255,255,0.55); }

/* ---------- Launch homepage ---------- */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }
.btn:focus-visible,
.nav__links a:focus-visible,
.nav__burger:focus-visible,
.faq__item summary:focus-visible,
.footer a:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 3px;
}
.call-plan {
  position: relative;
  color: var(--text);
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.34);
}
.call-plan::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad);
  transform: rotate(1.2deg);
}
.call-plan__head,
.call-plan__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.call-plan__head { padding-bottom: 20px; border-bottom: 1px solid rgba(11,16,38,0.08); }
.call-plan__head div { display: grid; gap: 2px; }
.call-plan__head div span,
.call-plan__foot span { color: var(--text-soft); font-size: 0.78rem; font-weight: 700; }
.call-plan__head div strong { color: var(--ink); font-size: 1.18rem; letter-spacing: -0.02em; }
.call-plan__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #08705c;
  background: #e8fbf6;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}
.call-plan__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.call-plan__route {
  display: grid;
  grid-template-columns: 88px minmax(0,1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(11,16,38,0.08);
}
.call-plan__when {
  align-self: start;
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.call-plan__route div { display: grid; gap: 4px; }
.call-plan__route strong { color: var(--ink); font-size: 0.98rem; }
.call-plan__route small { color: var(--text-soft); font-size: 0.82rem; line-height: 1.5; }
.call-plan__foot { padding-top: 18px; }
.call-plan__foot strong { color: var(--ink); font-size: 0.75rem; text-align: right; }

.outcomes { background: #fff; border-bottom: 1px solid rgba(11,16,38,0.06); }
.outcomes__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.outcomes__grid > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 30px 26px;
  border-right: 1px solid rgba(11,16,38,0.07);
}
.outcomes__grid > div:last-child { border-right: 0; }
.outcomes__grid > div > span { color: var(--violet); font-weight: 800; font-size: 0.82rem; }
.outcomes__grid p { color: var(--text-soft); font-size: 0.9rem; line-height: 1.5; }
.outcomes__grid p strong { display: block; color: var(--ink); margin-bottom: 3px; }

.assistant__layout {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(320px,0.88fr);
  gap: 64px;
  align-items: center;
}
.assistant__copy > p { max-width: 62ch; margin: 16px 0 26px; font-size: 1.02rem; }
.feature-list { list-style: none; display: grid; gap: 2px; margin: 0 0 30px; }
.feature-list li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  top: 14px;
  left: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--teal-bright);
  font-size: 0.75rem;
  font-weight: 900;
}
.feature-list strong { color: #fff; font-size: 0.94rem; }
.feature-list span { color: rgba(255,255,255,0.65); font-size: 0.86rem; }
.assistant__example { transform: none; animation: none; }
.assistant__example .phone-card__footer { line-height: 1.5; }

.extras { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.extras article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(11,16,38,0.07);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.extras article > span {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--bg-tint);
  font-size: 1.35rem;
  color: var(--violet);
  font-weight: 900;
}
.extras h3 { margin-bottom: 6px; }
.extras p { color: var(--text-soft); font-size: 0.9rem; }
.cta-band__note a { color: #fff; font-weight: 700; }
.footer__bottom { display: grid; gap: 7px; }

/* Worked example under the three steps — the old hero mock, rehoused where it
   illustrates instead of competing with the demo card. */
.how__example { max-width: 560px; margin: 48px auto 0; }
.how__example .phone-card { transform: none; animation: none; }

/* ---------- Hero portrait ---------- */
.hero__photo {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.28), rgba(0, 212, 166, 0.22));
}
.hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 8;
  object-fit: cover;
}
/* Until a real photo is dropped in, hold the space with a branded panel rather
   than a broken image. */
.hero__photo.is-placeholder {
  aspect-ratio: 7 / 8;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(255, 255, 255, 0.25);
}
.hero__photo.is-placeholder::before {
  content: "Photo of a business owner goes here";
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  padding: 0 24px;
}
/* Floating proof badge — the one bit of the old call mock worth keeping. */
.hero__photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  color: var(--ink);
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero__photo.is-placeholder .hero__photo-badge { display: none; }

/* Phone mock card */
.phone-card {
  background: #fff;
  color: var(--text);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.5deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-10px); }
}
.phone-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(11,16,38,0.07);
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.dot--pulse { animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 166, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0, 212, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 166, 0); }
}
.chat { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.chat__bubble {
  max-width: 85%;
  padding: 10px 15px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.chat__bubble--caller {
  background: var(--bg-tint);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat__bubble--ai {
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.phone-card__footer {
  padding: 14px 20px;
  background: var(--bg-tint);
  font-size: 0.88rem;
}

/* Stats strip */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 70px;
}
.stat {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ---------- Strip ---------- */
.strip { background: var(--bg-tint); padding: 80px 0; }
.strip__inner { text-align: center; max-width: 760px; }
.strip h2 { margin-bottom: 18px; }
.strip p { font-size: 1.1rem; color: var(--text-soft); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--ink); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.72); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__sub { color: var(--text-soft); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: #fff;
  border: 1px solid rgba(11,16,38,0.07);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step__num {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: 0.97rem; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--teal); }
.card__icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.card p { font-size: 0.93rem; }

/* ---------- Industries ---------- */
.ind {
  background: #fff;
  border: 1px solid rgba(11,16,38,0.07);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ind:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ind__emoji { font-size: 2.2rem; margin-bottom: 12px; }
.ind__more { display: block; margin-top: 12px; color: var(--violet); font-weight: 700; text-decoration: none; font-size: 0.92rem; }
.ind__more:hover { text-decoration: underline; }
.ind h3 { margin-bottom: 8px; }
.ind p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.calc__copy p { color: var(--text-soft); font-size: 1.05rem; margin-top: 14px; }
.calc__box {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.calc__box label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 26px;
  font-size: 0.95rem;
}
.calc__box output { float: right; color: var(--violet); font-weight: 800; }
.calc__box input[type="range"] {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--violet);
  cursor: pointer;
}
.calc__result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-tint);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 22px;
}
.calc__result span { font-weight: 600; font-size: 0.92rem; color: var(--text-soft); }
.calc__result strong {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.plans--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plans--4 .plan { padding: 32px 24px; }
.plans--4 .plan__price { font-size: 2.2rem; }
.plan {
  position: relative;
  background: #fff;
  border: 1px solid rgba(11,16,38,0.08);
  border-radius: 24px;
  padding: 38px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--hot {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  transform: scale(1.04);
}
.plan--hot:hover { transform: scale(1.04) translateY(-6px); }
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.2rem; }
.plan__price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  margin: 10px 0 4px;
}
.plan__price span { font-size: 1rem; font-weight: 600; color: var(--text-soft); }
.plan__tag { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 20px; }
.plan ul { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.plan li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(11,16,38,0.07);
}
.plan li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}
.plans__note { text-align: center; margin-top: 34px; color: var(--text-soft); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: #fff;
  border: 1px solid rgba(11,16,38,0.07);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 52px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--violet);
  transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 24px 20px; color: var(--text-soft); }
.faq__item a { color: var(--violet); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  padding: 96px 0;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(124,92,255,0.35), transparent),
    radial-gradient(600px 300px at 80% 100%, rgba(0,212,166,0.25), transparent);
}
.cta-band__inner { position: relative; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 32px; }
.cta-band .hero__actions { justify-content: center; }
.cta-band__note { margin-top: 22px; color: rgba(255,255,255,0.55); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.footer { background: #070B1C; color: rgba(255,255,255,0.65); padding: 64px 0 24px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img { width: 190px; margin-bottom: 16px; }
.footer__brand p { font-size: 0.92rem; }
.footer__col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.footer__col a:hover { color: var(--teal-bright); }
.footer__col p { font-size: 0.92rem; margin-top: 4px; }
.footer__bottom { padding-top: 22px; text-align: center; font-size: 0.85rem; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 640px;
}
.compare th, .compare td {
  padding: 14px 16px;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(11,16,38,0.06);
}
.compare th { background: var(--ink); color: #fff; font-size: 0.9rem; }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare td.yes { color: var(--teal); font-weight: 800; }
.compare td.no { color: #C44; }
.compare .compare--hero { background: rgba(124,92,255,0.06); }
.compare th.compare--hero { background: var(--grad); }
.compare tr:last-child td { border-bottom: none; }

/* ---------- Call-me-back widget ---------- */
.callme {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.callme__box {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.callme__box label { display: block; font-weight: 700; color: var(--ink); font-size: 0.92rem; margin-bottom: 14px; }
.callme__box input {
  width: 100%;
  padding: 13px 16px;
  margin-top: 6px;
  border: 2px solid rgba(11,16,38,0.12);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
}
.callme__box input:focus { outline: none; border-color: var(--violet); }
.callme__status { margin-top: 14px; font-size: 0.92rem; font-weight: 600; }
.callme__status.ok { color: var(--teal); }
.callme__status.err { color: #C44; }
.callme__small { margin-top: 12px; font-size: 0.82rem; color: var(--text-soft); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Try-it demo widget (embeddable) ---------- */
/* In the hero this card is the whole point of the page, so it gets a gradient
   edge and a breathing halo — it should read as the one thing to act on. */
.hero [data-sa-demo] { margin: 20px 0 14px; position: relative; }
.hero [data-sa-demo] .sa-demo__box {
  padding: 26px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  /* Static halo is the baseline; the animation only breathes it in and out, so
     reduced-motion users still get the emphasis. */
  box-shadow: 0 0 0 7px rgba(124, 92, 255, 0.20), 0 22px 55px rgba(0, 0, 0, 0.45);
  animation: sa-halo 3.2s ease-in-out infinite;
}
@keyframes sa-halo {
  0%, 100% { box-shadow: 0 0 0 5px rgba(124, 92, 255, 0.22), 0 22px 55px rgba(0, 0, 0, 0.45); }
  50%      { box-shadow: 0 0 0 12px rgba(0, 212, 166, 0.16), 0 22px 55px rgba(0, 0, 0, 0.45); }
}
.hero [data-sa-demo] .sa-demo__label { font-size: 1.02rem; font-weight: 800; }
.hero [data-sa-demo] .sa-demo__input { padding: 16px; font-size: 1.1rem; font-weight: 600; }
.hero [data-sa-demo] .sa-demo__box .btn--full { padding: 16px 24px; font-size: 1.05rem; }
/* The card does the pulsing now — a second pulsing element just competes. */
.hero .pill--offer { margin-bottom: 14px; animation: none; box-shadow: none; }
.hero .hero__sub { margin-bottom: 34px; font-size: 1.08rem; }
@media (prefers-reduced-motion: reduce) {
  .hero [data-sa-demo] .sa-demo__box { animation: none; }
}
.hero .hero__note a { color: var(--teal-bright); text-decoration: none; font-weight: 700; }
.hero .hero__note a:hover { text-decoration: underline; }

.sa-demo__box {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.sa-demo__label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.sa-demo__input {
  width: 100%;
  padding: 14px 16px;
  margin-top: 8px;
  border: 2px solid rgba(11, 16, 38, 0.12);
  border-radius: 12px;
  font: inherit;
  font-size: 1.05rem;
}
.sa-demo__input:focus { outline: none; border-color: var(--violet); }
.sa-demo__status { margin-top: 14px; font-size: 0.92rem; font-weight: 600; }
.sa-demo__status.err { color: #C44; }
.sa-demo__status a, .sa-demo__small a { color: var(--violet); font-weight: 700; }
.sa-demo__small { margin-top: 14px; font-size: 0.84rem; color: var(--text-soft); }

.sa-demo__working-title { font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.sa-demo__steps { list-style: none; margin: 0; padding: 0; }
.sa-demo__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  transition: color 0.2s ease;
}
.sa-demo__tick {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(11, 16, 38, 0.15);
  position: relative;
}
.sa-demo__step.is-active { color: var(--ink); font-weight: 700; }
.sa-demo__step.is-active .sa-demo__tick {
  border-color: var(--violet);
  border-top-color: transparent;
  animation: sa-spin 0.8s linear infinite;
}
.sa-demo__step.is-done .sa-demo__tick {
  background: var(--teal);
  border-color: var(--teal);
}
.sa-demo__step.is-done .sa-demo__tick::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
@keyframes sa-spin { to { transform: rotate(360deg); } }

.sa-demo__box--ready { text-align: center; }
.sa-demo__ready-label { font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.sa-demo__number {
  display: block;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 6px 0 14px;
}
.sa-demo__ready-hint { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 14px; }
.sa-demo__countdown { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 18px; }
.sa-demo__again { font-size: 0.9rem; padding: 10px 22px; }

/* ---------- Integrations ---------- */
.integrations { text-align: center; }
.integrations__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.intg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(11,16,38,0.08);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}
.intg svg { width: 22px; height: 22px; }

/* ---------- Audio sample buttons ---------- */
.listen {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--violet);
  background: transparent;
  color: var(--violet);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.listen.available { display: inline-flex; }
.listen.playing { background: var(--violet); color: #fff; }

/* ---------- Industry pages ---------- */
.subhero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.subhero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 18px; }
.subhero p { color: rgba(255,255,255,0.8); font-size: 1.12rem; max-width: 60ch; margin-bottom: 30px; }
.subhero .pill { background: rgba(255,255,255,0.10); color: var(--teal-bright); }
.crumbs { font-size: 0.88rem; margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,0.6); text-decoration: none; }
.crumbs a:hover { color: var(--teal-bright); }

/* ---------- Article / guide pages ---------- */
.article h1 { margin-bottom: 10px; }
.article__meta { color: var(--text-soft); margin-bottom: 36px; }
.article h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.article p { margin-bottom: 14px; font-size: 1.02rem; }
.article ul, .article ol { margin: 0 0 16px 24px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--violet); font-weight: 700; }
.article .callout {
  background: var(--bg-tint);
  border-left: 4px solid var(--violet);
  border-radius: 0;
  padding: 18px 22px;
  margin: 24px 0;
}

/* ---------- Legal pages ---------- */
.legal h1 { margin-bottom: 8px; }
.legal__updated { color: var(--text-soft); margin-bottom: 36px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--violet); font-weight: 700; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 14px 0; }
.legal__table th, .legal__table td { text-align: left; padding: 10px 12px; border: 1px solid rgba(11,16,38,0.10); vertical-align: top; }
.legal__table th { background: var(--bg-tint); color: var(--ink); }
.legal__back { margin-top: 44px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.plan--hot.reveal.is-visible { transform: scale(1.04); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__card { max-width: 460px; }
  .steps, .grid--3, .plans, .plans--4 { grid-template-columns: 1fr 1fr; }
  .calc, .callme { grid-template-columns: 1fr; gap: 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .plan--hot { transform: none; }
  .plan--hot:hover { transform: translateY(-6px); }
  .plan--hot.reveal.is-visible { transform: none; }
  .nav__cta .btn--ghost { display: none; }
  .assistant__layout { grid-template-columns: 1fr; gap: 42px; }
  .assistant__example { max-width: 580px; }
  .extras { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .steps, .grid--3, .plans, .plans--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    gap: 16px;
    border-bottom: 1px solid rgba(11,16,38,0.08);
    box-shadow: var(--shadow-lg);
  }
  .nav.nav--open .nav__mobile-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
  .nav.nav--open .nav__mobile-actions .btn { color: #fff; text-align: center; }
  .nav.nav--open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.nav--open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  /* On a phone the demo card has to clear the fold, so the copy above it gets
     tighter — the widget is the thing worth the vertical space. */
  .hero { padding-top: 26px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); margin-bottom: 14px; }
  .hero .hero__sub { font-size: 0.99rem; margin-bottom: 26px; }
  .hero .pill--offer { font-size: 0.85rem; padding: 9px 16px; margin-bottom: 12px; }
  .hero [data-sa-demo] { margin: 16px 0 12px; }
  .hero [data-sa-demo] .sa-demo__box { padding: 20px; }
  .section { padding: 68px 0; }
  .calc__box { padding: 26px 20px; }
  .promo { font-size: 0.82rem; }
  .promo__inner { gap: 5px 12px; }
  .nav__inner { height: 68px; }
  .nav__logo img { width: 174px; }
  .nav.nav--open .nav__links { top: 68px; max-height: calc(100vh - 68px); overflow-y: auto; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; white-space: normal; }
  .call-plan { padding: 20px; border-radius: 21px; }
  .call-plan__head { align-items: flex-start; }
  .call-plan__route { grid-template-columns: 1fr; gap: 7px; padding: 16px 0; }
  .call-plan__foot { align-items: flex-start; flex-direction: column; gap: 4px; }
  .call-plan__foot strong { text-align: left; }
  .outcomes__grid { grid-template-columns: 1fr; }
  .outcomes__grid > div { border-right: 0; border-bottom: 1px solid rgba(11,16,38,0.07); padding: 22px 24px; }
  .outcomes__grid > div:last-child { border-bottom: 0; }
  .assistant__layout { gap: 34px; }
  .feature-list li { padding-left: 32px; }
  .extras article { padding: 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
