/* ISeaYou — product page styles
   Loads after tokens.css, which is a verbatim copy of
   https://www.tralhavet.se/brand/tokens.css. The page shell (header, sections,
   cards, buttons, contact panel, footer) mirrors the main site's main.css so
   the two read as one family. Only the "instrument" pieces — the chart, the
   alert, the vessel card — switch to the app's Night Watch palette
   (packages/ui/src/tokens.ts). */

:root {
  /* Night Watch — the app's palette: Trälhavet's slate driven into the dark,
     fog raised into the text, beacon untouched. */
  --nw-abyss:       #0B1620;
  --nw-deep:        #12222F;
  --nw-surface:     #1F3A52;
  --nw-line:        #2C4A66;
  --nw-fog-bright:  #F4F6F9;
  --nw-fog-mid:     #C2CDD9;
  --nw-fog-dim:     #889AAE;
  --nw-contact:     #5FD3C4;
  --nw-border:        rgba(244, 246, 249, 0.10);
  --nw-border-strong: rgba(244, 246, 249, 0.18);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color var(--duration-base) var(--ease-out); }
a:hover { color: var(--color-link-hover); }

/* ===== Base ===== */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--gradient-page) var(--color-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-text);
  line-height: var(--leading-tight);
}
h2 { font-size: var(--text-xl); }
h3 { font-family: var(--font-serif); font-size: var(--text-lg); line-height: var(--leading-snug); }

p { margin-bottom: var(--space-3); max-width: var(--content-text); }
p.lead { font-size: var(--text-md); color: var(--color-text-muted); max-width: 56ch; }

.eyebrow {
  font-family: var(--font-serif);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  display: block;
}

/* ===== Layout ===== */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}
section { padding: var(--space-8) 0 var(--space-6); }
section[id] { scroll-margin-top: 104px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 246, 249, 0.92);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 0.5px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  gap: var(--space-4);
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 72px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-4); position: relative; }
.site-nav-links { display: flex; gap: var(--space-5); align-items: center; }
.site-nav a { font-size: var(--text-sm); color: var(--color-text); }
.site-nav a:hover { color: var(--color-beacon); }
.lang-toggle {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: 8px 12px;
  border: 0.5px solid var(--color-border-hover);
  border-radius: var(--radius-sm);
  line-height: 1;
}
.site-nav .lang-toggle { font-size: var(--text-xs); color: var(--color-text-muted); }
.lang-toggle:hover { border-color: var(--color-text); color: var(--color-text); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}
.nav-toggle:hover { background: rgba(31, 58, 82, 0.06); }
.burger-icon, .burger-icon::before, .burger-icon::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--duration-base) var(--ease-out), top var(--duration-base) var(--ease-out);
}
.burger-icon { position: relative; }
.burger-icon::before, .burger-icon::after { content: ''; position: absolute; left: 0; }
.burger-icon::before { top: -6px; }
.burger-icon::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .burger-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger-icon::after  { top: 0; transform: rotate(-45deg); }

/* ===== Buttons ===== */
.cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.btn {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--duration-base) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-ghost { color: var(--color-slate); padding: 14px 4px; }
.btn-ghost:hover { color: var(--color-beacon); }
.btn-beacon { background: var(--color-beacon); color: var(--color-white); }
.btn-beacon:hover {
  background: var(--color-beacon-deep);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }

/* ===== Hero ===== */
.hero { padding: var(--space-7) 0 var(--space-8); }
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-7);
  align-items: center;
}
.hero .eyebrow { margin-bottom: var(--space-3); }
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--color-beacon); }
.hero p.lead { margin-bottom: var(--space-5); max-width: 44ch; }
.hero-note {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  letter-spacing: var(--tracking-wide);
}

/* ===== Instrument: the chart plate ===== */
.instrument { position: relative; margin: 0; }
.chart-plate {
  background: var(--nw-abyss);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 0.5px solid var(--nw-line);
}
.chart-plate svg { width: 100%; height: auto; }
.chart-plate text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  fill: var(--nw-fog-dim);
}
.instrument figcaption {
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  text-align: right;
}

