/* Sentinel Keep marketing page. The "Keep" palette (design 2026-11-21): stone ground, iron text,
   felt green ("baize") for every action, brass for the name only. Colours are written only in the
   two :root blocks below; every rule uses the tokens. The Content Security Policy admits this file
   and no inline style. */
:root {
  color-scheme: light;
  --stone: #E3E6E0;
  --paper: #F3F4F0;
  --ink: #17201C;
  --slate: #4C5953;
  --rule: #C3C9C2;
  --baize: #1D5A46;
  --on-baize: #F3F4F0;
  --wordmark: #9C7A2A;
  --frame: #0F1513;
  --frame-edge: #2A3631;
  --frame-fill: #172019;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --stone: #0F1513;
    --paper: #172019;
    --ink: #E1E6DF;
    --slate: #9AA79F;
    --rule: #2A3631;
    --baize: #4FAE88;
    --on-baize: #0F1513;
    --wordmark: #D3AE57;
    --frame: #0A0F0D;
    --frame-edge: #3A4842;
    --frame-fill: #121A16;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 17px/1.55 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--baize); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: 44px; }
h2 { font-size: 24px; }
p { margin: 0; max-width: 62ch; }
.muted { color: var(--slate); }

.wrap {
  max-width: 1296px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) {
  .wrap { box-sizing: content-box; padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }
}

/* Header and wordmark */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px; }
.wordmark { color: var(--wordmark); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.wordmark-small { font-size: 15px; }
.site-header a:not(.wordmark) { font-size: 15px; text-decoration: none; white-space: nowrap; }

main { display: grid; gap: 56px; padding-bottom: 56px; }
.stack { display: grid; gap: 16px; align-content: start; min-width: 0; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--baize);
  border-radius: 4px;
  background: var(--baize);
  color: var(--on-baize);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}
.button.quiet { background: transparent; color: var(--baize); }
.button:hover { filter: brightness(1.08); }

/* Hero: text about 45%, the Workspace about 55%. */
.hero { display: grid; grid-template-columns: 0.82fr 1fr; gap: 56px; align-items: center; }
.hero .stack { gap: 22px; }

/* Tagging: one row, the video at most 560 by 420 inside its frame. */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 586px); gap: 56px; align-items: center; }
.feature .stack { max-width: 540px; }

/* The right panel and reports: two cards. */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { display: grid; gap: 14px; align-content: start; min-width: 0; }

/* The monitor frame keeps the app's own colours off the stone page. */
figure { margin: 0; min-width: 0; }
.frame { background: var(--frame); border: 1px solid var(--frame-edge); border-radius: 8px; padding: 12px; }
.slot { aspect-ratio: 4 / 3; background: var(--frame-fill); border-radius: 4px; overflow: hidden; }
.slot.wide { aspect-ratio: 16 / 10; }
.slot > img, .slot > video, .slot > a > img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
figcaption { margin-top: 6px; font-size: 13px; color: var(--slate); }

/* Text for screen readers only (each video's description). */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Videos: under reduced motion the playing copy is hidden and a copy with controls is shown. */
.still-only { display: none; }
@media (prefers-reduced-motion: reduce) {
  .motion-only { display: none; }
  .still-only { display: block; }
}

/* Roadmap */
.road { background: var(--paper); border-radius: 8px; padding: 32px; display: grid; gap: 20px; }
.road-body { display: grid; grid-template-columns: 2.2fr 1fr; gap: 40px; align-items: start; }
.lane { display: grid; gap: 12px; min-width: 0; }
.lane-name { font-size: 13px; font-weight: 600; color: var(--slate); }
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 30px 0 0; margin: 0; list-style: none; }
.track::before {
  content: ""; position: absolute; left: 9px; right: 0; top: 9px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--slate) 0 6px, transparent 6px 12px); opacity: 0.6;
}
.track::after { content: ""; position: absolute; left: 9px; width: 25%; top: 9px; height: 2px; background: var(--baize); }
.stop { position: relative; display: grid; gap: 4px; align-content: start; min-width: 0; font-size: 15px; }
.stop::before {
  content: ""; position: absolute; top: -30px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--slate); z-index: 1;
}
.stop.now::before { background: var(--baize); border-color: var(--baize); }
.stop .state { font-size: 13px; color: var(--slate); }
.stop.now .state { color: var(--baize); font-weight: 600; }
.stop strong { font-size: 17px; font-weight: 600; }
.chips { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { border: 1px dashed var(--slate); border-radius: 6px; padding: 8px 12px; font-size: 15px; color: var(--slate); }
.chips strong { color: var(--ink); font-weight: 600; }

/* Early access */
.band {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 28px;
}
.band .stack { gap: 6px; }

/* Footer */
.site-footer { display: grid; gap: 10px; padding-block: 8px 40px; font-size: 14px; color: var(--slate); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.aws-logo img { width: 100px; height: 36px; }

/* Phone and narrow windows: one column. */
@media (max-width: 700px) {
  h1 { font-size: 32px; }
  .form-page h1 { font-size: 30px; }
  h2 { font-size: 21px; }
  body { font-size: 16px; }
  /* Each item stays whole; on a phone too narrow for both, the address goes under the name. */
  .site-header { gap: 4px 12px; }
  .wordmark { font-size: 20px; }
  .site-header a:not(.wordmark) { font-size: 14px; }
  main { gap: 40px; }
  .hero, .feature, .cards, .road-body { grid-template-columns: 1fr; gap: 20px; }
  .cards { gap: 36px; }
  .road { padding: 20px; }
  .track { grid-template-columns: 1fr; gap: 18px; padding: 0 0 0 32px; }
  .track::before {
    left: 8px; right: auto; top: 9px; bottom: 9px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--slate) 0 6px, transparent 6px 12px);
  }
  .track::after { display: none; }
  .stop::before { top: 2px; left: -32px; }
}

/* The early-access form and its answer pages */
.form-page { padding-block: 24px 64px; }
.form-page h1 { font-size: 36px; }
.request-form { display: grid; gap: 18px; max-width: 560px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 4px; padding: 10px 12px; max-width: 100%;
}
.field input:focus-visible, .field textarea:focus-visible, .request-form button:focus-visible {
  outline: 2px solid var(--baize); outline-offset: 2px;
}
.field textarea { resize: vertical; }
.request-form button { font: inherit; font-weight: 500; font-size: 16px; cursor: pointer; }
.small { font-size: 14px; }
/* The trap: off screen and out of the reading order; people never see or reach it. */
.trap { position: absolute; left: -10000px; top: auto; overflow: hidden; height: 1px; }

/* The 404 page */
.notfound { display: grid; gap: 16px; padding-block: 15vh; }
