/* ==========================================================================
   Virginia Computer Institute — website styles
   One file, no build step. Sections:
   1. Font & tokens   2. Base   3. Layout   4. Buttons & small parts
   5. Header & nav    6. Hero & kiosk mockup   7. Cards & grids
   8. Sections (steps, split, privacy, stats, FAQ, CTA, timeline)
   9. Solutions page  10. Contact form  11. Footer  12. Motion  13. Responsive
   ========================================================================== */

/* 1. Font & tokens ------------------------------------------------------- */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1b3f;
  --text: #3d4b66;
  --muted: #65728a;
  --line: #e4e9f2;
  --line-strong: #d0d8e7;
  --bg: #ffffff;
  --bg-soft: #f6f8fd;
  --bg-tint: #eef3ff;

  --brand: #2a5bd7;
  --brand-strong: #1e46b4;
  --brand-soft: #e9f0ff;
  --brand-ring: rgba(42, 91, 215, 0.3);

  --amber: #f5a524;
  --amber-ink: #9a6200;
  --amber-soft: #fff4dc;
  --mint: #0f9f7e;
  --mint-ink: #0b7a61;
  --mint-soft: #e2f6ef;
  --violet: #6d4ef0;
  --violet-soft: #efebff;

  --navy: #0b1b3f;
  --navy-2: #132a5c;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 63, 0.05), 0 1px 3px rgba(11, 27, 63, 0.07);
  --shadow: 0 4px 12px rgba(11, 27, 63, 0.05), 0 14px 36px rgba(11, 27, 63, 0.08);
  --shadow-lg: 0 24px 64px rgba(11, 27, 63, 0.18);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* 2. Base ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--brand-ring);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: var(--brand-soft);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 3. Layout -------------------------------------------------------------- */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section--soft {
  background: var(--bg-soft);
}

.section--flush-top {
  padding-top: 0;
}

/* A short band that only introduces the sections below it */
.section--band {
  padding-block: clamp(44px, 6vw, 72px);
}

.section--band .section-head {
  margin-bottom: 0;
}

.subhead {
  margin: 48px 0 20px;
  text-align: center;
}

.subhead--first {
  margin-top: 0;
}

.section-head {
  max-width: 740px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2,
.section-head p {
  text-wrap: balance;
}

.section-head p {
  font-size: 1.125rem;
  color: var(--muted);
}

.section-head > :last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* 4. Buttons & small parts ----------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow .icon {
  width: 16px;
  height: 16px;
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.1);
  color: #c9d8ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(42, 91, 215, 0.65);
}

.btn--primary:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.btn--secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.95rem;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge--mint {
  background: var(--mint-soft);
  color: var(--mint-ink);
}

.badge--amber {
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}

.icon-tile .icon {
  width: 24px;
  height: 24px;
}

.icon-tile--sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.icon-tile--sm .icon {
  width: 20px;
  height: 20px;
}

.tile--amber {
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.tile--mint {
  background: var(--mint-soft);
  color: var(--mint-ink);
}

.tile--violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.checklist {
  display: grid;
  gap: 14px;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checklist .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 4px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-ink);
  stroke-width: 3;
}

