/* =========================================================================
   Latus Labs — site.css

   Plain CSS, no build step: every page loads this one file plus Remix Icon.
   Order: tokens, base, layout, components, then page-specific pieces.
   ========================================================================= */

/* ── Tokens ─────────────────────────────────────────────────────────────── */

:root {
  --ink: #0f1a2b;
  --ink-soft: #3b4a5e;
  --muted: #5d6b80;
  --line: #e3e8ef;
  --line-strong: #cbd4df;
  --paper: #ffffff;
  --paper-warm: #f7f5f0;
  --paper-cool: #f2f5f9;

  --night: #0b1422;
  --night-2: #131f35;
  --night-text: #b9c5d6;
  --night-line: rgba(255, 255, 255, .1);

  /* #336699 is the logo's blue; everything brand-coloured derives from it. */
  --brand: #336699;
  --brand-strong: #264f78;
  --brand-tint: #e8f0f8;
  --accent: #ef5f37;

  /* One accent per product, used for icon tiles and checkmarks. */
  --app-events: #6b54d6;
  --app-scheduling: #d26a14;
  --app-lodging: #0f8277;
  --app-locations: #1f8f57;
  --app-rankup: #c0392f;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 43, .06), 0 1px 1px rgba(15, 26, 43, .04);
  --shadow: 0 14px 34px -14px rgba(15, 26, 43, .2), 0 2px 6px rgba(15, 26, 43, .05);
  --shadow-lg: 0 44px 90px -34px rgba(15, 26, 43, .38), 0 10px 26px -10px rgba(15, 26, 43, .14);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

[data-app="events"] { --c: var(--app-events); }
[data-app="scheduling"] { --c: var(--app-scheduling); }
[data-app="lodging"] { --c: var(--app-lodging); }
[data-app="locations"] { --c: var(--app-locations); }
[data-app="rankup"] { --c: var(--app-rankup); }

/* ── 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-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

/* Author `display` rules would otherwise beat the UA's [hidden]. */
[hidden] { display: none !important; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

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

.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-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ── Layout ─────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--flush-top { padding-top: 0; }
.section--warm { background: var(--paper-warm); }
.section--cool { background: var(--paper-cool); }
.section--night { background: var(--night); color: var(--night-text); }
.section--night h2, .section--night h3 { color: #fff; }
.section--night .lead { color: var(--night-text); }
.section--night .eyebrow { color: #8fb6de; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; max-width: none; flex-wrap: wrap;
}
.section-head--split > div { max-width: 680px; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.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)); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split--top { align-items: start; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Type helpers ───────────────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin-bottom: 1.1rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

.h-display {
  font-size: clamp(2.6rem, 1.2rem + 5vw, 4.9rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.038em;
}
.h-page {
  font-size: clamp(2.4rem, 1.3rem + 4vw, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.h-section {
  font-size: clamp(2rem, 1.3rem + 2.5vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -.03em;
}
.serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.h-display .serif, .h-page .serif, .h-section .serif { color: var(--brand); }
.section--night .h-section .serif { color: #8fb6de; }

.lead {
  font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.h-sub { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.875rem); letter-spacing: -.025em; }

/* ── Buttons & links ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 .9688rem/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn i { font-size: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { height: 40px; padding: 0 17px; font-size: .875rem; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -10px rgba(51, 102, 153, .7); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-tint); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-app { background: var(--c, var(--brand)); color: #fff; }
.btn-app:hover { background: var(--ink); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .35em;
  font-weight: 600; text-decoration: none;
}
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }

/* ── Header & navigation ────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -.02em; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: auto; }
.brand--light, .brand--light:hover { color: #fff; }

.nav-panel { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin-inline: auto; list-style: none; }
.nav-menu > li { position: relative; }

.nav-link {
  display: inline-flex; align-items: center;
  padding: 9px 14px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  transition: background-color .15s, color .15s;
}
.nav-link:hover { color: var(--ink); background: var(--paper-cool); }
.nav-link[aria-current] { color: var(--ink); background: var(--paper-cool); }

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

.nav-toggle {
  display: none; place-items: center;
  width: 44px; height: 44px; margin-left: auto;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 22px; cursor: pointer;
}

.has-menu { display: flex; align-items: center; }
.submenu-toggle {
  display: grid; place-items: center;
  width: 28px; height: 28px; margin-left: -12px;
  border: 0; border-radius: 999px; background: none;
  color: var(--muted); font-size: 18px; cursor: pointer;
}
.submenu-toggle:hover { color: var(--ink); }

.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(580px, calc(100vw - 32px));
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
/* Invisible bridge so the pointer can travel from the link to the panel. */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover .submenu,
.has-menu:focus-within .submenu,
.submenu.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu.is-closed:hover .submenu,
.has-menu.is-closed:focus-within .submenu { opacity: 0; visibility: hidden; }

.submenu a {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: 12px;
  color: var(--ink); text-decoration: none;
}
.submenu a:hover { background: var(--paper-cool); color: var(--ink); }
.submenu strong { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.submenu small { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.submenu .submenu-all {
  grid-column: 1 / -1; align-items: center; justify-content: space-between;
  margin-top: 4px; padding: 12px 14px;
  background: var(--paper-cool); font-size: .875rem; font-weight: 600;
}
.submenu .submenu-all:hover { background: var(--brand-tint); }

@media (max-width: 960px) {
  /* backdrop-filter would make the header the containing block for the
     fixed menu panel below, collapsing it to the header's height. */
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-toggle { display: grid; }
  .nav-panel {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 32px;
    background: #fff; overflow-y: auto;
  }
  .nav-panel.is-open { display: flex; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .has-menu { display: block; }
  .nav-link { display: flex; padding: 16px 2px; border-radius: 0; font-size: 1.125rem; color: var(--ink); }
  .nav-link:hover, .nav-link[aria-current] { background: none; color: var(--brand); }
  .submenu-toggle { display: none; }
  .submenu {
    position: static; width: auto; grid-template-columns: 1fr;
    padding: 0 0 12px; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .submenu::before { display: none; }
  .submenu .submenu-all { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .nav-actions .btn { height: 50px; font-size: 1rem; }
}

/* ── App icon tiles ─────────────────────────────────────────────────────── */

.app-icon {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: color-mix(in srgb, var(--c, var(--brand)) 13%, #fff);
  color: var(--c, var(--brand));
  font-size: 20px; line-height: 1;
}
.app-icon--lg { width: 56px; height: 56px; border-radius: 16px; font-size: 28px; }
.section--night .app-icon {
  background: color-mix(in srgb, var(--c, var(--brand)) 28%, transparent);
  color: color-mix(in srgb, var(--c, var(--brand)) 45%, #fff);
}

/* ── Cards ──────────────────────────────────────────────────────────────── */

.card {
  position: relative;
  padding: clamp(24px, 2.4vw, 32px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: .5rem; }
.card p { font-size: .98rem; color: var(--ink-soft); }
.card--hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.card .link-arrow { margin-top: 20px; }
/* Stretched link: the whole card is clickable, the link text stays the accessible name. */
.card .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* "Who it's for" line on a product card, with a dot in the product's colour. */
.card-for {
  margin: 18px 0 6px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.card-for::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 1px;
  border-radius: 50%; background: var(--c, var(--brand));
}

.card-icon {
  display: grid; place-items: center;
  width: 50px; height: 50px; margin-bottom: 22px; border-radius: 14px;
  background: var(--brand-tint); color: var(--brand); font-size: 24px;
}

.mini-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px;
}
.mini-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.mini-card p { font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.mini-card i { font-size: 22px; color: var(--brand); line-height: 1.2; }

/* ── Lists ──────────────────────────────────────────────────────────────── */

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-size: .98rem; line-height: 1.55; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15em;
  width: 21px; height: 21px; border-radius: 50%;
  background: color-mix(in srgb, var(--c, var(--brand)) 15%, #fff);
}
.check-list li::after {
  content: ""; position: absolute; left: 4.5px; top: calc(.15em + 4.5px);
  width: 12px; height: 12px; background: var(--c, var(--brand));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list--lg li { font-size: 1.0625rem; color: var(--ink); }
.section--night .check-list li { color: var(--night-text); }
.section--night .check-list li::before { background: rgba(255, 255, 255, .1); }
.section--night .check-list li::after { background: #8fb6de; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .875rem; color: var(--ink-soft);
}
a.chip { text-decoration: none; transition: border-color .15s, color .15s; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ── Browser frame ──────────────────────────────────────────────────────── */

.browser {
  overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  height: 38px; padding: 0 14px;
  background: #f7f9fb; border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #dde3ea; }
.browser-dots i:first-child { background: #f2a097; }
.browser-dots i:nth-child(2) { background: #f3d08a; }
.browser-dots i:nth-child(3) { background: #9dd3a6; }
.browser-url {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  flex: 1; max-width: 320px; height: 24px; margin-inline: auto; padding: 0 10px;
  border-radius: 7px; background: #eaeef3;
  font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden;
}
.browser-url i { font-size: 11px; }
.browser img { width: 100%; }
.section--night .browser { border-color: rgba(255, 255, 255, .08); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }

/* ── Home hero ──────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.hero::before,
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 26, 43, .1) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 28%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 70% at 72% 28%, #000 25%, transparent 72%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero .lead { max-width: 560px; margin-top: 24px; }
.hero .btn-row { margin-top: 34px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 30px; list-style: none;
  font-size: .9375rem; color: var(--muted);
}
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points i { color: var(--app-locations); font-size: 18px; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .morph-visual { max-width: 720px; }
}

/* The web design illustration: a browser whose page wipes between a
   wireframe and the finished design. Both layers share markup; only their skins differ.
   Sizes are in container-query units so the mock scales as one picture. */

.morph-visual { position: relative; padding: 30px 26px 40px 30px; }

.morph { position: relative; aspect-ratio: 16 / 11; overflow: hidden; container-type: inline-size; }

.mock {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 5cqw 6cqw;
}
.mock-nav { display: flex; align-items: center; gap: 3cqw; }
.mock-logo { width: 12cqw; height: 3.2cqw; border-radius: .8cqw; }
.mock-links { display: flex; gap: 3cqw; margin-left: auto; }
.mock-links i { width: 6.5cqw; height: 1.4cqw; border-radius: .7cqw; }
.mock-btn { width: 10cqw; height: 3.6cqw; border-radius: 99px; }

.mock-hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 5cqw; align-items: center;
  margin-top: 5.5cqw;
}
.mock-copy { display: flex; flex-direction: column; gap: 1.4cqw; }
.mock-line { display: block; height: 1.3cqw; border-radius: .7cqw; width: 34cqw; }
.mock-line--eyebrow { width: 13cqw; margin-bottom: .6cqw; }
.mock-line--h { height: 3.8cqw; border-radius: 1cqw; width: 38cqw; }
.mock-line--h2 { height: 3.8cqw; border-radius: 1cqw; width: 27cqw; margin-bottom: 1.2cqw; }
.mock-line--short { width: 22cqw; }
.mock-ctas { display: flex; gap: 1.6cqw; margin-top: 2.2cqw; }
.mock-ctas i { height: 4.2cqw; width: 13cqw; border-radius: 99px; }
.mock-ctas i + i { width: 11cqw; }
.mock-media { position: relative; aspect-ratio: 1 / .82; border-radius: 2cqw; overflow: hidden; }

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; margin-top: auto; }
.mock-cards span { display: flex; flex-direction: column; gap: 1.2cqw; height: 13cqw; padding: 2.2cqw; border-radius: 1.6cqw; }
.mock-cards span i { display: block; height: 1.2cqw; border-radius: .6cqw; width: 80%; }
.mock-cards span i:first-child { width: 3.6cqw; height: 3.6cqw; border-radius: 1cqw; margin-bottom: .6cqw; }
.mock-cards span i:last-child { width: 55%; }

/* Wireframe skin */
.mock--wire { background: #fbfcfd; }
.mock--wire .mock-logo,
.mock--wire .mock-links i,
.mock--wire .mock-line,
.mock--wire .mock-cards span i { background: #e3e8ee; }
.mock--wire .mock-btn,
.mock--wire .mock-ctas i { border: .3cqw dashed #b9c3cf; }
.mock--wire .mock-media,
.mock--wire .mock-cards span { border: .3cqw dashed #c3ccd7; background: transparent; }
.mock--wire .mock-media {
  background:
    linear-gradient(to top right, transparent calc(50% - .15cqw), #d3dae3 calc(50% - .15cqw), #d3dae3 calc(50% + .15cqw), transparent calc(50% + .15cqw)),
    linear-gradient(to top left, transparent calc(50% - .15cqw), #d3dae3 calc(50% - .15cqw), #d3dae3 calc(50% + .15cqw), transparent calc(50% + .15cqw));
}

/* Finished skin */
.mock--final { background: #fffaf4; }
.mock--final .mock-logo { background: linear-gradient(90deg, var(--ink) 0 72%, var(--accent) 72% 100%); }
.mock--final .mock-links i { background: #c9cfd8; }
.mock--final .mock-btn { background: var(--ink); }
.mock--final .mock-line { background: #cdd3dc; }
.mock--final .mock-line--eyebrow { background: var(--accent); }
.mock--final .mock-line--h,
.mock--final .mock-line--h2 { background: var(--ink); }
.mock--final .mock-ctas i { background: var(--accent); }
.mock--final .mock-ctas i + i { background: transparent; border: .3cqw solid var(--ink); }
.mock--final .mock-media {
  background:
    radial-gradient(circle at 68% 34%, #fff3c4 0 9%, transparent 9.5%),
    radial-gradient(120% 70% at 20% 120%, #1d4e7a 0 48%, transparent 48.5%),
    radial-gradient(110% 70% at 95% 125%, #2f6f9f 0 50%, transparent 50.5%),
    linear-gradient(180deg, #ffb36b 0%, #f47c48 48%, #d4567c 100%);
}
.mock--final .mock-cards span { background: #fff; box-shadow: 0 1.2cqw 3cqw -1.6cqw rgba(15, 26, 43, .35); }
.mock--final .mock-cards span i { background: #d7dce4; }
.mock--final .mock-cards span:nth-child(1) i:first-child { background: var(--app-events); }
.mock--final .mock-cards span:nth-child(2) i:first-child { background: var(--app-lodging); }
.mock--final .mock-cards span:nth-child(3) i:first-child { background: var(--accent); }

.mock--final { clip-path: inset(0 0 0 50%); animation: morph-reveal 10s cubic-bezier(.65, 0, .35, 1) infinite; }
.morph-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 2;
  width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 26, 43, .1), 0 0 20px rgba(15, 26, 43, .25);
  animation: morph-handle 10s cubic-bezier(.65, 0, .35, 1) infinite;
}
.morph-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 34px; height: 34px; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1a2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: var(--shadow);
}
@keyframes morph-reveal {
  0%, 12% { clip-path: inset(0 0 0 80%); }
  46%, 62% { clip-path: inset(0 0 0 20%); }
  96%, 100% { clip-path: inset(0 0 0 80%); }
}
@keyframes morph-handle {
  0%, 12% { left: 80%; }
  46%, 62% { left: 20%; }
  96%, 100% { left: 80%; }
}
@media (prefers-reduced-motion: reduce) {
  .mock--final { animation: none; clip-path: inset(0 0 0 42%); }
  .morph-handle { animation: none; left: 42%; }
}

.morph-label {
  position: absolute; z-index: 3;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(15, 26, 43, .78); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.morph-label--left { top: 12px; left: 12px; }
.morph-label--right { bottom: 12px; right: 12px; }

.float-card {
  position: absolute; z-index: 3;
  padding: 12px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: .75rem; color: var(--muted);
  animation: bob 7s ease-in-out infinite;
}
.float-card strong { display: block; margin-bottom: 8px; font-size: .75rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.float-palette { top: 0; right: 0; }
.float-palette .swatches { display: flex; gap: 6px; }
.float-palette .swatches i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(15, 26, 43, .08); }
.float-type { bottom: 0; left: 0; display: flex; align-items: center; gap: 12px; animation-delay: -3.5s; }
.float-type b { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.float-type span { display: grid; gap: 2px; line-height: 1.3; }
.float-type strong { margin: 0; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (max-width: 560px) {
  .morph-visual { padding: 20px 8px 28px 8px; }
  .float-type { display: none; }
  .float-palette { top: -6px; right: -4px; padding: 9px 11px; }
  .float-palette .swatches i { width: 18px; height: 18px; }
  .morph-label { font-size: 10px; }
  .morph-label--left { top: 8px; left: 8px; }
  .morph-label--right { bottom: 8px; right: 8px; }
}

/* The home hero: one browser, five products. Tabs swap the panel; site.js
   auto-advances until someone interacts. Without JS the first panel shows. */

.showcase { position: relative; padding: 0 0 34px 26px; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.showcase-tab {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: 500 .8125rem/1 var(--font-body); color: var(--ink-soft); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.showcase-tab .app-icon { width: 24px; height: 24px; border-radius: 999px; font-size: 13px; }
.showcase-tab:hover { border-color: var(--line-strong); color: var(--ink); }
.showcase-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.showcase-tab[aria-selected="true"] .app-icon { background: var(--c); color: #fff; }
.showcase-stage { position: relative; aspect-ratio: 949 / 706; overflow: hidden; background: var(--paper-cool); }
.showcase-panel { position: absolute; inset: 0; }
.showcase-panel:not([hidden]) { animation: panel-in .5s ease; }
.showcase-panel img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.showcase-panel--art { display: grid; place-items: center; padding: 6%; background: linear-gradient(160deg, #fbf1ef, var(--paper-cool) 70%); }
@keyframes panel-in { from { opacity: 0; transform: scale(1.012); } to { opacity: 1; transform: none; } }

.float-insight { left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; max-width: 280px; }
.float-insight > i {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-tint); color: var(--brand); font-size: 20px;
}
.float-insight strong { margin-bottom: 2px; }
.float-insight span { line-height: 1.4; }
@media (max-width: 560px) {
  .showcase { padding: 0 0 8px; }
  .float-insight { display: none; }
}

/* White cards dropped onto a dark section. */
.section--night .card { background: var(--night-2); border-color: var(--night-line); }
.section--night .card p { color: var(--night-text); }
.section--night .card--hover:hover { border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.section--night .card-icon { background: rgba(143, 182, 222, .14); color: #8fb6de; }
.section--night .link-arrow,
.section--night .link-arrow:hover { color: #fff; }

/* ── Marquee ────────────────────────────────────────────────────────────── */

.marquee { overflow: hidden; padding-block: 20px; background: #fff; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; align-items: center; list-style: none; }
.marquee-group li {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-family: var(--font-display); font-weight: 600; white-space: nowrap;
  font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem); letter-spacing: -.015em; color: var(--ink);
}
.marquee-group li::after { content: "\2726"; font-size: .7em; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-group { flex-wrap: wrap; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* ── Inner page hero ────────────────────────────────────────────────────── */

.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px); }
.page-hero .container { position: relative; }
.page-hero .lead { max-width: 680px; margin-top: 22px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }
.page-hero--center::before {
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 20%, transparent 70%);
}

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; list-style: none; font-size: .875rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

/* ── "Why us" ───────────────────────────────────────────────────────────── */

.reasons { display: grid; gap: 14px; }
.reason {
  display: flex; gap: 18px;
  padding: 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.reason i {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--brand-tint); color: var(--brand); font-size: 22px;
}
.reason h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.reason p { font-size: .96rem; color: var(--ink-soft); }

/* ── Rankup illustration (no screenshot exists, so it is drawn) ─────────── */

.rank-art {
  width: 100%; max-width: 380px;
  padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  color: var(--ink); font-size: .8125rem;
}
.rank-art--lg { max-width: 460px; padding: 22px; font-size: .875rem; box-shadow: var(--shadow-lg); }
.rank-art-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.rank-art-head strong { display: block; font-size: .875rem; }
.rank-art-head small { color: var(--muted); }
.rank-art-head .app-icon { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }
.rank-ladder { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; list-style: none; }
.rank-ladder li { display: grid; gap: 6px; justify-items: center; text-align: center; font-size: .625rem; line-height: 1.2; color: var(--muted); }
.rank-ladder li::before { content: ""; width: 100%; height: 6px; border-radius: 99px; background: #e6eaf0; }
.rank-ladder li.done::before { background: var(--app-rankup); }
.rank-ladder li.now::before { background: linear-gradient(90deg, var(--app-rankup) 0 55%, #e6eaf0 55%); }
.rank-ladder li.now { color: var(--ink); font-weight: 600; }
.rank-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.rank-stats div { padding: 10px; border-radius: 10px; background: var(--paper-cool); }
.rank-stats b { display: block; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.1; color: var(--ink); }
.rank-stats small { color: var(--muted); font-size: .6875rem; }
.rank-alert {
  display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 9px 11px;
  border-radius: 10px; background: #fdf0ee; color: #8d2a22; font-size: .75rem;
}

/* ── Process steps ──────────────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); list-style: none; }
.step { padding-top: 26px; border-top: 2px solid var(--ink); }
.step-num { display: block; margin-bottom: 14px; font-family: var(--font-accent); font-style: italic; font-size: 3.25rem; line-height: 1; color: var(--brand); }
.step h3 { font-size: 1.25rem; }
.step p { font-size: .98rem; color: var(--ink-soft); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps--3 { grid-template-columns: 1fr; } }

/* ── Inclusions panel ───────────────────────────────────────────────────── */

.panel {
  padding: clamp(28px, 4vw, 56px);
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
}
.panel .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
@media (max-width: 640px) { .panel .check-list { grid-template-columns: 1fr; } }

/* ── Service detail rows (services page) ────────────────────────────────── */

.service-row {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.025em; }
.service-row .card-icon { margin-bottom: 18px; }
.service-row .fit { margin-top: 18px; font-size: .9375rem; color: var(--muted); }
.service-row .fit strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } }

.stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stack .card h3 { font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
@media (max-width: 900px) { .stack { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { padding: 0 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); }

/* ── Software index: product rows ───────────────────────────────────────── */

.product-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-block: clamp(44px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.product-row:first-child { border-top: 0; padding-top: 0; }
.product-row:nth-child(even) .product-row-media { order: -1; }
.product-row h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -.03em; }
.product-row .product-tag { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.product-row .check-list { margin-block: 22px 28px; }
.product-art,
.product-row-art { display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); background: var(--paper-cool); border-radius: var(--radius-lg); }
@media (max-width: 900px) {
  .product-row { grid-template-columns: 1fr; }
  .product-row .product-row-media,
  .product-row:nth-child(even) .product-row-media { order: -1; }
}

/* ── Platform diagram (software overview): five products on one base ─── */

.layers { max-width: 1000px; margin: 0 auto clamp(40px, 5vw, 64px); }
.layers-apps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; }
.layers-apps li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
}
.layers-apps li:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.layers-apps a { color: var(--ink); text-decoration: none; }
.layers-apps a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* connector down to the platform */
.layers-apps li::before {
  content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 26px; margin-left: -1px;
  background: var(--c, var(--brand)); opacity: .45;
}
.layers-base {
  margin-top: 26px; padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-lg); background: var(--brand); color: #fff; text-align: center;
}
.layers-base strong { display: block; margin-bottom: 14px; font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -.02em; }
.layers-base ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; }
.layers-base li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .875rem; }
@media (max-width: 760px) {
  .layers-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layers-apps li::before { display: none; }
  .layers-base { margin-top: 14px; }
}
@media (max-width: 440px) { .layers-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Product pages ──────────────────────────────────────────────────────── */

.product-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--brand)) 8%, #fff) 0%, #fff 78%);
}
.product-hero-grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.product-hero .h-page { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 3.75rem); }
.product-hero .h-page .serif { color: var(--c, var(--brand)); }
.product-hero .lead { margin-top: 20px; }
.product-hero .btn-row { margin-top: 30px; }
.product-name { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.built-for { margin-top: 30px; }
.built-for p { margin-bottom: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1024px) { .product-hero-grid { grid-template-columns: 1fr; } }

.feature-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.feature-card .check-list { gap: 11px; }

.insight {
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius-lg);
}
.insight i { display: inline-block; margin-bottom: 18px; font-size: 26px; color: #8fb6de; }
.insight h3 { font-size: 1.1875rem; line-height: 1.3; }
.insight p { font-size: .96rem; line-height: 1.6; }

.note { padding: 16px 20px; border-radius: 14px; background: var(--paper-cool); font-size: .9375rem; color: var(--ink-soft); }

.other-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.other-apps a {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border: 1px solid var(--line); border-radius: 16px;
  color: var(--ink); text-decoration: none; font-weight: 600;
  transition: border-color .2s, box-shadow .2s;
}
.other-apps a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--ink); }
.other-apps small { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 960px) { .other-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .other-apps { grid-template-columns: 1fr; } }

/* ── About ──────────────────────────────────────────────────────────────── */

.quote { padding: clamp(32px, 5vw, 64px); background: var(--paper-warm); border-radius: 28px; }
.quote blockquote {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.375rem, 1.05rem + 1.2vw, 2.125rem); line-height: 1.3; letter-spacing: -.02em;
  color: var(--ink);
}
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.quote figcaption strong { display: block; }
.quote figcaption span { font-size: .9375rem; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; } }

/* ── Contact ────────────────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.next-steps { display: grid; gap: 22px; list-style: none; counter-reset: next; margin-top: 28px; }
.next-steps li { position: relative; padding-left: 52px; counter-increment: next; }
.next-steps li::before {
  content: counter(next); position: absolute; left: 0; top: -2px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: .9375rem;
}
.next-steps strong { display: block; margin-bottom: 2px; }
.next-steps span { font-size: .96rem; color: var(--ink-soft); }

.form-card { padding: clamp(24px, 3.4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.625rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; align-content: start; }
.field label, .field legend { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field .req { color: var(--accent); }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 10px; }

.input {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #8b97a8; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(51, 102, 153, .16); }
.input[aria-invalid="true"] { border-color: #c4321f; }
textarea.input { min-height: 170px; resize: vertical; }
select.input {
  -webkit-appearance: none; appearance: none; padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field-error { font-size: .8125rem; color: #b42318; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .9375rem; color: var(--ink-soft); cursor: pointer; user-select: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.pill span:hover { border-color: var(--ink); color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.form-footer p { font-size: .875rem; color: var(--muted); max-width: 340px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.form-status { margin-top: 18px; padding: 13px 16px; border-radius: 12px; font-size: .9375rem; }
.form-status--error { background: #fef3f2; border: 1px solid #fecdca; color: #9a2617; }
.form-status--error a { color: inherit; font-weight: 600; }

.form-success { padding: 24px 4px; text-align: center; }
.form-success i { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: #e7f6ee; color: var(--app-locations); font-size: 32px; }
.form-success h2 { font-size: 1.75rem; }
.form-success p { max-width: 420px; margin-inline: auto; color: var(--ink-soft); }

/* ── CTA block ──────────────────────────────────────────────────────────── */

.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 32px; align-items: center;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 30px;
  background: radial-gradient(120% 150% at 100% 0%, #4a83bd 0%, var(--brand) 38%, #1c3d60 100%);
  color: #dbe6f2;
}
.cta::after {
  content: ""; position: absolute; right: -80px; bottom: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .02);
  pointer-events: none;
}
.cta h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); letter-spacing: -.03em; }
.cta h2 .serif { color: #ffd2c2; }
.cta p { max-width: 560px; font-size: 1.0625rem; }
.cta .btn-row { position: relative; z-index: 1; justify-content: flex-end; }
@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer { padding-top: clamp(56px, 7vw, 88px); background: var(--night); color: #93a1b5; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { max-width: 330px; margin: 18px 0 24px; }
.footer-title { margin-bottom: 16px; font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-footer ul { display: grid; gap: 10px; list-style: none; }
.site-footer a:not(.btn):not(.brand) { color: #c4cfdd; text-decoration: none; }
.site-footer a:not(.btn):not(.brand):hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  margin-top: clamp(48px, 6vw, 72px); padding-block: 24px;
  border-top: 1px solid var(--night-line); font-size: .875rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── 404 ────────────────────────────────────────────────────────────────── */

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found .big { font-family: var(--font-accent); font-style: italic; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: .9; color: var(--brand); }

/* ── Scroll reveal (only when JS is running, so no-JS pages show everything) */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Utilities ──────────────────────────────────────────────────────────── */

.mt-0 { margin-top: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: clamp(48px, 6vw, 72px); }
.center { text-align: center; }