/* The one vessel crossing the line. Decorative, so it stops for reduced motion. */
.ping { transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease-out) infinite; }
.ping-2 { animation-delay: 1.2s; }
@keyframes ping {
  from { transform: scale(0.4); opacity: 0.9; }
  to   { transform: scale(2.2); opacity: 0; }
}

/* Alert, as it lands on the phone — overlaps the chart's lower-left corner. */
.alert {
  position: absolute;
  left: calc(-1 * var(--space-6));
  bottom: calc(-1 * var(--space-6));
  width: min(300px, 80%);
  background: var(--nw-deep);
  color: var(--nw-fog-bright);
  border: 1px solid var(--nw-border-strong);
  border-left: 2px solid var(--color-beacon);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(11, 22, 32, 0.45);
  padding: 12px 16px 14px;
}

/* ===== Night Watch text roles ===== */
.nw-tel {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nw-fog-dim);
  font-variant-numeric: tabular-nums;
}
/* Beacon marks the event with a rule and a dot, never as body text:
   beacon on deep is 4.43:1, below AA for small copy. */
.nw-event { display: flex; align-items: center; gap: 8px; }
.nw-event::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-beacon);
  flex-shrink: 0;
}
.nw-name {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--nw-fog-bright);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.alert .nw-name { font-size: 24px; margin: 6px 0 2px; }
.alert .nw-sub { font-size: 12px; color: var(--nw-fog-mid); margin: 0 0 10px; }

/* ===== Section header ===== */
.section-header { margin-bottom: var(--space-6); max-width: var(--content-narrow); }
.section-header .eyebrow { margin-bottom: var(--space-2); }
.section-header h2 { margin-bottom: var(--space-3); max-width: 22ch; }
.section-header p { font-size: var(--text-md); color: var(--color-text-muted); margin: 0; }

