/* ViaAI (viaai.pages.dev). Product-first: real-looking inbox, ledger, folder and summary windows carry the page.
   One family (Instrument Sans), white base, ViaAI blue for actions, soft category colors inside the product shots. */
@font-face {
  font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-var.woff2") format("woff2-variations"), url("/fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #0b1020;
  --body: #454c5c;
  --mute: #6b7280;
  --line: #e6e8ef;
  --line-2: #f0f1f5;
  --tint: #f5f7ff;
  --wash: #f7f8fa;
  --blue: #2b37e0;
  --blue-dk: #1f29b8;
  --blue-soft: #eef0ff;
  --green: #0e7a55;
  --green-soft: #e6f6ee;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 74rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --shadow-1: 0 1px 2px rgba(11, 16, 32, 0.05), 0 8px 24px -12px rgba(11, 16, 32, 0.16);
  --shadow-2: 0 2px 4px rgba(11, 16, 32, 0.05), 0 24px 48px -20px rgba(31, 41, 184, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--body); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.25rem); line-height: 1.03; font-weight: 650; letter-spacing: -0.035em; font-stretch: 94%; max-width: 13em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); line-height: 1.1; font-weight: 650; letter-spacing: -0.025em; font-stretch: 94%; }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.h-sm { font-size: 1.5rem; }
