/* OK Smart Agents preview — small, high-contrast, system fonts */
:root {
  --ink: #0a2540;
  --ink-soft: #243447;
  --paper: #ffffff;
  --mist: #f3f6f9;
  --line: #d5deea;
  --accent: #0b4f8a;
  --accent-hover: #083a66;
  --gold-bg: #fff4cc;
  --gold-ink: #4a3800;
  --ok: #0c5c3a;
  --ok-bg: #e6f6ee;
  --err: #8b1e1e;
  --err-bg: #fdecec;
  --focus: #0a2540;
  --max: 68rem;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.85rem;
  z-index: 100;
  border-radius: 0 0 6px 6px;
}
.skip:focus { top: 0; color: #fff; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}
.brand { display: flex; align-items: center; color: inherit; text-decoration: none; }
.brand img { width: 160px; height: auto; display: block; }
.menu { display: none; }
.menu summary {
  list-style: none;
  cursor: pointer;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  background: var(--paper);
}
.menu summary::-webkit-details-marker { display: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.draft-banner {
  background: var(--gold-bg);
  color: var(--gold-ink);
  padding: 0.9rem 1rem;
  text-align: center;
  border-bottom: 2px solid #e0c35a;
}
.hero, .section { padding: 2.25rem 0; }
.hero { background: var(--mist); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.2; margin: 0 0 0.75rem; max-width: 22ch; }
.lede { font-size: 1.2rem; max-width: 40rem; margin: 0 0 1.25rem; color: var(--ink-soft); }
.hero-logo { max-width: 14rem; margin: 0 0 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--paper); color: var(--ink); }
.btn-secondary:hover { background: var(--mist); color: var(--ink); }
.section h2 { font-size: 1.55rem; margin: 0 0 0.75rem; }
.section h3 { font-size: 1.15rem; margin: 1.25rem 0 0.4rem; }
.grid-3, .grid-2, .industries { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card, .price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.card h3, .price-card h2, .price-card h3 { margin-top: 0; }
.muted { color: var(--ink-soft); }
.price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: 0.2rem 0; }
.price span { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.price-card ul, .prose ul { padding-left: 1.2rem; }
.price-card li, .prose li { margin: 0.35rem 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin: 0 0 0.35rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.steps li {
  counter-increment: step;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3.4rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.85rem; top: 0.95rem;
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.industries { grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); }
.industries li {
  list-style: none;
  background: var(--mist);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-weight: 600;
}
.industries { padding: 0; margin: 0; }
.form-card { max-width: 36rem; }
label { display: block; font-weight: 700; margin: 0.85rem 0 0.3rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 2px solid #6b7c8f;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 5rem; resize: vertical; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; margin: 0; }
.alert-ok { background: var(--ok-bg); color: var(--ok); padding: 0.85rem 1rem; border-radius: 8px; margin: 0 0 1rem; }
.alert-err { background: var(--err-bg); color: var(--err); padding: 0.85rem 1rem; border-radius: 8px; margin: 0 0 1rem; }
.site-footer {
  background: var(--ink);
  color: #e8eef5;
  padding: 2.25rem 0 1.25rem;
  margin-top: 2rem;
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer-name { font-weight: 800; margin: 0 0 0.4rem; color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0.3rem 0; }
.placeholder {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #123;
  color: #ffe08a;
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.preview-note, .copyright { font-size: 0.9rem; color: #c5d0dc; }
.copyright { margin-top: 1.5rem; border-top: 1px solid #2a4663; padding-top: 1rem; }
.prose { max-width: 44rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { text-align: left; padding: 0.65rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); }
.callout { background: var(--mist); border-left: 4px solid var(--accent); padding: 0.9rem 1rem; border-radius: 0 8px 8px 0; }
@media (max-width: 52rem) {
  .menu { display: block; position: relative; }
  .menu[open] .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    min-width: 14rem;
    box-shadow: 0 8px 24px rgba(10,37,64,0.12);
    z-index: 20;
  }
  .nav-desktop { display: none; }
}
@media (min-width: 52.01rem) {
  .menu { display: none !important; }
}

@media (max-width: 52rem) {
  .table-wrap { overflow: visible; }
  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap th,
  .table-wrap td,
  .table-wrap tr { display: block; width: 100%; }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .table-wrap tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin: 0 0 0.9rem;
    padding: 0.45rem 0 0.3rem;
  }
  .table-wrap th[scope="row"] {
    background: transparent;
    font-size: 1.1rem;
    border-bottom: 0;
    padding-bottom: 0.15rem;
  }
  .table-wrap td {
    border-bottom: 0;
    padding: 0.3rem 0.7rem 0.5rem;
  }
  .table-wrap td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.12rem;
  }
}

/* Intake order form */
.form-card-wide { max-width: 48rem; }
.form-card-wide fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.2rem;
  margin: 0 0 1.25rem;
}
.form-card-wide legend {
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0 0.35rem;
}
.subhead { font-size: 1.05rem; margin: 1.25rem 0 0.4rem; }
.included-list, #coming-soon-list, #never-offer-list { margin: 0 0 1rem 1.2rem; }
.tool-picker { display: grid; gap: 0.85rem; }
.addon-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: #fff;
}
.addon-head {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.addon-head input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 0.25rem;
  accent-color: var(--accent);
}
.addon-head label { margin: 0; font-weight: 600; }
.addon-setup { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.status-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.8rem;
  font-weight: 700;
  vertical-align: middle;
}
.other-block, .transfer-block {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 0 0 0.85rem;
  background: var(--mist);
}
.transfer-title { font-weight: 700; margin: 0 0 0.4rem; }
.btn-small { margin-top: 0.6rem; }
.price-summary {
  background: var(--mist);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}
.checkout-panel {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
input[type="url"], select {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 2px solid #6b7c8f;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.btn:disabled { opacity: 0.65; cursor: not-allowed; }

.test-mode-banner {
  background: #fff6d8;
  border: 2px solid #c48a00;
  color: #5a3d00;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

/* Service Agreement checkbox on /start and the agreement page header */
.agree-box { margin: 1.25rem 0 1rem; padding: 0.85rem 1rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.agree-box .hint { margin: 0.5rem 0 0; }
.agreement-meta { font-weight: 600; color: var(--ink-soft); }

/* Intake validation (v20261116) */
.field-invalid { border-color: var(--err, #b00020) !important; box-shadow: 0 0 0 2px var(--err, #b00020); }
input[type="checkbox"].field-invalid { outline: 3px solid var(--err, #b00020); outline-offset: 2px; box-shadow: none; }
.field-error { color: var(--err, #b00020); font-weight: 600; font-size: 0.92rem; margin: 0.3rem 0 0; }

/* Transfer mode (v20261116tm) */
.transfer-mode { margin: 0.75rem 0 1rem; }
.transfer-mode .addon-head { margin: 0.4rem 0; }
.transfer-mode input[type="radio"] { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; margin-top: 0.15rem; }
.field-label { font-weight: 700; margin: 0.85rem 0 0.3rem; }

/* Main line in the header (Nov 22 2026) */
.header-call { margin-left: auto; font-weight: 700; white-space: nowrap; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 380px) { .header-call { font-size: 0.9rem; } }
/* Home product tree (Matt 3:10 AM Nov 22: Evaluation, Custom Agent and tools, ARO) */
.product-tile { display: flex; flex-direction: column; gap: .25rem; }
.product-tile .btn { margin-top: auto; align-self: flex-start; }
.product-tile .eyebrow { margin: 0; }
.price-card-sub { margin: .75rem 0 .25rem; }
/* Home "Smart Agent Solutions" (Matt 12:43 PM Nov 22): every product described in the same depth, in rank order */
.solutions { display: grid; gap: 1.5rem; margin-top: 1rem; }
.solution { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); align-items: start; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.solution:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 52rem) { .solution { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; } }
.solution-summary { display: flex; flex-direction: column; gap: .25rem; }
.solution-summary .eyebrow { margin: 0; }
.solution-summary .btn { align-self: flex-start; margin-top: .5rem; }
.solution-detail h4 { font-size: 1.05rem; margin: 0 0 .6rem; }
.solution-detail h4 ~ h4 { margin-top: 1.25rem; }
.solution-benefits { padding-left: 1.2rem; margin: 0; }
.solution-benefits li { margin: .35rem 0; }
.solution-detail .industries { margin-bottom: .75rem; }
