/*
 * AI receptionist cost: the quote, line by line.
 * Every class is prefixed ac-. Quiet ledger paper for reading, a thermal-receipt
 * white for the quote, cobalt ink for the headers, amber for what to watch
 * and green for what we include.
 */
.ac-page {
  --ac-paper: #f3f2ec;
  --ac-sheet: #fffefa;
  --ac-ink: #191c22;
  --ac-soft: #3a3f4a;
  --ac-muted: #5d6370;
  --ac-rule: #d9d7cc;
  --ac-graphite: #141a2c;
  --ac-graphite-2: #1f2a47;
  --ac-steel: #34447a;
  --ac-kraft: #2548b8;
  --ac-kraft-deep: #1b3690;
  --ac-kraft-wash: #e3e9fb;
  --ac-orange: #2548b8;
  --ac-forest: #2548b8;
  --ac-forest-deep: #1b3690;
  --ac-wire: #2548b8;
  --ac-wire-deep: #1b3690;
  --ac-wire-wash: #e3e9fb;
  --ac-live: #2f7d5a;
  --ac-live-deep: #1f5a40;
  --ac-live-wash: #dcefe5;
  --ac-hot: #b9700f;
  --ac-hot-deep: #7d4a07;
  --ac-hot-wash: #f8e8cc;
  --ac-on-dark: #e9edf8;
  --ac-on-dark-soft: #a9b3d1;
  --ac-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Courier New", monospace;
  --ac-hand: "Bradley Hand", "Segoe Print", "Marker Felt", "Comic Sans MS", cursive;
  background: var(--ac-paper);
  color: var(--ac-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
.ac-page *, .ac-page *::before, .ac-page *::after { box-sizing: border-box; }
.ac-page ::selection { background: var(--ac-wire); color: var(--ac-ink); }
.ac-page a:focus-visible,
.ac-page summary:focus-visible,
.ac-page [tabindex]:focus-visible { outline: 2px solid var(--ac-live); outline-offset: 4px; }
.ac-close a:focus-visible { outline-color: var(--ac-wire); }
.ac-page section[id] { scroll-margin-top: 130px; }
.ac-wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }

.ac-page h1, .ac-page h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.ac-page h2 { font-size: clamp(2.05rem, 3.3vw, 3.4rem); line-height: 1.08; }
.ac-page h1 em, .ac-page h2 em { font-style: italic; }
.ac-page h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.3; }
.ac-section { padding: clamp(64px, 8vw, 108px) 0; }
.ac-section p { max-width: 68ch; }
.ac-section h2 + p { margin-top: 18px; }
.ac-page p a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ac-page p a:hover { color: var(--ac-live-deep); }
.ac-tie { margin-top: 24px; font-weight: 500; }
.ac-invented { margin-top: 12px; font-size: 12.5px; color: var(--ac-muted); }
.ac-table-scroll { overflow-x: auto; margin-top: 30px; }

/* Chapter tag, like a flag tied to a branch */
.ac-tag {
  display: inline-block; margin: 0 0 18px; padding: 5px 14px; background: var(--ac-orange); color: #fff;
  border-radius: 3px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ac-wire-wash);
}

/* Buttons and quiet links */
.ac-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.ac-button {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--ac-graphite); color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(35, 40, 44, 0.85); transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.ac-button:hover { background: var(--ac-live-deep); transform: translateY(-1px); }
.ac-quiet-link {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: inherit; font-weight: 600; font-size: 15px;
  text-decoration: underline; text-decoration-color: rgba(31, 35, 38, 0.4); text-underline-offset: 5px;
}
.ac-quiet-link:hover { text-decoration-color: currentColor; }
.ac-close .ac-button { background: var(--ac-wire); color: var(--ac-ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.7); }
.ac-close .ac-button:hover { background: #f6c64d; }
.ac-close .ac-quiet-link { text-decoration-color: rgba(236, 239, 240, 0.45); }

/* Hero */
.ac-hero-shell {
  padding-top: 101px;
  background-color: var(--ac-paper);
  background-image: radial-gradient(ellipse 55% 60% at 80% 44%, #fff4d6 0, rgba(255, 244, 214, 0) 72%);
  border-bottom: 4px solid var(--ac-wire);
}
.ac-hero {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(32px, 4vw, 60px);
  align-items: start; padding: clamp(36px, 4vw, 56px) 0 clamp(56px, 6vw, 84px);
}
.ac-hero-copy { padding: 6px 0; }
.ac-hero h1 { font-size: clamp(2.5rem, 4.3vw, 4.1rem); line-height: 1.03; color: var(--ac-ink); }
.ac-hero h1 .h1-kicker {
  display: block; margin-bottom: 20px; font-family: var(--font-sans); font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ac-wire-deep);
}
.ac-h1-line { display: inline; }
.ac-lede { margin-top: 22px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ac-soft); max-width: 52ch; }
.ac-price { display: grid; gap: 6px; margin-top: 22px; font-size: 15.5px; color: var(--ac-soft); }
.ac-price strong { color: var(--ac-ink); font-weight: 800; margin-right: 6px; }

