/* SilverSurf landing page. Mobile first. Animations run only under html.anim (set when the visitor
   hasn't asked for reduced motion) and only once a section is in view (.in, added by main.js).
   Without either, every mockup shows its end state. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #13304d;
  --navy: #0f2338;
  --blue: #1f5f99;
  --blue-600: #184e7f;
  --silver: #c3cdd7;
  --bg: #eef3f8;
  --white: #ffffff;
  --muted: #4a6076;        /* 5.6:1 on --bg */
  --line: #dbe4ee;
  --line-2: #e8eef5;
  --soft: #f6f9fc;
  --amber: #8a4b06;        /* text on --amber-bg: 6.4:1 */
  --amber-bg: #fff4e0;
  --amber-line: #f2c98a;
  --green: #17683b;
  --green-bg: #e3f4ea;
  --shadow: 0 1px 2px rgba(15, 35, 56, .06), 0 8px 24px rgba(15, 35, 56, .08);
  --shadow-lg: 0 2px 4px rgba(15, 35, 56, .06), 0 18px 48px rgba(15, 35, 56, .14);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; box-shadow: var(--shadow); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------- Buttons, pills, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 1px 2px rgba(15,35,56,.12), 0 6px 16px rgba(31,95,153,.24); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--silver); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 13px; border-radius: 8px; background: var(--white); border: 1px solid var(--amber-line); color: var(--amber); font-weight: 600; }
.btn-xs:hover { background: var(--amber-bg); }

.pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap; letter-spacing: -.005em;
}
.pill-blue { background: #e4eef8; color: var(--blue-600); }
.pill-silver { background: #edf1f5; color: #3c5268; }
.pill-green { background: var(--green-bg); color: var(--green); }
.pill-amber { background: var(--amber-bg); color: var(--amber); }
.pill-outline { border: 1px solid var(--silver); color: var(--ink); background: var(--white); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px;
  border-radius: 7px; background: #eaf2fa; color: var(--blue-600); border: 1px solid #cfe0f0;
  font-size: 12.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.chip::before { content: ""; width: 11px; height: 13px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14' fill='none' stroke='%23000' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 1h5l3 3v9H2z'/%3E%3Cpath d='M7 1v3h3M4 7.5h4M4 10h4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14' fill='none' stroke='%23000' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 1h5l3 3v9H2z'/%3E%3Cpath d='M7 1v3h3M4 7.5h4M4 10h4'/%3E%3C/svg%3E") center / contain no-repeat; }
.chip-xs { height: 22px; font-size: 11.5px; padding: 0 8px 0 6px; gap: 5px; border-radius: 6px; }
.chip-xs::before { width: 10px; height: 12px; }
.chip-amber { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(238, 243, 248, .86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(195, 205, 215, .5); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand .mark { width: 28px; height: 28px; }
.nav-links { display: none; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--blue); }
.nav .btn { margin-left: auto; }
@media (min-width: 760px) { .nav-links { display: flex; } .nav .btn { margin-left: 8px; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.sec-head { max-width: 760px; margin-bottom: 40px; }
@media (min-width: 900px) { .sec-head { margin-bottom: 44px; } }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
h2 { font-size: clamp(2rem, 5.4vw, 3.4rem); }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); margin-top: 18px; line-height: 1.6; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 56px; background:
  radial-gradient(1200px 520px at 50% -10%, #f9fbfd 0%, rgba(249,251,253,0) 70%), var(--bg); }
@media (min-width: 900px) { .hero { padding: 88px 0 96px; } }
.hero-copy { max-width: 860px; margin: 0 auto; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: 0 1px 2px rgba(15,35,56,.05); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(31,95,153,.15); flex: none; }
.hero h1 { margin-top: 22px; font-size: clamp(2.45rem, 7.2vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.02; }
.hero .lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.hero-visual { margin-top: 48px; display: grid; gap: 0; align-items: center; }
@media (min-width: 900px) { .hero-visual { margin-top: 72px; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1.25fr); } }
.hv-left .docstack { position: relative; height: 250px; margin: 18px; }
.doc { position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 2px rgba(15,35,56,.06), 0 6px 18px rgba(15,35,56,.07); }
.doc-back2 { left: 22px; top: 0; width: 64%; height: 200px; transform: rotate(-4deg); background: #f3f6f9; }
.doc-back1 { left: 12px; top: 10px; width: 64%; height: 210px; transform: rotate(-2deg); background: #f8fafc; }
.doc-front { left: 0; top: 22px; width: 66%; height: 222px; padding: 14px 14px; overflow: hidden; }
.doc-head b { display: block; font-size: 11.5px; letter-spacing: -.01em; }
.doc-head span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.lines { display: grid; gap: 7px; margin-top: 12px; }
.lines i { display: block; height: 6px; border-radius: 3px; background: #e5ebf2; }
.lines i.s { width: 62%; }
.scan { position: absolute; left: 0; right: 0; top: 52px; height: 30px; opacity: 0; background: linear-gradient(180deg, rgba(31,95,153,0), rgba(31,95,153,.14) 50%, rgba(31,95,153,0)); border-top: 1px solid rgba(31,95,153,.25); }
.fly { position: absolute; right: 0; top: var(--t); z-index: 2; box-shadow: 0 4px 14px rgba(15,35,56,.14); background: var(--white); }
@media (max-width: 560px) { .doc-front { width: 60%; } .doc-back1, .doc-back2 { width: 58%; } }

.hv-link { position: relative; display: grid; place-items: center; height: 76px; }
.hv-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: linear-gradient(var(--silver), var(--blue), var(--silver)); transform-origin: top; }
.hv-label { position: relative; background: var(--navy); color: var(--white); font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; letter-spacing: .01em; box-shadow: 0 6px 16px rgba(15,35,56,.22); }
@media (min-width: 900px) {
  .hv-link { height: auto; align-self: stretch; }
  .hv-line { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1.5px; background: linear-gradient(90deg, var(--silver), var(--blue), var(--silver)); transform-origin: left; }
}

/* ---------- Window (app chrome) ---------- */
.win { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: linear-gradient(#fbfcfe, #f6f9fc); }
.win-title { font-weight: 650; font-size: 13.5px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 16px; border-bottom: 1px solid var(--line-2); background: var(--soft); white-space: nowrap; }
.tbl td { padding: 11px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; white-space: nowrap; font-weight: 600; }
.tbl .muted { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.tbl td .pill { margin-left: 6px; height: 20px; font-size: 11px; vertical-align: 1px; }
.tbl-tight td { padding: 10px 14px; }
.tbl-tight th { padding: 9px 14px; }
.tbl-scroll { overflow-x: auto; }
.src-m { display: none; }
@media (max-width: 560px) {
  .tbl-holdings th:nth-child(2), .tbl-holdings td:nth-child(2) { display: none; }
  .tbl-holdings td, .tbl-holdings th { padding-left: 12px; padding-right: 12px; }
  .tbl-holdings td:nth-child(3) .chip { margin: 2px 0; }
  .src-m { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
}
@media (max-width: 560px) {
  .hv-right .tbl th:nth-child(2), .hv-right .tbl td:nth-child(2) { display: none; }
}

/* ---------- The problem ---------- */
.pains { padding: 8px 0 56px; }
.pain-list { display: grid; gap: 12px; }
@media (min-width: 1100px) { .pain-list { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.pain-list li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.6); border: 1px solid var(--line); }
.pain-list p { font-size: 15px; font-weight: 550; line-height: 1.45; color: var(--ink); text-wrap: balance; }
.ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: #e4edf6; display: grid; place-items: center; }
.ic svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 48px; height: 48px; border-radius: 13px; }
.ic-lg svg { width: 26px; height: 26px; }

/* ---------- Who it's for ---------- */
.roles { padding-top: 0; }
.roles .sec-head { margin-bottom: 24px; }
.role-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .role-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .role-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.role { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 1px 2px rgba(15,35,56,.04); display: flex; flex-direction: column; gap: 12px; }
.role-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.role p { font-size: 18px; font-weight: 650; line-height: 1.3; letter-spacing: -.015em; }
.role-viz { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.log, .mini-ans { display: grid; gap: 1px; font-size: 12.5px; }
.log b, .mini-ans b { font-size: 13.5px; }
.log span, .mini-ans span { color: var(--muted); }
.mini-ans b { font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- Product cards ---------- */
.products { padding-top: 0; }
.cards2 { display: grid; gap: 20px; }
@media (min-width: 1024px) { .cards2 { grid-template-columns: 1fr 1fr; gap: 28px; } }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
@media (min-width: 900px) { .pcard { padding: 34px; } }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .02em; }
.pcard h3 { font-size: clamp(1.6rem, 3vw, 2rem); margin-top: 16px; }
.pcard > p { color: var(--muted); margin-top: 12px; margin-bottom: 24px; font-size: 16.5px; }
.mini { background: var(--soft); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; display: grid; gap: 8px; margin-top: auto; }
.mini-row { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line-2); border-radius: 9px; padding: 9px 11px; font-size: 13.5px; min-width: 0; }
.mini-q { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.mini-v { font-weight: 650; font-variant-numeric: tabular-nums; }
.mini-bar { height: 6px; border-radius: 3px; background: #e3eaf1; overflow: hidden; margin: 4px 2px 2px; }
.mini-bar span { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--blue), #4f87bb); border-radius: 3px; }
.ck { width: 18px; height: 18px; border-radius: 50%; background: var(--green); flex: none; position: relative; }
.ck::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ck-warn { background: #c27612; }
.ck-warn { display: grid; place-items: center; }
.ck-warn::after { content: "!"; position: static; width: auto; height: auto; border: 0; transform: none; color: #fff; font-size: 12.5px; font-weight: 800; line-height: 1; }

/* ---------- Homepage product rows ---------- */
.prow { display: grid; gap: 28px; align-items: center; }
.prow + .prow { margin-top: 72px; }
@media (min-width: 960px) { .prow + .prow { margin-top: 120px; } }
@media (min-width: 960px) {
  .prow { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
  .prow-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .prow-flip .prow-copy { order: 2; }
}
.prow-copy h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-top: 16px; }
.prow-copy > p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }
.ptitles { counter-reset: s; display: grid; gap: 8px; margin-top: 20px; }
.ptitles li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; font-weight: 600; font-size: 15.5px; }
.ptitles li::before { content: counter(s); flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--white); border: 1px solid var(--line); color: var(--blue); font-size: 12.5px; font-weight: 700; transform: translateY(-1px); }
.prow-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; }
.more { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prow-copy .hint { font-size: 14px; color: var(--blue); font-weight: 600; margin-top: 14px; }
@media (min-width: 960px) { .prow-flip .hint { display: none; } }
.engine { display: flex; align-items: center; gap: 0; margin: 36px auto; max-width: 420px; }
@media (min-width: 960px) { .engine { margin: 56px auto; } }
.engine-line { flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--silver), var(--blue), var(--silver)); }
.engine-copy { max-width: 760px; margin: 64px auto 0; text-align: center; }
@media (min-width: 960px) { .engine-copy { margin-top: 96px; } }
.engine-copy h3 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.engine-copy p { color: var(--muted); margin-top: 14px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); }

/* ---------- Who it's for: whole card links to its product ---------- */
.role { position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.role:hover { border-color: var(--silver); box-shadow: var(--shadow); }
.role-link { font-size: 13.5px; font-weight: 600; text-decoration: none; }
.role-link::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.role-link:focus-visible::after { outline: 2px solid var(--blue); outline-offset: 2px; }
.role-link:focus-visible { outline: none; }

/* ---------- Product pages ---------- */
.page-top { padding-top: 56px; }
@media (min-width: 900px) { .page-top { padding-top: 88px; } }
.page-top h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); letter-spacing: -0.04em; }
.dark.page-top + .cta-band { border-top: 0; }
.cta-band { background: var(--white); border-top: 1px solid var(--line); }
.cta-in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-in { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.next-link { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.next-link a { font-weight: 650; text-decoration: none; }
.next-link a:hover { text-decoration: underline; }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 650; }

/* ---------- Steps ---------- */
.step { display: grid; gap: 24px; align-items: center; padding: 28px 0; }
@media (min-width: 900px) {
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 44px 0; }
  .step:nth-of-type(even) .step-copy { order: 2; }
  .step:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .step-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .step.step-wide .step-copy { order: 0; }
  .step.step-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--white); border: 1px solid var(--line); color: var(--blue); font-weight: 700; font-size: 14px; box-shadow: 0 1px 2px rgba(15,35,56,.05); }
.step-copy h3, .step-copy .step-title { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-top: 16px; }
.step-copy p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }
.step-copy .hint { font-size: 14px; color: var(--blue); font-weight: 600; margin-top: 16px; }
.step-visual { min-width: 0; }

/* Step 1: drop zone */
.dropzone { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px; background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(195,205,215,.18) 22px 23px); }
@media (min-width: 560px) { .dropzone { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dcard { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px; box-shadow: 0 1px 2px rgba(15,35,56,.05), 0 4px 12px rgba(15,35,56,.06); min-width: 0; }
.dcard b { display: block; font-size: 13px; line-height: 1.25; margin-top: 10px; letter-spacing: -.01em; }
.dcard span:last-child { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.dicon { display: inline-grid; place-items: center; width: 30px; height: 36px; border-radius: 4px; background: #fdecec; color: #a12d2d; font-size: 9.5px; font-weight: 800; letter-spacing: .03em; position: relative; }
.dicon.xls { background: #e6f4ec; color: #17683b; }

/* Step 2: checklist + viewer */
.cl-body { display: grid; grid-template-columns: minmax(0, 1fr); }
.cl-body > * { min-width: 0; }
@media (min-width: 700px) { .cl-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cl-list { border-bottom: 1px solid var(--line-2); padding: 6px; display: grid; gap: 2px; align-content: start; }
@media (min-width: 700px) { .cl-list { border-bottom: 0; border-right: 1px solid var(--line-2); } }
.cl-row { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; background: transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.cl-row:hover { background: var(--soft); }
.cl-row[aria-pressed="true"] { background: #eaf2fa; border-color: #cfe0f0; }
.cl-cat { grid-column: 1 / -1; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cl-q { font-size: 13.5px; font-weight: 600; }
.cl-a { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.cl-row .chip { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
.viewer { background: #e9eef4; padding: 14px; display: grid; gap: 10px; align-content: start; min-height: 330px; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.viewer-doc { font-size: 12.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page { position: relative; background: var(--white); border-radius: 6px; box-shadow: 0 1px 2px rgba(15,35,56,.08), 0 8px 22px rgba(15,35,56,.1); padding: 22px 20px 26px; min-height: 280px; overflow: hidden; }
.page-n { position: absolute; right: 12px; bottom: 8px; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lines-page { margin-top: 0; gap: 9px; }
.hl { position: absolute; left: 14px; right: 14px; top: var(--hl-top); padding: 9px 11px; background: #fff3c4; border: 1px solid #f0d77a; border-radius: 6px; font-size: 12.5px; line-height: 1.45; color: #3b2f05; box-shadow: 0 4px 14px rgba(120, 90, 0, .12); transition: top .45s var(--ease), opacity .3s; }
.viewer.swap .hl { opacity: 0; }

/* Step 3: flags */
.flags { padding: 10px; display: grid; gap: 8px; }
.flag { display: flex; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--amber-bg); border: 1px solid var(--amber-line); }
.flag-ic { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #c27612; color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }
.flag b { display: block; font-size: 14px; font-weight: 650; color: #4a2a03; line-height: 1.35; }
.flag .chips { margin-top: 8px; }
.flag small { display: block; font-size: 12px; color: var(--amber); margin-top: 6px; font-weight: 600; }

/* Step 4: Q&A + export */
.qa { padding: 16px; display: grid; gap: 12px; }
.bubble { border-radius: 14px; padding: 12px 14px; font-size: 14px; max-width: 92%; }
.bubble-q { justify-self: end; background: var(--ink); color: var(--white); border-bottom-right-radius: 4px; font-weight: 500; }
.bubble-a { background: var(--soft); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.bubble-a .chips { margin-top: 10px; }
.export { display: grid; gap: 14px; justify-items: start; border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 2px; }
@media (min-width: 560px) { .export { grid-template-columns: auto 1fr; align-items: center; gap: 18px; } }
.packet { position: relative; height: 136px; width: 100%; max-width: 240px; }
.pk { position: absolute; top: 0; width: 76px; height: 98px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 4px 12px rgba(15,35,56,.1); padding: 9px 8px; transition: transform .6s var(--ease), opacity .4s; }
.pk::after { content: ""; position: absolute; left: 8px; right: 8px; top: 42px; height: 40px; background: repeating-linear-gradient(#e5ebf2 0 4px, transparent 4px 9px); }
.pk b { display: block; font-size: 10.5px; letter-spacing: -.01em; }
.pk span { display: block; font-size: 9.5px; color: var(--muted); }
.pk1 { left: 0; transform: rotate(-3deg); background: var(--ink); color: var(--white); border-color: var(--ink); z-index: 1; }
.pk1 span { color: var(--silver); }
.pk1::after { background: repeating-linear-gradient(rgba(255,255,255,.18) 0 4px, transparent 4px 9px); }
.pk2 { left: 50px; transform: rotate(-1deg); z-index: 2; }
.pk3 { left: 100px; transform: rotate(1deg); z-index: 3; }
.pk4 { left: 150px; transform: rotate(3deg); z-index: 4; }
.packet-name { position: absolute; left: 0; top: 112px; font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.packet-name::before { content: "PDF · "; color: #a12d2d; font-weight: 800; }

.callouts { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 800px) { .callouts { grid-template-columns: repeat(3, 1fr); margin-top: 48px; } }
.callouts li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 50px; position: relative; font-weight: 600; font-size: 15.5px; box-shadow: 0 1px 2px rgba(15,35,56,.04); }
.callouts li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); }
.callouts li::after { content: ""; position: absolute; left: 25px; top: 24px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Dark (Portfolio) ---------- */
.dark { background: var(--navy); color: #e8eef5; }
.dark h2, .dark h3 { color: var(--white); }
.dark .eyebrow { color: #9cc3e8; }
.dark .lead, .dark .step-copy p { color: #b3c3d4; }
.dark .step-n { background: #18324f; border-color: #26476b; color: #9cc3e8; box-shadow: none; }
.dark .win { border-color: #26476b; box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 24px 60px rgba(0,0,0,.35); color: var(--ink); }

.inbox { display: grid; gap: 14px; padding: 14px; }
.mail { display: grid; gap: 8px; }
.mail li { display: grid; grid-template-columns: auto 1fr auto; gap: 1px 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); font-size: 13px; }
.mail .chip { grid-row: 1 / span 2; background: #fdecec; color: #a12d2d; border-color: #f4caca; }
.mail b { font-weight: 650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail .subj { grid-column: 2; color: var(--muted); font-size: 12.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail .sorted { grid-column: 3; grid-row: 1 / span 2; }
.bins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .bins { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bin { background: var(--soft); border: 1px solid var(--line-2); border-left: 3px solid var(--blue); border-radius: 10px; padding: 10px 12px; }
.bin span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.bin b { display: block; font-size: 22px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }

.extract { padding: 8px; display: grid; gap: 4px; }
.xrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 12px; border-radius: 10px; border: 1px solid transparent; }
.xrow:not(:last-child) { border-bottom-color: var(--line-2); border-radius: 0; }
.xrow .xk { font-size: 12px; color: var(--muted); font-weight: 600; grid-column: 1; }
.xrow .xv { margin: 0; font-size: 15.5px; font-weight: 650; grid-column: 1; font-variant-numeric: tabular-nums; }
.xrow .xv small { display: block; font-size: 12px; font-weight: 500; color: var(--amber); }
.xrow .chip { grid-column: 2; grid-row: 1; justify-self: end; }
.xrow .ok, .xrow .btn-xs { grid-column: 2; grid-row: 2; justify-self: end; }
.ok { width: 22px; height: 22px; border-radius: 50%; background: var(--green-bg); position: relative; }
.ok::after { content: ""; position: absolute; left: 8px; top: 4.5px; width: 5px; height: 10px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.xrow-review { background: var(--amber-bg); border-color: var(--amber-line) !important; border-radius: 10px !important; }
.xrow-review.approved { background: var(--green-bg); border-color: #b9e1c9 !important; }
.xrow-review.approved .xv small { display: none; }
.xrow-review.approved .chip { background: #eaf2fa; color: var(--blue-600); border-color: #cfe0f0; }

.ask { border-top: 1px solid var(--line-2); padding: 14px; display: grid; gap: 10px; background: var(--soft); }
.ask-bar { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; box-shadow: 0 1px 2px rgba(15,35,56,.05); }
.ask-ic { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--blue); position: relative; flex: none; }
.ask-ic::after { content: ""; position: absolute; width: 6px; height: 2px; background: var(--blue); right: -6px; bottom: -3px; transform: rotate(45deg); }
.ask-q { font-weight: 550; }
.ask-a { font-size: 14px; }
.ask-a .chips { margin-top: 8px; }

/* ---------- Security ---------- */
.security { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tiles { display: grid; gap: 14px; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.tiles li { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: linear-gradient(#fbfcfe, var(--white)); }
.tiles p { margin-top: 18px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.fineprint { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 28px; }

/* ---------- Signup ---------- */
.signup-in { display: grid; gap: 32px; }
@media (min-width: 900px) { .signup-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.talk { margin-top: 22px; font-weight: 600; }
.talk a { text-decoration: underline; text-underline-offset: 3px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 16px; }
@media (min-width: 560px) { .form { grid-template-columns: 1fr 1fr; padding: 30px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field-full, .form .btn, .form-error, .form-ok { grid-column: 1 / -1; }
.field label, .checks legend { font-size: 14px; font-weight: 600; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #c9d5e1; border-radius: 10px; background: var(--white); padding: 11px 12px; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,95,153,.18); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field textarea { resize: vertical; }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks legend { margin-bottom: 8px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: stretch; }
@media (min-width: 560px) { .form .btn { justify-self: start; } }
.form-error { color: #b42318; font-size: 14px; font-weight: 600; }
.form-ok { background: var(--green-bg); color: var(--green); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.form.done .field, .form.done .btn, .form.done .checks { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b3c3d4; padding: 28px 0; font-size: 14px; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer a { color: #e8eef5; text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }

/* =========================================================================
   Motion. Initial states apply only under .anim; [data-reveal].in plays them.
   ========================================================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-26px) scale(.97); } 70% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); background: #eaf2fa; } 60% { background: #eaf2fa; } to { opacity: 1; transform: none; background: transparent; } }
@keyframes fly { 0% { opacity: 0; transform: translate(-110px, 12px) scale(.85); } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(150px); opacity: 0; } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.85); } 100% { opacity: 1; transform: none; } }
@keyframes check { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes out { 0% { opacity: 1; transform: none; } 100% { opacity: .45; transform: translateX(10px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes travel { from { left: 0; } to { left: calc(100% - 260px); } }
@keyframes travelY { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.anim [data-reveal] .a-fade,
.anim [data-reveal] .a-drop,
.anim [data-reveal] .a-slide,
.anim [data-reveal] .a-row,
.anim [data-reveal] .a-pop,
.anim [data-reveal] .a-fly { opacity: 0; }
.anim [data-reveal] .a-check { transform: scale(0); }
.anim [data-reveal] .a-grow { transform: scaleX(0); transform-origin: left; }
.anim [data-reveal] .a-line { transform: scaleY(0); }
.anim [data-reveal] .a-track { transform: scaleY(0); }
.anim [data-reveal] .a-scan { opacity: 0; }

.anim [data-reveal].in .a-fade { animation: fadeUp .6s var(--ease) var(--d, 0s) both; }
.anim [data-reveal].in .a-drop { animation: drop .7s var(--ease) var(--d, 0s) both; }
.anim [data-reveal].in .a-slide { animation: slideIn .6s var(--ease) var(--d, 0s) both; }
.anim [data-reveal].in .a-row { animation: rowIn .9s var(--ease) var(--d, 0s) both; }
.anim [data-reveal].in .a-pop { animation: pop .45s var(--ease) var(--d, 0s) both; }
.anim [data-reveal].in .a-fly { animation: fly 1.1s var(--ease) var(--d, 0s) both; }
.anim [data-reveal].in .a-check { animation: check .35s var(--ease) var(--d, 0s) both; }
.anim [data-reveal].in .a-grow { animation: growX 1.2s var(--ease) var(--d, 0s) both; }
.anim [data-reveal].in .a-line { animation: growY 1s var(--ease) .6s both; }
.anim [data-reveal].in .a-scan { animation: scan 2.2s ease-in-out .2s 1 both; }
.anim [data-reveal].in .a-pulse { animation: pulse 1.2s ease-in-out 2; }
.anim [data-reveal].in .a-out { animation: out .5s var(--ease) var(--d, 0s) both; }
.anim [data-reveal].in .a-track { animation: growY 2.6s var(--ease) .2s both; }
@media (min-width: 900px) { .anim [data-reveal] .a-line { transform: scaleX(0); } .anim [data-reveal].in .a-line { animation-name: growX; } }
@media (min-width: 820px) {
  .anim [data-reveal] .a-track { transform: scaleX(0); }
  .anim [data-reveal].in .a-track { animation-name: growX; }
  .anim [data-reveal] .a-travel { left: 0; }
  .anim [data-reveal].in .a-travel { animation: travel 2.6s cubic-bezier(.45,.05,.25,1) .2s both; }
}
@media (max-width: 819.98px) { .anim [data-reveal] .a-travel { opacity: 0; } .anim [data-reveal].in .a-travel { animation: travelY .6s var(--ease) 2.6s both; } }

/* Export packet: fanned out when built; stacked flat before. */
.anim .packet:not(.built) .pk { transform: translateX(-30px) rotate(0); opacity: 0; }
.anim .packet:not(.built) .packet-name { opacity: 0; }
.packet-name { transition: opacity .4s .7s; }
.packet .pk2 { transition-delay: .12s; } .packet .pk3 { transition-delay: .24s; } .packet .pk4 { transition-delay: .36s; }


/* =========================================================================
   Visual refresh: dark hero with converging-line art, framed white panel,
   instrument labels, pill buttons with arrow badges, step accordions.
   ========================================================================= */
.btn { border-radius: 999px; }
.btn-sm { border-radius: 999px; }
.btn-arrow { padding-right: 7px; gap: 12px; }
.btn-sm.btn-arrow { padding-right: 5px; gap: 10px; }
.btn-arrow::after { content: ""; width: 34px; height: 34px; border-radius: 50%; flex: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231f5f99' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .2s var(--ease); }
.btn-sm.btn-arrow::after { width: 30px; height: 30px; background-size: 13px; }
.btn-ghost.btn-arrow::after { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / 15px no-repeat; }
.btn-glass { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.24); }
.btn-glass:hover { background: rgba(255,255,255,.13); }
.btn-glass.btn-arrow::after { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230f2338' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / 15px no-repeat; }
.btn-arrow:hover::after { transform: translateX(2px); }

.label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0; }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: currentColor; box-shadow: 0 0 0 3px rgba(31,95,153,.14); }
.label-center { display: flex; justify-content: center; }
.sec-head .label { margin-bottom: 16px; }

/* Nav over the dark hero (homepage) */
.home .nav { background: rgba(15, 35, 56, .84); border-bottom-color: rgba(255,255,255,.08); }
.home .brand, .home .nav-links a { color: #fff; }
.home .nav-links a:hover { color: #9cc3e8; }

/* Dark hero */
.hero-dark { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 600px at 76% 40%, rgba(31,95,153,.38), rgba(31,95,153,0) 70%),
  radial-gradient(700px 500px at 10% 0%, rgba(195,205,215,.10), rgba(195,205,215,0) 70%), var(--navy);
  padding: 64px 0 72px; }
@media (min-width: 900px) { .hero-dark { padding: 120px 0 112px; } }
.hero-dark { min-height: min(76vh, 720px); display: flex; align-items: center; }
.hero-dark > .wrap { width: 100%; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-art line { stroke: rgba(195,205,215,.16); stroke-width: 1; }
.hero-art line.hi { stroke: rgba(122,170,218,.55); stroke-width: 1.2; }
.hero-art circle { fill: rgba(195,205,215,.45); }
.hero-art circle.hi { fill: #9cc3e8; }
.hero-dark .wrap { position: relative; }
.hero-dark .hero-copy { text-align: left; max-width: 1040px; margin: 0; }
.hero-dark h1 { margin-top: 24px; font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.045em; line-height: 1.02; color: #fff; max-width: 860px; }
.hero-dark h1 .accent { color: #9cc3e8; font-weight: 400; }
.hero-dark .lead { color: #fff; max-width: 620px; margin-left: 0; margin-right: 0; margin-top: 26px; }
.hero-dark .cta-row { justify-content: flex-start; margin-top: 34px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #b9c8d8; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: #9cc3e8; box-shadow: 0 0 0 4px rgba(156,195,232,.18); flex: none; }
.hero-dark .hero-visual { margin-top: 56px; }
@media (min-width: 900px) { .hero-dark .hero-visual { margin-top: 88px; } }
.hero-dark .hv-label { background: #fff; color: var(--navy); }
.hero-dark .hv-line { background: linear-gradient(rgba(195,205,215,.2), #9cc3e8, rgba(195,205,215,.2)); }
@media (min-width: 900px) { .hero-dark .hv-line { background: linear-gradient(90deg, rgba(195,205,215,.2), #9cc3e8, rgba(195,205,215,.2)); } }
.hero-dark .win { color: var(--ink); border-color: rgba(255,255,255,.12); box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 30px 70px rgba(0,0,0,.35); }

/* Line art draws itself once on load */
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes nodeIn { from { opacity: 0; } to { opacity: 1; } }
.anim .hero-art line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.3,.6,.2,1) var(--d, 0s) forwards; }
.anim .hero-art circle { opacity: 0; animation: nodeIn .8s ease var(--d, 0s) forwards; }

/* Framed body: content sits on a white panel floating on the navy frame */
.frame { background: var(--navy); padding: 0 10px 10px; }
@media (min-width: 768px) { .frame { padding: 0 22px 22px; } }
.panel { background: var(--white); border-radius: 22px; overflow: hidden; overflow: clip; }
@media (min-width: 768px) { .panel { border-radius: 30px; } }
.panel .pains { padding: 48px 0 8px; }
@media (min-width: 900px) { .panel .pains { padding-top: 64px; } }
.panel .pains .label { margin-bottom: 18px; }
.panel .pain-list li { background: var(--soft); border-color: var(--line-2); }
.panel .role, .panel .tiles li { background: var(--soft); border-color: var(--line-2); }
.panel .security { background: transparent; border: 0; }
.panel .signup { background: var(--soft); border-top: 1px solid var(--line-2); }
.home .footer { padding-top: 22px; }
.pcard-top .label { margin: 0; }
.panel .products { padding-top: 40px; }
@media (min-width: 900px) { .panel .products { padding-top: 56px; } }
.panel .products { padding-bottom: 24px; }
@media (min-width: 900px) { .panel .products { padding-bottom: 40px; } }

/* Step accordions on the homepage */
.accs { margin-top: 22px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; gap: 14px; padding: 14px 2px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc-n { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line); color: var(--blue); font-size: 12.5px; font-weight: 700; }
.acc-t { flex: 1; font-weight: 600; font-size: 15.5px; }
.acc-ic { position: relative; width: 16px; height: 16px; flex: none; }
.acc-ic::before, .acc-ic::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1.6px; background: var(--ink); border-radius: 1px; transition: transform .25s var(--ease); }
.acc-ic::after { transform: rotate(90deg); }
.acc[open] .acc-ic::after { transform: rotate(0deg); }
.acc[open] .acc-n { background: var(--blue); border-color: var(--blue); color: #fff; }
.acc p { padding: 0 2px 16px 38px; color: var(--muted); font-size: 15px; }
.acc summary:hover .acc-t { color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Homepage product cards (lean) */
.panel .pcard { background: var(--soft); border-color: var(--line-2); box-shadow: none; gap: 0; }
.pcard .label { margin-bottom: 4px; }
.pcard > p:not(.label) { margin-bottom: 22px; }
.pcard .mini { background: var(--white); }
.pcard .prow-links { margin-top: 22px; }
@media (max-width: 420px) { .mini-row .chip { display: none; } }

/* AUM as pill options instead of a dropdown */
.pills { border: 0; padding: 0; margin: 0; }
.pills legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.pill-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pill-row .opt-pill:last-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .pill-row { display: flex; flex-wrap: wrap; gap: 6px; } .pill-row .opt-pill { flex: 1 1 auto; } .opt-pill span { font-size: 13.5px; padding: 0 12px; } }
.opt-pill { position: relative; cursor: pointer; }
.opt-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-pill span { display: flex; justify-content: center; align-items: center; height: 42px; padding: 0 8px; border-radius: 999px; border: 1px solid #c9d5e1; background: var(--white); font-size: 14px; font-weight: 550; color: var(--ink); transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.opt-pill:hover span { border-color: var(--blue); }
.opt-pill input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.opt-pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt-pill input[aria-invalid="true"] + span { border-color: #b42318; }

/* ---------- Team strip (top of the panel) ---------- */
.team { padding: 28px 0 0; }
@media (min-width: 900px) { .team { padding-top: 36px; } }
.team-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); text-align: center; }
.team-lead { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.team-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.team-list li { font-size: 17px; font-weight: 650; letter-spacing: -.01em; color: var(--ink); opacity: .72; }
.team-list li + li { position: relative; }
@media (min-width: 640px) { .team-list li + li::before { content: ""; position: absolute; left: -15px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--silver); transform: translateY(-50%); } }
.panel .team + .pains { padding-top: 40px; }
@media (min-width: 900px) { .panel .team + .pains { padding-top: 52px; } }

/* ---------- Product pages: dark hero + panel, matching the homepage ---------- */
.hero-sub { min-height: 0; }
@media (min-width: 900px) { .hero-sub { padding: 104px 0 120px; } }
.hero-sub h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); max-width: 780px; }
.panel .steps { padding-top: 40px; }
@media (min-width: 900px) { .panel .steps { padding-top: 64px; } }
.step-copy .label + .step-title { margin-top: 14px; }
.panel .step-visual .win { box-shadow: 0 1px 2px rgba(15,35,56,.05), 0 18px 48px rgba(15,35,56,.10); }

.callouts li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.callouts li::before, .callouts li::after { content: none; }
.callouts li p { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.45; color: var(--ink); text-wrap: balance; }
.panel .callouts li { background: var(--soft); border-color: var(--line-2); box-shadow: none; }

.cta-sec { padding-top: 24px; }
.cta-card { position: relative; overflow: hidden; display: grid; gap: 28px; align-items: center; padding: 36px 28px; border-radius: 22px; color: #fff; background:
  radial-gradient(600px 360px at 85% 20%, rgba(31,95,153,.45), rgba(31,95,153,0) 70%), var(--navy); }
@media (min-width: 860px) { .cta-card { grid-template-columns: 1fr auto; gap: 48px; padding: 56px; } }
.cta-card h2 { color: #fff; font-weight: 300; letter-spacing: -0.04em; font-size: clamp(2rem, 4vw, 3rem); margin-top: 18px; }
.cta-card .lead { color: #fff; margin-top: 12px; }
.panel .next-link { border-top-color: var(--line-2); }
.step-copy p.label { color: var(--blue); font-size: 12px; margin-top: 0; }
.cta-card .lead { text-wrap: pretty; max-width: 520px; }

/* ---------- Diligence: multi-type workspace, tabs, review record ---------- */
/* "Sample data" tag on the corner of every mockup */
.step-visual, .mini { position: relative; }
.sample { position: absolute; top: -10px; right: 14px; z-index: 3; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--muted); font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 1px 2px rgba(15,35,56,.06); pointer-events: none; }
.mini .sample { top: -10px; right: 10px; }

/* Step 1: deals workspace */
.deals { display: grid; gap: 10px; padding: 14px; background: var(--soft); }
.deal { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0; display: grid; gap: 6px; align-content: start; box-shadow: 0 1px 2px rgba(15,35,56,.04); }
.deal b { display: block; font-size: 13.5px; line-height: 1.3; letter-spacing: -.01em; }
.deal .pill { justify-self: start; height: 20px; font-size: 11px; padding: 0 8px; }
.deal-meta { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 1.4em; }
.deal-row { display: grid; gap: 10px; }
@media (min-width: 560px) { .deal-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.deal-new { border-color: #cfe0f0; box-shadow: 0 0 0 3px rgba(31,95,153,.08), 0 6px 18px rgba(15,35,56,.08); }
.deal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.deal-top > div { display: grid; gap: 6px; }
.deal-top b { font-size: 15px; }
.deal-drops { display: flex; gap: 4px; flex: none; padding-top: 2px; }
.dicon-sm { width: 22px; height: 27px; font-size: 7.5px; border-radius: 3px; }
.deal-docs { display: grid; grid-template-rows: 1fr; }
.deal-docs > ul { min-height: 0; overflow: hidden; display: grid; gap: 0; }
.deal-docs li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); }
.deal-docs li:first-child { margin-top: 4px; }
.deal-docs li b { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deal-docs li > span:last-child { font-size: 11.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* The new deal's document list fades in row by row inside space that's already reserved, so nothing below moves. */

/* Step 2: type tabs */
.cl-tabs { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cl-tabs::-webkit-scrollbar { display: none; }
.cl-tabs [role=tab] { flex: none; height: 30px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cl-tabs [role=tab]:hover { color: var(--ink); border-color: var(--silver); }
.cl-tabs [role=tab][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cl-core { justify-self: start; display: inline-flex; align-items: center; height: 17px; padding: 0 6px; border-radius: 5px; background: #e4eef8; color: var(--blue-600); font-size: 9.5px; }
.cl-row { padding: 8px 12px; }
.cl-list li.is-core + li.is-type { margin-top: 4px; padding-top: 4px; border-top: 1px dashed var(--line); }
.viewer { min-height: 360px; }
.anim .cl-list.swapping .is-type .cl-row { animation: fadeUp .5s var(--ease) calc(var(--i) * 55ms - 150ms) both; }
@keyframes ansIn { from { opacity: 0; } to { opacity: 1; } }
.anim .cl-list.swapping .is-core .cl-q, .anim .cl-list.swapping .is-core .cl-a, .anim .cl-list.swapping .is-core .chip { animation: ansIn .4s ease both; }

/* Step 3: deal tag on each flag */
.deal-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--white); border: 1px solid var(--amber-line); color: #4a2a03; font-size: 11.5px; font-weight: 650; white-space: nowrap; }
.flag b { text-wrap: pretty; }

/* Step 4 */
.qa-note { font-size: 12px; color: var(--muted); margin: 2px 2px 0; }

/* Step 5: review record */
.record { display: grid; }
@media (min-width: 760px) { .record { grid-template-columns: minmax(0, 1fr) 262px; } }
.timeline { position: relative; list-style: none; margin: 0; padding: 18px 18px 8px 18px; display: grid; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 26px; bottom: 30px; width: 2px; border-radius: 1px; background: var(--line); transform-origin: top; }
.anim [data-reveal] .timeline::before { transform: scaleY(0); }
.anim [data-reveal].in .timeline::before { animation: growY 2s var(--ease) .2s both; }
.tl-item { position: relative; padding: 0 0 16px 32px; }
.tl-dot { position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); box-shadow: 0 0 0 3px var(--white); }
.tl-check .tl-dot, .tl-resolved .tl-dot, .tl-approved .tl-dot { border-color: var(--green); }
.tl-approved .tl-dot { background: var(--green); }
.tl-approved .tl-dot::after { content: ""; position: absolute; left: 3px; top: 0; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.tl-flag .tl-dot { border-color: #c27612; background: var(--amber-bg); }
.tl-item time { display: block; font-size: 11.5px; font-weight: 650; color: var(--muted); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.tl-item p { margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.tl-item p b { font-weight: 650; }
.tl-note { display: block; margin-top: 6px; padding: 7px 10px; border-radius: 8px; background: var(--amber-bg); border: 1px solid var(--amber-line); color: #4a2a03; font-size: 12.5px; }
.rec-export { display: grid; gap: 14px; align-content: start; justify-items: start; padding: 18px; border-top: 1px solid var(--line-2); background: var(--soft); }
@media (min-width: 760px) { .rec-export { border-top: 0; border-left: 1px solid var(--line-2); } }
.rec-h { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rec-export .packet { height: 132px; max-width: 226px; }
.rec-export .pk { width: 74px; }
.rec-export .pk1 { left: 0; transform: rotate(-4deg); }
.rec-export .pk2 { left: 36px; transform: rotate(-2deg); }
.rec-export .pk3 { left: 72px; transform: rotate(0deg); }
.rec-export .pk4 { left: 108px; transform: rotate(2deg); z-index: 4; }
.pk5 { left: 144px; transform: rotate(4deg); z-index: 5; }
.packet .pk5 { transition-delay: .48s; }
.pk b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-export .packet-name { top: 110px; font-size: 11.5px; }
.rec-export .pk:not(.pk1) b, .rec-export .pk:not(.pk1) span { visibility: hidden; }
.rec-export .pk:not(.pk1)::after { top: 14px; height: 66px; }
.pk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; color: var(--ink); }
.pk-list li { position: relative; padding-left: 16px; }
.pk-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 2px; background: #cfe0f0; }
.anim .rec-export .pk-list li { opacity: 0; transition: opacity .4s; }
.anim .packet.built ~ .pk-list li { opacity: 1; }
.anim .packet.built ~ .pk-list li:nth-child(2) { transition-delay: .1s; } .anim .packet.built ~ .pk-list li:nth-child(3) { transition-delay: .2s; }
.anim .packet.built ~ .pk-list li:nth-child(4) { transition-delay: .3s; } .anim .packet.built ~ .pk-list li:nth-child(5) { transition-delay: .4s; }



/* Checklist rows with more than one source; public-record chips (outside the uploaded documents) */
.cl-chips { grid-column: 2; grid-row: 2 / span 2; align-self: center; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cl-row .cl-chips .chip { grid-column: auto; grid-row: auto; align-self: auto; }
.chip-ext { background: var(--white); border: 1px dashed #8fa6bd; color: var(--ink); }
.chip-ext::before { -webkit-mask: none; mask: none; width: 9px; height: 9px; border-radius: 50%; background: none; border: 1.5px solid currentColor; box-sizing: border-box; }
.ext-tag { display: inline-flex; align-items: center; height: 14px; padding: 0 5px; margin-right: 1px; border-radius: 4px; background: #edf1f5; color: #3c5268; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.flag .chip-ext { border-color: #b8996a; }
@media (max-width: 479.98px) { .bubble-a { max-width: 100%; } }
.chip-ext { max-width: 100%; }

.hero-sub .lead { max-width: 560px; }

/* Phone: the source panel collapses into a row you can open */
.viewer-toggle { display: none; }
@media (max-width: 699.98px) {
  .viewer-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 16px; border: 0; border-top: 1px solid var(--line-2); background: var(--soft); font: inherit; font-size: 13.5px; font-weight: 650; color: var(--ink); cursor: pointer; }
  .viewer-toggle > span:first-child::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 9px; border: solid var(--muted); border-width: 0 1.6px 1.6px 0; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
  .viewer-toggle[aria-expanded="true"] > span:first-child::after { transform: translateY(0) rotate(-135deg); }
  .viewer-toggle[aria-expanded="true"] > span:first-child { font-size: 0; }
  .viewer-toggle[aria-expanded="true"] > span:first-child::before { content: "Hide source"; font-size: 13.5px; }
  .cl-body:not(.open) .viewer { display: none; }
}

/* ---------- Diligence: flag actions + resolved state ---------- */
.flag-counts { display: inline-flex; gap: 6px; }
.flag { align-items: flex-start; }
.flag > div { flex: 1; min-width: 0; }
.flag-acts { display: flex; flex-wrap: wrap; gap: 6px; flex: none; align-self: flex-start; }
.fbtn { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--amber-line); background: rgba(255,255,255,.6); color: #6b3f05; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.fbtn:hover { background: var(--white); border-color: #c27612; color: #4a2a03; }
.flag-resolved { background: var(--green-bg); border-color: #b9dcc6; }
.flag-resolved .flag-ic { background: var(--green); }
.flag-resolved .flag-ic::after { content: ""; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.flag-resolved b { color: #0f4a2a; }
.flag-resolved small { color: var(--green); }
.flag-resolved .chip-amber, .flag-resolved .deal-tag { border-color: #b9dcc6; }
.flag-resolved .chip-amber { background: #f2faf5; color: var(--green); }
.flag-resolved .deal-tag { color: #0f4a2a; }
.flag-resolved .fbtn { border-color: #b9dcc6; color: #1f5c3a; }
.flag-resolved .fbtn:hover { border-color: var(--green); color: #0f4a2a; }
.fbtn-done, .flag-resolved .fbtn-done { background: var(--green); border-color: var(--green); color: #fff; cursor: default; }
.flag-resolved .fbtn-done:hover { background: var(--green); color: #fff; }
.flag-note { display: block; margin-top: 8px; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.7); border: 1px solid #b9dcc6; color: #0f4a2a; font-size: 12.5px; }
/* Buttons wrap under each flag on narrow layouts */
@media (max-width: 1199.98px) {
  .flag { flex-wrap: wrap; }
  .flag-acts { flex-basis: 100%; padding-left: 34px; }
}

/* The last step gets a little more room */
@media (min-width: 900px) { .step.step-record { padding: 72px 0 88px; } }
.step-record { padding: 40px 0 56px; }
@media (min-width: 700px) { .h-line { display: block; } }

/* ---------- Diligence: compact hero ---------- */
@media (min-width: 900px) { .hero-compact { padding: 88px 0 96px; } .hero-compact .lead { margin-top: 20px; } .hero-compact .cta-row { margin-top: 28px; } }

/* ---------- Diligence walkthrough ---------- */
.walk { padding-top: 40px; }
@media (min-width: 900px) { .walk { padding-top: 64px; padding-bottom: 24px; } }
.walk-grid { max-width: 1340px; }
.walk-stage { display: none; }
.cap { padding: 8px 0 56px; }
.cap-title { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.03em; }
.cap-text p { color: var(--muted); margin-top: 12px; font-size: 16.5px; max-width: 520px; }
.cap-text .cap-small { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.cap .app-wrap { margin-top: 24px; }

/* App window (one per caption when stacked; one pinned window on wide screens) */
.app-wrap { position: relative; }
.app { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); }
.app-chrome { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; flex: none; background: linear-gradient(#fbfcfe, #f3f6fa); border-bottom: 1px solid var(--line-2); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #dbe2ea; }
.app-name { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.app-main { display: grid; grid-template-columns: 172px minmax(0, 1fr); flex: 1; min-height: 0; }
.app-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; background: var(--soft); border-right: 1px solid var(--line-2); min-width: 0; }
.side-h { padding: 2px 10px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sb-deal { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 9px; border: 1px solid transparent; background: none; font: inherit; color: var(--ink); transition: background .2s, border-color .2s, box-shadow .2s; }
button.sb-deal { cursor: pointer; }
button.sb-deal:hover { background: rgba(255,255,255,.75); }
.sb-deal b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.sb-deal span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.sb-deal.is-active { background: var(--white); border-color: var(--line); box-shadow: 0 1px 2px rgba(15,35,56,.06); }
.sb-deal.is-active b { color: var(--blue-600); }
.sb-all { margin-bottom: 6px; }
.app-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.app-tabs { position: relative; display: flex; gap: 2px; padding: 4px 10px 0; flex: none; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tab { flex: none; height: 38px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.app-tab:hover { color: var(--ink); }
.app-tab[aria-current="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.app-progress { display: none; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-2); }
.app-progress i { display: block; height: 100%; background: #9cc3e8; transform-origin: left; transform: scaleX(0); }
.app-views { position: relative; flex: 1; min-height: 0; }
.view-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line-2); }
.view-title { font-size: 13.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* Checklist inside the app */
.cl-more { padding: 8px 16px 12px; font-size: 12px; color: var(--muted); }
@media (min-width: 700px) {
  .cl-body .cl-list { grid-column: 1; grid-row: 1; }
  .cl-body .cl-more { grid-column: 1; grid-row: 2; border-right: 1px solid var(--line-2); }
  .cl-body .viewer { grid-column: 2; grid-row: 1 / span 2; }
  .cl-body { grid-template-rows: auto 1fr; }
}
.app .viewer { min-height: 0; }
.app .page { min-height: 300px; }

/* Red flags inside the app: the actions sit on the same line as the flag type */
.flag { flex-wrap: nowrap; }
.flag-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.flag-foot small { margin-top: 0; }
.flag-foot .flag-acts { flex-basis: auto; padding-left: 0; }
.flags-more { display: none; padding: 4px 4px 2px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* Ask: typing caret, and the answer waits until the question is in */
.bubble-q.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #9cc3e8; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.bubble-a, .qa-note { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.anim .view .wait { opacity: 0 !important; transform: translateY(6px) !important; animation: none !important; }

/* ---------- Wide screens with motion: one pinned window ---------- */
@media (min-width: 900px) {
  .walk.is-pinned { --app-h: min(680px, calc(100vh - 112px)); }
  .walk.is-pinned .walk-grid { display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); gap: 56px; align-items: start; }
  .walk.is-pinned .walk-stage { display: block; position: sticky; top: calc(64px + (100vh - 64px - var(--app-h)) / 2); }
  .walk.is-pinned .cap { min-height: 82vh; display: flex; align-items: center; padding: 0; }
  .walk.is-pinned .cap:first-child { min-height: 70vh; align-items: flex-start; padding-top: 12vh; }
  .walk.is-pinned .cap-text { opacity: .35; transition: opacity .45s var(--ease); }
  .walk.is-pinned .cap.is-active .cap-text { opacity: 1; }
  .walk.is-pinned .app { height: var(--app-h); }
  .walk.is-pinned .app-progress { display: block; }
  .walk.is-pinned .app-views > .view { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
  .walk.is-pinned .app-views > .view.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .walk.is-pinned .flag-extra { display: none; }
  .walk.is-pinned .flags-more { display: block; }
  .walk.is-pinned .flags { padding: 8px; gap: 6px; }
  .walk.is-pinned .flag { padding: 10px 12px; }
  .walk.is-pinned .flag b { font-size: 13.5px; }
  .walk.is-pinned .flag .chips { margin-top: 6px; }
  .walk.is-pinned .record { grid-template-columns: minmax(0, 1fr) 214px; }
  .walk.is-pinned .timeline { padding: 14px 14px 4px; }
  .walk.is-pinned .tl-item { padding-bottom: 11px; }
  .walk.is-pinned .tl-item p { font-size: 13px; }
  .walk.is-pinned .tl-note { padding: 5px 9px; font-size: 12px; }
  .walk.is-pinned .rec-export { padding: 14px; gap: 10px; }
  .walk.is-pinned .rec-export .packet { transform: scale(.84); transform-origin: top left; height: 116px; margin-bottom: -6px; }
  .walk.is-pinned .pk-list { font-size: 12px; gap: 4px; }
  .walk.is-pinned .qa { padding: 16px 18px; }
}

/* ---------- Phones: deals become a row of pills; other windows drop the sidebar ---------- */
@media (max-width: 699.98px) {
  .app-main { grid-template-columns: minmax(0, 1fr); }
  .app-side { flex-direction: row; gap: 6px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .app-side::-webkit-scrollbar { display: none; }
  .side-h, .sb-deal span { display: none; }
  .sb-deal { flex: none; width: auto; padding: 0 12px; height: 30px; display: inline-flex; align-items: center; border-radius: 999px; border-color: var(--line); background: var(--white); }
  .sb-deal b { white-space: nowrap; font-size: 12.5px; }
  .sb-all { margin-bottom: 0; }
  .sb-deal.is-active { background: var(--ink); border-color: var(--ink); }
  .sb-deal.is-active b { color: #fff; }
  .app-side:not(:has(button)) { display: none; } /* static sidebars only matter on wide screens */
  .app-tab { padding: 0 10px; }
}
@media (min-width: 900px) {
  .walk.is-pinned .app-main { grid-template-columns: 156px minmax(0, 1fr); }
  .walk.is-pinned .cl-body { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .walk.is-pinned .cl-row { padding: 7px 10px; }
  .walk.is-pinned .viewer { padding: 12px; }
  .walk.is-pinned .page { min-height: 0; height: 100%; padding: 16px 14px 22px; }
  .walk.is-pinned .hl { font-size: 12px; left: 10px; right: 10px; }
}
@media (min-width: 900px) { .walk.is-pinned .cap .app-wrap { display: none; } }
.viewer { grid-template-columns: minmax(0, 1fr); }
.viewer-doc { min-width: 0; }
@media (min-width: 900px) {
  .walk.is-pinned .record { grid-template-columns: minmax(0, 1fr) 224px; }
  .walk.is-pinned .rec-export .btn { white-space: nowrap; font-size: 12.5px; padding: 0 14px; }
  .walk.is-pinned .rec-export .packet-name { font-size: 11px; }
}

/* Callout strip: tight to the walkthrough above and the closing card below */
.callouts-sec.section { padding: 8px 0 16px; }
.callouts-sec .callouts { margin-top: 0; }
.walk.section { padding-bottom: 32px; }
.walk .cap:last-child { padding-bottom: 0; }
@media (min-width: 900px) { .walk.section { padding-bottom: 32px; } }

/* ---------- Portfolio walkthrough views ---------- */
.split-bar { display: flex; gap: 3px; margin: 14px 16px 6px; height: 30px; border-radius: 8px; overflow: hidden; font-size: 12px; }
.split-bar > span { flex: 0 0 var(--w); display: flex; align-items: center; gap: 6px; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.split-bar b { font-weight: 650; }
.sb-pub { background: #e4edf6; color: var(--blue-600); }
.sb-priv { background: var(--ink); color: #fff; }
.view-household .tbl-scroll { margin-top: 8px; border-top: 1px solid var(--line-2); }
.view-foot { padding: 10px 16px 12px; font-size: 12px; color: var(--muted); }
.app .tbl th, .app .tbl td { padding-left: 14px; padding-right: 14px; }
.app .tbl-holdings td { padding-top: 9px; padding-bottom: 9px; }
/* In the app window the Source column is folded under the position name (as on phones) */
.app .tbl-holdings th:nth-child(2), .app .tbl-holdings td:nth-child(2) { display: none; }
.app .src-m { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.app .tbl-holdings td:nth-child(3) .chip { margin: 2px 0; }

.client { padding: 18px 20px; }
.client-hi { font-size: 13px; color: var(--muted); }
.client-total { margin-top: 4px; font-size: 30px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.client-sub { font-size: 13px; color: var(--muted); }
.client .split-bar { margin: 14px 0 0; }
.client-h { margin-top: 20px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.client-docs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.client-docs li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); }
.client-docs b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-docs div span { display: block; font-size: 12px; color: var(--muted); }
.client-docs time { font-size: 12px; color: var(--muted); white-space: nowrap; }

.tf-h { padding: 14px 16px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.taxforms { list-style: none; margin: 0; padding: 0 16px 14px; display: grid; gap: 6px; }
.taxforms li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; }
.taxforms b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-form { font-size: 12px; color: var(--muted); white-space: nowrap; }
.view-ask .ask { border-top: 1px solid var(--line-2); }
.ask-q.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--blue); animation: caret .8s steps(1) infinite; }

.tbl-products td:first-child { font-weight: 600; }
.prod-new td { background: #f2faf5; }
.prod-steps { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 8px; border-top: 1px solid var(--line-2); }
.prod-steps li { position: relative; padding-left: 26px; font-size: 13px; }
.prod-steps li::before { content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); }
.prod-steps li::after { content: ""; position: absolute; left: 6px; top: 4px; width: 3px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }

.how-strip .label { margin-bottom: 14px; }
@media (max-width: 699.98px) {
  .taxforms li { grid-template-columns: minmax(0, 1fr) auto; }
  .taxforms .tf-form { display: none; }
  .client-docs time { display: none; }
}
@media (min-width: 700px) { .hero-sub h1:has(.h-line) { max-width: 1040px; } }

/* ---------- Phone polish ---------- */
@media (max-width: 699.98px) {
  /* Names wrap instead of being cut off with "…" */
  .mini-q, .client-docs b, .taxforms b, .view-title { white-space: normal; overflow: visible; text-overflow: clip; }
  .view-head { align-items: flex-start; }

  /* Household table: each position is one block (name, then its documents) with the value on the right */
  .app .tbl-holdings thead { display: none; }
  .app .tbl-holdings tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
  .app .tbl-holdings tr:last-child { border-bottom: 0; }
  .app .tbl-holdings td { display: block; padding: 0; border: 0; }
  .app .tbl-holdings td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .app .tbl-holdings td:nth-child(3) { grid-column: 1; grid-row: 2; }
  .app .tbl-holdings td:nth-child(3):not(:empty) { margin-top: 6px; }
  .app .tbl-holdings td:nth-child(3) .chip { margin: 0 4px 0 0; }
  .app .tbl-holdings td:nth-child(4) { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .app .tbl-holdings td .pill { margin-left: 4px; }

  /* Products table: name with its type underneath, households count on the right */
  .tbl-products thead { display: none; }
  .tbl-products tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
  .tbl-products tr:last-child { border-bottom: 0; }
  .app .tbl-products td { display: block; padding: 0; border: 0; background: none; }
  .tbl-products td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .tbl-products td:nth-child(2) { grid-column: 1; grid-row: 2; margin-top: 5px; }
  .tbl-products td:nth-child(2) .pill { margin-left: 0; }
  .tbl-products td:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; }
  .tbl-products td:nth-child(3)::after { content: "households"; display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
  .tbl-products .prod-new { background: #f2faf5; }

  /* Product card labels: the square sits with the first line when the label wraps */
  .pcard .label { align-items: flex-start; letter-spacing: .12em; line-height: 1.5; }
  .pcard .label::before { margin-top: 6px; flex: none; }

  /* Bigger tap target for the "Get started" text link on product cards */
  .prow-links .more { display: inline-flex; align-items: center; min-height: 40px; }
}

/* ---------- Diligence on phones and tablets: shorter windows (laptop pinned view is untouched) ---------- */
@media (max-width: 899.98px) {
  /* Red flags: the first four, then a count, like the pinned window */
  .walk .flag-extra { display: none; }
  .walk .flags-more { display: block; }
  .walk .flags { padding: 8px; gap: 6px; }
  .walk .flag { padding: 10px 12px; gap: 10px; }
  .walk .flag b { font-size: 13.5px; }
  .walk .flag .chips { margin-top: 6px; }
  .walk .flag-foot { margin-top: 4px; }
  .walk .flag-acts { gap: 4px; }
  .walk .fbtn { height: 24px; padding: 0 9px; font-size: 11.5px; }
  .walk .flag-note { margin-top: 6px; padding: 5px 9px; font-size: 12px; }

  /* Record: tighter timeline; the diligence file becomes one line with its button */
  .walk .timeline { padding: 12px 14px 2px; }
  .walk .tl-item { padding-bottom: 10px; }
  .walk .tl-item p { font-size: 13px; }
  .walk .tl-note { margin-top: 4px; padding: 5px 9px; font-size: 12px; }
  .walk .rec-export { padding: 12px 14px; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .walk .rec-export .rec-h, .walk .rec-export .pk, .walk .rec-export .pk-list { display: none; }
  .walk .rec-export .packet { height: auto; max-width: none; }
  .walk .rec-export .packet-name { position: static; opacity: 1; font-size: 12px; white-space: normal; }
  .walk .rec-export .btn { white-space: nowrap; }

  /* Checklist: a little tighter */
  .walk .cl-row { padding: 7px 10px; }
  .walk .cap { padding-bottom: 44px; }
}
@media (max-width: 899.98px) {
  .walk .rec-export { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 8px; }
  .walk .rec-export .packet { width: 100%; }
  .walk .rec-export .packet-name { overflow-wrap: anywhere; }
}

/* ---------- Diligence on phones: illustrative, not comprehensive ---------- */
@media (max-width: 699.98px) {
  /* Checklist: one core row and one type-specific row */
  .walk .cl-list li:nth-child(2), .walk .cl-list li:nth-child(3), .walk .cl-list li:nth-child(n+5) { display: none; }
  .walk .cl-more { display: none; }
  /* Red flags: the resolved one and one open one */
  .walk .flags .flag:nth-child(2), .walk .flags .flag:nth-child(n+4) { display: none; }
  .walk .flags-more { font-size: 0; }
  .walk .flags-more::after { content: "+ 6 more to review"; font-size: 12.5px; }
  /* Record: the flag with its note, its resolution, and the approval */
  .walk .timeline .tl-item:nth-child(-n+3), .walk .timeline .tl-item:nth-child(5) { display: none; }
}

/* ---------- Product pages on phones: home-card-sized previews instead of full app windows ---------- */
.cap-mini { display: none; }
@media (max-width: 699.98px) {
  .walk .cap .app-wrap { display: none; }
  .walk .cap-mini { display: grid; margin-top: 20px; }
  .walk .cap { padding-bottom: 40px; }
  .cap-mini .mini-row > .pill, .cap-mini .mini-row > .chip { flex: none; }
  .cap-mini .mini-row .pill + .mini-v { margin-left: 2px; }
  .mini-answer { background: var(--soft); }
  .mini-answer .mini-q { font-weight: 500; white-space: normal; }
  .mini-ask .mini-q { white-space: normal; }
  .mini-total .mini-v { font-size: 17px; }
  .mini-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 2px 0; }
}
@media (max-width: 699.98px) { .cap-mini .mini-row .chip { display: inline-flex; } .cap-mini .mini-q { white-space: normal; } }

/* ---------- Phones: a slim second row of page links under the logo bar ---------- */
.nav-home { display: none; }
@media (max-width: 759.98px) {
  .nav-in { flex-wrap: wrap; height: auto; row-gap: 0; padding-top: 10px; }
  .nav-in .brand, .nav-in .btn { margin-top: 0; }
  .nav-links { display: flex; order: 3; width: 100%; justify-content: center; gap: 22px; margin: 6px 0 0; padding: 4px 0 10px; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: none; font-size: 14px; padding: 4px 0; }
  .nav-home { display: inline; }
}

/* ---------- Phones: collapsible page links ---------- */
.nav-toggle { display: none; }
@media (max-width: 759.98px) {
  .nav.has-toggle .nav-in { padding-top: 0; height: 64px; }
  .nav.has-toggle.open .nav-in { height: auto; padding-top: 0; }
  .nav.has-toggle .brand { min-height: 64px; }
  .nav.has-toggle:not(.open) .nav-links { display: none; }
  .nav.has-toggle .nav-links { margin-top: 0; }
  .nav.has-toggle .btn { margin-left: auto; }
  .nav.has-toggle .nav-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 4px; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav.open .nav-toggle span { background: transparent; }
  .nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .home .nav-toggle { color: #fff; }
}
@media (max-width: 759.98px) { .home .nav.has-toggle .nav-toggle { color: #fff; } .nav.has-toggle .nav-toggle:focus-visible { outline: 2px solid #9cc3e8; outline-offset: 2px; } }

/* ---------- Home: security tiles with a title and a line each, plus the review prompt ---------- */
.tiles-detail h3 { margin-top: 18px; font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.tiles-detail p { margin-top: 6px; font-size: 14.5px; font-weight: 450; line-height: 1.5; color: var(--muted); }
.sec-review { display: grid; gap: 16px; align-items: center; margin-top: 18px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--soft); }
@media (min-width: 760px) { .sec-review { grid-template-columns: 1fr auto; gap: 32px; padding: 24px 28px; } }
.sec-review h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.sec-review p { margin-top: 4px; font-size: 14.5px; color: var(--muted); max-width: 640px; }
.sec-review .btn { justify-self: start; }

/* Portfolio's views are shorter than Diligence's, so its pinned window is too (no empty space under them) */
@media (min-width: 900px) {
  .walk-portfolio.is-pinned { --app-h: min(586px, calc(100vh - 112px)); }
  .walk-portfolio.is-pinned .app-side .sb-deal:nth-child(n+6) { display: none; }
  .walk-portfolio.is-pinned .app-side { overflow: hidden; }
}
.also-asked { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px 14px; font-size: 12.5px; }
.also-asked > span:first-child { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.aa-q { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 550; }
@media (min-width: 900px) {
  .walk-portfolio.is-pinned { --app-h: min(560px, calc(100vh - 112px)); }
  .walk-portfolio.is-pinned .tbl-holdings td { padding-top: 7px; padding-bottom: 7px; }
  .walk-portfolio.is-pinned .tbl-holdings .src-m { margin-top: 0; }
  .walk-portfolio.is-pinned .split-bar { margin-top: 12px; }
  .walk-portfolio.is-pinned .tbl-products td { padding-top: 8px; padding-bottom: 8px; }
  .walk-portfolio.is-pinned .prod-steps { padding: 10px 16px; gap: 6px; }
}
@media (min-width: 900px) {
  .walk-fit.is-pinned .app { transition: height .45s var(--ease); }
  .walk-fit.is-pinned { --app-h: min(620px, calc(100vh - 112px)); }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) { .walk-fit.is-pinned .app { transition: none; } }
