/* Generated by apps/site/scripts/build-site.ts: brand tokens from apps/web/src/index.css, then apps/site/src/site.css. */
:root {
  color-scheme: light dark;
  --plt-white: #ffffff;
  --plt-black: #000000;
  --plt-slate-50: #f8fafc;
  --plt-slate-100: #f1f5f9;
  --plt-slate-200: #e2e8f0;
  --plt-slate-300: #cbd5e1;
  --plt-slate-400: #64748b;
  --plt-slate-500: #536275;
  --plt-slate-600: #475569;
  --plt-slate-700: #334155;
  --plt-slate-800: #1e293b;
  --plt-slate-900: #0f172a;
  --plt-red-50: #fef2f2;
  --plt-red-100: #fee2e2;
  --plt-red-200: #fecaca;
  --plt-red-300: #fca5a5;
  --plt-red-500: #ef4444;
  --plt-red-600: #dc2626;
  --plt-red-700: #b91c1c;
  --plt-red-800: #991b1b;
  --plt-amber-50: #fffbeb;
  --plt-amber-100: #fef3c7;
  --plt-amber-200: #fde68a;
  --plt-amber-300: #fcd34d;
  --plt-amber-400: #fbbf24;
  --plt-amber-500: #f59e0b;
  --plt-amber-700: #b45309;
  --plt-amber-800: #92400e;
  --plt-amber-900: #78350f;
  --plt-sky-50: #f0f9ff;
  --plt-sky-100: #e0f2fe;
  --plt-sky-200: #bae6fd;
  --plt-sky-600: #0284c7;
  --plt-sky-700: #0369a1;
  --plt-sky-800: #075985;
  --plt-sky-900: #0c4a6e;
  --plt-emerald-50: #ecfdf5;
  --plt-emerald-100: #d1fae5;
  --plt-emerald-200: #a7f3d0;
  --plt-emerald-500: #10b981;
  --plt-emerald-700: #047857;
  --plt-emerald-800: #065f46;
  --plt-indigo-100: #e0e7ff;
  --plt-indigo-800: #3730a3;
  --plt-cyan-100: #cffafe;
  --plt-cyan-800: #155e75;
  --plt-page: var(--plt-slate-50);
  --plt-surface: var(--plt-white);
  --plt-line: var(--plt-slate-200);
  --plt-fg: var(--plt-slate-900);
  --plt-fg-muted: var(--plt-slate-600);
  --plt-brand: #0369a1;
  --plt-on-brand: #ffffff;
  --plt-ink: #0f172a;
  --plt-focus: #0369a1;
  --plt-control-border: #6b7a8f;
  --plt-placeholder: var(--plt-slate-400);
  --plt-critical: #b91c1c;
  --plt-on-critical: #ffffff;
  --plt-warning: #b45309;
  --plt-on-warning: #ffffff;
  --plt-info: #1d4ed8;
  --plt-on-info: #ffffff;
  --plt-suppressed: #666b73;
  --plt-on-suppressed: #ffffff;
  --plt-success: #047857;
  --plt-on-success: #ffffff;
  --plt-p1: #b91c1c;
  --plt-on-p1: #ffffff;
  --plt-p2: #fbbf24;
  --plt-on-p2: #422006;
  --plt-p3: #e2e8f0;
  --plt-on-p3: #334155;
  --plt-chart-grid: #e2e8f0;
  --plt-chart-axis: #475569;
  --plt-chart-temp: #c2410c;
  --plt-chart-humidity: #0e7490;
  --plt-chart-min: #1d4ed8;
  --plt-map-route: #0369a1;
  --plt-map-position: #0ea5e9;
  --plt-map-geofence: #0f766e;
  --plt-marker-outline: #ffffff;
  --plt-marker-edge: #0f172a;
  --plt-leg-1: #e0f2fe;
  --plt-leg-2: #ede9fe;
  --plt-leg-3: #dcfce7;
  --plt-leg-4: #fef3c7;
  --plt-accent-impact: #c2410c;
  --plt-accent-temp-hot: #be123c;
  --plt-accent-temp-cold: #1d4ed8;
  --plt-accent-moisture: #0e7490;
  --plt-accent-route: #6d28d9;
  --plt-accent-data: #4d7c0f;
  --plt-accent-custody: #047857;
  --plt-accent-security: #a21caf;
  --plt-type-shock: #c2410c;
  --plt-type-tilt: #1d4ed8;
  --plt-type-opening: #be123c;
  --plt-type-temperature: #0891b2;
  --plt-type-humidity: #a21caf;
  --plt-type-air-pressure: #4d7c0f;
  --plt-type-route: #6d28d9;
  --plt-type-tracker: #a16207;
  --plt-type-vibration: #0f766e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --plt-white: #111a2b;
    --plt-black: #000000;
    --plt-slate-50: #0a111e;
    --plt-slate-100: #1a2436;
    --plt-slate-200: #283449;
    --plt-slate-300: #3d4a60;
    --plt-slate-400: #8f9cb0;
    --plt-slate-500: #a3aec0;
    --plt-slate-600: #b8c2d1;
    --plt-slate-700: #cdd5e0;
    --plt-slate-800: #e2e8f0;
    --plt-slate-900: #f1f5f9;
    --plt-red-50: #2d0a0a;
    --plt-red-100: #4c1414;
    --plt-red-200: #7f1d1d;
    --plt-red-300: #991b1b;
    --plt-red-500: #ef4444;
    --plt-red-600: #f87171;
    --plt-red-700: #fca5a5;
    --plt-red-800: #fecaca;
    --plt-amber-50: #2b1703;
    --plt-amber-100: #4a2a06;
    --plt-amber-200: #78350f;
    --plt-amber-300: #92400e;
    --plt-amber-400: #b45309;
    --plt-amber-500: #f59e0b;
    --plt-amber-700: #fcd34d;
    --plt-amber-800: #fde68a;
    --plt-amber-900: #fef3c7;
    --plt-sky-50: #082f49;
    --plt-sky-100: #0c4a6e;
    --plt-sky-200: #075985;
    --plt-sky-600: #38bdf8;
    --plt-sky-700: #7dd3fc;
    --plt-sky-800: #bae6fd;
    --plt-sky-900: #e0f2fe;
    --plt-emerald-50: #022c22;
    --plt-emerald-100: #064e3b;
    --plt-emerald-200: #065f46;
    --plt-emerald-500: #10b981;
    --plt-emerald-700: #6ee7b7;
    --plt-emerald-800: #a7f3d0;
    --plt-indigo-100: #312e81;
    --plt-indigo-800: #c7d2fe;
    --plt-cyan-100: #164e63;
    --plt-cyan-800: #a5f3fc;
    --plt-page: var(--plt-slate-50);
    --plt-surface: var(--plt-white);
    --plt-line: var(--plt-slate-200);
    --plt-fg: var(--plt-slate-900);
    --plt-fg-muted: var(--plt-slate-600);
    --plt-brand: #38bdf8;
    --plt-on-brand: #0a111e;
    --plt-ink: #f1f5f9;
    --plt-focus: #7dd3fc;
    --plt-control-border: #7686a0;
    --plt-placeholder: var(--plt-slate-400);
    --plt-critical: #f87171;
    --plt-on-critical: #0a111e;
    --plt-warning: #fbbf24;
    --plt-on-warning: #0a111e;
    --plt-info: #60a5fa;
    --plt-on-info: #0a111e;
    --plt-suppressed: #9ca0a6;
    --plt-on-suppressed: #0a111e;
    --plt-success: #34d399;
    --plt-on-success: #0a111e;
    --plt-p1: #f87171;
    --plt-on-p1: #0a111e;
    --plt-p2: #fbbf24;
    --plt-on-p2: #0a111e;
    --plt-p3: #3d4a60;
    --plt-on-p3: #e2e8f0;
    --plt-chart-grid: #283449;
    --plt-chart-axis: #b8c2d1;
    --plt-chart-temp: #fb923c;
    --plt-chart-humidity: #22d3ee;
    --plt-chart-min: #60a5fa;
    --plt-map-route: #075985;
    --plt-map-position: #0ea5e9;
    --plt-map-geofence: #115e59;
    --plt-marker-outline: #ffffff;
    --plt-leg-1: #0c3a57;
    --plt-leg-2: #2e1f5e;
    --plt-leg-3: #0f3d2a;
    --plt-leg-4: #4a3410;
    --plt-accent-impact: #fb923c;
    --plt-accent-temp-hot: #fb7185;
    --plt-accent-temp-cold: #60a5fa;
    --plt-accent-moisture: #22d3ee;
    --plt-accent-route: #a78bfa;
    --plt-accent-data: #a3e635;
    --plt-accent-custody: #34d399;
    --plt-accent-security: #e879f9;
    --plt-type-shock: #ea580c;
    --plt-type-tilt: #3b82f6;
    --plt-type-opening: #f43f5e;
    --plt-type-temperature: #0891b2;
    --plt-type-humidity: #d946ef;
    --plt-type-air-pressure: #65a30d;
    --plt-type-route: #8b5cf6;
    --plt-type-tracker: #b7790a;
    --plt-type-vibration: #14b8a6;
  }
}
/* The marketing site's own styles (the token blocks above come from apps/web/src/index.css). Mobile first; no script. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--plt-page);
  color: var(--plt-fg);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a {
  color: var(--plt-brand);
  text-underline-offset: 0.15em;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--plt-focus);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  color: var(--plt-fg);
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 8px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--plt-surface);
}

.draft-banner,
.legal-draft {
  margin: 0;
  padding: 10px 16px;
  background: var(--plt-amber-50);
  color: var(--plt-amber-900);
  border-bottom: 1px solid var(--plt-amber-300);
  font-weight: 600;
  text-align: center;
}

.legal-draft {
  margin-bottom: 1rem;
  border: 1px solid var(--plt-amber-300);
  border-radius: 6px;
  text-align: left;
}

/* ---- Header ---- */
.site-header {
  background: var(--plt-surface);
  border-bottom: 1px solid var(--plt-line);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding-top: 10px;
  padding-bottom: 6px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--plt-ink);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  min-height: 44px;
}