/* ===== Panels — same card as the main site's services ===== */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.panel {
  background: var(--gradient-card);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition:
    border-color var(--duration-base) var(--ease-out-soft),
    box-shadow var(--duration-base) var(--ease-out-soft),
    transform var(--duration-base) var(--ease-out-soft),
    background var(--duration-base) var(--ease-out-soft);
}
.panel:hover {
  border-color: var(--color-border-hover);
  background: var(--gradient-card-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.panel-label {
  font-family: var(--font-serif);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.panel h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); margin-bottom: var(--space-3); }
.panel > p { font-size: 15px; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.panel h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  margin-top: auto;
  margin-bottom: var(--space-2);
  padding-top: var(--space-4);
}

.bullet-list li {
  font-size: 14px;
  padding: 6px 0 6px 18px;
  position: relative;
  line-height: var(--leading-snug);
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 1px;
  background: var(--color-text-muted);
}

/* ===== Dossier ===== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
}
.split .section-header { margin-bottom: var(--space-4); }
.split-copy > p { color: var(--color-text-muted); }

.ladder { counter-reset: rung; margin: var(--space-4) 0 var(--space-5); border-top: 0.5px solid var(--color-border); }
.ladder li {
  counter-increment: rung;
  display: grid;
  grid-template-columns: 2.5rem 9rem minmax(0, 1fr);
  gap: var(--space-2);
  align-items: baseline;
  padding: var(--space-3) 0;
  border-bottom: 0.5px solid var(--color-border);
  font-size: 15px;
}
.ladder li::before {
  content: counter(rung, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}
.ladder strong { font-family: var(--font-serif); font-weight: 500; }
.ladder span { color: var(--color-text-muted); }

/* The vessel card, as the app draws it (apps/web VesselCard). */
.vessel-card {
  background: var(--nw-deep);
  color: var(--nw-fog-bright);
  border: 1px solid var(--nw-border-strong);
  border-left: 2px solid var(--color-beacon);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  margin-left: auto;
}
.vessel-card .head { padding: 14px 18px 0; display: flex; align-items: center; }
.vessel-card .head .close { margin-left: auto; color: var(--nw-fog-dim); font-size: 14px; letter-spacing: 0; }
.vessel-card .nw-name { font-size: 30px; margin: 8px 18px 2px; }
.vessel-card .nw-sub { font-size: 13px; color: var(--nw-fog-mid); margin: 0 18px 14px; }
.silhouette {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 9;
  background: var(--nw-abyss);
  border-top: 1px solid var(--nw-border);
  border-bottom: 1px solid var(--nw-border);
}
.silhouette svg { width: 190px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--nw-border); }
.spec { background: var(--nw-deep); padding: 10px 18px; }
.spec dt { margin-bottom: 3px; }
.spec dd { font-size: 14px; font-variant-numeric: tabular-nums; }
.spec dd.none { color: var(--nw-fog-dim); }
.credit { padding: 10px 18px 12px; font-size: 12px; color: var(--nw-fog-dim); border-top: 1px solid var(--nw-border); line-height: 1.5; }
.credit .dest { color: var(--nw-fog-mid); }
.vessel-card-note {
  margin: var(--space-2) 0 0 auto;
  max-width: 400px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

/* ===== Measured ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-border-hover);
  border-bottom: 0.5px solid var(--color-border);
  margin-bottom: var(--space-5);
}
.stat { padding: var(--space-4) var(--space-4) var(--space-4) 0; }
.stat + .stat { padding-left: var(--space-4); border-left: 0.5px solid var(--color-border); }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}
.stat-value small { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-text-muted); margin-left: 4px; }
.stat-label { display: block; font-size: 14px; color: var(--color-text-muted); line-height: var(--leading-snug); }
.measured-copy { columns: 2; column-gap: var(--space-7); max-width: none; }
.measured-copy p { color: var(--color-text-muted); break-inside: avoid; }

/* ===== Limits ===== */
.ais-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--gradient-card);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ais-table th {
  text-align: left;
  font-family: var(--font-serif);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-3) var(--space-4);
  border-bottom: 0.5px solid var(--color-border-hover);
}
.ais-table td { padding: 10px var(--space-4); border-bottom: 0.5px solid var(--color-border); vertical-align: top; }
.ais-table tr:last-child td { border-bottom: none; }
.ais-table td + td, .ais-table th + th { border-left: 0.5px solid var(--color-border); }
.ais-table td:last-child { color: var(--color-text-muted); }
.limits-notes { margin-top: var(--space-4); }
.limits-notes .bullet-list li { font-size: 15px; color: var(--color-text-muted); }

/* ===== Access — the main site's night contact panel ===== */
.contact-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: var(--space-7);
  padding: var(--space-7) 0;
  border-top: 1px solid var(--color-border);
  min-height: clamp(440px, 52vw, 640px);
  display: flex;
  align-items: center;
}
.contact-cta-bg { position: absolute; inset: 0; z-index: -1; }
.contact-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 30, 45, 0.10) 0%, rgba(15, 30, 45, 0.25) 100%);
}
.contact-cta-bg picture { display: block; width: 100%; height: 100%; }
.contact-cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-cta .container { width: 100%; }
.contact-cta-panel {
  background: rgba(15, 30, 45, 0.18);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: var(--shadow-on-image);
  color: var(--color-fog);
  max-width: 480px;
  padding: var(--space-5);
}
.contact-cta-panel .eyebrow { color: rgba(244, 246, 249, 0.7); margin-bottom: var(--space-3); }
.contact-cta-panel h2 { color: var(--color-fog); margin: 0 0 var(--space-3); }
.contact-cta-panel > p { font-size: var(--text-md); color: rgba(244, 246, 249, 0.82); margin: 0 0 var(--space-5); }
.contact-cta-channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-channel { display: block; color: var(--color-fog); }
.contact-channel:hover { color: var(--color-beacon); }
.contact-channel-label {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(244, 246, 249, 0.6);
  margin-bottom: var(--space-1);
}
.contact-channel-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
  word-break: break-word;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-5) 0;
  background: var(--color-bg);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  font-family: var(--font-mono);
}
.footer-bottom a:hover { color: var(--color-beacon); }

