/* ============================================================
   ParkWayz — marketing site
   Layers: tokens · reset · base · layout · components · sections · utilities
   Colour tokens and contrast pairings follow the ParkWayz brand brief.
   ============================================================ */

/* ---------- 0. Fonts (self-hosted, no external requests) ----------
   Inter and JetBrains Mono, variable weight axes, Latin subsets only.
   Both SIL Open Font License 1.1 — see assets/fonts/LICENSE.md.
   Downloaded from Google Fonts on 2026-09-09; to refresh, re-run the
   fetch and replace the files in assets/fonts/. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --pw-navy:        #0C2554;
  --pw-cyan:        #05B3C4;

  /* Navy ramp */
  --pw-navy-50:  #EEF4FA;  --pw-navy-100: #DCE7F3;
  --pw-navy-200: #BACDE4;  --pw-navy-300: #90ADD0;
  --pw-navy-400: #5C7FB5;  --pw-navy-500: #2F5896;
  --pw-navy-600: #12376E;  --pw-navy-700: #0F2C5E;
  --pw-navy-800: #0D2856;  --pw-navy-900: #0C2554;
  --pw-navy-950: #071730;

  /* Cyan ramp */
  --pw-cyan-50:  #E6F9FB;  --pw-cyan-100: #C6F1F6;
  --pw-cyan-200: #96E5EE;  --pw-cyan-300: #58D3E1;
  --pw-cyan-400: #1FC1D2;  --pw-cyan-500: #05B3C4;
  --pw-cyan-600: #0295A5;  --pw-cyan-ink: #0B7C8C;

  /* Neutrals */
  --pw-slate-50:  #F8FAFC; --pw-slate-100: #F1F5F9;
  --pw-slate-200: #E2E8F0; --pw-slate-300: #CBD5E1;
  --pw-slate-400: #94A3B8; --pw-slate-500: #64748B;
  --pw-slate-800: #1E293B;

  /* Semantic */
  --pw-success:      #16A34A; --pw-success-text: #15803D;
  --pw-danger:       #DC2626;
  --pw-warning:      #D97706; --pw-warning-text: #B45309;
  --pw-enterprise:   #7C3AED;

  /* Applied roles */
  --pw-bg:            var(--pw-slate-100);
  --pw-surface:       #FFFFFF;
  --pw-border:        var(--pw-slate-200);
  --pw-text:          var(--pw-slate-800);
  --pw-text-muted:    var(--pw-slate-500);
  --pw-heading:       var(--pw-navy-900);
  --pw-primary:       var(--pw-navy-600);
  --pw-primary-hover: var(--pw-navy-700);
  --pw-accent:        var(--pw-cyan-500);

  /* Shape & depth */
  --pw-radius-sm: 8px;
  --pw-radius:    12px;
  --pw-radius-lg: 20px;
  --pw-shadow-card: 0 1px 4px rgba(0,0,0,.06);
  --pw-shadow-lift: 0 4px 20px rgba(5,179,196,.14);
  --pw-shadow-hero: 0 4px 18px rgba(12,37,84,.22);

  /* Rhythm */
  --pw-section-y: clamp(3.5rem, 8vw, 6rem);
  --pw-gutter:    clamp(1rem, 4vw, 2rem);
  --pw-maxw:      1200px;

  --pw-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pw-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 3. Base type ---------- */