/* The signature: one quote, five lines */
.ac-receiptfig { margin: 0; }
.ac-lineradio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ac-receipt {
  background: var(--ac-sheet); border: 1px solid var(--ac-rule); border-radius: 4px; box-shadow: 0 26px 52px -30px rgba(25, 28, 34, 0.5);
  font-family: var(--ac-mono); position: relative;
  background-image: linear-gradient(135deg, transparent 0 8px, var(--ac-sheet) 8px), linear-gradient(225deg, transparent 0 8px, var(--ac-sheet) 8px);
}
.ac-receipt-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 0; padding: 14px 18px; border-bottom: 2px dashed var(--ac-rule); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ac-muted); }
.ac-receipt ul { list-style: none; margin: 0; padding: 4px 0; }
.ac-receipt li label { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 18px; cursor: pointer; border-left: 5px solid transparent; transition: background-color 160ms ease-out; }
.ac-receipt li label:hover { background: var(--ac-kraft-wash); }
.ac-line-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ac-kraft); color: #fff; font-size: 12.5px; font-weight: 800; }
.ac-line-name { font-size: 15.5px; font-weight: 700; color: var(--ac-ink); }
.ac-line-kind { font-size: 12px; color: var(--ac-muted); text-transform: uppercase; letter-spacing: 0.06em; }
#ac-line-setup:checked ~ .ac-receipt label[for="ac-line-setup"],
#ac-line-monthly:checked ~ .ac-receipt label[for="ac-line-monthly"],
#ac-line-usage:checked ~ .ac-receipt label[for="ac-line-usage"],
#ac-line-phone:checked ~ .ac-receipt label[for="ac-line-phone"],
#ac-line-extras:checked ~ .ac-receipt label[for="ac-line-extras"] { background: var(--ac-kraft-wash); border-left-color: var(--ac-kraft); }
.ac-lineradio:focus-visible ~ .ac-receipt { outline: 2px solid var(--ac-kraft); outline-offset: 4px; }
.ac-receipt-foot { margin: 0; padding: 12px 18px 16px; border-top: 2px dashed var(--ac-rule); font-size: 12.5px; color: var(--ac-hot-deep); font-weight: 700; }
.ac-panels { margin-top: 14px; }
.ac-panel { display: none; padding: 16px 18px 18px; background: var(--ac-sheet); border: 1px solid var(--ac-rule); border-left: 5px solid var(--ac-kraft); border-radius: 6px; box-shadow: 0 14px 30px -24px rgba(25, 28, 34, 0.5); }
#ac-line-setup:checked ~ .ac-panels .ac-panel-setup,
#ac-line-monthly:checked ~ .ac-panels .ac-panel-monthly,
#ac-line-usage:checked ~ .ac-panels .ac-panel-usage,
#ac-line-phone:checked ~ .ac-panels .ac-panel-phone,
#ac-line-extras:checked ~ .ac-panels .ac-panel-extras { display: block; }
.ac-panel-title { margin: 0 0 8px; font-weight: 800; font-size: 15.5px; display: flex; gap: 10px; align-items: center; }
.ac-panel-title span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ac-kraft); color: #fff; font-size: 12.5px; }
.ac-panel-row { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--ac-rule); font-size: 14px; color: var(--ac-soft); max-width: none; }
.ac-panel-row strong { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ac-kraft-deep); }
.ac-panel-ours { background: var(--ac-live-wash); border-radius: 6px; padding: 10px 12px; border-top: 0; margin-top: 12px; }
.ac-panel-ours strong { color: var(--ac-live-deep); }
.ac-receiptfig figcaption { margin-top: 12px; font-size: 13px; color: var(--ac-muted); max-width: 60ch; }

/* Jump nav */
.ac-jump { position: sticky; top: 70px; z-index: 5; background: rgba(244, 241, 233, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ac-rule); }
.ac-jump .ac-wrap { display: flex; gap: 6px 22px; overflow-x: auto; scrollbar-width: none; }
.ac-jump a { flex: none; display: inline-flex; align-items: center; min-height: 48px; font-size: 13.5px; font-weight: 700; color: var(--ac-soft); text-decoration: none; white-space: nowrap; }
.ac-jump a:hover { color: var(--ac-live-deep); }

