/* Layout: white, flat and roomy like the chosen logo. Navy for type and the primary button, steel blue
   for accents, one pale-blue band for the client section. Light only, like the forms clients fill in. */
:root {
  color-scheme: light;
  --white: #ffffff;
  --paper: #f5f7fa;
  --tint: #eef3f8;
  --line: #dfe4ea;
  --navy: #0f2441;
  --ink: #1c2a3a;
  --muted: #5b6878;
  --steel: #3f6e9c;
  --steel-dark: #2f5a85;
  --green: #2f7a55;
  --green-tint: #e7f3ec;

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: rgba(63, 110, 156, .15); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}
a { color: var(--steel); }
a:hover { color: var(--steel-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--white); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--font-body); text-decoration: none; white-space: nowrap;
  padding: 14px 22px; border-radius: 10px; border: 1.5px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: #1b3a63; color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--steel); color: var(--navy); }
.btn:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }
.btn-sm { padding: 10px 16px; font-size: 15px; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); }
.nav .wrap { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; text-decoration: none; margin-right: auto; }
.brand svg { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--navy); }
.nav-client { display: none; font-weight: 500; font-size: 15px; color: var(--muted); text-decoration: none; white-space: nowrap; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-client { display: inline; }
  .nav .wrap { gap: 16px; }
}
@media (max-width: 480px) { .nav .btn-sm { display: none; } .brand svg { height: 28px; } .nav-client { font-weight: 600; color: var(--navy); } }

/* hero */
.hero { padding-block: 80px 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; } .hero { padding-block: 48px 72px; } }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--steel); }
.hero .sub { font-size: 20px; color: var(--muted); max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.client-hint { font-size: 15px; color: var(--muted); }
.client-hint a { font-weight: 600; text-decoration: none; }
.client-hint a:hover { text-decoration: underline; }

/* product mock: the client's form */
.mock { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.firm { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--navy); min-width: 0; }
.firm span:last-child { overflow-wrap: anywhere; }
.mono { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 600 12px/1 var(--font-display); }
.pager { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar { height: 4px; background: var(--tint); }
.bar i { display: block; height: 100%; width: 60%; background: var(--steel); }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-title { font: 600 19px/1.2 var(--font-display); color: var(--navy); }
.field { display: grid; gap: 6px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font-size: 15px; background: var(--white); min-width: 0; }
.input > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.field.changed .input { border-color: var(--green); background: #fbfefc; }
.tag { flex: none; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag-crm { background: var(--tint); color: var(--steel-dark); }
.tag-new { background: var(--green-tint); color: var(--green); }
.was { font-size: 12.5px; color: var(--muted); }
.mock-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.mock-foot .count { font-size: 13px; color: var(--muted); }
.fake-btn { font: 600 14px/1 var(--font-body); background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; white-space: nowrap; }

/* proof line */
.points { border-block: 1px solid var(--line); background: var(--paper); }
.points ul { list-style: none; margin: 0 auto; padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; font-size: 15px; font-weight: 500; color: var(--navy); }
.points li { display: flex; align-items: center; gap: 10px; }
.points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }

/* product rows */
.rows { padding-block: 104px; display: grid; gap: 112px; }
@media (max-width: 760px) { .rows { padding-block: 72px; gap: 72px; } }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.row.flip .row-copy { order: 2; }
@media (max-width: 900px) { .row { grid-template-columns: minmax(0, 1fr); gap: 32px; } .row.flip .row-copy { order: 0; } }
.row-copy { display: grid; gap: 16px; min-width: 0; }
.row-copy h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; }
.row-copy p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.row-copy ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.row-copy li { padding-left: 26px; position: relative; color: var(--ink); }
.row-copy li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(-45deg); }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; min-width: 0; }
@media (max-width: 480px) { .panel { padding: 16px; } }

