/* ==========================================================================
   vectorsign.io — site styles (the 2026 redesign; Claude Design project
   "VectorSign"). Hand-written, no build step. Pages are generated by
   scripts/build-site.py; the legal and partner pages also load Tailwind's
   main.css for their body content.
   ========================================================================== */

/* Geist, self-hosted (variable, 400–700): no request to Google. */
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0B1220; --text: #2A3245; --muted: #5B6478; --subtle: #8A93A6;
  --blue: #3A5BD9; --blue-hover: #2C47B8; --blue-soft: #EEF2FF; --blue-line: #C9D3F5;
  --line: #EEF0F5; --line-2: #E3E7F2; --line-3: #E7E9F0; --panel: #FBFBFD; --panel-2: #F7F8FC;
  --dark: #0A1024; --on-dark: #8EA3FF;
  --green: #15803D; --green-soft: #E8F7EE;
  --pad-x: clamp(20px, 4vw, 40px);
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
.vs h1, .vs h2, .vs h3, .vs p { margin: 0; }
.vs a { color: var(--blue); text-decoration: none; }
.vs a:hover { color: var(--blue-hover); }
.vs button { font-family: inherit; }
::selection { background: #DCE3FF; }
.vs img { max-width: 100%; }

/* Layout ------------------------------------------------------------------ */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.wrap-900 { max-width: 900px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.stack { display: flex; flex-direction: column; }
.center { align-items: center; text-align: center; }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); gap: 12px; }
/* The design sized these with JavaScript; CSS does it here. */
.grid-3 { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Type -------------------------------------------------------------------- */
.eyebrow {
  align-self: flex-start; display: inline-block; padding: 5px 11px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue); font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
}
.eyebrow.on-dark { background: rgba(142,163,255,.14); color: #AEBEFF; }
.center .eyebrow { align-self: center; }
.h-hero  { font-size: clamp(44px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.h-page  { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.h-page-sm { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.h2      { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
.h2-lg   { font-size: clamp(34px, 4vw, 50px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
.h2-xl   { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.h2-sm   { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
.blue { color: var(--blue); }
.on-dark-blue { color: var(--on-dark); }
.block { display: block; }
.lede { font-size: 18px; line-height: 1.55; color: var(--muted); }
.body-17 { font-size: 17px; line-height: 1.55; color: var(--muted); }
.body-16 { font-size: 16px; line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.link-arrow { font-size: 14.5px; font-weight: 600; }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 11px;
  font-weight: 600; font-size: 15.5px; padding: 14px 20px; border: 0; cursor: pointer; line-height: 1.2; }
.btn-sm { font-size: 15px; padding: 12px 18px; border-radius: 10px; gap: 8px; }
.vs .btn-primary { background: var(--blue); color: #fff; }
.vs .btn-primary:hover { background: var(--blue-hover); color: #fff; }
.vs .btn-primary.glow { box-shadow: 0 10px 24px -10px rgba(58,91,217,.7); }
.vs .btn-primary.on-dark:hover { background: #4B6BE6; }
.vs .btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.vs .btn-outline:hover { border-color: var(--blue-line); color: var(--ink); }
.vs .btn-outline.hover-blue:hover { color: var(--blue); }
.vs .btn-ghost-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.vs .btn-ghost-dark:hover { background: rgba(255,255,255,.08); color: #fff; }
.vs .btn-white { background: #fff; color: var(--ink); }
.vs .btn-white:hover { background: var(--blue-soft); color: var(--ink); }

/* Cards & lists ----------------------------------------------------------- */
.card { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.card-plain { padding: 20px; border-radius: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.lift { transition: box-shadow .2s, border-color .2s; }
.lift:hover { box-shadow: 0 14px 30px -18px rgba(23,38,110,.3); }
.lift.border-on-hover:hover { border-color: #D6DDF7; }
.tile { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.tile.solid { background: var(--blue); }
.tile.sm { width: 34px; height: 34px; border-radius: 10px; }
.tile.lg { width: 42px; height: 42px; }
.card-title { font-size: 17px; font-weight: 700; }
.card-text { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.check { display: flex; gap: 8px; align-items: flex-start; }
.check svg { flex: none; margin-top: 2px; }
.num { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.num.solid { background: var(--blue); color: #fff; }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.mono { font-family: var(--mono); }
.dark { background: var(--dark); color: #fff; }
.code-card { border-radius: 16px; background: var(--dark); overflow: hidden; }
.code-card .bar { padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(255,255,255,.5); font-family: var(--mono); }
.code-card pre { margin: 0; padding: 18px; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: #E6E9F5; }
.c-key { color: #8EA3FF; } .c-str { color: #86EFAC; } .c-cmt { color: #7C86A6; }

/* Segmented switch (Yearly / Monthly) ----------------------------------- */
.seg { display: inline-flex; padding: 4px; border-radius: 11px; background: #E9ECF3; }
.seg button { padding: 8px 16px; border-radius: 8px; border: 0; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--muted); }
.seg.sm button { padding: 7px 16px; font-size: 13.5px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,18,32,.12); }

/* Plans ------------------------------------------------------------------- */
.plan { background: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line-3); }
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 24px 50px -28px rgba(58,91,217,.55); }
.plan .cta { display: block; padding: 11px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; text-align: center; background: #F1F3F8; color: var(--ink); }
.plan.featured .cta { background: var(--blue); color: #fff; }
.vs .plan .cta:hover { background: #E5E9F2; color: var(--ink); }
.vs .plan.featured .cta:hover { background: var(--blue-hover); color: #fff; }
.badge-popular { padding: 3px 9px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 600; }

/* FAQ (details/summary) --------------------------------------------------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { font-size: 22px; font-weight: 400; color: var(--blue); flex: none; transition: transform .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 70ch; }

/* Home: product mockups ---------------------------------------------------- */
.hero-art { position: relative; padding-bottom: 80px; }
.float-card { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(23,38,110,.4); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.hero-art .float-card.assistant { position: absolute; right: -24px; bottom: 0; width: 300px; }
.hero-art .float-card.know { position: absolute; right: 0; bottom: 0; width: 280px; gap: 8px; }
@media (max-width: 1100px) {
  .hero-art { padding-bottom: 0; }
  .hero-art .float-card.assistant, .hero-art .float-card.know { position: static; width: auto; margin-top: 14px; }
}
.ck { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #A0A7B6; transition: color .3s; }
.ck .dot { width: 17px; height: 17px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--line-3); transition: background .3s; }
.ck.done { color: var(--text); }
.ck.done .dot { background: #22A35A; }
.dark-panel .ck { color: rgba(255,255,255,.45); }
.dark-panel .ck .dot { background: rgba(255,255,255,.12); }
.dark-panel .ck.done { color: #fff; }
.dark-panel .ck.done .dot { background: #22A35A; }
.caret { display: inline-block; width: 2px; height: 16px; background: #8EA3FF; vertical-align: -3px; margin-left: 1px; animation: vsBlink 1s steps(1) infinite; }
@keyframes vsBlink { 50% { opacity: 0; } }
.vs [hidden] { display: none !important; }
.skel { height: 6px; border-radius: 3px; background: var(--line); }
.strip a { flex: 1 1 140px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; color: var(--ink); font-size: 13.5px; font-weight: 500; text-align: center; border-radius: 18px; }
.vs .strip a:hover { background: #fff; color: var(--blue); }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: 13px; overflow: hidden; background: linear-gradient(135deg, #101A44, #2B3FA8); }
.video-frame > button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: transparent; display: block; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(58,91,217,.6); animation: vsPulse 2.2s ease-out infinite; }
@keyframes vsPulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }

/* Home: "Built to comply with" — credentials, not another row of tiles */
.comply { padding: 0 0 clamp(64px, 7vw, 96px); margin-top: calc(-1 * clamp(24px, 3vw, 40px)); }
.comply .comply-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin: 0 0 18px; }
.comply-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 16px; }
.comply-item { display: flex; align-items: center; gap: 12px; padding: 0 clamp(18px, 3vw, 36px); }
.comply-item + .comply-item { border-left: 1px solid var(--line-2); }
.comply-seal { width: 40px; height: 40px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, #fff, var(--blue-soft)); box-shadow: inset 0 0 0 1px #D9E1FB, 0 6px 14px -8px rgba(58,91,217,.45); }
.comply-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.comply-note { font-size: 12.5px; color: var(--muted); }
@media (max-width: 620px) {
  .comply-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .comply-item { padding: 0; }
  .comply-item + .comply-item { border-left: 0; }
}

/* Fade in on scroll (main.js adds .reveal-pending to below-the-fold blocks) */
.reveal-pending { opacity: 0; transform: translateY(24px); }
.revealed { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .reveal-pending { opacity: 1; transform: none; }
  .caret, .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* Site nav ------------------------------------------------------------------ */
.vs-nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); font-family: 'Geist', system-ui, sans-serif; }
.vs-nav .bar { max-width: 1200px; margin: 0 auto; padding: 14px var(--pad-x); display: flex; align-items: center; gap: 28px; }
.vs-logo { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.vs-logo .mark { width: 32px; height: 32px; background: var(--blue); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.vs-logo .word { font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.vs-logo .word b { color: var(--blue); font-weight: 700; }
.vs-menu { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
.vs-menu .item { position: relative; padding: 6px 0; }
.vs-menu .top { display: flex; align-items: center; gap: 5px; border: 0; background: none; cursor: pointer; font-size: 14.5px; padding: 0; white-space: nowrap; color: var(--ink); font-weight: 500; text-decoration: none; }
.vs .vs-menu .top:hover { color: var(--blue); }
.vs-menu .top.active { color: var(--blue); font-weight: 600; }
.vs-menu .drop { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 10px; z-index: 40; }
.vs-menu .item:hover .drop, .vs-menu .item:focus-within .drop, .vs-menu .item.open .drop { display: block; }
.vs-menu .panel { width: 340px; background: #fff; border: 1px solid var(--line-3); border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(23,38,110,.35); padding: 8px; display: flex; flex-direction: column; }
.vs-menu .panel a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 11px; color: var(--ink); }
.vs .vs-menu .panel a:hover { background: #F5F7FD; color: var(--ink); }
.vs-menu .panel .t { font-size: 14px; font-weight: 600; }
.vs-menu .panel .d { font-size: 12.5px; line-height: 1.4; color: var(--muted); font-weight: 400; }
.vs-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.vs .vs-actions .signin { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--ink); }
.vs .vs-actions .signin:hover { background: #F6F7FB; color: var(--ink); }
.vs .vs-actions .start { padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #fff; background: var(--blue); }
.vs .vs-actions .start:hover { background: var(--blue-hover); color: #fff; }
.vs-burger { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.vs-mobile { display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px var(--pad-x) 20px; max-height: calc(100vh - 64px); overflow-y: auto; }
.vs-mobile .group { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.vs-mobile .label { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--subtle); padding: 4px 0; }
.vs .vs-mobile a { padding: 8px 0; color: var(--ink); font-size: 16px; font-weight: 500; }
.vs-mobile .cta { display: flex; gap: 10px; padding-top: 16px; }
.vs .vs-mobile .cta a { flex: 1; text-align: center; padding: 12px; border-radius: 10px; font-size: 15px; font-weight: 600; }
@media (max-width: 960px) {
  .vs-menu, .vs-actions { display: none; }
  .vs-burger { display: inline-flex; }
  .vs-nav.open .vs-mobile { display: block; }
}

/* Site footer --------------------------------------------------------------- */
.vs-cta { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.vs-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 85% 50%, rgba(255,255,255,.2), rgba(255,255,255,0) 60%); pointer-events: none; }
.vs-cta .inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 40px var(--pad-x); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.vs-cta h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; font-weight: 700; }
.vs-cta .sub { font-size: 15.5px; color: rgba(255,255,255,.82); }
.vs .vs-cta .ghost { padding: 13px 20px; border-radius: 10px; border: 1px solid rgba(255,255,255,.45); color: #fff; font-weight: 600; font-size: 15px; }
.vs .vs-cta .ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.vs .vs-cta .solid { padding: 13px 20px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; }
.vs .vs-cta .solid:hover { background: var(--blue-soft); color: var(--ink); }
.vs-foot { background: #fff; }
.vs-foot .inner { max-width: 1200px; margin: 0 auto; padding: 48px var(--pad-x); display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; }
.vs-foot .brand { display: flex; flex-direction: column; gap: 12px; max-width: 300px; }
.vs-foot .cols { display: flex; gap: 56px; flex-wrap: wrap; font-size: 14px; }
.vs-foot .col { display: flex; flex-direction: column; gap: 9px; }
.vs-foot .col .h { font-weight: 600; color: var(--ink); }
.vs .vs-foot .col a, .vs .vs-foot .col button { color: var(--muted); background: none; border: 0; padding: 0; text-align: left; font-size: 14px; cursor: pointer; }
.vs .vs-foot .col a:hover, .vs .vs-foot .col button:hover { color: var(--blue); }

/* Accessibility */
.vs a:focus-visible, .vs button:focus-visible, .vs summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Hover states from the design (style-hover) */
/* design-hover:start (generated) */
.vs .hv-06e3c9:hover { background:#EEF2FF !important; }
.vs .hv-34d51a:hover { box-shadow:0 14px 30px -18px rgba(23,38,110,0.3) !important; }
.vs .hv-4ba01e:hover { border-color:#C9D3F5 !important; color:#3A5BD9 !important; }
.vs .hv-870df8:hover { border-color:#3A5BD9 !important; color:#3A5BD9 !important; }
.vs .hv-969633:hover { background:#fff !important; color:#3A5BD9 !important; }
.vs .hv-b3e700:hover { border-color:#D6DDF7 !important; box-shadow:0 14px 30px -18px rgba(23,38,110,0.3) !important; }
.vs .hv-da663c:hover { color:#8EA3FF !important; }
.vs .hv-ded1b2:hover { background:rgba(255,255,255,0.08) !important; color:#fff !important; }
.vs .hv-e13fe6:hover { border-color:#C9D3F5 !important; color:#0B1220 !important; }
.vs .hv-e2679a:hover { background:#EEF2FF !important; color:#0B1220 !important; }
.vs .hv-ef972a:hover { background:#4B6BE6 !important; color:#fff !important; }
.vs .hv-f1a977:hover { background:#2C47B8 !important; color:#fff !important; }
/* design-hover:end */
