/* Tripwire design tokens. One source for the landing (brand/tokens.css is the same file).
   Shared house system: 8 point grid, one radius set, 48 point capsule controls, the system font. Red is the only colour Tripwire owns. */
:root {
  /* colour */
  --accent: #0a5fd6;          /* actions and links, AA on white */
  --btn: #0a5fd6;             /* solid buttons, white label */
  --frame: #0a5fd6;           /* the thin frame down the window edges */
  --band: #0a5fd6;            /* full-bleed red sections */
  --band-sub: #d3e3f8;        /* secondary text on the band, AA */
  --band-art: #8db4ec;        /* the diff wall on the band */
  --band-line: rgba(255, 255, 255, .22);
  --accent-light: #e07a4f;    /* icon gradient top */
  --accent-deep: #b5502c;     /* icon gradient bottom */
  --ring: color-mix(in srgb, var(--accent) 30%, transparent);
  --bg: #fdfdfd;
  --surface: #f5f5f7;
  --line: #e3e5ea;
  --text: #1a1a1a;
  --sub: #5d5a5c;
  --live: #1a7f37;            /* open issue, added field */
  --bad: #c0392b;             /* removed field */

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --size-display: 64px; --size-title: 34px; --size-headline: 20px; --size-body: 17px; --size-footnote: 13px;

  /* space: the 8 point grid */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --measure: 680px;
  --wrap: 1120px;

  /* shape */
  --control: 48px; --r-card: 28px; --r-group: 20px; --r-row: 8px; --r-pill: 999px; --r-sq: 2px; --r-icon: 22.5%;
  --motion: .2s ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #2997ff;
    --btn: #0a5fd6;
    --frame: #0a5fd6;
    --band: #0b3a7a;
    --band-sub: #cfe0f7;
    --band-art: #5a8fd6;
    --bg: #000000;
    --surface: #1c1c1e;
    --line: #2c2f36;
    --text: #f5f2f3;
    --sub: #b1a6a9;
    --live: #4caf6e;
    --bad: #ff6b6b;
  }
}

/* Hermes sections, from the house landing kit */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .28 0 0 0 -.06'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); margin-bottom: var(--sp-4); }
.band { margin: 0 clamp(0px, 3vw, 44px); background: var(--grain), var(--band); color: #fff; overflow: hidden; }
.band .label { color: var(--band-sub); }
.band-head { text-align: center; }
.band-art { aspect-ratio: 19 / 10; max-height: 86vh; width: 100%; background: none; }
.band-copy { position: relative; margin-top: -10vw; padding: 0 var(--sp-5) var(--sp-9); }
.band-copy h2 { font-size: clamp(48px, 8vw, 128px); line-height: .95; }
.band-copy p:last-child { margin: var(--sp-6) auto 0; max-width: 480px; color: var(--band-sub); }
.frows { border-top: 1px solid var(--band-line); }
.frow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-bottom: 1px solid var(--band-line); }
.frow .art { aspect-ratio: 3 / 2; background: var(--grain), color-mix(in srgb, #fff 6%, var(--band)); }
.frow:nth-child(even) .art { order: 2; }
.frow > div:not(.art) { padding: var(--sp-7) clamp(24px, 6vw, 96px); max-width: 560px; }
.frow h3 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
.frow p:last-child { margin-top: var(--sp-4); color: var(--band-sub); }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--band-line); }
.cell { padding: var(--sp-6) var(--sp-6) var(--sp-7); border-right: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.cell:nth-child(3n) { border-right: 0; }
.cell:nth-last-child(-n+3) { border-bottom: 0; }
.cell .label { margin-bottom: var(--sp-5); }
.cell p:last-child { margin-top: var(--sp-3); color: var(--band-sub); font-size: 15px; line-height: 22px; }
.foot { text-align: center; padding: var(--sp-8) var(--sp-4) var(--sp-5); background: var(--bg); overflow: hidden; border-top: 1px solid var(--line); }
.foot-top { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-7); text-align: left; }
.foot-brand { display: grid; gap: var(--sp-2); align-content: start; }
.foot-brand img { border-radius: var(--r-icon); }
.foot-brand b { font-weight: 700; font-size: 36px; line-height: 40px; letter-spacing: -.03em; }
.foot-brand p { color: var(--sub); font-size: 15px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.foot-cols div { display: grid; gap: var(--sp-2); align-content: start; }
.foot-cols .label { margin-bottom: var(--sp-2); }
.foot-cols a { color: var(--text); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--accent); }
.legal { margin-top: var(--sp-2); font-size: var(--size-footnote); line-height: 16px; color: var(--sub); text-wrap: balance; }

@media (max-width: 900px){.cells{grid-template-columns:1fr 1fr}.cell,.cell:nth-child(3n),.cell:nth-last-child(-n+3){border-right:1px solid var(--band-line);border-bottom:1px solid var(--band-line)}.cell:nth-child(2n){border-right:0}.cell:nth-last-child(-n+2){border-bottom:0}}
@media (max-width: 600px){.cells{grid-template-columns:1fr}.cell,.cell:nth-child(2n),.cell:nth-child(3n),.cell:nth-last-child(-n+2){border-right:0;border-bottom:1px solid var(--band-line);padding:var(--sp-5)}.cell:last-child{border-bottom:0}.foot-cols{gap:var(--sp-6)}}
.band-copy{margin-top:0;padding-top:var(--sp-9)}
.band{margin-top:110px}
.foot{position:relative;padding-bottom:0}
.foot .foot-scene{position:static;display:block;width:100%;height:120px;margin-top:var(--sp-7)}
/* The demo floats over the mountain, semi-transparent (Joshua 2026-10-30), solid once you use it. */
.demo { margin-top: -42vh; }
.win { opacity: .86; transition: opacity .3s ease; }
.win:hover, .win:focus-within { opacity: 1; }
.hint { display: none; }
@media (max-width: 600px) { .demo { margin-top: -38vh; } }