/* panel: Altitude CRM record feeding the form */
.sync { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; }
@media (max-width: 560px) { .sync { grid-template-columns: minmax(0, 1fr); } .sync .arrow { transform: rotate(90deg); justify-self: center; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; min-width: 0; }
.card-title { font: 500 12px/1.3 var(--font-body); color: var(--muted); display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.card-title b { color: var(--navy); font: 600 14px/1.2 var(--font-display); }
.kv { display: grid; gap: 2px; font-size: 14px; }
.kv span { color: var(--muted); font-size: 12px; }
.kv strong { font-weight: 500; overflow-wrap: anywhere; }
.arrow { color: var(--steel); }

/* panel: review screen */
.review { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.review-head b { font: 600 15px/1.2 var(--font-display); color: var(--navy); }
.review-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.review-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.review-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.review-table tr:last-child td { border-bottom: 0; }
.review-table .old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(91, 104, 120, .5); }
.review-table .new { color: var(--green); font-weight: 500; }
.table-scroll { overflow-x: auto; }

/* panel: PDF */
.pdf { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 26px; display: grid; gap: 12px; max-width: 360px; margin-inline: auto; box-shadow: 0 1px 0 var(--line), 6px 6px 0 -1px var(--white), 6px 6px 0 0 var(--line); }
.pdf-top { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.pdf-title { font: 600 14px/1.2 var(--font-display); color: var(--navy); }
.pdf-line { height: 6px; border-radius: 3px; background: var(--paper); }
.pdf-field { display: grid; gap: 4px; }
.pdf-field span { font-size: 9.5px; color: var(--muted); }
.pdf-field i { display: block; height: 22px; border: 1.5px solid var(--steel); border-radius: 3px; background: var(--tint); font-style: normal; font-size: 11px; padding: 3px 6px; color: var(--navy); }
.pdf-two { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }

/* also list */
.also { background: var(--paper); border-block: 1px solid var(--line); padding-block: 88px; }
.also h2 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 600; margin-bottom: 36px; }
.also-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
@media (max-width: 860px) { .also-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .also-grid { grid-template-columns: minmax(0, 1fr); } }
.also-grid h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.also-grid p { color: var(--muted); font-size: 16px; }

/* security */
.security { padding-block: 104px; }
.security .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .security .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; } .security { padding-block: 72px; } }
.security h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; }
.security .intro { display: grid; gap: 16px; }
.security .intro p { color: var(--muted); font-size: 18px; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; }
.sec-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.sec-list li:last-child { border-bottom: 1px solid var(--line); }
.sec-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; }
.sec-ico svg path, .sec-ico svg rect, .sec-ico svg circle { stroke: var(--steel-dark); }
.sec-list h3 { font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.sec-list p { color: var(--muted); font-size: 15.5px; }

/* clients */
.clients { background: var(--tint); padding-block: 96px; }
.clients .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .clients .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .clients { padding-block: 72px; } }
.clients-copy { display: grid; gap: 16px; }
.clients-copy h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; }
.clients-copy p { font-size: 18px; color: var(--ink); }
.check { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 18px; }
@media (max-width: 480px) { .check { padding: 20px; } }
.check h3 { font-size: 19px; font-weight: 600; }
.check ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: c; }
.check li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; counter-increment: c; font-size: 16px; }
.check li::before { content: counter(c); width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 600 13px/1 var(--font-display); }
.check code { font: 500 14px/1 var(--font-body); background: var(--tint); color: var(--navy); padding: 2px 6px; border-radius: 4px; }
.never { background: #fff7ed; border: 1px solid #f3dcc0; border-radius: 10px; padding: 14px 16px; font-size: 15px; color: #6b4a1f; }
.never b { color: #4d3412; }
.never a { color: #8a4b10; }

/* faq */
.faq-sec { padding-block: 96px; }
.faq-sec h2 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 600; margin-bottom: 28px; }
.faq { max-width: 800px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 600 18px/1.35 var(--font-display); color: var(--navy); position: relative; }
.faq summary:hover { color: var(--steel-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after, .btn { transition: none; } }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 66ch; }

/* closing */
.closing { padding-block: 0 96px; }
.closing .box { border: 1px solid var(--line); border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--paper); }
.closing h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; }
.closing p { color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) { .closing .box { padding: 28px; } }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 48px 36px; font-size: 15px; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-about { grid-column: 1 / -1; } }
.f-about { display: grid; gap: 12px; align-content: start; }
.f-about svg { height: 30px; width: auto; }
.f-head { font: 600 14px/1.2 var(--font-display); color: var(--navy); margin: 0 0 10px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
footer a:hover { color: var(--navy); text-decoration: underline; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; }

/* ─── Inner pages ─────────────────────────────────────────────────────────── */
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 56px 48px; }
.page-head .wrap { display: grid; gap: 14px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 600; max-width: 20ch; }
.page-head .lead { font-size: 20px; color: var(--muted); max-width: 58ch; }

.page-body { padding-block: 64px 96px; }
.page-body .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 72px; align-items: start; }
.page-body.no-toc .wrap { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .page-body .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; } .toc { display: none; } }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); border-left: 2px solid var(--line); padding-left: 18px; display: grid; gap: 10px; font-size: 14px; }
.toc p { font: 600 13px/1.2 var(--font-display); color: var(--navy); margin-bottom: 4px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--navy); }

.prose { max-width: 720px; min-width: 0; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 600; margin-top: 56px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 32px; }
.prose p, .prose li { font-size: 17.5px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--steel); }
.prose strong { color: var(--navy); font-weight: 600; }
.prose code { font: 500 15px/1 var(--font-body); background: var(--tint); color: var(--navy); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 48px; }

.steps-list { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 22px !important; }
.steps-list > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; counter-increment: s; }
.steps-list > li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 600 15px/1 var(--font-display); }
.steps-list h3 { margin-top: 4px !important; font-size: 19px; }
.steps-list p { margin-top: 6px; color: var(--muted); }

.note { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 18px 20px; }
.note.warn { background: #fff7ed; border-color: #f3dcc0; color: #6b4a1f; }
.note.warn strong { color: #4d3412; }
.note.warn a { color: #8a4b10; }
.note.good { background: var(--green-tint); border-color: #c9e4d4; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--white); }
.contact-card h2 { font-size: 20px !important; margin: 0 !important; }
.contact-card p { font-size: 16px !important; color: var(--muted); margin: 0 !important; }
.contact-card .addr { font: 600 16px/1.3 var(--font-body); color: var(--navy); overflow-wrap: anywhere; }
.contact-card .btn { justify-self: start; margin-top: 6px; }
.copy { font: 500 13px/1 var(--font-body); color: var(--steel-dark); background: var(--tint); border: 0; border-radius: 6px; padding: 6px 10px; cursor: pointer; justify-self: start; }
.copy:hover { background: #e1eaf3; }
.copy:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }

.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { margin-bottom: 8px; }
.updated { font-size: 14px; color: var(--muted); }
