/* CallsHandled design system — charcoal / sage / champagne / cream */
:root {
  --charcoal: #2D3E3F;
  --charcoal-deep: #243233;
  --sage: #9CAF88;
  --sage-soft: #C4D1B6;
  --gold: #C9A961;
  --gold-hover: #B8974E;
  --cream: #F5F1E8;
  --card: #FBF9F3;
  --line: #E5DFD2;
  --ink: #22302F;
  --muted: #5F6D6B;
  --on-dark: #F5F1E8;
  --on-dark-muted: #C7CDC4;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
/* No element may push the page wider than the viewport (kills the mobile right-gutter). */
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 16.5px; overflow-x: clip; max-width: 100%; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3.serif, .serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: .012em; }
a { color: inherit; }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px; background: var(--cream); border-bottom: 1px solid var(--line); }
.nav .logo { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--charcoal); text-decoration: none; letter-spacing: .01em; }
.nav .logo span { color: var(--gold); }
.nav .links { display: flex; gap: 26px; align-items: center; }
.nav .links a { text-decoration: none; font-size: .92rem; color: var(--muted); font-weight: 500; }
.nav .links a:hover { color: var(--charcoal); }
.nav .links a.demo-link { color: var(--charcoal); font-weight: 600; }
@media (max-width: 720px) { .nav .links a.hide-m { display: none; } }

/* Hero */
.hero { background: linear-gradient(175deg, var(--charcoal) 0%, var(--charcoal-deep) 100%); color: var(--on-dark); padding: 104px 24px 96px; text-align: center; }
.hero .eyebrow { color: var(--sage); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; font-family: 'Inter', sans-serif; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); line-height: 1.12; max-width: 820px; margin: 0 auto 24px; }
.hero h1 em { font-style: italic; color: var(--sage-soft); }
.hero .sub { font-size: 1.14rem; color: var(--on-dark-muted); max-width: 640px; margin: 0 auto 40px; }
.hero .try { margin-top: 18px; color: var(--on-dark-muted); font-size: .93rem; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; border-radius: 10px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; border: 0; font-size: 1rem; transition: background .15s ease; }
.btn-gold { background: var(--gold); color: var(--charcoal-deep); padding: 16px 34px; font-weight: 700; }
.btn-gold:hover { background: var(--gold-hover); }
.btn-gold.lg { font-size: clamp(1.15rem, 2.6vw, 1.5rem); padding: 18px 40px; }
.btn-outline { border: 1.5px solid var(--line); color: var(--charcoal); padding: 15px 32px; background: transparent; }
.btn-outline { transition: color .15s ease, border-color .15s ease; }
.btn-outline:hover { border-color: var(--sage); color: var(--sage); }
.btn-outline.on-dark { border-color: rgba(245,241,232,.35); color: var(--on-dark); }
.btn-outline.on-dark:hover { border-color: var(--sage); }

/* Sections */
.section { max-width: 1060px; margin: 0 auto; padding: 88px 28px; }
.section.tight { padding: 64px 28px; }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--charcoal); margin-bottom: 14px; }
.section .lede { color: var(--muted); max-width: 620px; margin-bottom: 40px; font-size: 1.05rem; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; }
.card h3 { font-size: 1.12rem; font-weight: 650; color: var(--charcoal); margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.card p { color: var(--muted); font-size: .96rem; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--charcoal); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card.link-card { text-decoration: none; display: block; transition: border-color .15s ease; }
.card.link-card:hover { border-color: var(--sage); }
.card.link-card .go { color: var(--gold-hover); font-weight: 600; font-size: .92rem; margin-top: 14px; display: inline-block; }

/* Transcript */
.transcript { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 34px; max-width: 660px; margin: 0 auto; }
.transcript .line { margin-bottom: 18px; }
.transcript .who { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.transcript .who.agent { color: var(--sage); }
.transcript .who.caller { color: var(--muted); }
.transcript .said { color: var(--ink); font-size: .98rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.plan { background: var(--charcoal); color: var(--on-dark); border-radius: 16px; padding: 40px 34px; display: flex; flex-direction: column; }
.plan .tier { font-size: .82rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--sage); }
.plan .amt { font-family: 'Instrument Serif', Georgia, serif; font-size: 3rem; color: var(--on-dark); margin: 10px 0 2px; }
.plan .per { color: var(--on-dark-muted); font-size: .9rem; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; flex: 1; }
.plan li { padding: 7px 0 7px 30px; position: relative; color: var(--on-dark-muted); font-size: .96rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 14px; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C9A961" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') no-repeat center / contain; }
.plan .btn { text-align: center; }
.guarantee { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 24px; }

/* Form */
.form { display: grid; gap: 13px; max-width: 540px; }
/* min-width:0 stops selects/inputs from forcing the grid (and the whole page) wider than
   the viewport — a native <select> otherwise sizes to its LONGEST option's text. */
.form > * { min-width: 0; }
.form input, .form select { width: 100%; min-width: 0; max-width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus { outline: 2px solid var(--sage); border-color: var(--sage); }
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.toggle .opt { border: 1px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; text-align: center; font-size: .9rem; background: #fff; min-width: 0; overflow-wrap: anywhere; }
.toggle .opt.sel { border-color: var(--gold); background: #FBF6EA; font-weight: 600; }
.toggle .opt small { font-weight: 400; font-size: .78rem; color: var(--muted); display: block; margin-top: 4px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--charcoal); font-size: 1.02rem; }
.faq p { color: var(--muted); padding-top: 12px; font-size: .97rem; max-width: 700px; }

/* Compliance strip */
.rails { background: var(--card); border-left: 3px solid var(--sage); border-radius: 10px; padding: 24px 28px; color: var(--muted); font-size: .97rem; max-width: 760px; }
.rails strong { color: var(--charcoal); }

/* Footer */
.foot { border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .87rem; line-height: 1.95; padding: 48px 24px 56px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--charcoal); }
.foot .fam { margin-top: 14px; font-size: .82rem; line-height: 1.6; color: #8C9694; }

/* Keep the demo phone number from ever splitting across lines */
.nowrap { white-space: nowrap; }

/* Tablet */
@media (max-width: 900px) {
  .section { padding: 72px 26px; }
  .hero { padding: 84px 24px 76px; }
}
/* Phone — bring the generous desktop scale down so everything fits intentionally */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding: 15px 20px; }
  .hero { padding: 60px 20px 56px; }
  .hero .eyebrow { letter-spacing: .1em; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.55rem); line-height: 1.15; margin-bottom: 20px; }
  .hero .sub { font-size: 1.05rem; margin-bottom: 32px; }
  .btn-gold.lg { font-size: 1.08rem; padding: 15px 24px; }
  .section { padding: 56px 20px; }
  .section.tight { padding: 40px 20px; }
  .section h2 { margin-bottom: 12px; }
  .section .lede { margin-bottom: 30px; }
  .grid { gap: 16px; }
  .card { padding: 24px 22px; }
  .transcript { padding: 24px 22px; }
  .plan { padding: 32px 26px; }
  .toggle { grid-template-columns: 1fr; }
  .foot { padding: 40px 22px 52px; }
}