/* 5. Header & nav -------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  flex: none;
  width: auto;
  height: 36px;
}

.brand-name {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-name small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.nav-link[aria-current] {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close,
.site-header[data-open] .nav-toggle .icon-open {
  display: none;
}

.site-header[data-open] .nav-toggle .icon-close {
  display: block;
}

/* 6. Hero & kiosk mockup ------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px);
  /* The first layer fades the bottom to white: the video tour sits below. */
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0) calc(100% - 140px), #fff),
    radial-gradient(900px 520px at 88% -8%, #e6eeff 0%, rgba(230, 238, 255, 0) 62%),
    radial-gradient(700px 460px at -8% 105%, #fff3d9 0%, rgba(255, 243, 217, 0) 58%),
    #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(transparent 68%, var(--amber-soft) 68%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero .lead {
  max-width: 37rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points .icon {
  width: 18px;
  height: 18px;
  color: var(--mint);
  stroke-width: 2.75;
}

.hero-visual {
  position: relative;
  padding: 36px 24px 104px 32px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 2% 10% 10%;
  z-index: 0;
  border-radius: 40px;
  background-image: radial-gradient(rgba(42, 91, 215, 0.18) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  transform: rotate(-4deg);
}

.tablet {
  position: relative;
  z-index: 1;
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(160deg, #1b2c57, #0b1b3f);
  box-shadow: var(--shadow-lg);
}

.tablet-screen {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.kiosk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.kiosk-place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.kiosk-place .icon {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.kiosk-body {
  padding: clamp(24px, 4vw, 40px) 24px clamp(24px, 3.5vw, 36px);
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.kiosk-hello {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kiosk-q {
  margin: 4px 0 22px;
  color: var(--muted);
  font-weight: 600;
}

.kiosk-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kiosk-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 800;
}

.kiosk-btn .icon {
  width: 30px;
  height: 30px;
}

.kiosk-btn--in {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(42, 91, 215, 0.8);
}

.kiosk-btn--out {
  background: #fff;
  border: 2px solid var(--line-strong);
  color: var(--ink);
}

.kiosk-hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  line-height: 1.35;
}

.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.float-card--toast {
  top: 6px;
  right: 0;
}

.float-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-ink);
}

.float-check .icon {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.float-card--list {
  bottom: 0;
  left: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: min(330px, 82%);
  padding: 14px 16px;
}

.float-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.float-label .icon {
  width: 15px;
  height: 15px;
}

.float-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 800;
}

.avatar--amber {
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.avatar--mint {
  background: var(--mint-soft);
  color: var(--mint-ink);
}

/* 7. Cards & grids ------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-top: 20px;
}

.card p:last-child {
  margin-bottom: 0;
}

.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.solution-art {
  height: 240px;
  padding: 28px;
  background: var(--brand-soft);
}

.solution-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-art--amber {
  background: var(--amber-soft);
}

.solution-art--mint {
  background: var(--mint-soft);
}

.solution-art--violet {
  background: var(--violet-soft);
}

.solution-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 28px;
}

.solution-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.solution-title h2,
.solution-title h3 {
  margin: 0;
}

.solution-title h2 {
  font-size: 1.6rem;
}

.solution-body p {
  flex: 1;
}

/* Cards of the Solutions page: a line for whom, a list, a link */
.solution-body .solution-for {
  flex: none;
  color: var(--ink);
  font-weight: 600;
}

.solution-body .checklist {
  flex: 1;
  align-content: start;
  margin-bottom: 24px;
}

/* Pricing page: the prices start right under the title */
.section--prices {
  padding-top: clamp(20px, 2.5vw, 32px);
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.price-card--both {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow);
}

.price-card h2 {
  font-size: 1.35rem;
}

.price {
  margin-bottom: 16px;
  color: var(--muted);
}

.price strong {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.price .badge {
  letter-spacing: 0;
  line-height: 1.6;
}

.price-card .solution-for {
  color: var(--ink);
  font-weight: 600;
}

.price-card .checklist {
  flex: 1;
  align-content: start;
  margin-bottom: 28px;
}

.price-card .link-arrow {
  align-self: center;
  margin-top: 18px;
}

.price-note {
  margin: 28px 0 0;
  color: var(--muted);
  text-align: center;
}

.preset-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.preset-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.preset-card h4 {
  margin: 14px 0 4px;
  font-size: 1.05rem;
}

.preset-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 8. Sections ------------------------------------------------------------ */

/* Steps */
.steps-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
}

.steps-head img {
  justify-self: end;
  max-height: 250px;
  width: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}

.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.step p {
  margin: 0;
}

/* Split: text + illustration */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.split--reverse .split-media {
  order: -1;
}

.split-text > :last-child {
  margin-bottom: 0;
}

.split-text .checklist {
  margin: 28px 0 32px;
}

.media-panel {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--bg-tint);
}

.media-panel img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.media-panel--amber {
  background: var(--amber-soft);
}

.media-panel--mint {
  background: var(--mint-soft);
}

.media-panel--violet {
  background: var(--violet-soft);
}

.media-panel--white {
  background: #fff;
}

/* Problem cards */
.problem-card .icon-tile {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

/* Privacy band */
.section--navy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 480px at 100% 0%, rgba(42, 91, 215, 0.35) 0%, rgba(42, 91, 215, 0) 60%),
    var(--navy);
  color: #c4cfe6;
}

.section--navy h2,
.section--navy h3,
.section--navy strong {
  color: #fff;
}

.section--navy .lead {
  color: #c4cfe6;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
  list-style: none;
}

.privacy-point {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.privacy-point .icon-tile {
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #a9c1ff;
}

.privacy-point h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.privacy-point p {
  margin: 0;
  font-size: 0.95rem;
}

.section--navy .link-arrow {
  color: #a9c1ff;
}

.section--navy .media-panel {
  background: #fff;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat-value {
  display: block;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--muted);
  transition: transform 0.2s;
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq details p {
  margin: 0;
  padding: 0 24px 22px;
}

/* CTA band */
.cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, #e8efff 0%, #f3f6ff 45%, #fff4dc 100%);
  border: 1px solid #dde6fb;
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  max-width: 34rem;
  font-size: 1.1rem;
}

.cta .hero-actions {
  margin-top: 24px;
}

.cta img {
  justify-self: center;
  max-height: 260px;
  width: auto;
}

/* Inner page hero */
.page-hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px);
  background:
    radial-gradient(900px 480px at 90% -10%, #e6eeff 0%, rgba(230, 238, 255, 0) 62%),
    radial-gradient(640px 400px at -10% 110%, #fff3d9 0%, rgba(255, 243, 217, 0) 58%),
    #fff;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
}

.page-hero--short {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .lead {
  max-width: 44rem;
  margin-inline: auto;
}

.page-hero .split-media img {
  max-height: 360px;
  width: 100%;
  object-fit: contain;
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 43px;
  width: 2px;
  background: var(--line-strong);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
}

.timeline-year {
  position: relative;
  z-index: 1;
  justify-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.timeline-year--amber {
  background: var(--amber);
  color: var(--ink);
}

.timeline-year--mint {
  background: var(--mint);
}

.timeline h3 {
  margin-bottom: 4px;
}

.timeline p {
  margin: 0;
}

/* Callout */
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.callout p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

/* Video tour (home page) */
.section--video {
  padding-top: 0;
}

.video-frame {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.video-frame:not(.is-playing) video {
  cursor: pointer;
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #fff;
}

/* Sits under the title of the preview picture, until the video starts. */
.video-play {
  position: absolute;
  left: 50%;
  bottom: 15%;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 12px 20px 12px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(42, 91, 215, 0.65);
  cursor: pointer;
  transform: translateX(-50%);
  transition: background-color 0.2s ease;
}

.video-play:hover {
  background: var(--brand-strong);
}

.video-play .icon {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}

.video-time {
  font-weight: 500;
  opacity: 0.8;
}

.video-frame.is-playing .video-play,
.no-js .video-play {
  display: none;
}

@media (max-width: 560px) {
  .video-frame {
    border-radius: var(--radius);
  }

  .video-play {
    bottom: 10%;
    padding: 7px 14px 7px 11px;
    font-size: 0.85rem;
  }
}

/* 9. Solutions page ------------------------------------------------------ */

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  list-style: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.pill:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.pill .icon {
  width: 18px;
  height: 18px;
}

.module {
  padding-block: clamp(56px, 8vw, 96px);
}

.module + .module {
  border-top: 1px solid var(--line);
}

.module-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-media {
  position: relative;
  padding-bottom: 40px;
}

.module-media .media-panel {
  padding-bottom: 150px;
}

.module-media .media-panel img {
  max-height: 300px;
}

.split--reverse .mini-log {
  right: auto;
  left: -12px;
}

.mini-log {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: min(420px, 88%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
}

.mini-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

/* Inside a panel instead of floating over an illustration */
.mini-log--static {
  position: static;
  width: 100%;
  overflow-x: auto;
}

.mini-log--static th,
.mini-log--static td {
  padding-inline: 10px;
}

.media-panel:has(.mini-log--static) {
  padding: clamp(12px, 3vw, 40px);
}

.mini-log-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--brand);
  font-weight: 700;
}

.mini-log-add .icon,
.mini-log-head .badge .icon {
  width: 14px;
  height: 14px;
}

.tags-title {
  margin: 0 0 12px;
  font-size: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.875rem;
  font-weight: 600;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-soft);
}

.mini-log table {
  width: 100%;
  border-collapse: collapse;
}

.mini-log th,
.mini-log td {
  padding: 8px 14px;
  text-align: left;
  white-space: nowrap;
}

.mini-log th {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-log td {
  border-top: 1px solid var(--line);
  color: var(--text);
}

.mini-log td:first-child {
  color: var(--ink);
  font-weight: 700;
}

.mini-log em {
  color: var(--amber-ink);
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature h3 {
  margin: 2px 0 4px;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* 10. Contact form ------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > label,
.field > legend {
  padding: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.field > legend {
  margin-bottom: 10px;
}

.field .optional {
  color: var(--muted);
  font-weight: 500;
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ring);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.chip input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--brand);
}

.chip:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.chip:has(input:focus-visible) {
  outline: 3px solid var(--brand-ring);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Trap field for spam robots: off-screen, never seen by people. */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert,
.form-notice {
  padding: 14px 16px;
  border: 1px solid #f3c2c2;
  border-radius: 12px;
  background: #fff4f4;
  color: #7a1f1f;
  font-size: 0.95rem;
}

.form-alert p,
.form-notice p {
  margin: 0;
}

.form-alert a,
.form-notice a {
  color: inherit;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* Notices shown after a submission without JavaScript (contact.html#sent). */
.form-notice {
  display: none;
  margin-bottom: 20px;
}

.form-notice:target {
  display: block;
}

.form-notice--ok {
  border-color: #b7e4d6;
  background: #effaf6;
  color: #0b5e4a;
}

.form-success {
  text-align: center;
}

.form-success img {
  max-height: 180px;
  width: auto;
  margin: 0 auto 24px;
}

.next-steps {
  display: grid;
  gap: 22px;
  margin: 24px 0 32px;
  list-style: none;
}

.next-steps li {
  display: flex;
  gap: 16px;
}

.next-steps .step-num {
  flex: none;
  margin: 0;
}

.next-steps h3 {
  margin: 4px 0 4px;
  font-size: 1.05rem;
}

.next-steps p {
  margin: 0;
  color: var(--muted);
}

.email-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.email-card > div {
  min-width: 0;
}

.email-card a {
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.email-card small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

/* 404 */
.not-found {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 260px);
  padding-block: 64px;
  text-align: center;
}

.not-found img {
  max-height: 260px;
  width: auto;
  margin: 0 auto 32px;
}

.not-found .hero-actions {
  justify-content: center;
}

/* 11. Footer ------------------------------------------------------------- */

.site-footer {
  padding-top: clamp(56px, 7vw, 80px);
  background: var(--navy);
  color: #a9b5cf;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-name {
  border-left-color: rgba(255, 255, 255, 0.22);
}

.site-footer .brand-name small {
  color: #8f9cba;
}

.footer-about {
  max-width: 22rem;
  margin: 18px 0 0;
}

.footer-col h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-col a {
  color: #d3dbee;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact .icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: #8fa9ec;
}

.footer-contact a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #c9d3ea;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom .sep {
  margin-inline: 8px;
}

.fine-print {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

/* 12. Motion ------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.float-card--toast {
  animation: float 6s ease-in-out infinite;
}

.float-card--list {
  animation: float 7s ease-in-out 1s infinite;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Printing or saving as PDF: show the sections not scrolled to yet. */
@media print {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float-card {
    animation: none;
  }

  .video-play {
    display: none;
  }
}

/* 13. Responsive --------------------------------------------------------- */

@media (max-width: 1080px) {
  .header-inner {
    gap: 16px;
  }

  .nav {
    gap: 0;
  }

  .nav-link {
    padding-inline: 7px;
    font-size: 0.9rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .nav-link,
  .nav-cta,
  .brand-name {
    white-space: nowrap;
  }

  .price strong {
    font-size: 2.5rem;
    gap: 10px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  /* two columns: brand | get in touch, then solutions | company,
     so the long email address keeps room to breathe */
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-grid > .footer-col:last-child {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header[data-open] .nav {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .nav-cta {
    margin: 8px 0 0;
  }

  /* Without JavaScript the menu button does nothing: show the links instead. */
  .no-js .nav-toggle {
    display: none;
  }

  .no-js .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 12px;
  }

  .no-js .nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .hero-grid,
  .split,
  .privacy-grid,
  .contact-grid,
  .steps-head,
  .cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--reverse .split-media {
    order: 0;
  }

  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .steps-head img {
    justify-self: start;
    max-height: 200px;
  }

  .grid--3,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta img {
    justify-self: start;
    max-height: 200px;
  }

  .module-media {
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .grid--4,
  .privacy-points,
  .stats,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-grid > .footer-col:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-visual {
    padding: 64px 0 120px;
  }

  .float-card--toast {
    top: 0;
    right: 4px;
  }

  .float-card--list {
    width: 92%;
  }

  .kiosk-btn {
    padding: 16px 8px;
    font-size: 0.95rem;
  }

  .solution-art {
    height: 190px;
  }

  .module-media {
    padding-bottom: 0;
  }

  .module-media .media-panel {
    padding-bottom: clamp(28px, 5vw, 56px);
  }

  .mini-log {
    position: relative;
    right: auto;
    width: 100%;
    margin-top: 16px;
    overflow-x: auto;
  }

  .mini-log--static {
    margin-top: 0;
    font-size: 0.72rem;
  }

  .mini-log--static th,
  .mini-log--static td {
    padding-inline: 6px;
  }

  .mini-log--static th {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .timeline::before {
    left: 35px;
  }

  .timeline li {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    height: 30px;
  }

  .brand-name {
    padding-left: 10px;
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .brand-name small {
    display: none;
  }
}