body {
  font-family: var(--pw-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--pw-text);
  background: var(--pw-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--pw-heading); line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
a { color: var(--pw-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pw-primary-hover); }
strong { font-weight: 600; color: var(--pw-heading); }
code, .mono { font-family: var(--pw-mono); font-size: .9375em; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--pw-cyan-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 0; top: 0; z-index: 100;
  transform: translateY(-140%);
  background: var(--pw-navy-900); color: #fff;
  padding: .75rem 1.25rem; font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: var(--pw-maxw); margin-inline: auto; }
.section { padding: var(--pw-section-y) var(--pw-gutter); background: var(--pw-surface); }
.section--tint { background: var(--pw-slate-50); }
.section--dark {
  background: linear-gradient(145deg, #0C2554 0%, #0F2C5E 55%, #12376E 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.86); }
.section--dark a { color: var(--pw-cyan-200); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--pw-text-muted); font-size: 1.0625rem; margin-top: .75rem; }
.section--dark .section__head p { color: rgba(255,255,255,.86); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* ---------- 5. Components ---------- */

/* 5.1 Eyebrow */
.eyebrow {
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pw-cyan-ink);
  margin-bottom: .5rem;
}
.section--dark .eyebrow { color: var(--pw-cyan-200); }

/* 5.2 Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .75rem 1.5rem;
  border: 0; border-radius: var(--pw-radius-sm);
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s, color .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pw-navy-600), var(--pw-navy-700));
  color: #fff;
}
.btn-primary:hover { color: #fff; box-shadow: 0 4px 15px rgba(18,55,110,.35); }
.btn-cyan { background: var(--pw-cyan-500); color: var(--pw-navy-900); }
.btn-cyan:hover { background: var(--pw-cyan-300); color: var(--pw-navy-900); box-shadow: var(--pw-shadow-lift); }
.btn-ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5);
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-outline {
  background: #fff; color: var(--pw-primary);
  box-shadow: inset 0 0 0 1.5px var(--pw-slate-300);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--pw-navy-600); }

/* 5.3 Plate tag */
.plate-tag {
  display: inline-block;
  font-family: var(--pw-mono);
  background: #fff;
  border: 1.5px solid var(--pw-navy-900);
  border-bottom: 2.5px solid var(--pw-cyan-500);
  color: var(--pw-navy-900);
  padding: 2px 10px; border-radius: 5px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em;
  white-space: nowrap;
}

/* 5.4 Status chips */
.chip {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .01em;
  padding: 2px 9px; border-radius: 999px; white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--allowed  { color: var(--pw-success-text); background: #DCFCE7; }
.chip--denied   { color: var(--pw-danger);       background: #FEE2E2; }
.chip--unknown  { color: var(--pw-warning-text); background: #FEF3C7; }

/* 5.5 Card */
.card {
  position: relative;
  background: var(--pw-surface);
  border: 1px solid var(--pw-border);
  border-radius: var(--pw-radius);
  padding: 1.5rem;
  box-shadow: var(--pw-shadow-card);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card::after {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px;
  border-radius: var(--pw-radius) var(--pw-radius) 0 0;
  background: var(--pw-cyan-500);
  opacity: 0; transition: opacity .2s;
}
.card:hover { box-shadow: var(--pw-shadow-lift); border-color: var(--pw-cyan-200); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--pw-text-muted); font-size: .9375rem; }

.card__icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--pw-radius-sm);
  background: var(--pw-navy-50); color: var(--pw-navy-600);
  margin-bottom: 1rem;
}
.card__icon svg { width: 20px; height: 20px; }

/* Tick list */
ul.tick li {
  position: relative; padding-left: 1.5rem; margin-top: .5rem;
  font-size: .9375rem; color: var(--pw-text-muted);
}
ul.tick li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--pw-cyan-500);
}
.section--dark ul.tick li { color: rgba(255,255,255,.86); }
.card ul.tick { margin-top: .875rem; }

/* 5.6 Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pw-border);
}
.site-header__inner {
  max-width: var(--pw-maxw); margin-inline: auto;
  padding: .625rem var(--pw-gutter);
  display: flex; align-items: center; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 148px; height: 55px; object-fit: contain; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(.5rem, 1.5vw, 1.5rem); }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 .25rem;
  color: var(--pw-slate-800); font-size: .9375rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { color: var(--pw-navy-600); }
.header-cta { flex: 0 0 auto; }
.nav-disclosure { margin-left: auto; position: relative; }
.nav-disclosure summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; min-width: 44px; padding: 0 .75rem;
  border: 1px solid var(--pw-slate-300); border-radius: var(--pw-radius-sm);
  font-size: .875rem; font-weight: 600; color: var(--pw-navy-700);
}
.nav-disclosure summary::-webkit-details-marker { display: none; }
.nav-disclosure ul {
  position: absolute; right: 0; top: calc(100% + .5rem);
  min-width: 14rem;
  background: #fff; border: 1px solid var(--pw-border);
  border-radius: var(--pw-radius); box-shadow: 0 12px 30px rgba(12,37,84,.14);
  padding: .5rem;
}
.nav-disclosure a {
  display: flex; align-items: center; min-height: 44px; padding: 0 .75rem;
  border-radius: var(--pw-radius-sm);
  color: var(--pw-slate-800); text-decoration: none; font-weight: 500;
}
.nav-disclosure a:hover { background: var(--pw-navy-50); color: var(--pw-navy-700); }

/* Eight nav items plus the logo and the CTA need ~1120px. Below that, the compact
   <details> menu takes over rather than letting the nav wrap. */
@media (max-width: 1119px) { .site-nav { display: none; } }
@media (min-width: 1120px) { .nav-disclosure { display: none; } .header-cta { margin-left: .5rem; } }
@media (max-width: 420px) { .header-cta { display: none; } .brand img { width: 124px; height: 46px; } }

/* 5.6b Active nav state (multi-page) */
.site-nav a[aria-current="page"] { color: var(--pw-navy-600); font-weight: 600; }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .25rem; right: .25rem; bottom: 6px;
  height: 2px; border-radius: 2px; background: var(--pw-cyan-500);
}
.site-nav a { position: relative; }
.nav-disclosure a[aria-current="page"] { background: var(--pw-navy-50); color: var(--pw-navy-700); font-weight: 600; }

/* 5.7 Hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero::before, .hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: min(620px, 90vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(5,179,196,.26) 0%, rgba(5,179,196,0) 70%);
}
.hero::before { top: -18%; right: -12%; }
.hero::after  { bottom: -30%; left: -18%; opacity: .7; }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}
/* Grid items must be allowed to shrink below their min-content width. */
.hero__inner > * { min-width: 0; }
@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}
.hero h1 { margin-bottom: 1.25rem; }
.hero__lede { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.section--dark .hero__note { margin-top: 1.25rem; font-size: .8125rem; color: rgba(255,255,255,.72); }

/* 5.7b Page hero — compact navy band at the top of interior pages */
.page-hero { padding-block: clamp(2.75rem, 6vw, 4rem); }
.page-hero::before {
  content: ""; position: absolute; pointer-events: none;
  top: -55%; right: -8%; width: min(560px, 80vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(5,179,196,.24) 0%, rgba(5,179,196,0) 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: .75rem; }
.page-hero p { max-width: 58ch; font-size: 1.0625rem; }
.page-hero .hero__actions { margin-top: 1.75rem; }

/* 5.7c Card that is itself a link */
.card-link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.card-link h3 { color: var(--pw-navy-900); }
.card-link:hover h3 { color: var(--pw-navy-600); }
.card-link__go {
  margin-top: auto; padding-top: 1rem;
  font-size: .8125rem; font-weight: 600; color: var(--pw-primary);
}
.card-link:hover .card-link__go { color: var(--pw-primary-hover); }
.related { align-items: stretch; }
.related > li { display: flex; }
.related-h {
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pw-cyan-ink);
  margin-bottom: 1.25rem;
}

/* 5.8 Screenshot / product frame */
.frame {
  border-radius: var(--pw-radius-lg);
  overflow: hidden;
  background: var(--pw-navy-950);
  box-shadow: var(--pw-shadow-hero);
  border: 1px solid rgba(255,255,255,.1);
}
.frame__bar {
  display: flex; align-items: center; gap: .375rem;
  padding: .625rem .875rem;
  background: var(--pw-navy-950);
}
.frame__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.frame__title {
  margin-left: .625rem; font-size: .6875rem; letter-spacing: .06em;
  color: rgba(255,255,255,.55); font-family: var(--pw-mono);
}
.frame__body { background: #fff; padding: 1rem; color: var(--pw-text); }
.figure-note { font-size: .8125rem; color: var(--pw-text-muted); margin-top: .75rem; }
.section--dark .figure-note { color: rgba(255,255,255,.68); }

/* The frame is a light-surface island: undo the dark section's text colour inside it. */
.section--dark .frame__body p { color: var(--pw-text); }
.section--dark .frame__body .ui-tile__value { color: var(--pw-navy-900); }
.section--dark .frame__body .ui-tile__label,
.section--dark .frame__body .ui-tile__meta,
.section--dark .frame__body .ui-panel__head { color: var(--pw-slate-500); }

/* 5.9 Mock UI inside the frame */
.ui-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr)); gap: .5rem; }
.ui-scroll { overflow-x: auto; }
.ui-tile {
  border: 1px solid var(--pw-border); border-radius: var(--pw-radius-sm);
  padding: .625rem .75rem; background: var(--pw-slate-50);
}
.ui-tile__label {
  font-size: .5625rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pw-slate-500);
}
.ui-tile__value {
  font-family: var(--pw-mono); font-size: 1.125rem; font-weight: 500;
  color: var(--pw-navy-900); line-height: 1.4;
}
.ui-tile__meta { font-size: .625rem; color: var(--pw-slate-500); }
.ui-panel {
  margin-top: .625rem; border: 1px solid var(--pw-border);
  border-radius: var(--pw-radius-sm); padding: .75rem;
}
.ui-panel__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: .625rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pw-slate-500); margin-bottom: .5rem;
}
.ui-table { font-size: .75rem; }
.ui-table th {
  text-align: left; font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pw-slate-500); font-weight: 700; padding-bottom: .375rem;
}
.ui-table td { padding: .3125rem 0; border-top: 1px solid var(--pw-slate-100); }
.ui-table td.num { font-family: var(--pw-mono); color: var(--pw-slate-500); font-size: .6875rem; }
.ui-bar { height: 5px; border-radius: 3px; background: var(--pw-slate-200); overflow: hidden; }
.ui-bar > span { display: block; height: 100%; background: var(--pw-cyan-500); border-radius: 3px; }
.ui-zone { display: grid; grid-template-columns: 5rem 1fr 2.5rem; gap: .5rem; align-items: center; font-size: .6875rem; }
.ui-zone + .ui-zone { margin-top: .375rem; }
.ui-zone .num { font-family: var(--pw-mono); text-align: right; color: var(--pw-slate-500); }