.mark {
  flex-shrink: 0;
}

.mark-bg {
  fill: var(--plt-brand);
}

.mark-trace {
  stroke: var(--plt-on-brand);
}

.sign-in {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--plt-line);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav {
  flex-basis: 100%;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--plt-fg);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--plt-brand);
  text-decoration: underline;
}

/* ---- Sections ---- */
.hero {
  padding: 40px 0 36px;
  background: var(--plt-surface);
  border-bottom: 1px solid var(--plt-line);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.lead {
  margin: 0 0 24px;
  max-width: 62ch;
  font-size: 1.1875rem;
  color: var(--plt-fg-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--plt-brand);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.button.primary {
  background: var(--plt-brand);
  color: var(--plt-on-brand);
}

.section {
  padding: 44px 0;
}

.section.alt {
  background: var(--plt-surface);
  border-top: 1px solid var(--plt-line);
  border-bottom: 1px solid var(--plt-line);
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.375rem, 4.5vw, 1.875rem);
}

.intro {
  margin: 0 0 20px;
  max-width: 62ch;
  color: var(--plt-fg-muted);
}

.cards,
.watches,
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 18px;
  background: var(--plt-surface);
  border: 1px solid var(--plt-line);
  border-radius: 8px;
}

.section.alt .card {
  background: var(--plt-page);
}