/* Intro */
.ac-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ac-two p + p { margin-top: 16px; }
.ac-aside { padding: 26px; background: var(--ac-sheet); border: 1px solid var(--ac-rule); border-top: 4px solid var(--ac-wire); border-radius: 8px; }
.ac-aside ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; color: var(--ac-soft); }

/* Chapters */
.ac-chapter { border-top: 1px solid var(--ac-rule); }
.ac-chapter-head { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
.ac-chapter-head p + p { margin-top: 16px; }
.ac-chapter-head .ac-tag { justify-self: start; margin-top: 6px; }

/* Tables */
.ac-table {
  width: 100%; border-collapse: collapse; background: var(--ac-sheet); border: 1px solid var(--ac-rule); font-size: 14.5px;
}
.ac-table { min-width: 760px; }
.ac-table th, .ac-table td, .ac-compare-table th, .ac-compare-table td,
.ac-kinds-table th, .ac-kinds-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ac-rule); }
.ac-table thead th, .ac-compare-table thead th, .ac-kinds-table thead th {
  background: var(--ac-graphite); color: #fff; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
}
.ac-table tbody th, .ac-compare-table tbody th, .ac-kinds-table tbody th { font-weight: 700; width: 26%; }
.ac-compare-table tbody td:last-child { background: var(--ac-live-wash); font-weight: 600; }
.ac-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.ac-pill { background: var(--ac-wire-wash); color: var(--ac-kraft-deep); }

/* Big jobs */
.ac-card { background: var(--ac-sheet); border: 1px solid var(--ac-rule); border-top: 5px solid var(--ac-wire); border-radius: 6px; box-shadow: 0 18px 40px -28px rgba(31, 35, 38, 0.5); padding: 22px 24px; }
.ac-card-title { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ac-wire-deep); }
.ac-card dl { margin: 0; }
.ac-card dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--ac-rule); font-size: 14.5px; }
.ac-card dt { font-weight: 800; color: var(--ac-live-deep); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.ac-card dd { margin: 0; }
.ac-rules { margin-top: 30px; padding: 24px 26px; background: var(--ac-sheet); border: 1px dashed var(--ac-live); border-radius: 8px; }
.ac-rules ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ac-soft); }
.ac-rules > p { margin-top: 16px; font-size: 14.5px; }

/* Search */
.ac-search p + p { margin-top: 16px; }
.ac-pins { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.ac-pins li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: start; padding: 18px; background: var(--ac-sheet); border: 1px solid var(--ac-rule); border-radius: 8px; }
.ac-pin-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ac-orange); color: #fff; font-weight: 800; font-size: 13px; }
.ac-pins div { display: grid; gap: 2px; font-size: 14.5px; color: var(--ac-soft); }
.ac-pins strong { color: var(--ac-ink); }
.ac-pins p { margin: 0; }