/* 5.10 Trust band */
.trust { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.trust__item { padding-left: 1rem; border-left: 3px solid var(--pw-cyan-500); }
.trust__item h3 { font-size: 1rem; margin-bottom: .25rem; }
.trust__item p { color: var(--pw-text-muted); font-size: .9375rem; }

/* 5.11 Steps */
.steps { counter-reset: step; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.step { position: relative; padding-top: 3.5rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border-radius: 50%;
  background: var(--pw-navy-900); color: #fff;
  font-family: var(--pw-mono); font-size: .8125rem; font-weight: 500;
}
.step::after {
  content: ""; position: absolute; top: 1.25rem; left: 3.25rem; right: -1.5rem;
  border-top: 2px dashed var(--pw-cyan-300);
}
.step:last-child::after { display: none; }
@media (max-width: 830px) { .step::after { display: none; } }
.step h3 { margin-bottom: .375rem; }
.step p { color: var(--pw-text-muted); font-size: .9375rem; }

/* 5.12 Split feature rows */
.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--flip > *:first-child { order: 2; }
}
.split p + p { margin-top: 1rem; }

/* 5.13 Floor plan illustration */
.floorplan {
  background: #fff; border: 1px solid var(--pw-border);
  border-radius: var(--pw-radius); padding: 1rem;
  box-shadow: var(--pw-shadow-card);
}
.legend { display: flex; flex-wrap: wrap; gap: .625rem 1rem; margin-top: .875rem; }
.legend li { display: inline-flex; align-items: center; gap: .4375rem; font-size: .75rem; color: var(--pw-text-muted); }
.legend i { width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; }

/* 5.14 Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--pw-border); border-radius: var(--pw-radius);
  background: #fff;
}
.table-wrap table { min-width: 44rem; font-size: .9375rem; }
.table-wrap th, .table-wrap td { padding: .875rem 1rem; text-align: left; vertical-align: top; }
.table-wrap thead th {
  font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pw-slate-500); font-weight: 700;
  border-bottom: 1px solid var(--pw-border); white-space: nowrap;
}
.table-wrap tbody tr + tr { border-top: 1px solid var(--pw-slate-100); }
.table-wrap tbody th { font-weight: 600; color: var(--pw-navy-900); }
.table-wrap td.center { text-align: center; }
.table-wrap .yes { color: var(--pw-success-text); font-weight: 600; }
.table-wrap .no  { color: var(--pw-slate-400); }

/* 5.15 Edition cards */
.edition { display: flex; flex-direction: column; }
.edition__name {
  font-family: var(--pw-mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}
.edition--demo .edition__name { color: var(--pw-slate-500); }
.edition--lite .edition__name { color: var(--pw-navy-600); }
.edition--pro  .edition__name { color: var(--pw-cyan-ink); }
.edition--ent  .edition__name { color: var(--pw-enterprise); }
.edition h3 { margin: .5rem 0; font-size: 1.25rem; }
.edition ul.tick { margin-bottom: 1.5rem; }
.edition .btn { margin-top: auto; }

/* 5.16 Spec list */
.spec { display: grid; gap: 0; }
.spec > div {
  display: grid; gap: .25rem 1.5rem; padding: 1rem 0;
  border-top: 1px solid var(--pw-border);
}
@media (min-width: 720px) { .spec > div { grid-template-columns: 14rem minmax(0, 1fr); } }
.spec dt { font-weight: 600; color: var(--pw-heading); font-size: .9375rem; }
.spec dd { margin: 0; color: var(--pw-text-muted); font-size: .9375rem; }
.section--dark .spec > div { border-color: rgba(255,255,255,.14); }
.section--dark .spec dt { color: #fff; }
.section--dark .spec dd { color: rgba(255,255,255,.8); }

/* 5.16b Camera model card */
.camera__vendor {
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pw-text-muted);
}
.camera h3 {
  font-family: var(--pw-mono); font-size: 1rem; font-weight: 500;
  letter-spacing: 0; margin: .25rem 0 .75rem;
  overflow-wrap: anywhere;
}
.camera .chip { margin-bottom: .25rem; }
.spec-mini { display: grid; gap: 0; margin: 1rem 0; }
.spec-mini > div {
  display: grid; gap: .125rem .875rem;
  padding: .5rem 0; border-top: 1px solid var(--pw-border);
  font-size: .875rem;
}
@media (min-width: 400px) { .spec-mini > div { grid-template-columns: 7.5rem minmax(0, 1fr); } }
.spec-mini dt { color: var(--pw-text-muted); }
.spec-mini dd { margin: 0; color: var(--pw-text); }

/* 5.17 Callout */
.callout {
  border: 1px solid var(--pw-cyan-200); background: var(--pw-cyan-50);
  border-left: 4px solid var(--pw-cyan-500);
  border-radius: var(--pw-radius-sm);
  padding: 1rem 1.25rem; font-size: .9375rem; color: var(--pw-slate-800);
}
.callout strong { color: var(--pw-navy-900); }

/* 5.17b Showcase slider (home page) — full-bleed, auto-advancing.
   Without JavaScript the track stays a usable scroll-snap carousel. */
.slider { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.slider::before {
  content: ""; position: absolute; pointer-events: none;
  top: -40%; left: -10%; width: min(640px, 85vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(5,179,196,.24) 0%, rgba(5,179,196,0) 70%);
}

.slider__track {
  position: relative; z-index: 1;
  display: flex; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
/* Smoothness is driven from slider.js, not CSS: a CSS `scroll-behavior: smooth`
   would also animate scrolls we deliberately want to be instant. */
.slider[data-enhanced] .slider__track { scrollbar-width: none; }
.slider[data-enhanced] .slider__track::-webkit-scrollbar { display: none; }

.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.slide__inner {
  max-width: var(--pw-maxw); margin-inline: auto;
  padding-inline: var(--pw-gutter);
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
@media (min-width: 900px) {
  .slide__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 18rem; }
}
.slide__inner > * { min-width: 0; }
/* Scoped to the copy column: the product frame alongside it has its own type scale. */
.slide__copy h1 { margin-bottom: 1.25rem; }
.slide__copy h2 { font-size: clamp(1.875rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 1.25rem; }
.slide__copy > p { max-width: 46ch; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); }

/* Controls — revealed only once JavaScript has enhanced the slider */
.slider__controls { display: none; }
.slider[data-enhanced] .slider__controls { display: block; position: relative; z-index: 1; margin-top: clamp(1.25rem, 3vw, 2rem); }
.slider__controls-inner { display: flex; align-items: center; gap: .25rem; }
.slider__nav {
  min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.35); border-radius: var(--pw-radius-sm);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.slider__nav:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.slider__dots { display: flex; align-items: center; gap: 0; }
.slider__dots button {
  width: 34px; height: 44px; padding: 0; border: 0; background: transparent;
  cursor: pointer; display: grid; place-items: center;
}
.slider__dots button::before {
  content: ""; width: 9px; height: 9px; border-radius: 999px;
  background: rgba(255,255,255,.35);
  transition: background .2s, width .2s;
}
.slider__dots button[aria-current="true"]::before { background: var(--pw-cyan-500); width: 24px; }

/* 5.17c Legal pages — long-form prose */
.legal { max-width: 72ch; }
.legal__meta {
  font-size: .8125rem; color: var(--pw-text-muted);
  padding-bottom: 1.25rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--pw-border);
}
.legal__lead { font-size: 1.0625rem; margin-bottom: 1.5rem; }
.legal h2 {
  font-size: 1.3125rem; margin-top: 2.75rem; margin-bottom: .75rem;
  padding-top: 1.25rem; border-top: 2px dashed var(--pw-cyan-300);
}
.legal h3 { margin-top: 1.75rem; margin-bottom: .5rem; }
.legal p { margin-bottom: 1rem; }
.legal ul { margin: 0 0 1.25rem; }
.legal li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.legal li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--pw-cyan-500);
}
.legal .callout { margin-bottom: 1.5rem; }
.legal .callout + h2 { margin-top: 2.25rem; }

/* Unfilled placeholder in a legal document — deliberately loud so it cannot ship unnoticed */
.todo {
  background: #FEF3C7; color: #7C4A03;
  padding: 1px 6px; border-radius: 4px;
  font-weight: 600; font-size: .9375em;
  box-shadow: inset 0 0 0 1px #D97706;
}

/* 5.18 Road divider */
.road { height: 0; border-top: 2px dashed var(--pw-cyan-300); max-width: var(--pw-maxw); margin: 0 auto; }

/* 5.19 CTA band */
.cta-band { text-align: center; }
.cta-band .container { max-width: 46rem; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .hero__actions { justify-content: center; }

/* 5.20 Footer */
.site-footer { background: var(--pw-navy-950); color: rgba(255,255,255,.72); }
.site-footer__inner {
  max-width: var(--pw-maxw); margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pw-gutter) 2rem;
  display: grid; gap: 2.5rem;
}
@media (min-width: 800px) {
  .site-footer__inner { grid-template-columns: 18rem repeat(3, minmax(0, 1fr)); }
}
.site-footer h3 {
  color: #fff; font-size: .6875rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .875rem;
}
.site-footer li + li { margin-top: .5rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .9375rem; }
.site-footer a:hover { color: var(--pw-cyan-200); text-decoration: underline; }
.site-footer__brand img { width: 56px; height: 56px; }
.site-footer__brand p { font-size: .875rem; margin-top: 1rem; max-width: 32ch; }
.site-footer__legal .muted { color: rgba(255,255,255,.55); }
.site-footer__legal {
  max-width: var(--pw-maxw); margin-inline: auto;
  padding: 1.25rem var(--pw-gutter) 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center;
  font-size: .8125rem;
}
.site-footer__legal nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer__legal nav li + li { margin-top: 0; }
.site-footer__legal nav a {
  font-size: .8125rem;
  display: inline-flex; align-items: center; min-height: 44px;
}

/* ---------- 6. Utilities ---------- */
/* These exist so no element needs an inline style= attribute, which lets the site run a
   Content-Security-Policy with no 'unsafe-inline' in style-src. Keep it that way. */
.ta-r { text-align: right; }
.spark { overflow: visible; }
.chip-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.pct-92 { width: 92%; }
.pct-75 { width: 75%; }
.pct-41 { width: 41%; }

/* Floor-plan legend swatches */
.sw--available   { background: #DCFCE7; box-shadow: inset 0 0 0 1.5px #16A34A; }
.sw--occupied    { background: #FEE2E2; box-shadow: inset 0 0 0 1.5px #DC2626; }
.sw--reserved    { background: #E6F9FB; box-shadow: inset 0 0 0 1.5px #0295A5; }
.sw--disabled    { background: #EDE9FE; box-shadow: inset 0 0 0 1.5px #7C3AED; }
.sw--maintenance { background: #FEF3C7; box-shadow: inset 0 0 0 1.5px #B45309; }

.muted { color: var(--pw-text-muted); }
.small { font-size: .8125rem; }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.stack > * + * { margin-top: 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover, .btn-cyan:hover { transform: translateY(-1px); }
  .card:hover { transform: translateY(-2px); }
}