.card h3,
.step h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
}

.card p,
.step p {
  margin: 0;
}

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

.watch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--plt-page);
  border: 1px solid var(--plt-line);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.illustration {
  width: 56px;
  height: 56px;
  color: var(--plt-slate-700);
}

.accent-impact { stroke: var(--plt-accent-impact); }
.accent-temp-hot { stroke: var(--plt-accent-temp-hot); }
.accent-temp-cold { stroke: var(--plt-accent-temp-cold); }
.accent-moisture { stroke: var(--plt-accent-moisture); }
.accent-route { stroke: var(--plt-accent-route); }
.accent-data { stroke: var(--plt-accent-data); }
.accent-custody { stroke: var(--plt-accent-custody); }
.accent-security { stroke: var(--plt-accent-security); }
.accent-fill-impact { fill: var(--plt-accent-impact); }
.accent-fill-temp-hot { fill: var(--plt-accent-temp-hot); }
.accent-fill-temp-cold { fill: var(--plt-accent-temp-cold); }
.accent-fill-moisture { fill: var(--plt-accent-moisture); }
.accent-fill-route { fill: var(--plt-accent-route); }
.accent-fill-data { fill: var(--plt-accent-data); }
.accent-fill-custody { fill: var(--plt-accent-custody); }
.accent-fill-security { fill: var(--plt-accent-security); }

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 16px 16px 16px 60px;
  background: var(--plt-surface);
  border: 1px solid var(--plt-line);
  border-radius: 8px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--plt-brand);
  color: var(--plt-on-brand);
  font-weight: 700;
}

.contact {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-item {
  padding: 16px;
  background: var(--plt-page);
  border: 1px solid var(--plt-line);
  border-radius: 8px;
  min-width: 0;
}

.contact dt {
  font-weight: 600;
}

.contact dd {
  margin: 4px 0 0;
}

.contact a {
  display: inline-block;
  padding: 8px 0;
  font-weight: 600;
  word-break: break-all;
}

/* ---- Legal pages and 404 ---- */
.legal {
  max-width: 48rem;
  padding-top: 28px;
  padding-bottom: 44px;
}

.legal h1 {
  margin: 0 0 4px;
  font-size: 1.75rem;
}

.legal h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.25rem;
}

.legal h3 {
  margin: 1.25rem 0 0.25rem;
  font-size: 1.0625rem;
}

.legal-meta {
  margin: 0 0 1rem;
  color: var(--plt-fg-muted);
  font-size: 0.9375rem;
}

.legal ul,
.legal ol {
  padding-left: 1.5rem;
}

.table-scroll {
  overflow-x: auto;
  margin: 1rem 0;
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table-scroll th,
.table-scroll td {
  padding: 6px 8px;
  border: 1px solid var(--plt-line);
  text-align: left;
  vertical-align: top;
}

.back {
  margin-top: 2rem;
}

/* ---- Footer ---- */
.site-footer {
  padding: 32px 0 40px;
  background: var(--plt-surface);
  border-top: 1px solid var(--plt-line);
  color: var(--plt-fg-muted);
  font-size: 0.9375rem;
}

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

.site-footer p {
  margin: 0 0 4px;
}

.footer-heading {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  color: var(--plt-fg);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---- Wider screens ---- */
@media (min-width: 640px) {
  .watches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 900px) {
  .site-nav {
    flex-basis: auto;
    order: 1;
    margin-left: auto;
  }

  .sign-in {
    order: 2;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  }

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

  .hero {
    padding: 72px 0 64px;
  }

  .section {
    padding: 64px 0;
  }
}

@media print {
  .site-header,
  .site-nav,
  .skip,
  .site-footer nav {
    display: none;
  }
}
