/* Switchboard landing page. True Soft Machine (Variant A, locked 2026-10-03). */

:root {
  --clay: #e9ecf1;
  --card: #f4f6f9;
  --clay-deep: #dfe4ea;
  --ink: #2b2f37;
  --label: #8a94a3;
  --accent: #ef6350;
  --coral: #ef6350;
  --accent-ink: #ffffff;
  --display: #282c34;
  --verified: #4a6741;
  --shadow-hi: #ffffff;
  --shadow-lo: #d1d6de;
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Space Grotesk", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--clay);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
h3 { font-size: 1.375rem; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.wrap.narrow { max-width: 720px; }

.section { padding: 3.5rem 0; }
.section-sub { color: var(--label); max-width: 34em; }

/* Small-caps labels (never above headings per DESIGN.md, used inline here) */
.label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  transition: transform 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 6px 6px 14px var(--shadow-lo), -4px -4px 10px var(--shadow-hi);
}

.btn-primary:hover { filter: brightness(1.05); }

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  box-shadow: 6px 6px 14px var(--shadow-lo), -4px -4px 10px var(--shadow-hi);
}

.btn-ghost:hover { background: #ffffff; }

.btn-large {
  font-size: 1.125rem;
  padding: 0.95rem 2.1rem;
}

.btn-small {
  font-size: 0.875rem;
  padding: 0.45rem 1.1rem;
}

.btn-block {
  width: 100%;
  font-size: 1rem;
  padding: 0.8rem 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-row.center { justify-content: center; }

/* ---------- Sticky banner ---------- */
.banner {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(233, 236, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(43, 47, 55, 0.08);
}

.banner-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* The wordmark plus nav measured 499px at a 390px viewport and
     pushed Sign up off screen (beta readiness report). Wrapping
     lets the nav drop to its own row instead of scrolling sideways. */
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}

.wordmark-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.18), inset 2px 2px 4px rgba(255, 255, 255, 0.45);
}

.wordmark-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.banner-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.navlink {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.25rem;
}
.navlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: left;
}

.lede {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 32em;
  margin-bottom: 1.75rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--card);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 4px 4px 10px var(--shadow-lo), -4px -4px 10px var(--shadow-hi);
}

.proof-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--verified);
}

/* ---------- Cards ---------- */
.steps,
.cards-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin: 2.25rem 0;
}

.step-card,
.use-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 10px 10px 24px var(--shadow-lo), -10px -10px 24px var(--shadow-hi);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clay-deep);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: inset 3px 3px 7px var(--shadow-lo), inset -3px -3px 7px var(--shadow-hi);
}

.step-card h3,
.use-card h3 { margin-bottom: 0.5rem; }

.step-card p,
.use-card p { margin-bottom: 0; color: #454b56; }

@media (min-width: 720px) {
  .steps, .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Phone mockups ---------- */
.phones {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin: 2.5rem 0 0;
  justify-items: center;
}

@media (min-width: 860px) {
  .phones { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.phone-figure {
  margin: 0;
  text-align: center;
  max-width: 320px;
}

.phone-figure figcaption {
  margin-top: 1.25rem;
  color: var(--label);
  font-size: 0.95rem;
  line-height: 1.5;
}
.phone-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 38px;
  box-shadow: 12px 12px 32px var(--shadow-lo), -8px -8px 24px var(--shadow-hi);
}

.phone {
  width: 280px;
  margin: 0 auto;
  background: #171a20;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    14px 14px 30px var(--shadow-lo),
    -10px -10px 24px var(--shadow-hi),
    inset 2px 2px 6px rgba(255, 255, 255, 0.12),
    inset -2px -2px 6px rgba(0, 0, 0, 0.6);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 26px;
  background: #171a20;
  border-radius: 999px;
  z-index: 3;
}

.phone-screen {
  background: var(--clay);
  border-radius: 38px;
  min-height: 520px;
  padding: 3.25rem 0.9rem 1.1rem;
  overflow: hidden;
  text-align: left;
  font-size: 0.8125rem;
  box-shadow: inset 3px 3px 10px var(--shadow-lo);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.35rem;
  margin-bottom: 1rem;
}

.app-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.agent-card,
.request-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 5px 5px 12px var(--shadow-lo), -5px -5px 12px var(--shadow-hi);
}

.agent-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.agent-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--clay-deep);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: inset 2px 2px 5px var(--shadow-lo), inset -2px -2px 5px var(--shadow-hi);
}

.agent-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.agent-num {
  font-variant-numeric: tabular-nums;
  color: var(--label);
  font-size: 0.8rem;
  margin: 0;
}