/* Worked example */
.ac-example { border-top: 1px solid var(--ac-rule); background: #efeee6; }
.ac-example-table tbody th { width: 22%; }
.ac-example-table td:nth-child(2) { width: 30%; }
.ac-example-table td:nth-child(3) { width: 20%; }
.ac-example-table td:nth-child(4) { width: 28%; }
.ac-total { font-family: var(--ac-mono); font-weight: 800; white-space: nowrap; color: var(--ac-kraft-deep); }
.ac-note { margin-top: 20px; font-size: 14.5px; color: var(--ac-soft); max-width: 70ch; }
.ac-human { border-top: 1px solid var(--ac-rule); }
.ac-aside h3 + ul { margin-bottom: 18px; }
.ac-aside h3:not(:first-child) { margin-top: 6px; }

/* What we charge */
.ac-ours { background: var(--ac-graphite); color: var(--ac-on-dark); }
.ac-ours h2 { color: #fff; }
.ac-ours a { color: #fff; }
.ac-ours .ac-note { color: var(--ac-on-dark-soft); }
.ac-ledger { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.ac-ledger li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px; }
.ac-ledger span { font-family: var(--ac-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ac-on-dark-soft); padding-top: 3px; }
.ac-ledger strong { font-weight: 600; color: #fff; }
.ac-ours .ac-aside { background: var(--ac-graphite-2); border-color: rgba(255, 255, 255, 0.14); border-top-color: var(--ac-kraft); }
.ac-ours .ac-aside h3 { color: #fff; }
.ac-ours .ac-aside li, .ac-ours .ac-aside p { color: var(--ac-on-dark-soft); }
.ac-ours .ac-quiet-link { text-decoration-color: rgba(233, 237, 248, 0.45); }
.ac-ours .ac-button { background: #fff; color: var(--ac-graphite); }
.ac-ours .ac-button:hover { background: var(--ac-kraft-wash); }
.ac-checklist ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.ac-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.ac-check { flex: none; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--ac-on-dark-soft); border-radius: 4px; }
.ac-checklist p { margin-top: 16px; font-size: 14px; }

/* Repeat accounts */
.ac-account-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--ac-rule); }
.ac-account-list li { padding: 20px 0; border-bottom: 1px solid var(--ac-rule); }
.ac-account-list p { margin-top: 4px; font-size: 14.5px; color: var(--ac-soft); }

/* Answering, kinds */
.ac-answering { border-top: 1px solid var(--ac-rule); }
.ac-kinds { background: #ebe7da; border-top: 1px solid var(--ac-rule); }

/* How */
.ac-how-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ac-steps { list-style: none; counter-reset: step; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.ac-steps li { counter-increment: step; position: relative; padding: 0 0 0 54px; }
.ac-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ac-graphite); color: var(--ac-wire); font-weight: 800; }
.ac-steps p { margin-top: 4px; color: var(--ac-soft); }
.ac-how-side { display: grid; gap: 22px; }
.ac-testsheet, .ac-stays { padding: 24px; background: var(--ac-sheet); border: 1px solid var(--ac-rule); border-radius: 8px; }
.ac-testsheet ul, .ac-stays ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.ac-testsheet li { display: flex; gap: 12px; align-items: flex-start; }
.ac-check { flex: none; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--ac-live); border-radius: 4px; }
.ac-testsheet-foot { margin-top: 16px; font-size: 13.5px; color: var(--ac-muted); }
.ac-stays { background: var(--ac-live-wash); border-color: transparent; }
.ac-stays li { padding-left: 18px; position: relative; }
.ac-stays li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--ac-live); }
.ac-stays > p { margin-top: 14px; font-weight: 600; }
.ac-consent { margin-top: 14px !important; font-size: 13px; font-weight: 400 !important; color: var(--ac-muted); }

/* FAQ */
.ac-faq { border-top: 1px solid var(--ac-rule); }
.ac-faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ac-faq-list { display: grid; gap: 0; border-top: 1px solid var(--ac-rule); }
.ac-faq-list details { border-bottom: 1px solid var(--ac-rule); }
.ac-faq-list summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
.ac-faq-list summary::-webkit-details-marker { display: none; }
.ac-faq-list summary span { flex: none; font-size: 22px; color: var(--ac-live); transition: transform 160ms; }
.ac-faq-list details[open] summary span { transform: rotate(45deg); }
.ac-faq-list details p { padding: 0 0 22px; color: var(--ac-soft); max-width: 70ch; }

/* Breadcrumb, close */
.ac-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 22px 0 8px; font-size: 12.5px; color: var(--ac-muted); }
.ac-breadcrumb a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ac-breadcrumb a:hover { color: var(--ac-ink); text-decoration: underline; }
.ac-close { background: var(--ac-graphite); color: var(--ac-on-dark); padding: clamp(64px, 8vw, 100px) 0; }
.ac-close-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ac-close h2 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.ac-close p { margin-top: 18px; max-width: 58ch; color: var(--ac-on-dark-soft); }
.ac-close aside { display: grid; gap: 4px; align-content: start; }
.ac-close aside strong { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ac-on-dark-soft); margin-bottom: 8px; }
.ac-close aside a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); color: #fff; text-decoration: none; font-weight: 600; }
.ac-close aside a:hover { color: var(--ac-wire); }

/* Responsive */
@media (max-width: 1000px) {
  .ac-hero, .ac-two, .ac-how-grid, .ac-faq-grid, .ac-close-grid { grid-template-columns: 1fr; }
  .ac-chapter-head { grid-template-columns: 1fr; gap: 6px; }
  
  .ac-account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ac-wrap { width: min(100% - 32px, 1280px); }
  .ac-hero-shell { padding-top: 88px; }
  .ac-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .ac-ledger li { grid-template-columns: 1fr; gap: 2px; }
  .ac-receipt li label { grid-template-columns: 30px minmax(0, 1fr); }
  .ac-line-kind { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ac-button, .ac-faq-list summary span, .ac-receipt li label { transition: none; }
}
