/* TTS Reimbursements — landing styles
   Calm, credible B2B finance/ops look. Mobile-first, responsive to 360px. */

:root {
  --ink:        #16212F;   /* dark blue-slate ink */
  --ink-soft:   #4a5568;   /* secondary text (WCAG AA on light bg) */
  --line:       #e3e8ef;   /* hairline borders */
  --bg:         #ffffff;
  --bg-alt:     #f7f8fa;   /* near-white alternating band */
  --brand:      #0F5F9E;   /* deep blue primary/CTA */
  --brand-dark: #0b4a7d;
  --accent:     #0D7A43;   /* restrained emerald for money/success */
  --accent-bg:  #eef4f9;   /* soft callout fill */
  --radius:     10px;
  --maxw:       1080px;
  --shadow:     0 1px 2px rgba(16, 40, 66, 0.06), 0 6px 20px rgba(16, 40, 66, 0.05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow { max-width: 760px; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; }

/* Visible focus for keyboard users */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: inline-flex; align-items: baseline; gap: 7px; color: var(--ink); font-weight: 700; }
.logo:hover { text-decoration: none; }
.logo-mark {
  background: var(--brand);
  color: #fff;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.logo-word { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.nav { display: none; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
}
.nav .nav-cta:hover { background: var(--brand-dark); color: #fff; }

@media (min-width: 860px) {
  .nav { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 9px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(15,95,158,.25); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 4px 14px rgba(15,95,158,.28); }
.btn-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--brand); }
.btn-secondary.is-copied {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, #f2f6fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  margin: 0 0 22px;
  max-width: 15ch;
}
.hero .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 16px;
}
.hero .lede strong { color: var(--ink); }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

/* Hero badge chips */
.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16,40,66,.05);
}
.badge-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--accent);
}
.microline { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin: 0 0 18px;
}
.section-intro {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 32px;
}
.section p { color: var(--ink-soft); }
.section .narrow p { max-width: 66ch; }

.callout {
  background: var(--accent-bg);
  border-left: 3px solid var(--brand);
  padding: 16px 20px;
  border-radius: 8px;
  color: var(--ink) !important;
  font-weight: 500;
  font-size: 18px;
  margin: 22px 0;
}

/* ---------- Cards grid (What we look for) ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(16,40,66,.07), 0 12px 28px rgba(16,40,66,.08);
  border-color: #d3dce8;
}
.card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--brand);
  margin-bottom: 14px;
}
.card-ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { margin: 0; font-size: 15.5px; }

/* ---------- Steps (connected chain) ---------- */
.steps { list-style: none; margin: 0; padding: 0; max-width: 780px; }
.steps li {
  display: flex;
  gap: 18px;
  padding: 0 0 26px;
  position: relative;
}
.steps li:last-child { padding-bottom: 0; }
/* connector line down the chain */
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, #cdd9e6 100%);
}
.step-num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line);
  position: relative;
  z-index: 1;
}
.step-body { padding-top: 3px; }
.steps h3 { font-size: 18px; margin: 3px 0 6px; }
.steps p { margin: 0; }
.note { margin-top: 26px; font-weight: 500; color: var(--ink); }

/* ---------- Who (two cards) ---------- */
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 880px;
}
@media (min-width: 700px) { .who-grid { grid-template-columns: 1fr 1fr; } }
.who-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.who-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-bg);
  color: var(--brand);
  margin-bottom: 14px;
}
.who-ico svg { width: 24px; height: 24px; }
.who-card h3 { font-size: 19px; margin: 0 0 8px; }
.who-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.pricing-box {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 14px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.price-headline { font-size: 40px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.02em; }
.price-sub { color: var(--ink-soft); margin: 6px 0 26px; font-size: 17px; }
.price-points {
  list-style: none;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 28px;
  padding: 0;
}
.price-points li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: var(--ink-soft);
}
.price-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent);
  font-weight: 700;
}
.price-note {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 24px;
}

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2px 18px;
  margin-bottom: 10px;
  background: #fff;
}
.faq details[open] { border-color: #cdd9e6; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  padding: 16px 34px 16px 0;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background:
    linear-gradient(var(--brand), var(--brand)) center/12px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center/2px 12px no-repeat;
  transition: transform .18s ease;
}
.faq details[open] summary::after {
  transform: rotate(90deg);
  background: linear-gradient(var(--brand), var(--brand)) center/12px 2px no-repeat;
}
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 66ch; }

/* ---------- Contact ---------- */
.section-contact { background: var(--bg-alt); }
.contact-email {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 24px;
}
.contact-note { font-size: 15px; color: var(--ink-soft); margin: 18px 0 0; }
.contact-alt { font-size: 14.5px; color: var(--ink-soft); margin: 16px 0 0; }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 36px 0 48px;
  background: #0f2033;
  color: #b7c2d0;
  border-bottom: none;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.footer-brand { color: #fff; font-weight: 600; }
.footer-sep { color: #4a5f77; }
.site-footer a { color: #cdd8e4; }
.site-footer a:hover { color: #fff; }
.footer-legal { margin-top: 16px; }
.footer-legal p {
  font-size: 13px;
  color: #8fa0b3;
  max-width: 80ch;
  margin: 0;
  line-height: 1.55;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-page .code { font-size: 56px; font-weight: 700; color: var(--brand); margin: 0; }
.error-page h1 { font-size: 26px; margin: 12px 0 10px; }
.error-page p { color: var(--ink-soft); margin: 0 0 24px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover { transform: none; }
}
