/* 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: #526C45; }
.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, .form textarea { 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, .form textarea: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: var(--muted); }

/* 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; }
}

/* Consultation requests use visible labels and retain the existing form rhythm. */
#consultation label { display: grid; gap: 6px; }
#consultation textarea { resize: vertical; }
#consultation [data-intake-status] { margin: 0; }
/* HERO AMBIENT (2026-09-06): the brand's own signature reel behind the hero — motion at low opacity under a brand-coloured
   veil, so the copy and the form read exactly as before. Lazy (preload=none, loads when visible), muted, loops; the poster
   still is what a reduced-motion visitor sees. */
.hero { position: relative; overflow: hidden; }
.hero-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-ambient video, .hero-ambient img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(175deg, rgba(45,62,63,.62) 0%, rgba(36,50,51,.78) 100%); }
.hero > *:not(.hero-ambient) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-ambient video { display: none; } }

/* The selected plan is a native, keyboard-operable form value. */
#ch-signup > label { display: grid; gap: 6px; }
.plan-choice { border: 0; padding: 0; min-width: 0; }
.plan-choice legend { margin-bottom: 8px; }
#ch-plan-toggle .opt { display: flex; align-items: flex-start; gap: 10px; text-align: left; }
#ch-plan-toggle .opt input[type="radio"] { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 4px; accent-color: var(--charcoal); }
#ch-plan-toggle .opt:focus-within, #ch-signup :is(input, select):focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; box-shadow: 0 0 0 5px var(--charcoal); }
#ch-msg[role="alert"] { color: #993629 !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.foot-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 20px; max-width: 900px; margin: 12px auto; }
.foot-links a, .foot .fam a { display: inline-flex; align-items: center; min-height: 44px; }
.foot .fam { max-width: 540px; margin: 14px auto 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Shared navigation: native details keeps every destination available without JS. */
.ch-site-nav { position: sticky; top: 0; z-index: 100; gap: 16px; flex-wrap: nowrap; }
.ch-site-nav .logo { flex-shrink: 0; min-height: 44px; display: flex; align-items: center; }
.ch-demo-shortcut { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; color: var(--charcoal); font-weight: 600; text-underline-offset: 4px; }
.ch-menu summary { min-height: 44px; padding: 10px 15px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 600; list-style: none; }
.ch-menu summary::-webkit-details-marker { display: none; }
.ch-menu[open] summary { background: var(--charcoal); color: var(--cream); }
.ch-menu-panel { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 24px max(24px,calc((100vw - 1120px)/2)); background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px #00000015; max-height: calc(100dvh - 85px); overflow-y: auto; overscroll-behavior: contain; }
.ch-menu-heading { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.ch-menu-panel a { min-height: 44px; display: flex; align-items: center; padding: 10px 12px; border-radius: 6px; color: var(--charcoal); text-decoration: none; line-height: 1.4; overflow-wrap: anywhere; }
.ch-menu-panel a:hover { background: #eae6dc; }
.ch-menu-panel .ch-menu-cta { background: var(--charcoal); color: var(--cream); }
.ch-site-nav a:focus-visible,.ch-menu summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
html { scroll-padding-top: 95px; }
@media(max-width:600px) {
  .ch-site-nav { padding: 10px 16px; gap: 10px; }
  .ch-site-nav .logo { font-size: 1rem; }
  .ch-demo-shortcut { font-size: .85rem; }
  .ch-menu summary { padding: 10px; gap: 6px; font-size: .9rem; }
  .ch-menu-panel { grid-template-columns: 1fr; gap: 18px; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 65px); }
  html { scroll-padding-top: 80px; }
}
/* Listen before calling; browser-native controls and no autoplay. */
.recording-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.recording-card { min-width:0; display:flex; flex-direction:column; gap:16px; }
.recording-card audio { display:block; width:100%; min-width:0; }
.recording-card h3,.recording-card p { margin:0; }
.recording-card .btn { margin-top:auto; text-align:center; }
.recording-card details { font-size:.9rem; line-height:1.6; }
.recording-card summary { cursor:pointer; padding:12px 0; min-height:44px; }
.recording-card .audio-error { color:#9b2525; }
@media(max-width:900px){.recording-grid{grid-template-columns:1fr;}}

.demo-filter-wrap label {display:block;font-weight:700;margin-bottom:12px;font-size:1.2rem;}
.demo-filter-wrap select {width:100%;max-width:560px;min-height:52px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--cream);color:var(--charcoal);font:inherit;font-size:16px;}
.demo-filter-wrap p {margin-top:12px;color:var(--muted);}
[hidden] {display:none!important;}