.h-gap { margin-top: 2.25rem; }
.ico { width: 1em; height: 1em; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 44rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: 0 1.6rem;
  border-radius: 999px; border: 0; background: var(--blue); color: #fff; font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s;
}
.btn:hover { background: var(--blue-dk); }
.btn-sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn-full { width: 100%; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--blue-soft); }
.link-quiet { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: #c9cdd8; }
.link-quiet:hover { text-decoration-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 2rem; }
.more { margin-top: 2rem; }
.more a { font-weight: 600; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid transparent; backdrop-filter: saturate(1.4) blur(12px); }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 2.25rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand .mark { width: 1.6rem; height: 1.6rem; }
.links { display: flex; gap: 2rem; margin-left: auto; }
.links a { color: var(--body); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
@media (max-width: 820px) {
  .top-in { flex-wrap: wrap; gap: 0.5rem 1rem; padding-top: 0.6rem; padding-bottom: 0.6rem; min-height: 0; }
  .top .btn-sm { margin-left: auto; }
  .links { order: 3; width: 100%; margin: 0; gap: 1.25rem; overflow-x: auto; white-space: nowrap; padding-bottom: 0.2rem; }
}

/* Hero */
.hero { background: var(--tint); padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-sm { background: var(--paper); padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }
.lede { margin-top: 1.5rem; font-size: 1.25rem; line-height: 1.55; max-width: 34em; color: var(--body); }
.works { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--mute); }
.crumb { font-size: 0.9375rem; margin-bottom: 1rem; }
.crumb a { color: var(--mute); }

/* Windows: the product shots */
.win { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-1); }
.win-bar { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.9rem; background: #fafbfc; border-bottom: 1px solid var(--line-2); font-size: 0.8125rem; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #e1e4ea; }
.win-title { font-weight: 600; color: var(--ink); }
.win-meta { margin-left: auto; color: var(--mute); }
.scroll { overflow-x: auto; }

.demo { position: relative; }
.w-inbox { width: 86%; }
.w-ledger { width: 90%; margin-left: auto; position: relative; z-index: 2; box-shadow: var(--shadow-2); }
.demo-link { position: relative; z-index: 3; display: flex; justify-content: center; margin: -0.55rem 0; }
.demo-link span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; font-weight: 600; color: #fff; background: var(--blue); border-radius: 999px; padding: 0.35rem 0.85rem; box-shadow: 0 6px 16px -6px rgba(43, 55, 224, 0.6); }
@media (max-width: 960px) { .w-inbox, .w-ledger { width: 100%; } }

.mail { list-style: none; }
.m { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.5rem 0.9rem; border-top: 1px solid var(--line-2); }
.m:first-child { border-top: 0; }
.av { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 650; font-size: 0.875rem; }
.av1 { background: #e4572e; } .av2 { background: #1f2937; } .av3 { background: #f08a24; }
.av4 { background: #2b37e0; } .av5 { background: #d9a400; } .av6 { background: #7c3aed; }
.m-txt { min-width: 0; }
.m-from { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.m-subj { display: block; font-size: 0.8125rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-tag { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 600; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 0.2rem 0.55rem; }

.ledger { font-size: 0.8125rem; }
.ledger th { text-align: left; font-weight: 500; color: var(--mute); padding: 0.55rem 0.9rem; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.ledger td { padding: 0.55rem 0.9rem; border-top: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; }
.ledger tbody tr:first-child td { border-top: 0; }
.ledger .num { text-align: right; font-variant-numeric: tabular-nums; }
.ledger tfoot td { font-weight: 650; border-top: 1px solid var(--line); background: #fafbfc; }
.ledger .muted { color: var(--mute); }
.ledger .link { color: var(--blue); }
.ledger .link .ico, .ledger .link span { display: inline-block; vertical-align: middle; }
.ledger .link span { margin-left: 0.3rem; font-weight: 500; }
.chip { display: inline-block; font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 0.15rem 0.55rem; }
.c-soft { background: #eef0ff; color: #2b37e0; }
.c-trav { background: #e6f6ee; color: #0e7a55; }
.c-supp { background: #fff3e2; color: #a35400; }
.c-veh { background: #e8f3f4; color: #0b6470; }
.c-util { background: #e7f2fc; color: #0b66a3; }
.c-inc { background: #defbea; color: #05683f; }
.c-eq { background: #f2ecfd; color: #6b3fc9; }

/* Hero animation: receipts get "Filed" one by one and land in the ledger. Without JS or with reduced motion, all is shown. */
.demo.play .m-tag { animation: pop 0.35s ease-out both; }
.demo.play tbody tr { animation: rowin 0.45s ease-out both; }
.demo.play tfoot tr { animation: fade 0.4s ease-out both; animation-delay: 2.6s; }
.demo.play .demo-link span { animation: pop 0.35s ease-out both; animation-delay: 0.15s; }
.demo.play .m:nth-child(1) .m-tag { animation-delay: 0.3s; } .demo.play tbody tr:nth-child(1) { animation-delay: 0.45s; }
.demo.play .m:nth-child(2) .m-tag { animation-delay: 0.65s; } .demo.play tbody tr:nth-child(2) { animation-delay: 0.8s; }
.demo.play .m:nth-child(3) .m-tag { animation-delay: 1s; } .demo.play tbody tr:nth-child(3) { animation-delay: 1.15s; }
.demo.play .m:nth-child(4) .m-tag { animation-delay: 1.35s; } .demo.play tbody tr:nth-child(4) { animation-delay: 1.5s; }
.demo.play .m:nth-child(5) .m-tag { animation-delay: 1.7s; } .demo.play tbody tr:nth-child(5) { animation-delay: 1.85s; }
.demo.play .m:nth-child(6) .m-tag { animation-delay: 2.05s; } .demo.play tbody tr:nth-child(6) { animation-delay: 2.2s; }
@keyframes pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Sections */
.sec { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.sec-tight { padding-top: clamp(1rem, 2vw, 1.5rem); }
.band { background: var(--wash); }
.intro { margin-top: 1rem; max-width: 40em; font-size: 1.125rem; }

/* Six steps strip */
.strip { margin-top: 2.5rem; display: grid; gap: 1rem; }
.strip-row { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem 1.5rem; align-items: center; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.strip-after { border-color: #c9cdf7; background: var(--tint); }
.strip-h { font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; counter-reset: s; }
.pills li { counter-increment: s; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.875rem; color: var(--body); background: var(--wash); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem 0.35rem 0.4rem; }
.pills li::before { content: counter(s); display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 0.75rem; font-weight: 600; color: var(--mute); }
.pill-agent { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: #fff; background: var(--blue); border-radius: 999px; padding: 0.5rem 1rem; }
@media (max-width: 760px) { .strip-row { grid-template-columns: minmax(0, 1fr); } }

/* What you get */
.gets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.get { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.25rem, 2.5vw, 1.75rem); display: grid; gap: 1.25rem; align-content: start; }
.get-wide { grid-column: span 2; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); align-items: center; }
.get-copy p { margin-top: 0.4rem; }
.get .win { box-shadow: none; }
@media (max-width: 900px) { .gets { grid-template-columns: minmax(0, 1fr); } .get-wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); } }

.tree { padding: 0.9rem 1rem 1rem; font-size: 0.875rem; color: var(--ink); }
.tree ul { list-style: none; margin-left: 0.55rem; padding-left: 0.9rem; border-left: 1px solid var(--line); }
.tree li { margin-top: 0.45rem; }
.f-root, .t-row { display: flex; align-items: center; gap: 0.45rem; }
.f-root { font-weight: 600; }
.f-root .ico, .t-row .ico { color: #f0b429; width: 1.1rem; height: 1.1rem; }
.f-n { margin-left: auto; font-size: 0.75rem; color: var(--mute); background: var(--wash); border-radius: 999px; padding: 0.05rem 0.5rem; }
.f-file { display: flex; align-items: center; gap: 0.45rem; color: var(--body); font-size: 0.8125rem; }
.f-file .ico { color: var(--mute); }

.sum { padding: 1rem 1.1rem 1.2rem; font-size: 0.875rem; }
.sum-subj { color: var(--mute); }
.sum-big { margin-top: 0.25rem; font-size: 1.6rem; font-weight: 650; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sum-big span { font-size: 0.875rem; font-weight: 500; color: var(--mute); letter-spacing: 0; }
.bars { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.45rem; }
.bars li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 5rem; gap: 0.6rem; align-items: center; }
.bar { height: 8px; border-radius: 4px; background: var(--wash); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--blue); }
.b80 { width: 80%; } .b30 { width: 30%; } .b18 { width: 18%; } .b12 { width: 12%; }
.bars .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.sum-h { margin-top: 1rem; font-weight: 600; color: var(--ink); }
.flags { list-style: none; margin-top: 0.4rem; display: grid; gap: 0.35rem; }
.flags li { position: relative; padding-left: 1rem; color: var(--body); }
.flags li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #f0b429; }

/* It also catches */
.catches { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.catches li { padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; position: relative; padding-top: 3.4rem; }
.catches li::before { content: ""; position: absolute; left: 1.4rem; top: 1.4rem; width: 1.5rem; height: 1.5rem; border-radius: 8px; background: var(--blue-soft); }
.catches li::after { content: ""; position: absolute; left: 1.88rem; top: 1.72rem; width: 0.5rem; height: 0.75rem; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); }
.catches p { margin-top: 0.4rem; font-size: 1rem; }
@media (max-width: 900px) { .catches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .catches { grid-template-columns: minmax(0, 1fr); } }

/* Route: how it works, phases */
.line { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 2.75rem; }
.line li { position: relative; padding-top: 2.2rem; }
.line li::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.line li:last-child::before { background: var(--blue); }
.line li:not(:last-child)::after { content: ""; position: absolute; left: 0.575rem; top: 0.5rem; width: calc(100% + 2rem); height: 2px; background: var(--blue); }
.line p { margin-top: 0.45rem; }
@media (max-width: 860px) {
  .line { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-left: 2.2rem; }
  .line li { padding-top: 0; }
  .line li::before { left: -2.2rem; top: 0.2rem; }
  .line li:not(:last-child)::after { left: -1.66rem; top: 0.7rem; width: 2px; height: calc(100% + 1.75rem); }
}

/* Who it's for */
.segs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.seg { display: block; height: 100%; padding: 1.4rem 2.6rem 1.4rem 1.4rem; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; position: relative; background: var(--paper); transition: border-color 0.15s, box-shadow 0.15s; }
.seg:hover { border-color: #c9cdf7; box-shadow: var(--shadow-1); }
.seg::after { content: ""; position: absolute; right: 1.3rem; top: 1.75rem; width: 0.5rem; height: 0.5rem; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); }
.seg-name { display: block; font-weight: 650; color: var(--ink); font-size: 1.125rem; line-height: 1.3; }
.seg-blurb { display: block; margin-top: 0.4rem; color: var(--body); font-size: 0.975rem; }
@media (max-width: 900px) { .segs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .segs { grid-template-columns: minmax(0, 1fr); } }

/* Security band */
.dark { background: var(--ink); color: #c4c9d6; }
.dark h2, .dark h3 { color: #fff; }
.dark .more a { color: #fff; }
.secs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 3rem; margin-top: 2.5rem; }
.secs li { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 1.1rem; }
.secs p { margin-top: 0.45rem; }
.secs.light li { border-top-color: var(--line); }
@media (max-width: 760px) { .secs { grid-template-columns: minmax(0, 1fr); } }

/* More agents, our agents */
.mores { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.mores.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mores li { padding: 1.4rem; border-radius: 18px; background: var(--wash); }
.mores p { margin-top: 0.45rem; }
@media (max-width: 900px) { .mores, .mores.two-col { grid-template-columns: minmax(0, 1fr); } }

/* Segment pages */
.hero-seg { padding-bottom: clamp(3rem, 6vw, 5rem); }
.seg-vis { display: grid; gap: 1rem; }
.seg-vis .win:last-child { box-shadow: var(--shadow-2); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.ticks, .plain { list-style: none; margin-top: 1rem; }
.ticks li { position: relative; padding: 0.7rem 0 0.7rem 2rem; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0.25rem; top: 1.08rem; width: 0.8rem; height: 0.42rem; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plain li { margin-top: 0.75rem; }
.note { margin-top: 1.75rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--paper); border: 1px solid #c9cdf7; }
.note p { margin-top: 0.35rem; }
.other { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 1rem; }

/* Questions */
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem; }
.qs { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; color: var(--ink); font-weight: 600; font-size: 1.0625rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 0.5rem; top: 50%; width: 0.55rem; height: 0.55rem; margin-top: -0.4rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -0.1rem; }
details p { padding: 0 2.5rem 1.25rem 0; max-width: 40em; }
@media (prefers-reduced-motion: reduce) { summary::after { transition: none; } }
@media (max-width: 860px) { .faq-in { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } }

/* Closing band */
.cta-band { background: var(--blue); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { color: #fff; max-width: 18em; }

/* Get started */
.start-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .start-in { grid-template-columns: minmax(0, 1fr); } }
.fine { margin-top: 1.75rem; font-size: 0.9375rem; color: var(--mute); }
.form { border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; box-shadow: var(--shadow-1); }
.f-row { grid-column: span 2; display: flex; flex-direction: column; gap: 0.4rem; }
.f-half { grid-column: span 1; }
@media (max-width: 560px) { .f-half { grid-column: span 2; } }
.form label { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--mute); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); width: 100%; border: 1px solid #d5d9e2; border-radius: 12px; padding: 0.7rem 0.85rem; min-height: 3rem; }
.form textarea { resize: vertical; min-height: 6.5rem; line-height: 1.45; }
.form select { appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1020' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 0.7rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form ::placeholder { color: #8a909c; }
.f-check { flex-direction: row; align-items: flex-start; gap: 0.65rem; }
.f-check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin: 0.2rem 0 0; accent-color: var(--blue); flex: none; }
.f-check label { font-weight: 400; color: var(--body); }
.form .btn-full { grid-column: span 2; margin-top: 0.4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: 0.9375rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2rem 3rem; }
.foot-brand p { margin-top: 0.75rem; color: var(--mute); max-width: 22em; }
.foot-h { font-size: 0.875rem; font-weight: 600; color: var(--ink); letter-spacing: 0; font-stretch: 100%; }
.foot ul { list-style: none; margin-top: 0.75rem; }
.foot li { margin-top: 0.45rem; }
.foot a { color: var(--body); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { margin-top: 3rem; color: var(--mute); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 600px) {
  .ledger th, .ledger td { padding: 0.5rem 0.6rem; }
  .ledger { font-size: 0.78rem; }
  .win-meta { display: none; }
}

/* Home hero (Nov 15 rework): bold blue band, one line, one sentence, and a simple before -> after. */
.hero-blue { background: var(--blue); color: #fff; padding: clamp(3rem, 6vw, 4.75rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.hb-copy { text-align: center; max-width: 46rem; margin: 0 auto; }
.hero-blue h1 { color: #fff; max-width: none; font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
.hb-lede { margin: 1.1rem auto 0; font-size: 1.25rem; line-height: 1.5; color: rgba(255, 255, 255, 0.86); max-width: 36em; }
.hb-copy .cta-row { justify-content: center; margin-top: 1.75rem; }
.link-light { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.45); }
.link-light:hover { text-decoration-color: #fff; }

.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); gap: 1.25rem; align-items: center; margin: clamp(2.25rem, 4vw, 3rem) auto 0; max-width: 64rem; }
.fl-card { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(5, 10, 60, 0.6); color: var(--ink); overflow: hidden; }
.fl-h { display: flex; align-items: center; gap: 0.45rem; padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 600; border-bottom: 1px solid var(--line-2); background: #fafbfc; }
.fl-h .ico { color: #f0b429; width: 1.1rem; height: 1.1rem; }
.fl-list { list-style: none; }
.fl-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.7rem; align-items: center; padding: 0.6rem 1rem; border-top: 1px solid var(--line-2); }
.fl-list li:first-child { border-top: 0; }
.fl-mail { min-width: 0; }
.fl-from { display: block; font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.fl-subj { display: block; font-size: 0.8125rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-more { padding: 0.55rem 1rem 0.7rem; font-size: 0.8125rem; color: var(--mute); border-top: 1px solid var(--line-2); }
.fl-arrow { display: grid; justify-items: center; gap: 0.5rem; }
.fl-dot { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); position: relative; }
.fl-dot .mark { width: 1.6rem; height: 1.6rem; }
.fl-dot::after { content: ""; position: absolute; right: -1.05rem; top: 50%; width: 0.6rem; height: 0.6rem; margin-top: -0.3rem; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
.fl-cap { font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); white-space: nowrap; }
.fl-out .ledger tfoot td { background: var(--green-soft); color: var(--green); }
@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
  .fl-dot::after { right: auto; left: 50%; top: auto; bottom: -1rem; margin: 0 0 0 -0.3rem; transform: rotate(135deg); }
  .fl-arrow { padding-bottom: 0.6rem; }
}

/* One orchestrated moment: the three rows land in the spreadsheet, then the total. */
.flow.play .fl-out tbody tr { animation: rowin 0.45s ease-out both; }
.flow.play .fl-out tbody tr:nth-child(1) { animation-delay: 0.35s; }
.flow.play .fl-out tbody tr:nth-child(2) { animation-delay: 0.7s; }
.flow.play .fl-out tbody tr:nth-child(3) { animation-delay: 1.05s; }
.flow.play .fl-out tfoot tr { animation: fade 0.4s ease-out both; animation-delay: 1.45s; }
.flow.play .fl-dot { animation: pop 0.4s ease-out both; }

/* ---- Agent catalog rework (Nov 15, #3) ---- */
.hb-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hb-in .hb-copy { text-align: left; margin: 0; max-width: none; }
.hb-in .hb-lede { margin-left: 0; margin-right: 0; }
.hb-in .cta-row { justify-content: flex-start; }
.hb-small { margin-top: 1.25rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.78); }
.hero-blue h1 { max-width: 11em; }
@media (max-width: 1000px) { .hb-in { grid-template-columns: minmax(0, 1fr); } }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.tile { display: block; text-decoration: none; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 18px; padding: 0.65rem; transition: background-color 0.15s; }
.tile:hover { background: rgba(255, 255, 255, 0.2); }
.tile-h { display: block; color: #fff; font-weight: 600; font-size: 0.9375rem; margin: 0.1rem 0.25rem 0.55rem; }
.tile .win { box-shadow: 0 18px 36px -22px rgba(5, 10, 60, 0.7); border: 0; border-radius: 12px; }
.tile .win-bar { padding: 0.4rem 0.65rem; font-size: 0.72rem; }
.tile .dots i { width: 6px; height: 6px; }
.tile .ledger { font-size: 0.72rem; }
.tile .ledger th, .tile .ledger td { padding: 0.35rem 0.55rem; }
.tile .chip { font-size: 0.66rem; padding: 0.1rem 0.45rem; }
.tile .ledger tfoot { display: none; }
.tile .minbox li { padding: 0.35rem 0.6rem; font-size: 0.72rem; }
.tile .minbox li:nth-child(n+3) { display: none; }
.tile .draft { margin: 0.4rem 0.55rem 0.55rem; padding: 0.45rem 0.55rem; }
.tile .draft-h, .tile .draft-b { font-size: 0.7rem; }
.tile .chat { padding: 0.5rem 0.6rem 0.6rem; gap: 0.35rem; }
.tile .chat .b { font-size: 0.72rem; padding: 0.35rem 0.55rem; }
.tile .chat .b:nth-child(4), .tile .ai-tag { display: none; }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* Mini visuals */
.ledger .remind { color: var(--blue); font-weight: 500; background: var(--blue-soft); white-space: normal; }
.ledger .remind .ico { display: inline-block; vertical-align: -2px; margin-right: 0.35rem; }
.minbox { list-style: none; }
.minbox li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "from chip" "subj chip"; column-gap: 0.75rem; padding: 0.55rem 0.9rem; border-top: 1px solid var(--line-2); font-size: 0.8125rem; }
.minbox li:first-child { border-top: 0; }
.mi-from { grid-area: from; font-weight: 600; color: var(--ink); }
.mi-subj { grid-area: subj; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.minbox .chip { grid-area: chip; align-self: center; }
.draft { margin: 0.6rem 0.9rem 0.9rem; padding: 0.7rem 0.85rem; border-radius: 12px; background: var(--blue-soft); border: 1px solid #c9cdf7; }
.draft-h { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; font-weight: 600; color: var(--blue); }
.draft-b { margin-top: 0.3rem; font-size: 0.8125rem; color: var(--ink); line-height: 1.45; }
.chat { display: grid; gap: 0.5rem; padding: 0.85rem 0.9rem 1rem; }
.ai-tag { justify-self: center; font-size: 0.72rem; font-weight: 600; color: var(--mute); background: var(--wash); border-radius: 999px; padding: 0.15rem 0.6rem; }
.chat .b { max-width: 85%; font-size: 0.8125rem; line-height: 1.4; padding: 0.5rem 0.75rem; border-radius: 14px; }
.b-in { justify-self: end; background: var(--wash); color: var(--ink); border-bottom-right-radius: 4px; }
.b-out { justify-self: start; background: var(--blue); color: #fff; border-bottom-left-radius: 4px; }
.b-sys { justify-self: center; display: inline-flex; align-items: center; gap: 0.35rem; background: var(--green-soft); color: var(--green); font-weight: 600; max-width: none; }
.rep { padding: 0.9rem 1rem 1rem; font-size: 0.8125rem; }
.kpis { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin-top: 0.6rem; }
.kpis li { background: var(--wash); border-radius: 10px; padding: 0.55rem 0.65rem; }
.k-l { display: block; color: var(--mute); font-size: 0.75rem; }
.k-v { display: block; font-size: 1.15rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.k-d { display: block; font-size: 0.72rem; font-weight: 600; }
.k-d.up { color: var(--green); } .k-d.down { color: #b42318; }
.rep-note { margin-top: 0.7rem; color: var(--body); }
.check { list-style: none; padding: 0.4rem 0; }
.check li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.55rem 0.9rem; font-size: 0.8125rem; color: var(--ink); }
.check .ok .ico { color: var(--green); } .check .wait .ico { color: #a35400; }
.check .st { font-size: 0.75rem; color: var(--mute); }
.check .wait .st { color: #a35400; font-weight: 600; }

/* Agent catalog cards */
.acards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.acard { display: flex; flex-direction: column; height: 100%; padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: var(--paper); transition: border-color 0.15s, box-shadow 0.15s; }
.acard:hover { border-color: #c9cdf7; box-shadow: var(--shadow-1); }
.acard-short { font-size: 0.8125rem; font-weight: 600; color: var(--blue); }
.acard-name { margin-top: 0.3rem; font-size: 1.2rem; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.acard-job { margin-top: 0.45rem; color: var(--body); font-size: 0.975rem; flex: 1; }
.acard-works { margin-top: 1rem; font-size: 0.8125rem; color: var(--mute); }
@media (max-width: 960px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .acards { grid-template-columns: minmax(0, 1fr); } }

.who { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.who li { font-size: 0.975rem; color: var(--ink); background: var(--wash); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; }

/* Agent pages */
.hero-agent { background: var(--tint); }
.agent-vis .win { box-shadow: var(--shadow-2); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
@media (max-width: 900px) { .three { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.nevers { list-style: none; margin-top: 1rem; }
.nevers li { position: relative; padding: 0.7rem 0 0.7rem 2rem; border-top: 1px solid var(--line); }
.nevers li::before, .nevers li::after { content: ""; position: absolute; left: 0.2rem; top: 1.32rem; width: 0.85rem; height: 2px; background: #b42318; }
.nevers li::before { transform: rotate(45deg); }
.nevers li::after { transform: rotate(-45deg); }
.approve { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--tint); border: 1px solid #c9cdf7; color: var(--ink); }

.tile .v-ledger th:nth-child(1), .tile .v-ledger td:nth-child(1) { display: none; }
.tile .v-register th:nth-child(2), .tile .v-register td:nth-child(2) { display: none; }
.tile .ledger td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 9.5rem; }

/* ---- Plain catalog (Nov 15, #4: "too markety") ---- */
.links a:last-child { color: var(--ink); font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; }
.links a:last-child:hover { border-color: var(--ink); }
.narrow-l { max-width: 52rem; }
.intro-sec { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem); }
.intro-sec h1 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.025em; max-width: none; }
.intro-sec .lede { font-size: 1.1875rem; max-width: 40em; }
.facts { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--line); }
.facts div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--mute); }
.facts dd { margin: 0.2rem 0 0; color: var(--ink); font-size: 1rem; }
@media (max-width: 700px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.sec-line { border-top: 1px solid var(--line); }
.sec h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.tbl-wrap { margin-top: 1.5rem; overflow-x: auto; }
.spec { min-width: 52rem; font-size: 0.975rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 1rem 1.25rem 1rem 0; border-top: 1px solid var(--line); }
.spec thead th { font-size: 0.8125rem; font-weight: 600; color: var(--mute); border-top: 0; padding-bottom: 0.6rem; }
.spec tbody th { font-weight: 600; width: 15rem; }
.spec tbody th a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); }
.spec tbody th a:hover { text-decoration-color: var(--ink); }
.spec td { color: var(--body); }
.spec .t-runs { width: 13rem; }
.plain-ol, .plain-ul { margin-top: 1.25rem; padding-left: 1.25rem; display: grid; gap: 0.75rem; }
.plain-ol li, .plain-ul li { padding-left: 0.25rem; }
.plain-ol strong, .plain-ul strong { color: var(--ink); font-weight: 600; }
.more-plain { margin-top: 1.5rem; }
.sec-contact { border-top: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.sec-contact p { font-size: 1.125rem; color: var(--ink); }
.ex-vis { margin-top: 1rem; }
.ex-vis .win { box-shadow: var(--shadow-1); }
.ex-note { margin-top: 0.6rem; font-size: 0.875rem; color: var(--mute); }
.nevers li::before, .nevers li::after { background: var(--ink); }
.links { align-items: center; }
.wrap.narrow-l { max-width: var(--wrap); }
.wrap.narrow-l > * { max-width: 52rem; }

/* ---- Nov 15, #5: visual again, plain words, concrete tasks ---- */
.hero h1 { font-size: clamp(2.6rem, 4.8vw, 3.9rem); max-width: 11em; }
.facts-band { border-bottom: 1px solid var(--line); background: var(--paper); }
.facts-band .facts { margin: 0; border-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; }
.facts-band .facts div { border-bottom: 0; padding: 1.4rem 0; }
@media (max-width: 960px) { .facts-band .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts-band .facts { grid-template-columns: minmax(0, 1fr); } .facts-band .facts div { padding: 0.9rem 0; border-bottom: 1px solid var(--line-2); } }

/* Agent explorer */
.explorer { margin-top: 2.25rem; }
.xtabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.xt { font: inherit; font-size: 0.9375rem; font-weight: 550; color: var(--body); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem; cursor: pointer; }
.xt:hover { border-color: #c9cdd8; color: var(--ink); }
.xt[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.explorer:not(.js) .xtabs { display: none; }
.xps { margin-top: 1.25rem; }
.xp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 22px; background: var(--wash); }
.explorer:not(.js) .xp + .xp { margin-top: 1.25rem; }
.xp[hidden] { display: none; }
.xp-name { font-size: 1.5rem; letter-spacing: -0.02em; }
.xp-job { margin-top: 0.5rem; }
.xp-meta { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: 0.9375rem; color: var(--mute); }
.xp-meta a { font-weight: 600; }
.xp-vis { position: sticky; top: 6rem; }
@media (max-width: 900px) {
  .xp { grid-template-columns: minmax(0, 1fr); }
  .xp-vis { position: static; }
  .xtabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.3rem; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; }
  .xtabs::-webkit-scrollbar { display: none; }
  .xt { flex: none; white-space: nowrap; }
}

/* Task log: what the agent actually did */
.tlog { list-style: none; margin: 1.25rem 0 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.tlog li { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) auto; gap: 0.2rem 0.9rem; align-items: start; padding: 0.75rem 1rem; border-top: 1px solid var(--line-2); font-size: 0.9rem; line-height: 1.45; }
.tlog li:first-child { border-top: 0; }
.tl-t { color: var(--mute); font-size: 0.8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 0.08rem; }
.tl-x { color: var(--ink); }
.tlog .chip { white-space: nowrap; }
.w-log .tlog { margin: 0; border: 0; border-radius: 0; }
@media (max-width: 560px) { .tlog li { grid-template-columns: minmax(0, 1fr) auto; } .tl-t { grid-column: 1 / -1; } }

/* Engagement flow */
.eflow { list-style: none; padding: 0; margin-top: 2.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; position: relative; }
.eflow::before { content: ""; position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem; height: 1px; background: #c9cdf7; }
.eflow li { position: relative; }
.fl-n { position: relative; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--paper); border: 1px solid #c9cdf7; color: var(--blue); font-weight: 650; }
.eflow h3 { margin-top: 1rem; font-size: 1.125rem; }
.eflow p { margin-top: 0.4rem; font-size: 0.975rem; }
@media (max-width: 900px) {
  .eflow { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .eflow::before { top: 1.25rem; bottom: 1.25rem; left: 1.25rem; right: auto; width: 1px; height: auto; }
  .eflow li { padding-left: 3.5rem; }
  .fl-n { position: absolute; left: 0; top: 0; }
  .eflow h3 { margin-top: 0.35rem; }
}

/* Standards grid */
.stds { list-style: none; padding: 0; margin-top: 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stds li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.stds li > .ico { width: 1.25rem; height: 1.25rem; color: var(--blue); margin-top: 0.1rem; }
.stds h3 { font-size: 1rem; }
.stds p { margin-top: 0.3rem; font-size: 0.9375rem; }
@media (max-width: 1000px) { .stds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stds { grid-template-columns: minmax(0, 1fr); } }

/* Contact panel */
.sec-contact { border-top: 0; padding-top: 0; }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 22px; background: var(--tint); border: 1px solid #dfe3fb; }
.sec-contact .contact p { margin-top: 0.5rem; max-width: 38em; font-size: 1.0625rem; color: var(--body); }

/* Agents index cards */
.acards2 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.acard2 { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); transition: border-color 0.15s; }
.acard2:hover { border-color: #c4c8d4; }
.ac-vis { background: var(--wash); padding: 1.5rem; border-bottom: 1px solid var(--line); }
.ac-copy { padding: 1.5rem; }
.ac-name { font-size: 1.375rem; }
.ac-copy p { margin-top: 0.5rem; }
.ac-tasks { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: 0.4rem; font-size: 0.9375rem; }
.ac-tasks li { display: flex; gap: 0.5rem; }
.ac-tasks .ico { width: 1.1rem; height: 1.1rem; color: var(--green); margin-top: 0.2rem; }
.ac-runs { display: block; margin-top: 1rem; font-size: 0.875rem; color: var(--mute); }
@media (max-width: 900px) { .acards2 { grid-template-columns: minmax(0, 1fr); } }

/* Example windows: never wider than the screen */
.xp-vis .win, .ac-vis .win, .ex-vis .win { max-width: 100%; }
@media (max-width: 560px) {
  .xp-vis .v-ledger thead th:first-child, .xp-vis .v-ledger tbody td:first-child,
  .ac-vis .v-ledger thead th:first-child, .ac-vis .v-ledger tbody td:first-child,
  .ex-vis .v-ledger thead th:first-child, .ex-vis .v-ledger tbody td:first-child { display: none; }
  .xp-vis .v-register thead th:nth-child(2), .xp-vis .v-register tbody td:nth-child(2),
  .ac-vis .v-register thead th:nth-child(2), .ac-vis .v-register tbody td:nth-child(2),
  .ex-vis .v-register thead th:nth-child(2), .ex-vis .v-register tbody td:nth-child(2) { display: none; }
  .ledger td .remind, .ledger td.remind { white-space: normal; }
}

/* Small screens: keep the four header links on one line */
@media (max-width: 640px) {
  .top-in { gap: 1rem; }
  .links { gap: 0.9rem; }
  .links a { font-size: 0.8125rem; }
  .links a:last-child { padding: 0.3rem 0.65rem; }
}
@media (max-width: 400px) { .links a[href="/work/"] { display: none; } }
.win-foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.9rem; font-size: 0.8125rem; font-weight: 650; color: var(--ink); background: #fafbfc; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }

/* Services and pricing (/services/, 2026-12-04): blue hero with a glass price card, time calculator, price table, cards. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sv-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(120, 140, 255, 0.55), transparent 60%),
              radial-gradient(40rem 26rem at 0% 110%, rgba(14, 122, 85, 0.35), transparent 60%),
              linear-gradient(135deg, #0b1020 0%, #1a2290 55%, #2b37e0 100%); }
.sv-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.sv-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sv-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 14em; margin-top: 0.75rem; }
.sv-hero .lede { color: rgba(255, 255, 255, 0.86); }
.sv-crumb { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.sv-crumb a { color: #fff; }
.sv-proof { list-style: none; margin-top: 1.75rem; display: grid; gap: 0.5rem; }
.sv-proof li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.975rem; color: rgba(255, 255, 255, 0.92); }
.sv-proof .ico { width: 1.15rem; height: 1.15rem; color: #8ef0c4; flex: none; }
.glass { border-radius: 22px; padding: 1.5rem 1.6rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.glass-h { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.glass-list { list-style: none; margin-top: 0.75rem; }
.glass-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.975rem; }
.glass-list li:first-child { border-top: 0; }
.glass-list b { color: #fff; font-weight: 650; text-align: right; }
.glass-f { margin-top: 0.75rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); }
.sv-stats { position: relative; z-index: 1; margin: clamp(2rem, 4vw, 3rem) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18); }
.sv-stats div { padding: 1.1rem 1rem 0 0; }
.sv-stats dt { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
.sv-stats dd { margin: 0.2rem 0 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 650; color: #fff; letter-spacing: -0.02em; }
@media (max-width: 960px) { .sv-hero-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .sv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.calc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.calc { display: grid; gap: 1rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow-2); }
.calc .f-row { grid-column: auto; }
.calc label { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.calc input { font: inherit; font-size: 1.125rem; min-height: 3rem; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--wash); color: var(--ink); }
.calc input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; background: #fff; }
.calc-out { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.25rem 1.4rem; border-radius: 16px; background: var(--blue-soft); }
.calc-k { font-size: 0.875rem; font-weight: 600; color: var(--blue-dk); }
.calc-out output { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-sub { font-size: 0.9375rem; color: var(--body); }
@media (max-width: 860px) { .calc-wrap { grid-template-columns: minmax(0, 1fr); } }

.tbl-wrap { position: relative; }
.sv-tbl { min-width: 46rem; }
.sv-tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; padding-right: 1.5rem; }
.sv-tbl thead .num { color: var(--mute); font-weight: 600; }
.sv-sub { display: block; margin-top: 0.15rem; font-size: 0.8125rem; font-weight: 500; color: var(--mute); }
.sv-go { white-space: nowrap; font-weight: 600; font-size: 0.9375rem; }
.sv-group { margin-top: 2.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.sv-cards { list-style: none; margin-top: 0.9rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1rem; }
.sv-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); transition: border-color 0.15s, box-shadow 0.15s; scroll-margin-top: 6rem; }
.sv-card:hover { border-color: #c9cdf7; box-shadow: var(--shadow-1); }
.sv-feature { grid-column: 1 / -1; background: linear-gradient(135deg, var(--tint), #fff 60%); border-color: #c9cdf7; }
.sv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.sv-top h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.sv-time { display: inline-flex; align-items: center; gap: 0.35rem; flex: none; font-size: 0.8125rem; color: var(--mute); padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--wash); }
.sv-time .ico { width: 0.95rem; height: 0.95rem; }
.sv-what { margin-top: 0.6rem; font-size: 0.975rem; }
.sv-gets { list-style: none; margin-top: 1rem; display: grid; gap: 0.4rem; flex: 1; }
.sv-gets li { display: flex; gap: 0.5rem; font-size: 0.9375rem; color: var(--ink); }
.sv-gets .ico { width: 1.1rem; height: 1.1rem; color: var(--green); flex: none; margin-top: 0.2rem; }
.sv-foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.sv-price { display: flex; flex-direction: column; }
.pr-n { font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.pr-u { font-size: 0.8125rem; color: var(--mute); }
.sv-note { width: 100%; order: 3; font-size: 0.8125rem; color: var(--mute); }

.cmp { min-width: 50rem; }
.cmp td { text-align: center; }
.cmp thead th:not(:first-child) { text-align: center; }
.cmp thead th:nth-child(2) { color: var(--blue); }
.mk { display: inline-block; min-width: 4.25rem; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.m-yes { background: var(--green-soft); color: var(--green); }
.m-part { background: #fff6e0; color: #8a5a00; }
.m-no { background: var(--line-2); color: var(--mute); }
.cmp-note { margin-top: 0.75rem; font-size: 0.8125rem; }
.sv-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .sv-why { grid-template-columns: minmax(0, 1fr); } }
.sv-legal .fine { margin-top: 0; font-size: 0.8125rem; line-height: 1.6; }

/* Services v2 (2026-12-05): dark stage hero with real product screens, case studies, framed screenshots. */
.eyebrow { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.6rem; }
.h-gap2 { margin-top: clamp(3.5rem, 7vw, 5rem); }
.vx-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
  background: radial-gradient(55rem 32rem at 78% 8%, rgba(99, 112, 255, 0.55), transparent 62%),
              radial-gradient(38rem 26rem at 6% 100%, rgba(18, 165, 148, 0.30), transparent 62%),
              linear-gradient(160deg, #070a18 0%, #0e1440 48%, #1b25a8 100%); }
.vx-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.10;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); }
.vx-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.vx-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.75rem); line-height: 1.04; letter-spacing: -0.035em; margin-top: 0.75rem; }
.vx-hero .lede { color: rgba(255, 255, 255, 0.84); font-size: 1.15rem; }
.vx-peek { list-style: none; margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 0.4rem 1.2rem; max-width: 34rem; }
.vx-peek li { display: flex; flex-direction: column; padding: 0.75rem 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.vx-peek li:nth-child(-n+2) { border-top: 0; }
.vx-peek span { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.66); }
.vx-peek b { font-size: 1.05rem; color: #fff; font-weight: 650; letter-spacing: -0.01em; }
.vx-stage { position: relative; min-height: 30rem; perspective: 1600px; }
.bz { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 12px 30px -16px rgba(11, 16, 32, 0.35); }
.bz-bar { display: flex; align-items: center; gap: 0.35rem; height: 1.9rem; padding: 0 0.75rem; background: #f3f4f8; border-bottom: 1px solid var(--line); }
.bz-bar i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #d4d7e2; }
.bz-bar span { margin-left: 0.5rem; font-size: 0.72rem; font-weight: 600; color: var(--mute); }
.bz img { width: 100%; height: auto; }
.ph { margin: 0; border-radius: 30px; overflow: hidden; background: #fff; border: 7px solid #0b1020;
  box-shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.65); }
.ph img { width: 100%; height: auto; }
.st-a { position: absolute; top: 0; right: 0; width: 92%; transform: rotateY(-8deg) rotateX(3deg); transform-origin: right center; }
.st-b { position: absolute; top: 58%; right: 4%; width: 64%; transform: rotateY(-8deg); transform-origin: right center; }
.st-c { position: absolute; bottom: -2rem; left: 0; width: 34%; transform: rotate(-4deg); }
.st-tag { position: absolute; top: -1.9rem; right: 0; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }
@media (prefers-reduced-motion: no-preference) {
  .st-a, .st-b, .st-c { animation: vx-rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .st-b { animation-delay: 0.15s; } .st-c { animation-delay: 0.3s; }
  @keyframes vx-rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 960px) {
  .vx-in { grid-template-columns: minmax(0, 1fr); }
  .vx-stage { min-height: 0; height: clamp(18rem, 70vw, 30rem); margin-top: 2.5rem; }
}
@media (max-width: 560px) { .vx-peek { grid-template-columns: minmax(0, 1fr); } .vx-peek li:nth-child(2) { border-top: 1px solid rgba(255,255,255,.14); } }

.proof { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.proof p { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.proof ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.proof li { font-size: 0.875rem; font-weight: 600; color: var(--ink); padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--wash); border: 1px solid var(--line); }

.work .intro { margin-bottom: 1rem; }
.case { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; }
.case-r .case-copy { order: 2; }
.case-k { font-size: 0.8125rem; font-weight: 650; color: var(--blue); letter-spacing: 0.04em; text-transform: uppercase; }
.case h3 { margin-top: 0.5rem; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.12; letter-spacing: -0.025em; }
.case-lead { margin-top: 0.9rem; font-size: 1.0625rem; }
.case-facts { margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.case-facts div { padding: 0.9rem 1rem; border-radius: 14px; background: var(--tint); border: 1px solid #e3e6fb; display: flex; flex-direction: column-reverse; }
.case-facts dt { font-size: 0.8125rem; color: var(--body); line-height: 1.35; }
.case-facts dd { margin: 0 0 0.15rem; font-size: 1.45rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.case-chips { list-style: none; margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.case-chips li { font-size: 0.8125rem; font-weight: 550; color: var(--ink); padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); }
.case-price { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.case-price span { width: 100%; font-size: 0.8125rem; color: var(--mute); }
.case-price b { color: var(--ink); font-size: 1.05rem; }
.case-price a { font-weight: 600; font-size: 0.9375rem; }
.case-vis { position: relative; }
.case-vis .bz { border-color: var(--line); box-shadow: var(--shadow-2); }
.case-vis .w-float { position: absolute; right: -1rem; bottom: -2.5rem; width: 62%; }
.case-vis .w-main { width: 100%; }
.case-vis .w-tall img { max-height: 34rem; object-fit: cover; object-position: top; }
.ph-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.ph-row .ph { border-width: 6px; box-shadow: var(--shadow-2); }
.ph-row .ph-b { margin-top: 2.5rem; }
.case-demo { overflow: hidden; border-radius: 22px; background: var(--tint); padding: 1.25rem; }
@media (max-width: 960px) {
  .case { grid-template-columns: minmax(0, 1fr); }
  .case-r .case-copy { order: 0; }
  .case-vis .w-float { position: relative; right: auto; bottom: auto; width: 80%; margin: -2rem 0 0 auto; }
}
@media (max-width: 560px) { .case-facts { grid-template-columns: minmax(0, 1fr); } .ph-row { gap: 0.5rem; } .ph-row .ph { border-width: 4px; border-radius: 18px; } }
@media (max-width: 960px) { .case-vis { order: -1; margin-bottom: 1rem; } .case-r .case-copy { order: 0; } }
@media (max-width: 560px) {
  .case-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .case-facts div { padding: 0.7rem 0.6rem; }
  .case-facts dd { font-size: 1.05rem; }
  .case-facts dt { font-size: 0.72rem; }
}

/* Services v3 (2026-12-05): product switcher, tilt, marquee, estimate builder, lightbox, reveal. */
.zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; }
.zoom:disabled { cursor: default; }
.zoom img { display: block; }
.vx-right { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.vx-tabs { align-self: flex-start; display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.3rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.vt { font: inherit; font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); background: none; border: 0; border-radius: 999px;
  padding: 0.55rem 0.95rem; min-height: 2.5rem; cursor: pointer; transition: background 0.2s, color 0.2s; }
.vt:hover { color: #fff; }
.vt[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5); }
.vt:focus-visible { outline: 2px solid #9aa6ff; outline-offset: 2px; }
.vx-stage { --rx: 0deg; --ry: 0deg; position: relative; height: 31rem; min-height: 0; transform: perspective(1600px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.35s ease-out; transform-style: preserve-3d; }
.scene { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(0.985); pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.2,.7,.2,1); }
.scene.is-on { opacity: 1; transform: none; pointer-events: auto; }
.scene .st-a { position: absolute; top: 1.5rem; right: 0; width: 92%; transform: none; }
.scene .st-b { position: absolute; top: auto; bottom: 0.5rem; left: 0; right: auto; width: 62%; transform: none; }
.scene .st-tall .zoom img { max-height: 22rem; object-fit: cover; object-position: top; }
.st-phones { position: absolute; inset: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.st-phones .ph:nth-child(2) { margin-top: 2.5rem; }
.st-phones .ph { border-width: 6px; }
.st-agent .win { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.scene .st-agent.st-a { width: 78%; }
.scene .st-agent.st-b { width: 58%; }
.st-tag { top: auto; bottom: -1.8rem; right: 0; }
@media (prefers-reduced-motion: reduce) { .scene, .vx-stage { transition: none; } }
@media (max-width: 960px) { .vx-stage { height: clamp(20rem, 78vw, 31rem); } }
@media (max-width: 560px) { .vt { padding: 0.45rem 0.7rem; font-size: 0.8125rem; } .st-phones { gap: 0.5rem; } .st-phones .ph { border-width: 4px; border-radius: 18px; } }

.proof-in { flex-wrap: nowrap; }
.proof p { flex: none; }
.mq { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; gap: 0.5rem; }
.mq-track ul { flex-wrap: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .mq-track { animation: mq 38s linear infinite; }
  .mq:hover .mq-track { animation-play-state: paused; }
  @keyframes mq { to { transform: translateX(calc(-50% - 0.25rem)); } }
}
@media (prefers-reduced-motion: reduce) { .mq-track ul[aria-hidden] { display: none; } .mq-track ul { flex-wrap: wrap; } .mq-track { width: auto; } }
@media (max-width: 760px) { .proof-in { flex-wrap: wrap; } .mq { flex-basis: 100%; } }

html.rv-on .rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
html.rv-on .rv.in { opacity: 1; transform: none; }

.cmpbar { display: grid; gap: 0.6rem; padding: 0.25rem 0.25rem 0; }
.cb-row { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; align-items: baseline; font-size: 0.875rem; }
.cb-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.cb { grid-column: 1 / -1; display: block; height: 0.6rem; border-radius: 999px; background: var(--line-2); position: relative; overflow: hidden; }
.cb::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); border-radius: inherit; transition: width 0.45s cubic-bezier(.2,.7,.2,1); }
.cb-cost::after { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.cb-agent::after { background: linear-gradient(90deg, var(--blue), #12a594); }

.est-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.est-copy { position: sticky; top: 6rem; }
.est-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.025em; line-height: 1.12; }
.est-total { margin: 1.5rem 0 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.est-total div { padding: 0.9rem 1rem; border-radius: 16px; background: linear-gradient(160deg, #0e1440, #1b25a8); color: #fff; box-shadow: var(--shadow-2); }
.est-total span { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.72); }
.est-total b { display: block; margin-top: 0.15rem; font-size: 1.35rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.est-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.est-in { position: absolute; opacity: 0; width: 1px; height: 1px; }
.est-list label { display: flex; flex-direction: column; gap: 0.15rem; height: 100%; padding: 0.95rem 1.1rem 0.95rem 2.9rem; border-radius: 16px; position: relative;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.est-list label::before { content: ""; position: absolute; left: 1rem; top: 1.1rem; width: 1.15rem; height: 1.15rem; border-radius: 6px; border: 1.5px solid #c5c9d6; background: #fff;
  transition: background 0.15s, border-color 0.15s; }
.est-list label:hover { border-color: #c9cdf7; box-shadow: var(--shadow-1); }
.est-in:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.est-in:checked + label { border-color: var(--blue); background: var(--tint); box-shadow: 0 0 0 3px var(--blue-soft); }
.est-in:checked + label::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; border-color: var(--blue); }
.est-g { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mute); }
.est-n { font-weight: 650; color: var(--ink); line-height: 1.3; }
.est-p { font-size: 0.875rem; color: var(--body); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .est-wrap { grid-template-columns: minmax(0, 1fr); } .est-copy { position: static; } }
@media (max-width: 560px) { .est-list { grid-template-columns: minmax(0, 1fr); } .est-total b { font-size: 1.05rem; } }

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.sv-feature { border: 1.5px solid transparent;
  background: linear-gradient(135deg, var(--tint), #fff 60%) padding-box, conic-gradient(from var(--ang), #2b37e0, #12a594, #8b5cf6, #2b37e0) border-box; }
@media (prefers-reduced-motion: no-preference) { .sv-feature { animation: ang 6s linear infinite; } @keyframes ang { to { --ang: 360deg; } } }

.proc li { transition-delay: calc(var(--i, 0) * 80ms); }

.lb { padding: 0; border: 0; border-radius: 18px; max-width: min(92vw, 1400px); max-height: 92vh; background: #fff; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.lb::backdrop { background: rgba(7, 10, 24, 0.78); backdrop-filter: blur(6px); }
.lb img { display: block; max-width: min(92vw, 1400px); max-height: 92vh; width: auto; height: auto; }
.lb-x { position: absolute; top: 0.6rem; right: 0.6rem; width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 0; background: rgba(11, 16, 32, 0.75); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.est-list li { position: relative; }
.est-bar { display: none; }
@media (max-width: 960px) {
  .est-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; position: sticky; bottom: 0.75rem; margin-top: 1rem; z-index: 3;
    padding: 0.7rem 0.7rem 0.7rem 1.1rem; border-radius: 999px; color: #fff; background: rgba(14, 20, 64, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -16px rgba(11, 16, 32, 0.6); font-size: 0.875rem; }
  .est-bar b { font-size: 1.05rem; }
  .est-bar .btn { flex: none; background: #fff; color: var(--blue); }
}

/* Services v4 (2026-12-05): sales layout. Trust strip, case panels, three packages, collapsed full list, final CTA, floating CTA. */
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid #cfd3e2; }
.btn-ghost:hover { background: var(--wash); border-color: var(--ink); }
.sec-head { text-align: center; max-width: 44rem; margin: 0 auto; }
.sec-head .intro { margin-left: auto; margin-right: auto; }
.vx-hero { padding-bottom: 0; }
.vx-hero .lede { max-width: 30em; }
.trust { position: relative; z-index: 1; list-style: none; margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.16); }
.trust li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 1.25rem 1.25rem 1.5rem 0; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.78); line-height: 1.4; }
.trust b { display: block; color: #fff; font-weight: 650; }
.trust .ico { width: 1.2rem; height: 1.2rem; flex: none; color: #8ef0c4; margin-top: 0.1rem; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vx-stage { height: 33rem; }
.scene .st-a { top: 0.5rem; width: 96%; }
.scene .st-b { width: 58%; bottom: 1.5rem; left: -1rem; }
@media (max-width: 960px) { .vx-stage { height: clamp(20rem, 80vw, 33rem); } .scene .st-b { left: 0; } }

.work .intro { margin-bottom: 2.5rem; }
.case { padding: clamp(1.75rem, 4vw, 3.5rem); margin-top: 1.5rem; border: 1px solid #e3e6fb; border-radius: 32px; overflow: hidden;
  background: radial-gradient(40rem 22rem at 100% 0%, #e9ecff, transparent 60%), linear-gradient(180deg, #f7f8ff, #fff);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.case:first-of-type { border-top: 1px solid #e3e6fb; }
.case-r { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.case-facts div { background: #fff; }
.case-vis .w-float { right: -0.5rem; bottom: -1.5rem; }
.case-vis { padding-bottom: 1.5rem; }
.case-demo { background: none; padding: 0; }
.case-dark { color: rgba(255, 255, 255, 0.82); border-color: #1b2266;
  background: radial-gradient(40rem 24rem at 0% 0%, rgba(99, 112, 255, 0.5), transparent 60%), linear-gradient(160deg, #070a18, #0e1440 55%, #1b25a8); }
.case-dark h3, .case-dark .case-price b { color: #fff; }
.case-dark .case-k { color: #9aa6ff; }
.case-dark .case-facts div { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
.case-dark .case-facts dd { color: #fff; }
.case-dark .case-facts dt, .case-dark .case-price span { color: rgba(255, 255, 255, 0.7); }
.case-dark .case-chips li { color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.case-dark .case-price { border-top-color: rgba(255, 255, 255, 0.16); }
.case-dark .case-price a { color: #c3caff; }
.case-dark .ph { border-color: #000; }
@media (max-width: 960px) { .case, .case-r { grid-template-columns: minmax(0, 1fr); border-radius: 24px; } }

.pk { list-style: none; margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.pk-card { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.75rem; border-radius: 28px; border: 1px solid var(--line); background: #fff; }
.pk-k { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.pk-card h3 { margin-top: 0.4rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.pk-price { margin-top: 1.25rem; display: flex; flex-direction: column; }
.pk-price b { font-size: clamp(2.2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pk-price span { margin-top: 0.4rem; font-size: 0.9375rem; color: var(--mute); }
.pk-d { margin-top: 1.1rem; font-size: 0.975rem; }
.pk-l { list-style: none; margin: 1.25rem 0 1.75rem; display: grid; gap: 0.55rem; flex: 1; align-content: start; }
.pk-l li { display: flex; gap: 0.55rem; font-size: 0.9375rem; color: var(--ink); }
.pk-l .ico { width: 1.15rem; height: 1.15rem; flex: none; color: var(--green); margin-top: 0.2rem; }
.pk-hot { color: rgba(255, 255, 255, 0.84); border-color: transparent; transform: translateY(-0.75rem);
  background: radial-gradient(26rem 18rem at 100% 0%, rgba(120, 140, 255, 0.6), transparent 62%), linear-gradient(160deg, #0b1020, #141b7a 55%, #2b37e0);
  box-shadow: 0 40px 70px -30px rgba(31, 41, 184, 0.65); }
.pk-hot h3, .pk-hot .pk-price b, .pk-hot .pk-l li { color: #fff; }
.pk-hot .pk-k { color: #aab3ff; }
.pk-hot .pk-price span { color: rgba(255, 255, 255, 0.72); }
.pk-hot .pk-l .ico { color: #8ef0c4; }
.pk-flag { position: absolute; top: -0.85rem; left: 1.75rem; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.75rem; font-weight: 650; color: #0b1020; background: #8ef0c4; }
html.rv-on .pk-hot.rv.in { transform: translateY(-0.75rem); }
@media (max-width: 960px) { .pk { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin-left: auto; margin-right: auto; } .pk-hot, html.rv-on .pk-hot.rv.in { transform: none; } }

.allp { margin-top: 2.5rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.allp summary { list-style: none; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 0.6rem; padding: 1.1rem 1.5rem; font-weight: 650; color: var(--blue); border-radius: 22px; }
.allp summary::-webkit-details-marker { display: none; }
.allp summary::after { content: ""; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
.allp[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.allp summary:hover { background: var(--tint); }
.allp[open] { padding: 0 clamp(1rem, 3vw, 2rem) 2rem; }
.allp[open] summary { margin: 0 calc(-1 * clamp(1rem, 3vw, 2rem)); border-bottom: 1px solid var(--line); border-radius: 22px 22px 0 0; }
.allp-h { margin-top: 2rem; font-size: 1.25rem; }
.sv-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .sv-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sv-grid3 { grid-template-columns: minmax(0, 1fr); } }
.sv-card:target { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }

.fin { color: #fff; text-align: center; padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: radial-gradient(50rem 26rem at 50% 0%, rgba(99, 112, 255, 0.6), transparent 62%), linear-gradient(180deg, #0b1020, #141b7a); }
.fin h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.75rem); letter-spacing: -0.035em; line-height: 1.05; }
.fin p { margin: 1.1rem auto 0; max-width: 34em; font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); }
.fin .cta-row { justify-content: center; }
.fin .btn { min-height: 3.5rem; padding: 0 2rem; font-size: 1.0625rem; }

.fab { position: fixed; z-index: 6; left: 50%; bottom: 1.25rem; display: flex; align-items: center; gap: 1rem; padding: 0.5rem 0.5rem 0.5rem 1.25rem; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: 0.9375rem; background: rgba(11, 16, 32, 0.9); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 44px -16px rgba(11, 16, 32, 0.7);
  transform: translate(-50%, 160%); opacity: 0; transition: transform 0.4s cubic-bezier(.2,.7,.2,1), opacity 0.3s; white-space: nowrap; }
.fab.on { transform: translate(-50%, 0); opacity: 1; }
.fab b { padding: 0.6rem 1.1rem; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 650; }
@media (max-width: 560px) { .fab span { display: none; } .fab { padding: 0.4rem; } }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }
.case, .case-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.case-facts { gap: 0.5rem; }
.case-facts div { padding: 0.8rem 0.85rem; }
.case-facts dd { font-size: 1.2rem; white-space: nowrap; }
.case-facts dt { font-size: 0.78rem; }
@media (max-width: 960px) { .case, .case-r { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) {
  .vx-stage { overflow: hidden; border-radius: 16px; }
  .scene .st-agent.st-b { display: none; }
  .scene .st-agent.st-a { width: 100%; top: 0.5rem; }
}
@media (max-width: 560px) {
  .case-facts dd { font-size: 0.95rem; }
  .case-demo #demo { zoom: 0.82; }
}
.rel { list-style: none; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rel a { display: inline-block; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 550; }
.rel a:hover { border-color: var(--blue); color: var(--blue); }