.agents-card {
  background: var(--card);
  border-radius: 28px;
  padding: 1.75rem;
  max-width: 540px;
  margin: 2rem auto 0;
  box-shadow: 8px 8px 24px var(--shadow-lo), -8px -8px 24px var(--shadow-hi);
  text-align: left;
}
.agent-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--clay-deep);
}
.agent-row:last-child { border-bottom: 0; padding-bottom: 0; }
.agent-row:first-of-type { padding-top: 0.35rem; }
.brand-avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 7px;
  box-shadow: inset 2px 2px 6px var(--shadow-lo);
}
.agent-id { flex: 1; min-width: 0; }
.fine-print {
  text-align: center;
  color: var(--label);
  font-size: 0.8rem;
  margin-top: 1.25rem;
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 720px;
  margin: 1.75rem auto 0;
}
.connect-card {
  background: var(--card);
  border-radius: 22px;
  padding: 1.35rem 1.5rem;
  box-shadow: 6px 6px 18px var(--shadow-lo), -6px -6px 18px var(--shadow-hi);
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.55;
}
.connect-card p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .connect-grid { grid-template-columns: 1fr; }
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 1.75rem auto 0;
  text-align: left;
}
.contact-form .field { display: block; }
.contact-form .field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.contact-form .char-count {
  font-style: normal;
  font-weight: 400;
  color: var(--label);
  font-size: 0.75rem;
}
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  font: inherit;
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--clay-deep);
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 2px 2px 6px var(--shadow-lo);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .form-error {
  color: #b3261e;
  font-size: 0.9rem;
  margin: 0;
}
.contact-thanks {
  max-width: 560px;
  margin: 1.75rem auto 0;
  background: var(--card);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  box-shadow: 8px 8px 24px var(--shadow-lo), -8px -8px 24px var(--shadow-hi);
  text-align: center;
}
.contact-thanks h3 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.contact-thanks p { margin: 0; color: var(--label); }

.agent-status {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--verified);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verified);
}

.mini-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
  margin: 0 0 0.45rem;
}

.mini-label.light { color: #9aa3b2; }

.request-from {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.request-num {
  font-variant-numeric: tabular-nums;
  color: var(--label);
  font-size: 0.78rem;
  margin: 0 0 0.6rem;
}

.request-msg {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #454b56;
  background: var(--clay-deep);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin: 0 0 0.8rem;
  box-shadow: inset 3px 3px 7px var(--shadow-lo), inset -3px -3px 7px var(--shadow-hi);
}

.request-actions { display: flex; gap: 0.6rem; }

/* Approval screen */
.approve-from {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.word-display {
  background: var(--display);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
  margin: 1rem 0;
}

.words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.word {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f6f9;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  user-select: none;
}

.word.blurred {
  filter: blur(7px);
  -webkit-filter: blur(7px);
}

.word-hint {
  margin: 0;
  font-size: 0.75rem;
  color: #9aa3b2;
}

.approve-actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

/* DM thread */
.thread {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bubble {
  max-width: 82%;
  border-radius: 18px;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.bubble p { margin: 0; }

.bubble.left {
  align-self: flex-start;
  background: var(--clay-deep);
  border-bottom-left-radius: 6px;
  box-shadow: inset 2px 2px 5px var(--shadow-lo), inset -2px -2px 5px var(--shadow-hi);
}

.bubble.right {
  align-self: flex-end;
  background: var(--card);
  border-bottom-right-radius: 6px;
  box-shadow: 4px 4px 10px var(--shadow-lo), -3px -3px 8px var(--shadow-hi);
}

.bubble-time {
  display: block;
  font-size: 0.65rem;
  color: var(--label);
  margin-top: 0.3rem;
}

/* ---------- Security ---------- */
.security-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  box-shadow: 7px 7px 16px var(--shadow-lo), -7px -7px 16px var(--shadow-hi);
}

.check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--verified);
  margin-top: 0.15rem;
}

/* ---------- Passphrase explainer ---------- */
.word-display.light-display {
  background: var(--card);
  box-shadow: 8px 8px 18px var(--shadow-lo), -8px -8px 18px var(--shadow-hi);
  margin: 1.75rem 0;
}

.word-display.light-display .word {
  background: var(--clay-deep);
  color: var(--ink);
  box-shadow: inset 2px 2px 5px var(--shadow-lo), inset -2px -2px 5px var(--shadow-hi);
}

.word-display.light-display .word-hint { color: var(--label); }

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 0 1.25rem;
  box-shadow: 7px 7px 16px var(--shadow-lo), -7px -7px 16px var(--shadow-hi);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--clay-deep);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: inset 2px 2px 5px var(--shadow-lo), inset -2px -2px 5px var(--shadow-hi);
  transition: transform 200ms ease, background 200ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 3px 3px 8px var(--shadow-lo);
}