/* ===== Utility ===== */
.skip-link {
  position: absolute;
  left: var(--space-3);
  top: var(--space-3);
  transform: translateY(calc(-100% - var(--space-3)));
  z-index: 100;
  background: var(--color-slate);
  color: var(--color-fog);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: transform var(--duration-base) var(--ease-out);
}
.skip-link:focus {
  transform: translateY(0);
  color: var(--color-fog);
  outline: 2px solid var(--color-beacon);
  outline-offset: 2px;
}
:focus-visible { outline: 2px solid var(--color-beacon); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ===== Reveal ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--duration-slow) var(--ease-out-soft), transform var(--duration-slow) var(--ease-out-soft);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .panel-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.js .panel-grid .reveal:nth-child(3) { transition-delay: 160ms; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .instrument { max-width: 640px; }
  .alert { left: var(--space-3); bottom: calc(-1 * var(--space-5)); }
  .hero { padding-bottom: var(--space-8); }
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .vessel-card, .vessel-card-note { margin-left: 0; }
}
@media (max-width: 900px) {
  .panel-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: none; }
  .stat:nth-child(n+3) { border-top: 0.5px solid var(--color-border); }
  .measured-copy { columns: 1; }
  .site-logo img { height: 60px; }
  .site-nav-links { gap: var(--space-4); }
}
/* Five links (longer in Swedish) stop fitting beside the logo well before phone width. */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav-links {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(244, 246, 249, 0.98);
    border: 0.5px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-2);
    min-width: 200px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out),
                visibility 0s linear var(--duration-base);
  }
  .site-nav-links[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
  }
  .site-nav-links li { width: 100%; }
  .site-nav-links a { display: block; padding: var(--space-2) var(--space-3); font-size: var(--text-base); border-radius: var(--radius-sm); }
  .site-nav-links a:hover { background: rgba(31, 58, 82, 0.06); color: var(--color-text); }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav-links {
    position: static; flex-direction: row; flex-wrap: wrap; visibility: visible; opacity: 1;
    transform: none; background: none; border: none; box-shadow: none; padding: 0; min-width: 0; gap: var(--space-3);
  }
  html:not(.js) .site-nav-links a { padding: 0; font-size: var(--text-sm); }
}
@media (max-width: 720px) {
  section { padding: var(--space-7) 0 var(--space-5); }
  .hero { padding-top: var(--space-5); }
  .container { padding-left: var(--space-3); padding-right: var(--space-3); }
  .site-logo img { height: 52px; }

  /* Below this the alert stops floating and sits under the chart. */
  .alert { position: relative; left: auto; bottom: auto; width: auto; margin: calc(-1 * var(--space-5)) var(--space-3) 0; }
  .instrument figcaption { text-align: left; }

  .ladder li { grid-template-columns: 2rem minmax(0, 1fr); }
  .ladder li span { grid-column: 2; }
  .ais-table { font-size: 14px; }
  .ais-table th, .ais-table td { padding-left: var(--space-3); padding-right: var(--space-3); }
  .contact-cta { padding: var(--space-6) 0; min-height: clamp(480px, 95vw, 640px); }
  .contact-cta-panel { max-width: none; padding: var(--space-4); }

}
@media (max-width: 480px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding-left: 0; border-left: none; }
  .stat + .stat { border-top: 0.5px solid var(--color-border); }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec { padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .ping { animation: none; opacity: 0; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Stats are <dt> label then <dd> value in the markup; the value reads first. */
.stat { display: flex; flex-direction: column; }
.stat-value { order: -1; }
