/* Vericia website. One stylesheet, no framework. The colours follow the app: charcoal, warm cream, yellow highlights
   and the amber seal of the logo. */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-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;
}

:root {
  --ink: #1d1e22;
  --charcoal: #26272c;
  --charcoal-2: #2f3036;
  --slate: #5d5f68;
  --muted: #6b6d75;
  --line: #e6dfd2;
  --cream: #f6f2ea;
  --cream-2: #fbf8f2;
  --paper: #fffdf9;
  --gold: #f9cf58;
  --gold-2: #ffe08a;
  --amber: #a86a00;
  --amber-ink: #8a5700;
  --green: #1f7a4d;
  --red: #b42318;
  --blue: #3657c9;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(29, 30, 34, .04), 0 12px 32px -12px rgba(29, 30, 34, .14);
  --shadow-lg: 0 2px 4px rgba(29, 30, 34, .05), 0 40px 80px -24px rgba(29, 30, 34, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --header-h: 72px;
  --subnav-h: 58px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* Pages with the sticky sub-menu: a section's top stops just below both bars (site.js does the same for clicks). */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + var(--subnav-h)); }
body {
  margin: 0;
  font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -.035em; font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(168, 106, 0, .15); }
.eyebrow-light { color: var(--gold); }
.eyebrow-light::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(249, 207, 88, .18); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--slate); line-height: 1.55; max-width: 44rem; }
.text-gold { color: var(--gold); }
.text-amber { color: var(--amber-ink); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55rem 1rem; font-size: .95rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.06rem; }
.btn-primary { background: var(--charcoal); color: #fff; box-shadow: 0 6px 16px -6px rgba(29, 30, 34, .5); }
.btn-primary:hover { background: #000; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(249, 207, 88, .7); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; border-color: rgba(29, 30, 34, .18); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { font-weight: 500; text-decoration: none; color: var(--amber-ink); display: inline-flex; gap: .35rem; align-items: center; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(29, 30, 34, 0); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-solid, .page-light .site-header {
  background: rgba(246, 242, 234, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(29, 30, 34, .07);
}
.page-dark-top .site-header:not(.is-solid) { color: #fff; }
.page-dark-top .site-header:not(.is-solid) .btn-primary { background: var(--gold); color: var(--ink); }
.page-dark-top .site-header:not(.is-solid) .logo-disc { fill: var(--cream); }
.page-dark-top .site-header:not(.is-solid) .logo-line { stroke: var(--charcoal); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.logo { width: 34px; height: 34px; flex: none; }
.logo-disc { fill: var(--charcoal); transition: fill .3s; }
.logo-line { stroke: var(--cream); transition: stroke .3s; }
.brand-light .logo-disc { fill: var(--cream); }
.brand-light .logo-line { stroke: var(--charcoal); }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: block; white-space: nowrap; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-size: .98rem; opacity: .86; transition: opacity .2s, background-color .2s; }
.main-nav ul a:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.main-nav ul a[aria-current='page'] { opacity: 1; font-weight: 600; background: rgba(249, 207, 88, .35); }
.page-dark-top .site-header:not(.is-solid) .main-nav ul a[aria-current='page'] { background: rgba(249, 207, 88, .18); }
.nav-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; height: 2.1rem; padding: 0 .6rem; border: 1px solid currentColor; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; color: inherit; opacity: .8; transition: opacity .2s, background-color .2s; }
.nav-lang:hover, .nav-lang:focus-visible { opacity: 1; background: rgba(127, 127, 127, .12); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: inherit; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; margin: auto; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* The full menu needs about 1240px in French; below that it folds into the menu button. */
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem; background: var(--cream); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: .85rem 1rem; font-size: 1.1rem; }
  .nav-lang { align-self: flex-start; margin-left: 1rem; }
  .nav-open .site-header { background: var(--cream); color: var(--ink); }
  .nav-open .site-header .logo-disc { fill: var(--charcoal); }
  .nav-open .site-header .logo-line { stroke: var(--cream); }
}

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-head { max-width: 50rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }
.section-dark { background: var(--ink); color: #f3f1ec; }
.section-dark .lead, .section-dark p { color: #b9b7b1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-paper { background: var(--cream-2); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(4rem, 8vw, 7rem);
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; z-index: -1;
  background: radial-gradient(closest-side, rgba(249, 207, 88, .22), rgba(249, 207, 88, .06) 55%, transparent 70%);
  animation: glow 12s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
@keyframes glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-8%, 10%) scale(1.12); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .line { display: block; }
.hero-shine {
  background: linear-gradient(100deg, var(--gold) 0%, #fff3c9 40%, var(--gold) 60%, #e9a92a 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero .lead { color: #c9c6bf; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; padding: 0; margin: 0; color: #a9a6a0; font-size: .95rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-proof svg { width: 18px; height: 18px; color: var(--gold); }

/* Hero visual: the structure that draws itself */
.hero-visual { position: relative; aspect-ratio: 1 / .92; min-height: 380px; }
.structure { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.structure .edge { fill: none; stroke: rgba(249, 207, 88, .55); stroke-width: 1.6; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s var(--ease) forwards; }
.structure .edge-soft { stroke: rgba(255, 255, 255, .16); stroke-dasharray: 3 6; stroke-dashoffset: 0; animation: fadeIn 1s ease forwards; opacity: 0; }
.structure .pct { fill: #d8d4cb; font-size: 12px; font-family: inherit; opacity: 0; animation: fadeIn .6s ease forwards; }
.structure .pulse { fill: var(--gold); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.node {
  position: absolute; transform: translate(-50%, -50%); min-width: 150px; padding: .7rem .9rem; border-radius: 14px;
  background: rgba(47, 48, 54, .78); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); font-size: .82rem; line-height: 1.3; color: #eeeae2;
  opacity: 0; animation: pop .7s var(--ease) forwards;
}
.node strong { display: block; font-size: .92rem; font-weight: 600; color: #fff; }
.node .meta { display: flex; align-items: center; gap: .4rem; margin-top: .3rem; color: #a9a6a0; font-size: .75rem; }
.node .flag { display: inline-grid; place-items: center; min-width: 26px; height: 18px; padding: 0 .3rem; border-radius: 6px; background: rgba(249, 207, 88, .16); color: var(--gold); font-weight: 600; font-size: .68rem; letter-spacing: .04em; }
.node-top { background: linear-gradient(160deg, rgba(249, 207, 88, .24), rgba(47, 48, 54, .85)); border-color: rgba(249, 207, 88, .45); }
.node-person { border-style: dashed; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -40%) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.chip {
  position: absolute; display: flex; gap: .6rem; align-items: flex-start; max-width: 250px; padding: .75rem .9rem; border-radius: 14px;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); font-size: .8rem; line-height: 1.35;
  opacity: 0; animation: float-in .8s var(--ease) forwards, bob 7s ease-in-out infinite;
}
.chip strong { display: block; font-size: .86rem; font-weight: 600; }
.chip span { color: var(--muted); }
.chip .icon { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.chip .icon svg { width: 17px; height: 17px; }
.icon-green { background: #e3f3ea; color: var(--green); }
.icon-amber { background: #fdf0d2; color: var(--amber-ink); }
.icon-blue { background: #e6ebfb; color: var(--blue); }
.icon-red { background: #fde7e4; color: var(--red); }
@keyframes float-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .35s; } .d3 { animation-delay: .6s; } .d4 { animation-delay: .85s; }
.d5 { animation-delay: 1.1s; } .d6 { animation-delay: 1.35s; } .d7 { animation-delay: 1.6s; } .d8 { animation-delay: 1.85s; }
.d9 { animation-delay: 2.1s; } .d10 { animation-delay: 2.4s; } .d11 { animation-delay: 2.8s; } .d12 { animation-delay: 3.2s; }
.chip.d10 { animation-delay: 2.4s, 3.2s; } .chip.d11 { animation-delay: 2.8s, 4s; } .chip.d12 { animation-delay: 3.2s, 5s; }

/* Where each part of the hero structure sits, as a share of the picture */
.n-trust { left: 28%; top: 9%; }
.n-person { left: 72%; top: 9%; }
.n-head { left: 50%; top: 34%; }
.n-lu { left: 17%; top: 70%; }
.n-uk { left: 50%; top: 78%; }
.n-ae { left: 83%; top: 70%; }
.c-bo { left: -4%; top: 44%; }
.c-notice { right: -4%; top: 45%; }
.c-screen { left: 22%; bottom: -4%; }

/* Marquee of jurisdictions */
.ticker { border-block: 1px solid rgba(255, 255, 255, .08); background: #18191c; color: #c9c6bf; overflow: hidden; }
.ticker-track { display: flex; gap: 3rem; width: max-content; padding: 1.1rem 0; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; font-size: .98rem; }
.ticker-item b { color: #fff; font-weight: 600; }
.ticker-item i { font-style: normal; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Problem / statement */
.statement { font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.25; letter-spacing: -.025em; font-weight: 500; max-width: 60rem; }
.statement .dim { color: #857f72; }
.statement mark { background: linear-gradient(transparent 60%, rgba(249, 207, 88, .6) 60%); color: inherit; padding: 0 .1em; }

/* Rules engine flow */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; position: relative; counter-reset: flow; }
.flow-step { position: relative; padding: 1.75rem; border-radius: var(--radius); background: var(--charcoal-2); border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; }
.flow-step::before { counter-increment: flow; content: '0' counter(flow); display: block; font-size: .85rem; font-weight: 600; color: var(--gold); letter-spacing: .1em; margin-bottom: 1rem; }
.flow-step h3 { font-size: 1.35rem; }
.flow-step p { font-size: .98rem; margin: 0; }
.flow-step code {
  display: block; margin-top: 1.2rem; padding: .9rem 1rem; border-radius: 12px; background: #141518; border: 1px solid rgba(255, 255, 255, .06);
  color: #d9d4c8; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .78rem; line-height: 1.65; white-space: pre; overflow-x: auto;
}
.flow-step code .k { color: #f9cf58; } .flow-step code .s { color: #9fd3b0; } .flow-step code .c { color: #9a968d; }
.flow-arrow { position: absolute; top: 50%; right: -1.05rem; width: 1rem; height: 1rem; color: var(--gold); z-index: 2; }

/* Bento of modules */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; grid-column: span 2; padding: 1.75rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.tile::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(249, 207, 88, .22), transparent 45%);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(168, 106, 0, .3); }
.tile:hover::before { opacity: 1; }
.tile > * { position: relative; }
.tile-wide { grid-column: span 3; }
.tile-xl { grid-column: span 4; }
.tile h3 { margin-bottom: .4rem; }
.tile p { color: var(--slate); font-size: .98rem; margin-bottom: 1rem; }
.tile .link-arrow { margin-top: auto; }
.tile-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; background: var(--cream); color: var(--amber-ink); border: 1px solid var(--line); }
.tile-icon svg { width: 22px; height: 22px; }
.tile-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile-dark p { color: #b9b7b1; }
.tile-dark .tile-icon { background: rgba(249, 207, 88, .12); color: var(--gold); border-color: rgba(249, 207, 88, .25); }
.tile-dark .link-arrow { color: var(--gold); }
.tile-gold { background: linear-gradient(150deg, #ffe48f, var(--gold) 60%, #f1b93a); border-color: #efc44e; }
.tile-gold p { color: #4a3d1c; }
.tile-gold .tile-icon { background: rgba(255, 255, 255, .5); border-color: rgba(0, 0, 0, .06); }
.tile-gold .link-arrow { color: var(--ink); }
.tile-shot { margin: 1.5rem -1.75rem -1.75rem; border-top: 1px solid var(--line); background: var(--cream); }
.tile-shot img { width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover; object-position: top left; }
.mini-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .5rem; font-size: .95rem; }
.mini-list li { display: flex; gap: .55rem; align-items: baseline; }
.mini-list li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); transform: translateY(-2px); }
.tile-dark .mini-list li::before { background: var(--gold); }

/* Product showcase with tabs */
.showcase { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.showcase-tabs { display: grid; gap: .5rem; position: sticky; top: calc(var(--header-h) + 24px); }
.showcase-tab {
  text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 1rem 1.15rem; border-radius: 16px; border: 1px solid transparent; background: transparent;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.showcase-tab strong { display: block; font-weight: 600; font-size: 1.05rem; }
.showcase-tab span { display: block; color: var(--muted); font-size: .93rem; line-height: 1.45; margin-top: .25rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.showcase-tab:hover { background: rgba(255, 255, 255, .55); }
.showcase-tab[aria-selected='true'] { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); }
.showcase-tab[aria-selected='true'] span { max-height: 8rem; opacity: 1; }
.showcase-tab .bar { display: block; height: 3px; border-radius: 3px; background: var(--line); margin-top: .8rem; overflow: hidden; }
.showcase-tab .bar::after { content: ''; display: block; height: 100%; width: 0; background: var(--amber); }
.showcase-tab[aria-selected='true'] .bar::after { animation: progress 7s linear forwards; }
.showcase.is-paused .showcase-tab .bar::after { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.browser { border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: .45rem; padding: .75rem 1rem; background: #efe9de; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9d1c3; }
.browser-bar .url { margin-left: .8rem; flex: 1; max-width: 360px; padding: .3rem .8rem; border-radius: 8px; background: var(--paper); color: var(--muted); font-size: .8rem; }
.browser-view { position: relative; aspect-ratio: 16 / 10; background: var(--cream); }
.browser-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.browser-view .view { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.browser-view .view.is-active, .browser-view > img.is-active { opacity: 1; transform: none; }

/* Split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split + .split { margin-top: clamp(4rem, 8vw, 7rem); }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; }
.checks li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%; margin-top: .15rem; background: #e3f3ea no-repeat center / 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%231f7a4d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.section-dark .checks li::before { background-color: rgba(249, 207, 88, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23f9cf58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks strong { font-weight: 600; }
.shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--paper); }
.shot img { width: 100%; }

/* Screens from the app carry a "Demo data" badge and a note: names and figures are fictitious. */
.demo-figure { margin: 0; position: relative; }
.shot { position: relative; }
.demo-badge { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .75rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 16px -6px rgba(29, 30, 34, .45); pointer-events: none; }
.demo-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.browser-bar .demo-badge-bar { position: static; margin-left: auto; box-shadow: none; }
.demo-phone { display: inline-block; width: 100%; }
.demo-phone .demo-badge { top: auto; bottom: 3.6rem; right: auto; left: 50%; transform: translateX(-50%); }
.demo-note { margin: 1rem 0 0; color: var(--muted); font-size: .88rem; }
.demo-note.center { text-align: center; margin-top: 1.5rem; }
.shot-tilt { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transition: transform .8s var(--ease); }
.shot-tilt:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.reverse .shot-tilt { transform: perspective(1600px) rotateY(7deg) rotateX(2deg); }
.reverse .shot-tilt:hover { transform: none; }

/* Assistant mock */
.assistant { border-radius: var(--radius); background: var(--charcoal-2); border: 1px solid rgba(255, 255, 255, .08); padding: 1.4rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.assistant-head { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 600; margin-bottom: 1.2rem; }
.assistant-head svg { width: 20px; height: 20px; color: var(--gold); }
.assistant-head small { margin-left: auto; font-weight: 400; color: #b0ada6; font-size: .78rem; }
.bubble { padding: .9rem 1.1rem; border-radius: 16px; font-size: .95rem; line-height: 1.5; margin-bottom: .8rem; max-width: 92%; }
.bubble-user { margin-left: auto; background: var(--gold); color: var(--ink); border-bottom-right-radius: 4px; }
.bubble-ai { background: #3a3b42; color: #ece8df; border-bottom-left-radius: 4px; }
.bubble-ai ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.bubble-ai li { margin-bottom: .25rem; }
.bubble-ai b { color: #fff; font-weight: 600; }
.reads { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.reads span { font-size: .75rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(0, 0, 0, .18); color: #d9d6cf; border: 1px solid rgba(255, 255, 255, .08); }
.typing { display: inline-flex; gap: 4px; padding: .9rem 1.1rem; border-radius: 16px; background: #3a3b42; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b9b7b1; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat { padding: 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: .6rem; }
.stat span { color: var(--slate); font-size: .95rem; }
.section-dark .stat { background: var(--charcoal-2); border-color: rgba(255, 255, 255, .07); }
.section-dark .stat b { color: var(--gold); }
.section-dark .stat span { color: #b9b7b1; }

/* Jurisdiction cards */
.juris { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.juri { position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.juri:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.juri .code { font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; color: var(--amber); line-height: 1; }
.juri h3 { margin: .7rem 0 .3rem; font-size: 1.15rem; }
.juri p { font-size: .9rem; color: var(--slate); margin: 0; }
.juri-new { background: transparent; border-style: dashed; }
.juri-new .code { color: var(--muted); }
.section-dark .juri { background: var(--charcoal-2); border-color: rgba(255, 255, 255, .08); color: #fff; }
.section-dark .juri .code { color: var(--gold); }
.section-dark .juri p { color: #b9b7b1; }
.section-dark .juri-new { background: transparent; border-color: rgba(255, 255, 255, .2); }

/* Map */
.map-wrap { position: relative; }
.world-figure { position: relative; margin: 0; }
.world-dots { width: 100%; height: auto; }
.world { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.world .pin { fill: var(--gold); }
.world .pin-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }
.world .arc { fill: none; stroke: rgba(249, 207, 88, .5); stroke-width: 1.4; stroke-dasharray: 4 5; animation: dash 30s linear infinite; }
.world .label { fill: #ece8df; font-size: 11px; font-weight: 500; font-family: inherit; }
.world .label.label-sub { fill: #a9a6a0; font-size: 8.5px; font-weight: 400; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -300; } }

/* Security band */
.shield-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.shield { padding: 1.6rem; border-radius: var(--radius); background: var(--charcoal-2); border: 1px solid rgba(255, 255, 255, .07); }
.shield svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 1rem; }
.shield h3 { font-size: 1.12rem; }
.shield p { font-size: .95rem; margin: 0; }
.section-paper .shield, .shield-light { background: var(--paper); border-color: var(--line); }
.section-paper .shield svg, .shield-light svg { color: var(--amber); }
.section-paper .shield p, .shield-light p { color: var(--slate); }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: #e7e3da; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.badge-light { border-color: var(--line); color: var(--ink); background: var(--paper); }
.badge-light::before { background: var(--amber); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: .95rem; color: var(--slate); margin: 0; }

/* CTA band */
.cta-band { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.cta-card { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); border-radius: 32px; background: var(--ink); color: #fff; }
.cta-card h2 { color: #fff; max-width: 46rem; margin-inline: auto; }
.cta-card .lead { color: #c9c6bf; margin: 0 auto 2rem; }
.cta-glow { position: absolute; z-index: -1; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(249, 207, 88, .35), transparent 70%); animation: glow 10s ease-in-out infinite alternate; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* Page hero for inner pages */
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; z-index: -1; inset: -40% -20% auto 40%; height: 120%; background: radial-gradient(closest-side, rgba(249, 207, 88, .3), transparent 70%); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 52rem; }
.page-hero-dark { background: var(--ink); color: #fff; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem)); isolation: isolate; }
.page-hero-dark::before { z-index: -1; background: radial-gradient(closest-side, rgba(249, 207, 88, .22), transparent 70%); }
.page-hero-dark h1 { color: #fff; }
.page-hero-dark .lead { color: #c9c6bf; }

/* Sub navigation on the platform page */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(246, 242, 234, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: .6rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: .45rem .9rem; border-radius: 999px; text-decoration: none; font-size: .93rem; color: var(--slate); transition: background-color .2s, color .2s; }
.subnav a:hover { color: var(--ink); background: rgba(29, 30, 34, .05); }
.subnav a.is-active { background: var(--ink); color: #fff; }

.module { padding: clamp(4rem, 8vw, 6.5rem) 0; border-bottom: 1px solid var(--line); }
.module:nth-of-type(even) { background: var(--cream-2); }
.module-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: 2.5rem; }
.module-head h2 { margin: 0; }
.module-head p { margin: 0; color: var(--slate); font-size: 1.1rem; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.feature { padding: 1.4rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
.feature h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature p { font-size: .94rem; color: var(--slate); margin: 0; }

/* Facts table for jurisdictions */
.pack { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 2rem 3.5rem; padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); }
.pack:first-of-type { border-top: 0; }
.pack-id .code { font-size: 4rem; font-weight: 600; color: var(--amber); letter-spacing: -.05em; line-height: 1; }
.pack-id h2 { font-size: 1.9rem; margin: .5rem 0 .6rem; }
.pack-id p { color: var(--slate); font-size: .98rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin: 0; }
.fact { padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
.fact dt { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.fact dd { margin: 0; font-size: .97rem; }
.sources { font-size: .88rem; color: var(--muted); margin-top: 1rem; }

/* Pricing */
.price-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.price-part { display: flex; flex-direction: column; padding: 2rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-part .tag { align-self: flex-start; font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); margin-bottom: 1.2rem; }
.price-part.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-part.featured p, .price-part.featured li { color: #c9c6bf; }
.price-part.featured .tag { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.price-part h3 { font-size: 1.5rem; }
.price-part p { color: var(--slate); }
.price-part .mini-list { margin-top: auto; }
.faq { max-width: 52rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.12rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--amber); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--slate); }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 26px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 500; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); margin: 0; }
.field .req { color: var(--amber-ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .8rem .95rem; border-radius: 12px; border: 1px solid #d8d0c0; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(168, 106, 0, .15); }
.field [aria-invalid='true'] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(180, 35, 24, .1); }
.field .error { color: var(--red); font-size: .87rem; margin: 0; min-height: 0; }
.field .error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .95rem; border-radius: 999px; border: 1px solid #d8d0c0; background: #fff; font-size: .93rem; transition: background-color .2s, border-color .2s, color .2s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .92rem; color: var(--slate); }
.consent input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-actions .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { font-size: .95rem; }
.form-status.is-error { color: var(--red); }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success .tick { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; background: #e3f3ea; display: grid; place-items: center; }
.form-success .tick svg { width: 34px; height: 34px; color: var(--green); }
.form-success .tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
.is-sent .form-body { display: none; }
.is-sent .form-success { display: block; animation: float-in .5s var(--ease); }
.aside-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.aside-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; }
.aside-list .tile-icon { width: 44px; height: 44px; margin: 0; }
.aside-list strong { display: block; font-weight: 600; }
.aside-list span { color: var(--slate); font-size: .95rem; }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.3rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.contact-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.contact-card .tile-icon { margin: 0; }
.contact-card strong { display: block; }
.contact-card span { color: var(--slate); font-size: .95rem; }

/* Prose (privacy) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose p, .prose li { color: #3d3f46; }

/* Footer */
.site-footer { background: var(--ink); color: #b9b7b1; padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { max-width: 22rem; }
.footer-brand a:not(.brand) { color: var(--gold); text-decoration: none; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(6rem, 18vw, 12rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; color: var(--amber); }

/* Scroll reveal. Content is visible without JavaScript: the hidden state applies only once site.js has run. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .split, .showcase, .form-layout, .module-head, .pack { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .showcase-tabs { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-tab span { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile-wide, .tile-xl { grid-column: span 1; }
  .tile-xl { grid-column: 1 / -1; }
  .flow, .shield-grid, .features, .price-parts { grid-template-columns: 1fr 1fr; }
  .flow-arrow { display: none; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shot-tilt, .reverse .shot-tilt { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .bento, .flow, .shield-grid, .features, .price-parts, .stats, .steps, .facts, .form-grid { grid-template-columns: 1fr; }
  .tile-xl { grid-column: auto; }
  .showcase-tabs { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: auto; height: 460px; min-height: 0; }
  .node { min-width: 0; padding: .5rem .6rem; font-size: .72rem; }
  .node strong { font-size: .78rem; }
  .node .meta { display: none; }
  .chip { max-width: 190px; font-size: .72rem; padding: .55rem .7rem; }
  .chip .icon { display: none; }
  .node { white-space: nowrap; }
  .c-notice { display: none; }
  .c-bo { left: 0; top: 46%; }
  .c-screen { left: calc(50% - 95px); bottom: -2%; }
  .n-lu { left: 20%; } .n-ae { left: 80%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .ticker { display: none; }
  .hero, .section-dark { background: #fff; color: #000; }
}

/* Phone picture on the portal page */
.phone { width: min(300px, 80%); margin-inline: auto; border-radius: 34px; border: 8px solid var(--ink); box-shadow: var(--shadow-lg); }
.form-success.is-shown { display: block; }

/* Small risk summary in the due diligence tile */
.risk-card { margin: .4rem 0 1.4rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: .7rem; font-size: .88rem; }
.risk-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #b9b7b1; }
.risk-row b { color: #fff; font-weight: 500; }
.pill { font-size: .78rem; padding: .15rem .6rem; border-radius: 999px; }
.risk-row .pill-amber { background: rgba(249, 207, 88, .16); color: var(--gold); }
.risk-row .pill-green { background: rgba(80, 200, 140, .14); color: #8fe0b4; }
.risk-meter { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #3aa86b, #f9cf58 55%, #e0603f); position: relative; }
.risk-meter i { position: absolute; left: 44%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--gold); }
.section-dark .link-arrow { color: var(--gold); }
.section-dark .badges + p { margin-top: 1.5rem; }

.nav-cta { white-space: nowrap; }
.nav-cta[aria-current='page'] { box-shadow: 0 0 0 3px rgba(249, 207, 88, .7); }

/* Overhaul, November 2026: the AI page, outcome labels on tiles, before and after, and who Vericia is for. */
.nav-new { display: inline-block; margin-left: .3rem; padding: .08rem .42rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: .12em; }
.module:focus, .section:focus { outline: none; }
.subnav ul { scroll-behavior: smooth; }
.module-more { margin: 2rem 0 0; }
.tile-label { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); margin: 0 0 .5rem; }
.tile-dark .tile-label { color: var(--gold); }
.tile-gold .tile-label { color: var(--ink); opacity: .7; }
.tile .tile-label { font-size: .76rem; margin-bottom: .5rem; }

.shift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shift-col { padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.shift-before { background: var(--paper); color: var(--slate); }
.shift-after { background: var(--ink); color: #ece8df; }
.shift-label { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.2rem; color: var(--muted); }
.shift-after .shift-label { color: var(--gold); }
.shift ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.shift li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.shift li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; margin-top: .12em; background: rgba(29, 30, 34, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%236b6d75' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shift-after li::before { background: rgba(249, 207, 88, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23f9cf58' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shift-after li { color: #fff; }

.personas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.persona { padding: 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.persona h3 { font-size: 1.12rem; }
.persona p { font-size: .95rem; color: var(--slate); margin: 0; }

.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.usecase { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9cfbc; }
.usecase-num { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--amber-ink); margin-bottom: .9rem; }
.usecase h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.usecase p { font-size: .95rem; color: var(--slate); margin: 0; }

/* The assistant on a light section keeps its dark panel. A proposed plan, and changes read from a document. */
.assistant-light { box-shadow: var(--shadow-lg); }
.plan { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .5rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; align-items: start; padding: .6rem .7rem; border-radius: 10px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .07); margin: 0; }
.plan-tick, .compare-check { width: 18px; height: 18px; border-radius: 5px; margin-top: .12em; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%231d1e22' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.plan-btn { font-size: .82rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.plan-btn-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.compare { border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 1.4rem; font-size: .93rem; }
.compare-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line); }
.compare-file { font-weight: 600; }
.compare .pill-green { background: rgba(31, 122, 77, .12); color: var(--green); font-weight: 600; }
.compare-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--slate); }
.compare-row b { color: var(--ink); font-weight: 600; }
.compare-row .new { color: var(--ink); font-weight: 500; }
.compare-labels { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .6rem 0 .5rem; }
.compare-labels span:first-child { grid-column: 2; }
.compare-check { margin: 0; }
.compare-check:not(.is-on) { background: transparent; border: 1.5px solid #c9bfa9; }
.compare-row.is-warn .new { color: var(--amber-ink); }
.compare-note { margin: .9rem 0 0; padding: .7rem .9rem; border-radius: 10px; background: rgba(249, 207, 88, .22); color: var(--ink); font-size: .88rem; }
.compare .plan-btn { border-color: var(--line); color: var(--ink); }
.compare .plan-btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 1020px) {
  .personas, .usecases { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .shift, .personas, .usecases, .steps-3 { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 18px minmax(0, 1fr) minmax(0, 1fr); }
  .compare-row > :nth-child(3), .compare-labels span:nth-child(2) { display: none; }
}
.checks + p { margin-top: 1.6rem; }
/* The home headline is two full sentences, so it is set a size smaller than other page titles. */
.hero h1 { font-size: clamp(2.1rem, 4.1vw, 3.4rem); line-height: 1.1; }
.hero h1 .line + .line { margin-top: .18em; }
.eyebrow::before { flex: none; }

/* Integrations: a small terminal showing an API read and a webhook. */
.codecard { border-radius: var(--radius); background: var(--ink); border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--shadow-lg); overflow: hidden; }
.codecard-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #b0ada6; font-size: .8rem; }
.codecard-bar i { width: 10px; height: 10px; border-radius: 50%; background: #45464d; }
.codecard-bar span { margin-left: .6rem; }
.codecard pre { margin: 0; padding: 1.3rem 1.4rem 1.5rem; overflow-x: auto; }
.codecard code { font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace; font-size: .84rem; line-height: 1.75; color: #e7e3da; white-space: pre; }
.codecard .k { color: #f9cf58; } .codecard .s { color: #9fd3b0; } .codecard .c { color: #9a968d; }

/* Connected systems: named products as chips (text only, no third-party logos). */
.connected { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.connected-title { font-size: 1.15rem; margin-bottom: 1.2rem; }
.connected-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.connected-kind { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); margin: 0 0 .7rem; }
.connected-group p:last-child, .connected-card p:last-child { font-size: .93rem; color: var(--slate); margin: .8rem 0 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { padding: .38rem .8rem; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.chips-lg li { font-size: 1rem; padding: .5rem 1rem; }
.connected-card { margin-top: 0; box-shadow: var(--shadow-lg); }
@media (max-width: 1020px) { .connected-grid { grid-template-columns: 1fr; } }