.faq-item p {
  margin: 0;
  padding: 0 0 1.25rem;
  color: #454b56;
}

/* ---------- Final CTA (the one dark element) ---------- */
.final-cta {
  background: var(--display);
  color: #f4f6f9;
  border-radius: 28px;
  margin: 2rem auto 0;
  max-width: 1080px;
  width: calc(100% - 2.5rem);
  padding: 4rem 1.5rem;
  text-align: center;
  box-shadow: 14px 14px 30px var(--shadow-lo), -10px -10px 24px var(--shadow-hi);
}

.final-cta h2 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.final-cta p {
  color: #b9c0cc;
  max-width: 30em;
  margin: 0 auto 1.75rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  text-align: center;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.footer-tag {
  color: var(--label);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.footer-nav a:hover { color: var(--accent); }

/* ---------- Scroll reveal (one authored motion moment) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Explainer video ---------- */
.video-section { padding-top: 0; }

.video-shell {
  position: relative;
  background: var(--display);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 14px 14px 30px var(--shadow-lo), -10px -10px 24px var(--shadow-hi);
  overflow: hidden;
}

.video-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(239, 99, 80, 0.45), inset -3px -3px 8px rgba(0, 0, 0, 0.18), inset 3px 3px 8px rgba(255, 255, 255, 0.35);
}

.video-note {
  margin: 0;
  color: #9aa3b2;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

/* ---------- Word control flow ---------- */
.control-flow { margin: 2.25rem 0 0.5rem; }

.control-steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.control-steps li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.4rem;
  box-shadow: 7px 7px 16px var(--shadow-lo), -7px -7px 16px var(--shadow-hi);
}

.control-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 3px 3px 8px var(--shadow-lo);
}

.control-steps h3 { margin-bottom: 0.35rem; }
.control-steps p { margin-bottom: 0; color: #454b56; }

/* ---------- Phone tab bar + DM head ---------- */
.tabbar {
  display: flex;
  margin-top: 1.1rem;
  background: var(--card);
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: 5px 5px 12px var(--shadow-lo), -5px -5px 12px var(--shadow-hi);
}

.tab {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--label);
  padding: 0.5rem 0;
  border-radius: 999px;
}

.tab.active {
  background: var(--clay-deep);
  color: var(--ink);
  box-shadow: inset 2px 2px 5px var(--shadow-lo), inset -2px -2px 5px var(--shadow-hi);
}

.dm-head {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.9rem;
  padding: 0 0.35rem;
}

/* ---------- Mobile tuning ---------- */
@media (max-width: 480px) {
  .banner-inner { padding: 0.6rem 0.9rem; }

  .wordmark-text { font-size: 1.1rem; }

  .banner .btn {
    padding: 0.55rem 1.05rem;
    font-size: 0.9rem;
  }

  .banner-nav { gap: 0.4rem; }

  .navlink {
    padding: 0.4rem 0.15rem;
    font-size: 0.95rem;
  }

  .hero { padding: 3.25rem 0 2.75rem; }

  .cta-row .btn-large {
    width: 100%;
  }

  .phone { width: 262px; }
}

/* ---------- pricing ---------- */
.tier-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: 10px 10px 24px var(--shadow-lo), -10px -10px 24px var(--shadow-hi);
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-card.featured {
  outline: 3px solid var(--coral);
  outline-offset: -3px;
}
.tier-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-card h3 { margin-bottom: 0.25rem; }
.tier-tag { color: #454b56; margin-bottom: 1rem; }
.tier-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; margin: 0.5rem 0 0; }
.tier-per { color: #454b56; margin-bottom: 1.25rem; }
.tier-list { list-style: none; margin: 0 0 1.5rem; padding: 0; flex: 1; }
.tier-list li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; color: #2b3038; }
.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}
.tier-list li.no::before { content: "x"; color: #9aa0aa; }
.tier-list li.no { color: #9aa0aa; }
.bill-toggle {
  display: inline-flex;
  background: var(--clay-deep);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 1rem;
  box-shadow: inset 3px 3px 7px var(--shadow-lo), inset -3px -3px 7px var(--shadow-hi);
}
.bill-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: #454b56;
}
.bill-toggle button.on {
  background: var(--card);
  color: var(--ink);
  box-shadow: 3px 3px 8px var(--shadow-lo), -3px -3px 8px var(--shadow-hi);
}
.save-badge {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: 1px;
}
.tier-save {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 1.2em;
}
