/* Pontora homepage. Palette comes from the P-mark gradient: Capture → Book → Operate. */
:root {
  --capture: #13c7b9; --capture-soft: #e2f8f6; --capture-ink: #087a71;
  --book: #1479f5; --book-soft: #e7f0fe; --book-ink: #0b55c4; --book-fill: #0f6ae0;
  --operate: #06165c; --operate-soft: #e8ebf6;
  --ink: #0f1830; --muted: #576176; --line: #e2e6ee; --wash: #f4f6f9; --paper: #ffffff;
  --ok: #138a5e; --ok-soft: #e2f4ec; --warn: #9a5a00; --warn-soft: #fff2dc; --alert: #d0353b;
  --font: "Geist", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --nav-h: 74px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { margin: 0; text-wrap: balance; letter-spacing: -0.035em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, video:focus-visible { outline: 3px solid var(--book); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
.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; }
.c-cap { color: var(--capture-ink); } .c-book { color: var(--book-ink); } .c-op { color: var(--operate); }
.s-cap { --c: var(--capture); --soft: var(--capture-soft); --cink: var(--capture-ink); --fill: var(--capture); --on-fill: var(--operate); }
.s-book { --c: var(--book); --soft: var(--book-soft); --cink: var(--book-ink); --fill: var(--book-fill); --on-fill: #fff; }
.s-op { --c: var(--operate); --soft: var(--operate-soft); --cink: var(--operate); --fill: var(--operate); --on-fill: #fff; }
/* Text on a brand fill: navy on the light teal, white on blue and navy (all pass WCAG AA). */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--book-ink); letter-spacing: -0.01em; }
.eyebrow, .head .eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--book-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 700 15px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--operate); color: #fff; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

/* NAV */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: var(--nav-h); position: relative; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { display: block; height: 36px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

section.block { padding: 96px 0; }
.head { max-width: 720px; margin: 0 auto 40px; display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: center; }
.head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; font-weight: 800; }
.head p { color: var(--muted); font-size: 18px; }

/* Product UI primitives */
.win { background: #fff; border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(15,24,48,.35), 0 0 0 1px var(--line); overflow: hidden; font-size: 13px; }
.bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--wash); border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d9e3; }
.bar b { margin-left: 6px; font-weight: 600; color: var(--ink); }
.win-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.win-title { font-size: 15px; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.p-cap { background: var(--capture-soft); color: var(--capture-ink); }
.p-op { background: var(--operate-soft); color: var(--operate); }
.p-ok { background: var(--ok-soft); color: var(--ok); }
.p-warn { background: var(--warn-soft); color: var(--warn); }
.field { display: flex; flex-direction: column; gap: 4px; }
.field span { font-size: 11px; font-weight: 600; color: var(--muted); }
.field div { height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; display: flex; align-items: center; background: #fff; }
.mbtn { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; height: 34px; padding: 0 14px; border-radius: 8px; font-weight: 700; font-size: 12.5px; color: #fff; background: var(--operate); }
.mbtn.cap { background: var(--capture-ink); }
.mbtn.book { background: var(--book-ink); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.meta { color: var(--muted); font-size: 12px; }
.li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.li:first-child { border-top: 0; }

/* HERO */
.hero { padding: 48px 0 0; text-align: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 84px); line-height: 1; font-weight: 800; max-width: 14ch; margin: 0 auto; }
.hero .sub { margin: 22px auto 0; max-width: 33em; font-size: 19px; color: var(--muted); }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: var(--capture-soft); color: var(--capture-ink); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.flow { margin: 56px auto 0; max-width: 1060px; }
/* Three equal bars over a 6-column step grid: Capture and Book each cover two steps, Customer is centred under Operate. */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.groups span { height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--on-fill); background: var(--fill); }
.nodes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; }
.node.s-op { grid-column: span 2; }
.nodes::before { content: ""; position: absolute; left: 8.33%; right: 16.67%; top: 31px; height: 3px; background: repeating-linear-gradient(90deg, #c9d0dc 0 8px, transparent 8px 14px); background-size: 28px 3px; animation: dash 1.2s linear infinite; }
@keyframes dash { to { background-position: 28px 0; } }
.node { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.node .ico { width: 64px; height: 64px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--c); box-shadow: 0 12px 24px -12px var(--c); }
.node b { font-size: 15px; }
.node i { width: 2px; height: 30px; background: linear-gradient(var(--c), transparent); }
.layer { border-radius: 20px; background: var(--operate); color: #fff; padding: 18px; box-shadow: 0 30px 60px -30px rgba(23,36,77,.6); }
.layer-top { display: flex; justify-content: space-between; gap: 10px; padding: 0 4px 14px; font-size: 13px; }
.layer-top span { color: #c3cbe2; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tile { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.tile span { font-size: 12px; color: #c3cbe2; }
.tile b { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tile em { font-style: normal; font-size: 11.5px; color: #8ff0e6; }

/* HOW IT WORKS */
.tabs3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 900px; margin: 0 auto 24px; }
.t3 { border: 0; background: var(--wash); border-radius: 16px; padding: 16px 18px; text-align: left; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden; }
.t3 .tk { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--cink); }
.t3 .h { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.t3 .prog { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--c); }
.t3[aria-selected="true"] { background: var(--soft); box-shadow: inset 0 0 0 2px var(--c); }
.t3[aria-selected="true"] .prog.run { animation: fill 6s linear forwards; }
@keyframes fill { to { width: 100%; } }
/* All panels share one grid cell so the tallest sets the height and the page never jumps. */
.stages { display: grid; }
.stages > .stage { grid-area: 1 / 1; }
.stage { background: var(--soft); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.stage[hidden] { display: flex; visibility: hidden; }
.sides { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; }
.side { display: flex; flex-direction: column; gap: 12px; }
.side-lbl { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cink); display: flex; align-items: center; gap: 8px; }
.side-lbl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.join { display: flex; justify-content: center; color: var(--cink); }
.stage-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.stage-foot h3 { font-size: 24px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--cink); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.slots span { height: 34px; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12.5px; }
.slots span.sel { border: 2px solid var(--book); background: var(--book-soft); color: var(--book-ink); }
.slots span.off { color: #6b7385; text-decoration: line-through; background: var(--wash); }
.stepper { display: flex; gap: 6px; flex-wrap: wrap; }
.stepper span { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--wash); color: var(--muted); }
.stepper .done { background: var(--book-soft); color: var(--book-ink); }
.stepper .now { background: var(--book-ink); color: #fff; }
.calg { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)); gap: 5px; padding: 12px; font-size: 11.5px; }
.calg .t { color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 6px; }
.calg .e { border-radius: 6px; padding: 5px 7px; background: var(--wash); min-height: 34px; }
.calg .e.b { background: var(--book-soft); box-shadow: inset 3px 0 0 var(--book); color: var(--book-ink); font-weight: 700; }
.calg .e.new { background: var(--book-ink); color: #fff; font-weight: 700; box-shadow: 0 6px 16px -8px var(--book); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: var(--capture-soft); color: var(--capture-ink); flex: none; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { background: var(--wash); border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; }
.kpi span { font-size: 11px; color: var(--muted); }
.kpi b { font-size: 17px; font-variant-numeric: tabular-nums; }

/* WHO IT'S FOR */
#who { padding-top: 24px; }
.who-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin: 0 auto 24px; gap: 8px; }
.who-tabs button { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: var(--ink); text-align: left; display: flex; flex-direction: column; gap: 2px; }
.who-tabs button b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.who-tabs button span { font-size: 13px; color: var(--muted); }
.who-tabs button[aria-selected="true"] { border-color: var(--operate); background: var(--operate); color: #fff; }
.who-tabs button[aria-selected="true"] span { color: #c7cfe4; }
.biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bcol { border-radius: 20px; padding: 22px; background: var(--soft); display: flex; flex-direction: column; gap: 14px; }
.bcol .tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .12em; padding: 5px 10px; border-radius: 8px; color: var(--on-fill); background: var(--fill); }
.bsteps { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.bsteps li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding: 6px 0; position: relative; }
.bsteps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 3px #fff; z-index: 1; }
.bsteps li + li::after { content: ""; position: absolute; left: 4px; top: -10px; height: 20px; width: 2px; background: var(--c); opacity: .35; }
.same { margin-top: 26px; text-align: center; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -0.03em; }

/* YOUR WORKFLOW, CONNECTED */
.fitwrap { background: var(--wash); overflow-x: clip; }
.conn-head h2 .u { position: relative; white-space: nowrap; }
.conn-head h2 .u::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -0.08em; height: 0.12em; border-radius: 99px; background: var(--book); }
.conn { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1.35fr); gap: 60px; align-items: center; }
.wires { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 1; }
.wires .arrowhead { fill: var(--book); }
.wires path.w { fill: none; stroke: var(--book); stroke-width: 2.2; stroke-opacity: .5; stroke-dasharray: 7 7; stroke-linecap: round; }
.wires path.trunk { stroke-opacity: .85; stroke-dasharray: none; }
.tools { position: relative; height: 460px; z-index: 2; }
.tools .blob { position: absolute; inset: 6% 2% 4% -4%; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; background: #e9eef6; }
.tools .tangle { position: absolute; inset: -4% -2%; width: 104%; height: 108%; z-index: 0; }
.tc { position: absolute; width: 40%; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 14px 30px -18px rgba(15,24,48,.45), 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.tc b { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; font-size: 15px; letter-spacing: -0.02em; }
.tc b svg { flex: none; }
.tc .ln { height: 6px; border-radius: 3px; background: #e6eaf1; }
.tc .ck { display: flex; align-items: center; gap: 8px; }
.tc .ck i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid #8fa0bd; flex: none; }
.tc .mini-cal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.tc .mini-cal span { height: 9px; border-radius: 2px; background: #e6eaf1; }
.tc .mini-cal span.on { background: var(--book); }
.tc .mini-cal span.bad { background: var(--alert); }
.tc .badge { position: absolute; top: -10px; right: -8px; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--alert); color: #fff; box-shadow: 0 6px 12px -6px rgba(229,72,77,.7); transform: rotate(4deg); white-space: nowrap; }
.tc .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; font-size: 11.5px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
.t-web { left: 2%; top: 1%; transform: rotate(-8deg); }
.t-gform { left: 44%; top: -2%; transform: rotate(9deg); z-index: 2; }
.t-mail { left: -4%; top: 29%; transform: rotate(7deg); z-index: 1; }
.t-pdf { left: 62%; top: 24%; transform: rotate(-11deg); z-index: 4; width: 34%; }
.t-sheet { width: 44%; left: 22%; top: 33%; transform: rotate(-4deg); z-index: 3; }
.t-note { left: 2%; top: 60%; transform: rotate(-12deg); z-index: 5; width: 30%; background: #fff4b8; box-shadow: 0 12px 22px -14px rgba(120,90,0,.6); font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.15; color: #4a3b00; }
.t-sched { left: 30%; top: 63%; transform: rotate(8deg); z-index: 4; }
.t-pay { left: 60%; top: 58%; transform: rotate(-6deg); z-index: 6; }
.cfg { position: relative; z-index: 2; aspect-ratio: 1 / 0.86; border-radius: 26px; background: var(--operate); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 18px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; box-shadow: 0 24px 50px -20px rgba(20,121,245,.55), 0 0 0 2px rgba(20,121,245,.35); }
.cfg svg { animation: spin 10s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.app3 { position: relative; z-index: 2; background: #f6f8fb; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(15,24,48,.45), 0 0 0 1px var(--line); font-size: 13px; }
.a3-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.a3-top img { display: block; }
.a3-top > b { font-size: 15px; letter-spacing: -0.03em; margin-right: 6px; }
.a3-nav { display: flex; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.a3-nav span { padding: 5px 8px; border-radius: 7px; }
.a3-nav .on { background: #eef1f6; color: var(--ink); }
.a3-av { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--book-ink); color: #fff; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.a3-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.a3-body .a3-h { font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.a3-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.a3c { background: #fff; border-radius: 12px; border-top: 3px solid var(--t); padding: 10px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 0 0 1px var(--line); }
.a3l { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.a3l i { width: 22px; height: 22px; border-radius: 6px; background: var(--tb); color: var(--tl); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.a3c > b { font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.a3c .meta { font-size: 11px; }
.a3c .lnk, .lnk { font-size: 11.5px; font-weight: 700; color: var(--tl, var(--book-ink)); }
.a3-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px; }
.a3p { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; }
.a3p .row b { font-size: 12.5px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 78px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: #cfe2fd; }
.bars i:last-child { background: var(--book); }
.a3act { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; }
.a3act span { display: flex; align-items: center; gap: 8px; }
.a3act i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: #eef1f6; color: var(--muted); font-size: 9.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.a3act em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: auto; white-space: nowrap; }
.assure { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; }
.assure li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; padding: 0 28px; }
.assure li + li { border-left: 1px solid #cfd6e2; }
.assure li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--book-ink); color: #fff; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }


/* Shared demo preview and video overlay. */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.demo-copy { display: flex; flex-direction: column; gap: 14px; }
.demo-copy h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; font-weight: 800; }
.demo-copy > p { color: var(--muted); font-size: 18px; max-width: 30em; }
.demo-copy > .eyebrow { color: var(--book-ink); font-size: 13px; }
.demo-copy > .demo-runtime { font-size: 14px; font-weight: 600; }
.demo-panel { display: flex; justify-content: center; }
.demo-preview { position: relative; display: block; width: 100%; max-width: 620px; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--wash); cursor: pointer; box-shadow: 0 28px 56px -30px rgba(15,24,48,.4), 0 0 0 1px var(--line); }
.demo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.demo-preview:hover img { transform: scale(1.02); }
.preview-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--operate); color: #fff; box-shadow: 0 14px 30px -12px rgba(6,22,92,.7), 0 0 0 8px rgba(255,255,255,.55); transition: transform .15s ease; }
.demo-preview:hover .preview-play { transform: scale(1.06); }
.video-modal { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #0b1020; color: #fff; box-shadow: 0 40px 100px -20px rgba(0,0,0,.6); }
.video-modal::backdrop { background: rgba(8,14,40,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.video-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; }
.video-modal-bar h2 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.video-modal-close { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.video-modal-close:hover { background: rgba(255,255,255,.2); }
.video-modal-close:focus-visible { outline: 3px solid #8fc0ff; outline-offset: 2px; }
.video-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 32px - 60px); background: #000; }
html.modal-open { overflow: hidden; }

/* ABOUT */
.about { background: var(--wash); }
.about .head { max-width: 760px; }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fcard { background: #fff; border-radius: 22px; padding: 24px; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; align-items: start; box-shadow: 0 0 0 1px var(--line); }
.fcard img { width: 140px; height: 140px; border-radius: 18px; object-fit: cover; display: block; }
.fcard > div { display: flex; flex-direction: column; gap: 6px; }
.fcard h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.fcard .role { font-size: 13px; font-weight: 700; color: var(--book-ink); }
.fcard .prev { font-size: 13px; color: var(--muted); }
.fcard .bio { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; font-size: 15px; }
.fcard a { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--book-ink); text-decoration: none; margin-top: 6px; }
.fcard a:hover { text-decoration: underline; }

/* CONTACT */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 18px; }
.contact-copy h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.03; font-weight: 800; }
.contact-copy > p { color: var(--muted); font-size: 18px; }
.next { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.next li { display: flex; gap: 14px; align-items: flex-start; }
.next .n { flex: none; width: 32px; height: 32px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; background: var(--cink); }
.next h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.next p { color: var(--muted); font-size: 15px; }
.direct { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.direct span { color: var(--muted); }
.contact-form { background: var(--wash); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: 14px; font-weight: 600; }
.f .opt { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; height: 48px; border: 1px solid #c9d0dc; border-radius: 10px; padding: 0 14px; font: 400 16px var(--font); color: var(--ink); background: #fff; }
.f textarea { height: 104px; padding: 12px 14px; resize: vertical; }
/* Custom chevron with breathing room, instead of the browser arrow pinned to the edge. */
.f select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23576176' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 14px; }
.f .field-error { border-color: var(--alert); box-shadow: 0 0 0 1px var(--alert); }
.error-msg { display: none; font-size: 13px; font-weight: 600; color: var(--alert); }
.error-msg.visible { display: block; }
.form-error { display: none; grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; background: #fdecec; color: #8f1d22; font-size: 14px; }
.form-error.visible { display: block; }
.form-error a { font-weight: 700; }
.contact-form .btn { grid-column: 1 / -1; justify-self: start; }
.contact-form .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.form-success { display: none; grid-column: 1 / -1; text-align: center; padding: 32px 12px; flex-direction: column; align-items: center; gap: 10px; }
.form-success:focus { outline: none; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.form-success h3 { font-size: 24px; font-weight: 800; }
.form-success p { color: var(--muted); }
.contact-form.is-sent > :not(.form-success) { display: none; }
.contact-form.is-sent .form-success { display: flex; }

/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 26px 0 36px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav { gap: 10px; }
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { display: none; }
  .nav-links.is-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: calc(100% + 4px); left: 16px; right: 16px; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 35px rgba(15,24,48,.12); }
  .nav-links.is-open a { padding: 12px 14px; border-radius: 10px; color: var(--ink); }
  .nav-links.is-open a:hover { background: var(--wash); }
  .nav-cta { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .sides { grid-template-columns: 1fr; gap: 16px; }
  .join { transform: rotate(90deg); }
  .biz, .contact { grid-template-columns: 1fr; }
  .who-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nodes, .groups { gap: 6px; }
  .nodes::before { top: 22px; }
  .node .ico { width: 46px; height: 46px; border-radius: 14px; }
  .node b { font-size: 12px; text-align: center; }
  .node i { display: none; }
  .groups span { font-size: 11px; letter-spacing: .08em; }
  .stage { padding: 20px; }
  .tabs3 .h { display: none; }
  .conn { grid-template-columns: 1fr; gap: 20px; }
  .wires { display: none; }
  .tools { height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
  .t-sheet { left: 36%; top: 37%; }
  .cfg { aspect-ratio: auto; max-width: 320px; width: 100%; margin: 0 auto; flex-direction: row; }
  .a3-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a3-nav { display: none; }
  .assure { flex-direction: column; align-items: flex-start; width: fit-content; margin-left: auto; margin-right: auto; }
  .assure li { padding: 0; }
  .assure li + li { border-left: 0; }
  .tiles { grid-template-columns: 1fr; gap: 8px; }
  .tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label num" "note num"; align-items: center; column-gap: 12px; padding: 10px 14px; }
  .tile span { grid-area: label; } .tile em { grid-area: note; } .tile b { grid-area: num; font-size: 20px; }
  .t3 { align-items: center; text-align: center; }
  .demo-grid { grid-template-columns: 1fr; gap: 32px; }
  .demo-preview { max-width: 560px; }
  .founders { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .brand img { height: 30px; }
  section.block { padding: 72px 0; }
  #who { padding-top: 16px; }
  .who-tabs { grid-template-columns: 1fr; }
  .tc { width: 50%; padding: 10px 12px; }
  .t-gform, .t-pay { left: 47%; }
  .t-pdf { left: 49%; top: 27%; width: 48%; }
  .tc b { font-size: 14px; }
  .a3-two { grid-template-columns: 1fr; }
  .fcard { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; width: fit-content; margin-left: auto; margin-right: auto; }
  .layer-top { flex-direction: column; align-items: flex-start; gap: 2px; }
  .tools { height: 450px; }
  .t-web { left: 1%; } .t-mail { left: 0; top: 29%; width: 44%; }
  .t-sheet { left: 8%; top: 48%; width: 56%; z-index: 5; }
  .t-note { left: 0; top: 70%; width: 38%; z-index: 6; }
  .t-sched { left: 42%; top: 79%; }
  .t-pay { top: 59%; z-index: 7; }
  .contact-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nodes::before, .cfg svg { animation: none; }
  .t3 .prog { display: none; }
  .btn, .site-nav, .demo-preview img, .preview-play { transition: none; }
  .btn:hover, .demo-preview:hover img, .demo-preview:hover .preview-play { transform: none; }
}

.video-error { padding: 12px 20px; }
.demo-preview[hidden], .video-error[hidden] { display: none; }
/* Follow-up demo page uses the homepage navigation, typography, palette and spacing. */
.demo-page .hero { padding-bottom: 0; }
.demo-page .hero h1 { max-width: 16ch; }
.demo-page .hero .eyebrow { margin-bottom: 16px; }
.demo-page .demo-stage { max-width: 1060px; margin: 38px auto 0; }
.demo-player { position: relative; border-radius: 22px; overflow: hidden; background: var(--operate); box-shadow: 0 24px 60px -30px rgba(6,22,92,.35); }
.demo-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--operate); }
.demo-player .demo-preview { position: absolute; inset: 0; max-width: none; height: 100%; border-radius: 0; }
.demo-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.demo-pillar { padding: 28px; border-radius: 18px; background: var(--soft); }
.demo-pillar .eyebrow { color: var(--cink); margin-bottom: 12px; }
.demo-pillar h3 { font-size: 25px; line-height: 1.15; margin-bottom: 12px; }
.demo-pillar > p:last-child { color: var(--muted); font-size: 16px; }
.demo-next { background: var(--wash); text-align: center; }
.demo-next .head { margin-bottom: 24px; }
.demo-next .reply-hint { color: var(--muted); margin-top: 18px; }
@media (max-width: 760px) { .demo-pillars { grid-template-columns: 1fr; gap: 16px; } .demo-page .demo-stage { margin-top: 28px; } }
@media (max-width: 520px) { .preview-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; } .demo-player { border-radius: 14px; } }
