/*
 * Velora OMS public website. Hand-written, small, no build step. Colours /
 * radius / shadows / font come from the app's design tokens as CSS
 * variables (views/layouts/site-header.php reads config/design_tokens.php).
 * Mobile first; nothing wider than the screen at 360 px.
 *
 * One system for every page: sections alternate white / --soft, one max
 * width (.wrap), one card style, icons in a tinted circle, eyebrow labels
 * over section headings, body text ~65 characters wide.
 */
:root {
  --hdr: 72px; --hdr-stuck: 60px;
  --soft: #F4F7FC; --line: #E3E9F2; --text: #334155; --muted: #526077;
  --r-card: 18px; --r-ctl: 12px;
  --sh-card: 0 1px 2px rgba(16,24,40,.04), 0 6px 20px rgba(6,33,111,.06);
  --sh-lift: 0 2px 4px rgba(16,24,40,.05), 0 16px 36px rgba(6,33,111,.12);
  --sh-shot: 0 2px 6px rgba(6,33,111,.06), 0 24px 56px rgba(6,33,111,.16);
  --sec: clamp(3.5rem, 7vw, 5.75rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font-family: var(--vo-font); color: var(--vo-navy-800); background: #fff; font-size: 1rem; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--vo-brand-500); }
a:hover { color: var(--vo-brand-800); }
h1, h2, h3 { color: var(--vo-navy-900); line-height: 1.18; margin: 0 0 .6rem; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--vo-brand-400); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--hdr) + 16px); } /* jump links: never under the header */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 70; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .9375rem; }
.small { font-size: .875rem; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon-sm { width: 1.1rem; height: 1.1rem; vertical-align: -0.2em; }

/* Type */
.eyebrow, .eyebrow-label { display: inline-block; margin: 0 0 .75rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vo-brand-500); }
.eyebrow-label { display: block; }
.eyebrow { color: var(--vo-accent-300); }
.eyebrow-dark { font-weight: 800; color: var(--vo-brand-500); font-size: 3.25rem; line-height: 1; margin: 0 0 .75rem; }
.section-title { font-size: clamp(1.7rem, 3.8vw, 2.5rem); font-weight: 800; }
.section-lead { color: var(--muted); font-size: 1.0625rem; max-width: 65ch; margin-bottom: 0; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center .section-lead, .center .section-lead { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.125rem; max-width: 60ch; }
.note { margin: 1.5rem 0 .5rem; color: var(--text); }
.more-link { margin: 2rem 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .6rem 1.2rem; border-radius: var(--r-ctl); font-weight: 600; font-size: .9375rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, box-shadow .2s, transform .2s; cursor: pointer; text-align: center; }
.btn-lg { min-height: 54px; padding: .8rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--vo-brand-500); color: #fff; box-shadow: var(--vo-shadow-brand); }
.btn-primary:hover { background: var(--vo-brand-800); color: #fff; }
.btn-light { background: #fff; color: var(--vo-brand-800); }
.btn-light:hover { background: var(--vo-brand-50); color: var(--vo-brand-800); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--vo-brand-200); color: var(--vo-brand-700); background: #fff; }
.btn-outline:hover { border-color: var(--vo-brand-500); color: var(--vo-brand-800); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn-row-center { justify-content: center; }

/* Header: fixed (its height can change on scroll without moving the page).
   Solid white by default; on pages with a hero (body.site-hero-*) it is
   transparent over the hero until you scroll (.is-stuck from site.js). */
main { padding-top: var(--hdr); }
.site-hero-dark main, .site-hero-light main { padding-top: 0; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(15,23,42,.06); box-shadow: 0 1px 12px rgba(6,33,111,.07); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); transition: background-color .25s, box-shadow .25s, border-color .25s; }
.site-hero-dark .site-header:not(.is-stuck), .site-hero-light .site-header:not(.is-stuck) { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header-row { display: flex; align-items: center; gap: 1rem; min-height: var(--hdr); transition: min-height .25s; }
.site-header.is-stuck .site-header-row { min-height: var(--hdr-stuck); }
.site-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--vo-navy-900); font-size: 1.125rem; min-width: 0; }
.site-logo > span { display: inline-flex; align-items: center; gap: .55rem; }
.site-logo strong { font-weight: 800; }
.site-logo span span { font-weight: 600; }
.site-logo:hover { color: var(--vo-navy-900); }
.site-logo-img { max-width: min(200px, 48vw) !important; } /* uploaded logo (Core Brand): never stretched */
.site-logo-dark { display: none !important; }
.site-hero-dark .site-header:not(.is-stuck) .site-logo-light { display: none !important; }
.site-hero-dark .site-header:not(.is-stuck) .site-logo-dark { display: inline-flex !important; color: #fff; }
.site-nav { display: none; margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { position: relative; display: inline-block; padding: .35rem 0; color: var(--vo-navy-700); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--vo-brand-500); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.site-signin, .site-cta { display: none !important; }
.site-signin { color: var(--vo-navy-800); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.site-signin:hover { color: var(--vo-brand-500); }
.site-hero-dark .site-header:not(.is-stuck) :is(.site-nav a, .site-signin, .site-signin:hover, .site-nav a:hover) { color: #fff; }
.site-hero-dark .site-header:not(.is-stuck) .site-cta { background: #fff; color: var(--vo-brand-800); box-shadow: none; }
.site-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(15,23,42,.14); border-radius: var(--r-ctl); background: rgba(255,255,255,.9); color: var(--vo-navy-800); cursor: pointer; }
.site-hero-dark .site-header:not(.is-stuck) .site-menu-btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
@media (min-width: 900px) {
  .site-nav { display: block; }
  .site-signin, .site-cta { display: inline-flex !important; }
  .site-actions { margin-left: .75rem; padding-left: 1.5rem; border-left: 1px solid rgba(15,23,42,.12); }
  .site-hero-dark .site-header:not(.is-stuck) .site-actions { border-left-color: rgba(255,255,255,.3); }
  .site-menu-btn, .site-menu, .site-menu-backdrop { display: none !important; }
}

/* Phone menu: a panel sliding in from the right (site.js: focus trap, Esc,
   outside tap, page scroll locked). */
html.menu-open, html.menu-open body { overflow: hidden; }
.site-menu-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(6,33,111,.45); opacity: 0; transition: opacity .25s; }
.site-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; display: flex; flex-direction: column; width: min(86vw, 360px); padding: .75rem 1.25rem 1.5rem; background: #fff; transform: translateX(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1), box-shadow .26s; overflow-y: auto; overscroll-behavior: contain; }
.menu-open .site-menu { transform: none; box-shadow: -12px 0 40px rgba(6,33,111,.18); }
.site-menu[hidden], .site-menu-backdrop[hidden] { display: none; }
.menu-open .site-menu-backdrop { opacity: 1; }
.site-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: .5rem; }
.site-menu-title { font-weight: 700; color: var(--vo-navy-900); }
.site-menu-close { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -.5rem; border: 0; border-radius: 999px; background: transparent; color: var(--vo-navy-800); cursor: pointer; }
.site-menu-close:hover { background: #F1F5F9; }
.site-menu-links { margin-bottom: 1.5rem; }
.site-menu-links a { display: flex; align-items: center; min-height: 56px; padding: 0 .25rem; border-bottom: 1px solid #F1F5F9; color: var(--vo-navy-800); text-decoration: none; font-weight: 600; font-size: 1.0625rem; }
.site-menu-links a[aria-current="page"] { color: var(--vo-brand-500); }
.site-menu-cta { margin-top: auto; }

/* Hero (Home): brand gradient + soft glow mesh + light dot grid (CSS only, no
   images), the app screenshot tilted in 3D with a phone in front and small
   feature labels (real features, no numbers). */
.hero { position: relative; isolation: isolate; background: var(--vo-gradient-hero); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 380px at 8% 18%, rgba(1,194,254,.30), transparent 70%), radial-gradient(640px 520px at 92% 38%, rgba(56,140,255,.38), transparent 70%), radial-gradient(520px 300px at 55% 108%, rgba(1,194,254,.34), transparent 72%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 75% 70% at 70% 45%, #000 20%, transparent 75%); }
.hero-grid { position: relative; display: grid; gap: 2.75rem; padding-top: calc(var(--hdr) + 2rem); padding-bottom: 4rem; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5.6vw, 3.15rem); font-weight: 800; line-height: 1.08; letter-spacing: -.015em; margin-bottom: 1.1rem; text-wrap: balance; }
.hero .lead { color: #E0EAFF; max-width: 34rem; }
.hero-note { display: flex; align-items: center; gap: .4rem; margin: 1.1rem 0 0; color: #E0EAFF; font-size: .9375rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.35rem 0 0; padding: 0; list-style: none; color: #E0EAFF; font-size: .9375rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust .icon { color: #9FE504; }
.hero-media { position: relative; min-width: 0; padding: .5rem 0 1.5rem; }
.hero-stage { position: relative; }
.hero-stage::before { content: ""; position: absolute; inset: 7% -3% -4% 6%; border-radius: 18px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); }
.frame-laptop { position: relative; background: #E8EEF8; border: 1px solid rgba(255,255,255,.6); border-radius: 14px; padding: 0 0 8px; box-shadow: 0 30px 70px rgba(0,16,64,.45); overflow: hidden; }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C5D0E2; }
.frame-bar span:first-child { background: #F87171; } .frame-bar span:nth-child(2) { background: #FBBF24; } .frame-bar span:nth-child(3) { background: #34D399; }
.frame-laptop img { border-radius: 6px; margin: 0 8px; width: calc(100% - 16px); }
.frame-phone { position: absolute; z-index: 2; right: -4px; bottom: -6px; width: 28%; max-width: 170px; background: #0B1B4D; border-radius: 24px; padding: 7px; box-shadow: 0 24px 50px rgba(0,16,64,.5), 0 0 0 1px rgba(255,255,255,.12); }
.frame-phone img { border-radius: 17px; }
.hero-chips { margin: 0; padding: 0; list-style: none; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem .45rem .45rem; border-radius: 999px; background: #fff; color: var(--vo-navy-900); font-size: .8125rem; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 12px 30px rgba(0,16,64,.28); }
.chip-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #E6F0FF; color: var(--vo-brand-500); }
.chip-cod .chip-icon { background: #ECFCCB; color: #3F6212; }
.chip-stock .chip-icon { background: #FEF3C7; color: #92400E; }
.chip-waybill { top: 18%; left: 0; }
.chip-cod { bottom: 4%; left: 6%; }
.chip-stock { top: -2%; right: 18%; }
@media (max-width: 599px) {
  .chip { font-size: .8125rem; padding: .35rem .65rem .35rem .35rem; }
  .chip-icon { width: 24px; height: 24px; }
  .chip-waybill { top: 22%; left: 0; }
  .chip-stock { display: none; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3.5rem; padding-top: calc(var(--hdr) + 4rem); padding-bottom: 6rem; }
  .hero h1 { font-size: clamp(2.4rem, 3.6vw, 2.85rem); }
  .hero-stage { perspective: 1800px; }
  .frame-laptop { transform: rotateY(-8deg) rotateX(3deg); transform-origin: 30% 50%; }
  .chip-waybill { left: -7%; }
}
@media (min-width: 1280px) {
  .hero-media { margin-right: -3rem; }
}

/* Page hero (every other page): soft gradient, same rhythm */
.page-hero { position: relative; background: radial-gradient(1200px 380px at 85% -10%, rgba(1,194,254,.16), transparent 70%), var(--vo-gradient-soft); padding: calc(var(--hdr) + 2.5rem) 0 clamp(2.75rem, 5vw, 4rem); overflow: hidden; }
main > .page-hero:first-child { border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); font-weight: 800; line-height: 1.1; }
.page-hero .lead, .page-hero .section-lead { color: var(--text); }
.page-hero .hero-note { color: var(--vo-navy-700); }
.page-hero-center { padding-top: calc(var(--hdr) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(4rem, 9vw, 6.5rem); }
.page-hero-center .section-title { font-size: clamp(1.8rem, 4.6vw, 2.6rem); }

/* Sections: white / soft, generous spacing */
.section { padding: var(--sec) 0; }
.section-soft { background: var(--soft); }

/* Grids. Each one ends with a full row: a last card alone spans the row
   (6-column trick for 3 per row, 2 columns: span both, 4: span the rest). */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 > :last-child:nth-child(odd), .grid-3 > :last-child:nth-child(odd), .grid-4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid-3 > * { grid-column: span 2; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: span 2; }
  .grid-3 > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .grid-3 > :last-child:nth-child(3n+2), .grid-3 > :nth-last-child(2):nth-child(3n+1) { grid-column: span 3; }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-4 > :last-child:nth-child(odd) { grid-column: auto; }
  .grid-4 > :last-child:nth-child(4n+1) { grid-column: 1 / -1; }
}

/* Cards: one style everywhere */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.5rem; box-shadow: var(--sh-card); min-width: 0; }
.card p { margin: 0; color: var(--text); }
.card-title { font-size: 1.125rem; font-weight: 700; margin-bottom: .45rem; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 999px; background: var(--vo-brand-50); color: var(--vo-brand-500); box-shadow: inset 0 0 0 1px var(--vo-brand-100); margin-bottom: 1rem; }
/* Velora Connect: the wide highlight card that closes the features grid */
.feature-highlight { background: linear-gradient(135deg, #fff 0%, #F0F7FF 60%, #E6F7FF 100%); border-color: var(--vo-brand-200); }
.feature-highlight .feature-icon { background: var(--vo-gradient); color: #fff; box-shadow: none; }
@media (min-width: 1000px) {
  .grid-3 > .feature-highlight:last-child:nth-child(3n+1) { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: center; padding: 1.75rem 2rem; }
  .grid-3 > .feature-highlight:last-child:nth-child(3n+1) .feature-icon { grid-row: span 2; margin: 0; width: 3.5rem; height: 3.5rem; }
  .grid-3 > .feature-highlight:last-child:nth-child(3n+1) .card-title { margin: 0 0 .25rem; align-self: end; }
  .grid-3 > .feature-highlight:last-child:nth-child(3n+1) p { max-width: 75ch; align-self: start; }
}
.ticks li { display: flex; align-items: flex-start; gap: .6rem; padding: .35rem 0; }
.tick { color: var(--vo-accent-600); margin-top: .1rem; }
.who-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 1rem 1.15rem; box-shadow: var(--sh-card); }
.price-big { font-size: 2rem; font-weight: 800; color: var(--vo-navy-900); margin: .75rem 0; font-variant-numeric: tabular-nums; line-height: 1.15; }
.price-big span { font-size: 1rem; font-weight: 500; color: var(--muted); }

/* How it works: numbered steps joined by a line */
.steps { position: relative; display: grid; gap: 2.5rem 1.25rem; padding-top: 24px; }
.step { padding-top: 2.6rem; text-align: center; }
.step p { max-width: 34ch; margin: 0 auto; }
.step-no { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--vo-gradient); color: #fff; font-weight: 800; font-size: 1.125rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--soft), var(--vo-shadow-brand); }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* a line from the previous number to this one (drawn inside this card, over the gap) */
  .step + .step::before { content: ""; position: absolute; top: -1px; right: calc(50% + 32px); width: calc(100% + 1.25rem - 64px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--vo-brand-200), var(--vo-brand-400)); }
}

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-ctl); box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.faq-item[open] { border-color: var(--vo-brand-200); }
.faq-item summary { cursor: pointer; padding: 1.05rem 1.2rem; font-weight: 600; color: var(--vo-navy-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--vo-brand-50); font-weight: 700; color: var(--vo-brand-500); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--text); max-width: 65ch; }

/* Call to action before the footer (every page) */
.cta-band { position: relative; background: var(--vo-gradient); color: #fff; padding: clamp(3.5rem, 7vw, 5rem) 0; text-align: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -40% 55% -40% -10%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent); pointer-events: none; }
.cta-inner { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4.2vw, 2.4rem); font-weight: 800; }
.cta-band p { color: #E0F2FE; font-size: 1.0625rem; max-width: 55ch; margin-left: auto; margin-right: auto; }
.cta-band .eyebrow-label { color: #E0F2FE; }

/* Footer: dark navy gradient. Phone: brand block, then the link columns two
   by two; wide: brand + three columns in one row. */
.site-footer { background: linear-gradient(160deg, var(--vo-navy-900) 0%, #041650 55%, #020B2E 100%); color: #CBD5E1; padding-top: 3.5rem; font-size: .9375rem; }
.site-footer a { color: #E2E8F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; padding-bottom: 2.5rem; }
.site-footer-brand { grid-column: 1 / -1; max-width: 26rem; }
@media (min-width: 760px) { .site-footer-grid { grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)); } .site-footer-brand { grid-column: auto; } }
.site-logo-on-dark, .site-logo-on-dark:hover { color: #fff; text-decoration: none !important; }
.site-footer-tag { margin: .9rem 0 0; color: #CBD5E1; }
.site-footer-co { margin-top: 1.25rem; color: #A9B6C9; font-size: .875rem; }
.site-footer-co strong { color: #E2E8F0; font-weight: 600; }
.site-footer-h { color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.site-footer li { padding: .25rem 0; overflow-wrap: anywhere; }
.site-footer [data-footer-product] a, .site-footer [data-footer-company] a, .site-footer [data-footer-legal] a { display: inline-block; padding: .2rem 0; }
.site-footer a[aria-current="page"] { color: #fff; font-weight: 600; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.1rem; padding-bottom: 1.5rem; font-size: .8125rem; color: #A9B6C9; }

/* Features page */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--vo-brand-200); color: var(--vo-navy-800); text-decoration: none; font-size: .875rem; font-weight: 500; transition: border-color .15s, color .15s; }
.chips a:hover { border-color: var(--vo-brand-500); color: var(--vo-brand-700); }
.feature-grid { display: grid; gap: 2rem; align-items: center; }
.feature-copy, .shot { min-width: 0; }
.feature-copy .section-lead { margin-bottom: 1rem; }
/* App pictures: rounded, a light browser frame, soft shadow */
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-shot); background: #EDF2F9; }
.shot img { border-top: 1px solid var(--line); }
.plan-tag { display: inline-flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; padding: .45rem .85rem; border-radius: var(--r-ctl); background: var(--vo-accent-50); color: var(--vo-accent-800); font-size: .875rem; font-weight: 600; }
.plan-tag span { font-weight: 500; color: var(--text); }
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; }
  .feature-row-flip .feature-copy { order: 2; }
}

/* Prices page. Two groups (#oms, #bundles): without JS both show and the
   tabs are in-page links; with JS only the picked panel shows. */
.price-bar { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-bottom: 2.25rem; }
.price-bar .cycle-switch { margin: 0; }
.plan-tabs { scroll-margin-top: calc(var(--hdr-stuck) + 1.5rem); display: flex; flex-wrap: wrap; justify-content: center; max-width: 100%; padding: 4px; border-radius: var(--r-ctl); background: var(--soft); border: 1px solid var(--line); }
.plan-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .45rem 1.25rem; border-radius: 9px; color: var(--vo-navy-800); font-weight: 700; text-decoration: none; }
.plan-tabs a:hover { color: var(--vo-brand-700); }
@media (max-width: 420px) { .plan-tabs a { padding: .4rem .75rem; font-size: .875rem; } }
.plan-tabs a[aria-selected="true"] { background: #fff; color: var(--vo-brand-700); box-shadow: var(--sh-card); }
.plan-panel + .plan-panel { margin-top: 4rem; }
.tabs-on .plan-panel + .plan-panel { margin-top: 0; }
.plan-panel[hidden] { display: none; }
.panel-head { text-align: center; margin-bottom: 2.25rem; }
.panel-head .section-lead { margin: 0 auto; }
.panel-head .muted { margin: .6rem auto 0; max-width: 65ch; }
.plan-sep { margin: 0 0 1rem; padding: .6rem .8rem; border-radius: var(--r-ctl); background: var(--soft); color: var(--vo-navy-800); font-size: .9375rem; font-weight: 600; }
.plan-sep span { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 3rem; text-align: center; }
.soon-label { font-weight: 700; color: var(--vo-navy-800); font-size: .9375rem; }
.soon-item { display: inline-flex; align-items: center; min-height: 32px; padding: .2rem .75rem; border-radius: 999px; background: #EEF1F5; color: #475569; font-size: .875rem; cursor: default; }
.soon .muted { width: 100%; }
.cycle-switch { display: flex; width: max-content; max-width: 100%; margin: 0 auto 2rem; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--sh-card); }
.cycle-switch button { min-height: 44px; padding: .4rem 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--vo-navy-800); font: inherit; font-weight: 600; cursor: pointer; }
.cycle-switch button span { font-weight: 500; font-size: .8125rem; opacity: .85; }
.cycle-switch button[aria-pressed="true"] { background: var(--vo-brand-500); color: #fff; }
[data-cycle="monthly"] [data-show="yearly"], [data-cycle="yearly"] [data-show="monthly"] { display: none; }
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 1.75rem 1.5rem; }
.plan-pop { border: 2px solid var(--vo-brand-500); box-shadow: var(--sh-lift); }
.plan-badge { position: absolute; top: -14px; left: 1.5rem; margin: 0; padding: .2rem .7rem; border-radius: 999px; background: var(--vo-gradient); color: #fff !important; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plan-name { font-size: 1.3rem; font-weight: 800; margin-bottom: .25rem; }
.plan-price { margin: .5rem 0 .75rem; }
.plan-price .price-big { margin: .25rem 0; }
.plan-limits { display: grid; gap: .45rem; padding: .9rem 0; border-top: 1px solid #EEF2F7; border-bottom: 1px solid #EEF2F7; font-size: .9375rem; }
.plan-limits li { display: flex; align-items: center; gap: .5rem; }
.plan-limits .icon { color: #64748B; }
.plan-features { flex: 1; padding: .9rem 0 1.25rem; }
.plan-features-h { font-weight: 700; color: var(--vo-navy-900); margin-bottom: .25rem; font-size: .9375rem; }
.plan-features .ticks li { font-size: .9375rem; padding: .2rem 0; }
.compare { margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); }
.compare summary { cursor: pointer; padding: 1.1rem 1.4rem; min-height: 52px; font-weight: 700; color: var(--vo-navy-900); }
.compare-scroll { position: relative; overflow-x: auto; border-top: 1px solid var(--line); }
.compare table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.compare th, .compare td { padding: .65rem .8rem; border-bottom: 1px solid #F1F5F9; text-align: center; }
.compare thead th { background: #F8FAFC; color: var(--vo-navy-900); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--vo-navy-800); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: #FAFCFF; }
.compare th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; text-align: left; }
.compare thead th:first-child { background: #F8FAFC; }
.compare .tick { margin: 0 auto; }
.compare .dash { color: #94A3B8; }
/* Desktop: the table fits, so its header row can stick under the site header. */
@media (min-width: 900px) {
  .compare-scroll { overflow: visible; }
  .compare thead th { position: sticky; top: var(--hdr-stuck); z-index: 2; box-shadow: 0 1px 0 var(--line); }
  .compare thead th:first-child { z-index: 3; }
}

/* Contact */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; } }
.contact-ways { display: grid; gap: 1.25rem; }
.contact-ways .card p { margin-bottom: .75rem; }
.contact-ways .card-title { display: flex; align-items: center; gap: .6rem; }
.contact-ways .card-title svg { box-sizing: content-box; padding: .55rem; border-radius: 999px; background: var(--vo-brand-50); color: var(--vo-brand-500); }
.contact-email { overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 1rem; margin-top: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--vo-navy-900); }
/* Same field as the sign-in pages (views/auth/_shell.php .vo-input): 48px, 16px text (no iPhone zoom). */
.field input, .field textarea { width: 100%; min-height: 48px; padding: .65rem .875rem; font: inherit; font-size: max(1rem, 16px); color: var(--vo-navy-900); background: #fff; border: 1px solid #CBD5E1; border-radius: var(--vo-radius-control); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--vo-brand-500); box-shadow: var(--vo-shadow-focus); }
.field-hint { margin: 0; font-size: .8125rem; color: var(--muted); }
.field-err { display: flex; align-items: flex-start; gap: .35rem; margin: 0; font-size: .875rem; font-weight: 600; color: #B91C1C; }
.field-err .icon-sm { flex: none; margin-top: .15em; vertical-align: 0; }
.field-error input, .field-error textarea { border-color: #DC2626; }
.field-error input:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.18); }
.form-alert { margin-top: 1rem; padding: .75rem 1rem; border: 1px solid #FECACA; background: #FEF2F2; color: #991B1B; border-radius: var(--r-ctl); }
.form-alert p { margin: .25rem 0 0; color: inherit; }
.form-alert ul { margin: .4rem 0 0; padding-left: 1.1rem; list-style: disc; }
.form-alert a { color: inherit; font-weight: 600; }
.form-alert:focus { outline: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Password eye (core/helpers.php password_eye; same rules as password_assets()) */
.pw-field { position: relative; }
.pw-field > input { padding-right: 3rem; }
.pw-eye { position: absolute; top: 50%; right: 2px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #64748B; cursor: pointer; }
.pw-eye[hidden] { display: none; }
.pw-eye:hover { color: var(--vo-navy-900); }
.pw-eye:focus-visible { outline: 3px solid var(--vo-brand-400); outline-offset: -4px; }
.pw-eye[aria-pressed="true"] .pw-i-show, .pw-eye[aria-pressed="false"] .pw-i-hide { display: none; }
/* Self sign-up (SELF_SIGNUP_TRIAL.md §5): form first; "What you get" on the right from 900px, below on a phone */
.signup-hero { padding-bottom: 1.75rem; }
.signup-hero .wrap { max-width: 1040px; }
.signup-hero h1 { margin-bottom: .4rem; }
.signup-hero .lead { display: flex; align-items: center; gap: .45rem; margin: 0; font-weight: 600; color: var(--vo-navy-800); }
.signup-hero .lead .icon-sm { color: #16A34A; }
.signup-section { padding: 1.5rem 0 var(--sec); }
.signup-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .signup-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: start; max-width: 1040px; }
  .signup-side { position: sticky; top: calc(var(--hdr-stuck) + 1.5rem); }
}
.signup-card-form { padding: clamp(1.25rem, 3vw, 2rem); }
.signup-card-form .form-alert { margin: 0 0 1.5rem; }
.signup-form { margin-top: 0; gap: 1.25rem; }
.field-group { display: grid; gap: 1rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-group + .field-group { margin-top: .5rem; }
.field-group legend { padding: 0; margin: 0 0 .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vo-brand-500); }
.pw-rules { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .8125rem; color: var(--muted); }
.pw-rules li { display: inline-flex; align-items: center; gap: .4rem; }
.pw-rules li::before { content: ""; flex: none; width: 1rem; height: 1rem; border: 2px solid #CBD5E1; border-radius: 999px; }
.pw-rules li.is-ok { color: #15803D; }
.pw-rules li.is-ok::before { border-color: #16A34A; background: #16A34A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / .65rem no-repeat; }
.pw-match { margin: 0; font-size: .8125rem; font-weight: 600; color: #B45309; }
.pw-match.is-ok { color: #15803D; }
.signup-form .btn[disabled] { opacity: .8; cursor: wait; transform: none; }
.signup-links { display: grid; gap: .25rem; text-align: center; font-size: .9375rem; color: var(--muted); }
.signup-links p { margin: 0; }
.signup-links a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-weight: 600; }
.signup-after { margin: .75rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--text); }
@media (max-width: 899px) {
  .signup-side { padding: 1.1rem 1.25rem; }
  .signup-side .ticks li { padding: .15rem 0; font-size: .9375rem; }
}
.check-row { display: flex; align-items: flex-start; gap: .65rem; font-weight: 400 !important; cursor: pointer; }
.check-row input { flex: none; width: 1.25rem; height: 1.25rem; min-height: 0; padding: 0; margin: .15rem 0 0; accent-color: var(--vo-brand-500); }
.signup-note { margin-top: .9rem; }
.signup-card { margin: 1.5rem auto 1rem; max-width: 460px; text-align: left; }
.signup-card .contact-form { margin-top: .5rem; }
.form-note { margin: 1rem auto 0; max-width: 560px; padding: .75rem 1rem; border: 1px solid var(--vo-brand-200); background: var(--vo-brand-50); color: var(--vo-navy-900); border-radius: var(--r-ctl); }
.page-hero-center .form-alert { max-width: 560px; margin-left: auto; margin-right: auto; }
.thanks-tick { display: inline-flex; padding: .9rem; border-radius: 999px; background: #fff; color: var(--vo-brand-500); box-shadow: var(--sh-card); }
.thanks-tick .icon { width: 2rem; height: 2rem; }

/* Legal pages: a narrow readable column, a small table of contents */
.legal-hero .section-lead { max-width: 65ch; }
.legal-draft { display: inline-block; margin-bottom: 1.25rem; padding: .5rem .85rem; border: 1px solid #FCD34D; background: #FFFBEB; color: #78350F; border-radius: var(--r-ctl); font-size: .9375rem; }
.legal-layout { display: grid; gap: 2rem; }
.legal-body { min-width: 0; max-width: 68ch; }
.legal-body p, .legal-list li { color: var(--text); }
.legal-toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.1rem 1.25rem; }
.legal-toc-h { margin: 0 0 .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vo-brand-500); }
.legal-toc ol { list-style: decimal; padding-left: 1.25rem; font-size: .9375rem; }
.legal-toc li { padding: .2rem 0; }
.legal-toc a { color: var(--vo-navy-700); text-decoration: none; }
.legal-toc a:hover { color: var(--vo-brand-500); text-decoration: underline; }
@media (min-width: 960px) {
  .legal-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
  .legal-side { position: sticky; top: calc(var(--hdr-stuck) + 1.5rem); }
}
.legal-who { margin-bottom: 1.75rem; }
.legal-who h2 { font-size: 1.0625rem; }
.legal-who li { overflow-wrap: anywhere; }
.legal-part { padding-top: 1.75rem; }
.legal-part + .legal-part { border-top: 1px solid #EEF2F7; margin-top: 1.25rem; }
.legal-part h2 { font-size: 1.35rem; }
.legal-list { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-list li { padding: .2rem 0; }
.legal-others { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal-others ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Motion: light; opacity + transform only (no layout shift). */
@keyframes vo-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes vo-float-in { from { transform: translateY(26px) scale(.985); } to { transform: none; } }
.hero-text > * { animation: vo-rise .6s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(n+4) { animation-delay: .18s; }
.hero-media { animation: vo-float-in .8s .1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vo-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.chip { animation: vo-rise .6s .55s cubic-bezier(.2,.7,.2,1) both, vo-bob 6s 1.4s ease-in-out infinite; }
.chip-cod { animation-delay: .7s, 2.2s; }
.chip-stock { animation-delay: .85s, 3s; }
/* Home "See how it works" (views/site/_how_it_works.php): inline SVG + keyframes,
   7 scenes x 4.2 s (29.4 s loop). Every timed piece starts at --i x --S + --d - --jump
   (home.js sets --jump for the scene dots). Keyframe % are inside one loop:
   one scene = 14.29 %. No JS: CSS plays it; the step list is always visible. */
.hiw { --S: 4.2s; --T: 29.4s; --jump: 0s; display: grid; gap: 1.75rem; align-items: center; }
.hiw-left { width: 100%; max-width: 640px; margin: 0 auto; }
.hiw-stage { display: grid; background: linear-gradient(160deg, #fff 0%, var(--vo-brand-50) 100%); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-shot); overflow: hidden; }
.hiw-scene, .hiw-cap { grid-area: 1 / 1; min-width: 0; }
.hiw-caps { display: grid; margin-top: 1rem; text-align: center; }
.hiw-cap { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.hiw-cap strong { display: block; color: var(--vo-navy-900); font-size: 1rem; }
.hiw-scene svg { display: block; width: 100%; height: auto; }
.hiw svg * { transform-box: fill-box; transform-origin: center; }
.hiw-scene, .hiw-cap, .hiw-step::before, .hiw .a { animation: hiw-scene var(--T) ease infinite both; animation-delay: calc(var(--i) * var(--S) + var(--d, 0s) - var(--jump)); }
.hiw-step::before { animation-name: hiw-hl; }
.hiw .a-pop { animation-name: hiw-pop; }
.hiw .a-early { animation-name: hiw-early; }
.hiw .a-fly { animation-name: hiw-fly; }
.hiw .a-push { animation-name: hiw-push; }
.hiw .a-slide { animation-name: hiw-slide; }
.hiw .a-van { animation-name: hiw-van; }
.hiw .a-drop { animation-name: hiw-drop; }
.hiw .a-run { animation-name: hiw-run; }
.hiw.is-paused *, .hiw.is-paused *::before { animation-play-state: paused !important; }
.hiw.is-reset *, .hiw.is-reset *::before { animation: none !important; }
@keyframes hiw-scene { 0% { opacity: 0; transform: translateY(6px); } 1.2%, 13.2% { opacity: 1; transform: none; } 14.2%, 100% { opacity: 0; transform: none; } }
@keyframes hiw-hl { 0% { opacity: 0; } 1.2%, 13.2% { opacity: 1; } 14.2%, 100% { opacity: 0; } }
@keyframes hiw-pop { 0% { opacity: 0; transform: translateY(8px) scale(.92); } 1.5%, 12% { opacity: 1; transform: none; } 13%, 100% { opacity: 0; transform: none; } }
@keyframes hiw-early { 0% { opacity: 0; transform: none; } 1%, 6% { opacity: 1; transform: none; } 7%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes hiw-fly { 0% { opacity: 0; transform: none; } 1% { opacity: 1; transform: none; } 5% { opacity: 1; transform: translate(var(--fx), var(--fy)) scale(.7); } 6%, 100% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.7); } }
@keyframes hiw-push { 0%, 2.5% { transform: translateY(-36px); } 4.5%, 100% { transform: none; } }
@keyframes hiw-slide { 0%, 2.5% { transform: translateY(-100px); } 8%, 100% { transform: none; } }
@keyframes hiw-van { 0%, 1.5% { transform: none; } 8%, 100% { transform: translateX(160px); } }
@keyframes hiw-drop { 0% { opacity: 0; transform: translateY(-80px); } .8% { opacity: 1; } 4% { opacity: 1; transform: translateY(8px); } 5%, 100% { opacity: 0; transform: translateY(8px); } }
@keyframes hiw-run { 0% { opacity: 0; transform: none; } 1% { opacity: 1; transform: none; } 6% { opacity: 1; transform: translateX(184px); } 6.6%, 100% { opacity: 0; transform: translateX(184px); } }
/* Picture parts (brand colours). */
.hiw-t { font-family: var(--vo-font); font-size: 14px; font-weight: 600; fill: var(--vo-navy-800); }
.hiw-tb { font-size: 16px; font-weight: 700; }
.hiw-ts { font-size: 11px; font-weight: 700; }
.hiw-big { font-size: 44px; font-weight: 800; fill: var(--vo-brand-500); }
.hiw-muted { fill: var(--muted); }
.hiw-card, .hiw-node { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.hiw-line, .hiw-link { fill: none; stroke: var(--vo-brand-200); stroke-width: 2.5; stroke-dasharray: 5 6; }
.hiw-link { stroke-width: 4; }
.hiw-rule { stroke: var(--line); stroke-width: 1.5; }
.hiw-slip, .hiw-brand { fill: var(--vo-brand-500); }
.hiw-sky { fill: #0296DF; }
.hiw-navy { fill: var(--vo-navy-800); }
.hiw-wa { fill: #25A55F; }
.hiw-soft, .hiw-row-new { fill: var(--vo-brand-50); }
.hiw-row-new { stroke: var(--vo-brand-200); stroke-width: 1.5; }
.hiw-row { fill: var(--soft); }
.hiw-bar { fill: #E3E9F2; }
.hiw-bar2 { fill: #D5DCF0; }
.hiw-bar3 { fill: #93B6FD; }
.hiw-ink { fill: var(--vo-navy-900); }
.hiw-slot { fill: #020B24; }
.hiw-led { fill: #6BCC3B; }
.hiw-road { stroke: #D5DCF0; stroke-width: 4; stroke-linecap: round; }
.hiw-roof { fill: var(--vo-brand-100); }
.hiw-door { fill: var(--vo-brand-200); }
.hiw-glass { fill: #DBE7FE; }
.hiw-wheel { fill: var(--vo-navy-900); stroke: #fff; stroke-width: 3; }
.hiw-wallet-back { fill: #286F19; }
.hiw-wallet { fill: #43B02A; }
.hiw-clasp { fill: #33911E; }
.hiw-coin { fill: #F5B800; stroke: #C98A00; stroke-width: 2; }
.hiw-coin-in { fill: none; stroke: #C98A00; stroke-width: 1.5; }
.hiw-dotrun { fill: #9FE504; stroke: #fff; stroke-width: 2; }
.hiw-chip-done { fill: #F0FDF4; stroke: #BBF7D0; } .hiw-ct-done { fill: #15803D; }
.hiw-chip-ship { fill: #EFF6FF; stroke: #BFDBFE; } .hiw-ct-ship { fill: #1D4ED8; }
.hiw-chip-down { fill: #FEF2F2; stroke: #FECACA; } .hiw-ct-down { fill: #B91C1C; }
.hiw-chip-open { fill: #DBE7FE; } .hiw-ct-open { fill: #003A94; }
.hiw-c-brand { color: var(--vo-brand-500); } .hiw-c-sky { color: #0077B3; } .hiw-c-wa { color: #1F8A4F; } .hiw-c-white { color: #fff; }
/* Controls (home.js shows them) + the step list. */
.hiw-ctrl { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.hiw-ctrl[hidden] { display: none; }
.hiw-play { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--vo-navy-800); font: 600 .875rem/1 var(--vo-font); cursor: pointer; }
.hiw-play::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hiw-play[data-state="play"]::before { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.hiw-play:hover { border-color: var(--vo-brand-200); color: var(--vo-brand-500); }
.hiw-dots { display: flex; }
.hiw-dot { display: flex; align-items: center; justify-content: center; width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.hiw-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--vo-brand-200); transition: transform .2s, background-color .2s; }
.hiw-dot:hover::after { background: var(--vo-brand-400); }
.hiw-dot[aria-current]::after { background: var(--vo-brand-500); transform: scale(1.3); }
.hiw-list { display: grid; gap: .3rem; }
.hiw-step { position: relative; display: flex; align-items: flex-start; gap: .85rem; padding: .65rem .9rem; border-radius: var(--r-ctl); }
.hiw-step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--vo-brand-50); border: 1px solid var(--vo-brand-200); }
.hiw-step > * { position: relative; }
.hiw-ico { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--vo-brand-50); color: var(--vo-brand-500); box-shadow: inset 0 0 0 1px var(--vo-brand-100); }
.hiw-ico .icon { width: 1.3rem; height: 1.3rem; }
.hiw-copy { min-width: 0; }
.hiw-step-title { display: block; color: var(--vo-navy-900); font-size: 1rem; line-height: 1.35; }
.hiw-step-text { display: block; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
@media (min-width: 900px) {
  .hiw { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; }
  .hiw-caps { display: none; }
}
@media print { .hiw-stage, .hiw-caps, .hiw-ctrl { display: none; } .hiw-step::before { content: none; } }
/* Fade in on scroll. Nothing here hides content on its own: site.js adds
   .reveal ONLY to blocks below the fold, after setting up the observer
   that shows them (.in). No JS / no IntersectionObserver = all visible. */
.reveal-ready .reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.reveal-ready .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
@media print { .reveal-ready .reveal:not(.in) { opacity: 1; transform: none; } }
/* Hover lift (mouse only). */
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .card, .shot { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
  .card:hover { transform: translateY(-4px); box-shadow: var(--sh-lift); border-color: var(--vo-brand-200); }
  .reveal-ready .card.reveal.in { transition: opacity .6s ease, transform .25s ease, box-shadow .25s ease, border-color .25s; }
  .shot:hover { transform: translateY(-3px); }
  .legal-who:hover, .contact-grid .card:hover { transform: none; box-shadow: var(--sh-card); border-color: var(--line); }
}
/* Reduced motion: nothing moves, everything visible at once. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card:hover, .shot:hover { transform: none !important; }
  /* See how it works: no picture, no controls - the 7 steps as a still list. */
  .hiw-stage, .hiw-caps, .hiw-ctrl { display: none !important; }
  .hiw { display: block; }
  .hiw-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: .75rem; }
  .hiw-step { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card); }
  .hiw-step::before { content: none; }
  .hiw-step:last-child { grid-column: 1 / -1; }
}
