/* ════════════════════════════════════════════════════════════════════
   Transact Agent Pro — the website's shared look (Carlos 10/19: "make the
   whole website look like the pricing page"). Same fonts, colors, header,
   buttons, cards and footer as public/pricing.html (the homepage), which
   keeps its own copy of these rules inline. Every other website page links
   this file:  <link rel="stylesheet" href="/site.css">
   Fonts: Inter (body) + Plus Jakarta Sans (headings) from Google Fonts.
   ════════════════════════════════════════════════════════════════════ */
:root {
  --red: #D63B2F; --red-deep: #B92E24; --red-soft: #FDEEEC;
  --blue: #0c4a6e; --blue-hover: #083344; --blue-soft: #E0F2FE;
  --ink: #17202B; --body: #3D4651; --muted: #6B7280;
  --gray: #F6F6F7; --gray-2: #EDEDEF; --line: #E4E4E7; --white: #FFFFFF;
  --green: #15803D; --green-soft: #E8F6EC;
  --amber: #B45309; --amber-soft: #FEF3C7;
  --radius: 14px; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.06);
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--body); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, .display { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 16px; font-weight: 700; letter-spacing: 0; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--gray); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.lede { font-size: 19px; color: var(--body); max-width: 680px; }
.center { text-align: center; } .center .lede { margin: 16px auto 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px 'Inter', sans-serif; text-decoration: none; border-radius: 10px; padding: 14px 24px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn-primary { background: var(--blue); color: #fff; } .btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--blue); } .btn-ghost:hover { background: var(--blue-soft); }
.ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.center .ctas { justify-content: center; }
.fine { font-size: 14px; color: var(--muted); }
.check { color: var(--green); flex: none; }

/* header / nav */
header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; background: var(--red); color: #fff; border-radius: 11px; display: flex; align-items: center; justify-content: center; font: 900 19px 'Plus Jakarta Sans', sans-serif; box-shadow: 0 4px 10px rgba(214,59,47,.3); }
.logo-text { color: var(--ink); font: 800 18px 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--body); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a.on { font-weight: 700; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 10px 18px; font-size: 15px; }
.signin { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }

/* page hero (inner pages) */
.page-hero { padding: 72px 0 64px; background: linear-gradient(180deg, #fff 0%, var(--gray) 100%); }
.page-hero .lede { margin-top: 18px; }
.page-hero.center .lede { margin-left: auto; margin-right: auto; }

/* cards + grids */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.grid { display: grid; gap: 20px; margin-top: 44px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tile.soft { background: var(--gray); border-color: transparent; }
.tile h3 { margin-bottom: 8px; }
.tile p { font-size: 15.5px; }
.tile ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; font-size: 15px; }
.tile li { display: flex; gap: 10px; }
.tile li .check { margin-top: 4px; }
.ico { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px; }
.ico.red { background: var(--red-soft); color: var(--red-deep); }
.ico.green { background: var(--green-soft); color: var(--green); }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.pill-red { background: var(--red-soft); color: var(--red-deep); }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-blue { background: var(--blue-soft); color: var(--blue); }

/* split row: text + visual */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split.flip > :first-child { order: 2; }
.bullets { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; }
.bullets li .check { margin-top: 5px; }

/* numbered steps */
.steps { counter-reset: step; display: grid; gap: 16px; margin-top: 40px; }
.steps > div { counter-increment: step; position: relative; padding: 22px 22px 22px 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps > div::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font: 800 16px 'Plus Jakarta Sans', sans-serif; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 17px; margin-bottom: 4px; }

/* simple data table */
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--gray); }
table.t td { padding: 12px; border-bottom: 1px solid var(--gray-2); vertical-align: top; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* faq */
.faq { max-width: 780px; margin: 40px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; color: var(--muted); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; }

/* dark closing band */
.final { background: var(--ink); color: #D1D5DB; text-align: center; }
.final h2 { color: #fff; }
.final .lede { color: #C9CED6; margin: 16px auto 32px; }
.final .btn-primary { background: #fff; color: var(--ink); } .final .btn-primary:hover { background: var(--gray-2); }
.final .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* long-read documents (terms, privacy, AI use, SMS) */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.doc .updated { font-size: 14px; color: var(--muted); margin: 8px 0 28px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); }
.doc h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 16px; }
.doc p { margin: 10px 0; }
.doc ul, .doc ol { margin: 10px 0 10px 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--gray); color: var(--ink); font-weight: 600; }
.doc .box { background: var(--gray); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }

footer { padding: 44px 0 56px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
footer a { color: var(--muted); margin-right: 18px; }

@media (max-width: 960px) {
  section { padding: 64px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip > :first-child { order: 0; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .signin { display: none; }
  .card, .tile { padding: 22px; }
  .ctas .btn { width: 100%; }
  .doc { padding: 40px 16px 64px; }
  .steps > div { padding: 18px 18px 18px 64px; }
  .steps > div::before { left: 16px; top: 18px; }
}

/* ── Added 10/19: marketing pages (how-it-works, portal, "Sound familiar?") ── */
/* keeps the 5-link nav from crowding just above the phone breakpoint */
@media (min-width: 961px) and (max-width: 1100px) { .nav-links { gap: 18px; } }

/* "Sound familiar?" problem line, in the agent's voice */
.familiar { font-size: 16px; font-style: italic; color: var(--muted); border-left: 3px solid var(--red); padding: 2px 0 2px 14px; margin-bottom: 18px; max-width: 620px; }
.familiar b { display: block; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.center .familiar, .familiar.c { display: inline-block; text-align: left; margin-left: auto; margin-right: auto; }

/* short price line before the closing band */
.price-line { text-align: center; font-size: 17px; font-weight: 600; color: var(--ink); }
.price-line a { font-weight: 700; }

/* accessible tabs: wrap on desktop, scroll sideways on phones */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.tab { flex: none; font: 600 15px 'Inter', sans-serif; color: var(--body); background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 10px 18px; min-height: 44px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.tab:hover { border-color: #C9CDD3; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab:focus-visible { outline: 3px solid #7DD3FC; outline-offset: 2px; }
.tab-panel { margin-top: 32px; }
.tab-panel[hidden] { display: none; }
.tab-panel:focus-visible { outline: 3px solid #7DD3FC; outline-offset: 6px; border-radius: 8px; }
@media (max-width: 760px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; padding: 4px 2px 10px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { scroll-snap-align: start; }
}

/* client-progress stage chips */
.stages { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: stage; margin-top: 14px; }
.stages li { counter-increment: stage; display: inline-flex; align-items: center; gap: 8px; background: var(--blue-soft); color: var(--blue); font-size: 15px; font-weight: 600; padding: 7px 14px 7px 8px; border-radius: 99px; }
.stages li::before { content: counter(stage); width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font: 800 12px 'Plus Jakarta Sans', sans-serif; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.stages-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stages-box h3 { font-size: 16px; }
.stages-box .fine { margin-top: 12px; }

/* step with two columns: you / your client */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.duo > div { border-radius: 10px; padding: 12px 14px; font-size: 15.5px; }
.duo .you { background: var(--gray); }
.duo .them { background: var(--blue-soft); }
.duo .who { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.duo .them .who { color: var(--blue); }
.duo .stage { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #fff; background: var(--blue); padding: 3px 10px; border-radius: 99px; }
@media (max-width: 640px) { .duo { grid-template-columns: 1fr; } }

/* video frames (poster may be missing: the gray box still looks fine) */
.vframe { background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(16,24,40,.25), var(--shadow); border: 1px solid var(--line); min-width: 0; }
.vframe .vbox { aspect-ratio: 16 / 10; background: var(--gray-2); border-radius: 12px; overflow: hidden; }
.vframe video { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.vframe.phone { max-width: 320px; margin: 0 auto; border-radius: 36px; padding: 12px; }
.vframe.phone .vbox { aspect-ratio: 9 / 19.5; border-radius: 26px; }
.vframe.phone video { object-fit: cover; }

/* problem quote block */
.quote { position: relative; font: 600 clamp(19px, 2.2vw, 24px)/1.4 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--ink); background: var(--red-soft); border-radius: var(--radius); padding: 24px 26px 24px 58px; letter-spacing: -0.01em; }
.quote::before { content: "\201C"; position: absolute; left: 18px; top: 6px; font: 800 56px/1 'Plus Jakarta Sans', serif; color: var(--red); }
