/* Layout: a black field like the logo; one red (the apple) for action; screens and readouts set in the card's own typeface.
   Single dark look by choice (the brand is black), with every color explicit. */
:root {
  --ink: #0b0b0a;        /* page */
  --panel: #141412;      /* alternate bands, form */
  --line: #2a2926;       /* hairlines */
  --bone: #ecebe4;       /* text */
  --ash: #9b978e;        /* secondary text, the skull's grey */
  --apple: #d70a16;      /* the one accent */
  --apple-hi: #ff2a33;   /* accent on hover / focus */
  --live: #3ccf6e;       /* "level" green, used once */
  --display: "Saira Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Saira Semi Condensed", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--ink); color: var(--bone); font-family: var(--body); font-size: 17px; line-height: 1.55; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bone); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--apple-hi); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.03em; }
p { margin: 0; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ash); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--apple); display: inline-block; }
.fine { font-size: 0.85rem; color: var(--ash); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; letter-spacing: 0.2em; font-size: 1.05rem; }
.brand img { width: 30px; height: auto; }
nav { display: flex; align-items: center; gap: 6px 20px; flex-wrap: wrap; font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 1rem; }
nav a { text-decoration: none; color: var(--ash); }
nav a:hover { color: var(--bone); }
nav .nav-cta { color: var(--bone); border: 1px solid var(--apple); padding: 4px 12px; border-radius: 3px; }
@media (max-width: 760px) { nav a:not(.nav-cta) { display: none; } }

/* buttons */
.btn { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--apple); border: 2px solid var(--apple); padding: 10px 22px; border-radius: 3px; cursor: pointer; }
.btn:hover { background: var(--apple-hi); border-color: var(--apple-hi); }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--bone); }

/* banner: the illustration, cropped above the elbow, slogan on the dark ground at its foot */
.banner { position: relative; background: #000; overflow: hidden; }
.banner img { width: 100%; height: clamp(260px, 42vw, 620px); object-fit: cover; object-position: 38% 45%;   /* skeleton and rifle on the left in this artwork */ }
.banner::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7) 55%, var(--ink)); pointer-events: none; }
.slogan { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(10px, 2.4vw, 30px); text-align: center; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(2.1rem, 6.5vw, 5rem); line-height: 1; color: var(--bone); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9); padding-inline: 16px; }

@media (max-width: 700px) {   /* phones: show the whole picture, slogan just under it */
  .banner img { height: auto; object-fit: contain; }
  .banner::after { display: none; }
  .slogan { position: static; padding-block: 12px 4px; font-size: clamp(1.9rem, 9vw, 2.6rem); }
}

/* hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(32px, 5vw, 64px); background: radial-gradient(60% 70% at 78% 40%, rgba(215, 10, 22, 0.10), transparent 70%), var(--ink); }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.lede { font-size: 1.15rem; color: #d6d4cc; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.readout { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: 6px 0 0; border: 1px solid var(--line); border-radius: 3px; width: fit-content; max-width: 100%; }
.readout div { padding: 8px 14px; border-left: 1px solid var(--line); }
.readout div:first-child { border-left: 0; }
.readout dt { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash); }
.readout dd { margin: 0; font-family: var(--mono); font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.readout div:last-child dd { color: var(--apple-hi); }
@media (max-width: 520px) { .readout { grid-template-columns: repeat(2, auto); } .readout div:nth-child(3) { border-left: 0; } .readout div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* the device: an illustration of the card, screen at the top */
.device { margin: 0; justify-self: center; width: min(100%, 330px); display: flex; flex-direction: column; gap: 14px; }
.housing { position: relative; aspect-ratio: 2 / 3; max-width: 100%; border-radius: 16px; background: linear-gradient(160deg, #3a3a37, #1e1e1c 55%, #151514); box-shadow: inset 0 0 0 2px #4a4945, 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px #000; padding: 7% 7.8% 0; display: flex; flex-direction: column; }
.keys { position: absolute; top: -5px; left: 30%; display: flex; gap: 9px; }
.keys i { width: 22px; height: 6px; border-radius: 2px 2px 0 0; background: #2c2c2a; box-shadow: inset 0 0 0 1px #555; }
.glass { background: #000; border-radius: 6px; padding: 3%; box-shadow: inset 0 0 0 2px #050505; }
.glass img, .glass canvas { width: 100%; display: block; border-radius: 3px; aspect-ratio: 3 / 4; }
.lower { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 2% 0 0; }
.vents { display: flex; flex-direction: column; gap: 5px; margin-left: -6%; }
.vents i { width: 16px; height: 3px; border-radius: 2px; background: #0c0c0b; box-shadow: 0 1px 0 #444; transform: skewY(-12deg); }
.mark { font-family: var(--display); font-weight: 700; letter-spacing: 0.12em; color: #6d6a64; font-size: 0.95rem; }
.device figcaption, figure figcaption { font-size: 0.88rem; color: var(--ash); }

/* highlight strip */
.strip { border-block: 1px solid var(--line); background: var(--panel); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 18px; gap: 12px 24px; }
.strip p { color: var(--ash); font-size: 0.95rem; display: flex; flex-direction: column; }
.strip b { font-family: var(--display); font-weight: 700; color: var(--bone); font-size: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 760px) { .strip-in { grid-template-columns: repeat(2, 1fr); } }

/* bands */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band.alt { background: var(--panel); border-block: 1px solid var(--line); }
.band > .wrap { display: flex; flex-direction: column; gap: 18px; }
.two { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px) !important; align-items: center; }
.two.flip .col-media { order: -1; }
.col-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.col-text > p:not(.eyebrow):not(.fine) { color: #d6d4cc; max-width: 36em; }
.narrow { color: #d6d4cc; max-width: 40em; }
.specs { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs span { font-family: var(--display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.shots { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.shots figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.shots img { border-radius: 6px; border: 6px solid #000; box-shadow: 0 0 0 1px var(--line); }
.phone { justify-self: center; width: min(100%, 320px); }
.phone img { border-radius: 26px; border: 8px solid #000; box-shadow: 0 0 0 1px #3a3936, 0 24px 50px rgba(0, 0, 0, 0.55); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--apple); }

/* features */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 14px; }
.grid article { background: var(--panel); padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.grid p { color: #c9c7bf; font-size: 0.97rem; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
/* features carousel (JavaScript on): one row that slides; 4 / 2 / 1 cards in view */
.fc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.fc-nav { display: flex; gap: 8px; flex: none; }
.fc-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--bone); cursor: pointer; display: grid; place-items: center; padding: 0; }
.fc-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fc-btn:hover, .fc-btn:focus-visible { border-color: var(--apple-hi); color: var(--apple-hi); outline: none; }
.fc.on { overflow: hidden; border: 1px solid var(--line); margin-top: 14px; }
.fc.on .grid { display: flex; gap: 0; margin: 0; border: 0; background: none; will-change: transform; }
.fc.on .grid article { flex: 0 0 25%; border-right: 1px solid var(--line); }
@media (max-width: 980px) { .fc.on .grid article { flex-basis: 50%; } }
@media (max-width: 560px) { .fc.on .grid article { flex-basis: 100%; } .fc-btn { width: 40px; height: 40px; } .fc-head { flex-wrap: wrap; } .fc-nav { margin-left: auto; } }

/* meters */
.meters { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.meters li { background: var(--ink); padding: 18px 20px; color: var(--ash); }
.meters b { display: block; font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.04em; color: var(--bone); text-transform: uppercase; }
@media (max-width: 560px) { .meters { grid-template-columns: 1fr; } }

/* sign-up */
.signup { background: linear-gradient(180deg, var(--ink), #120706); }
.form { display: flex; flex-direction: column; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--apple); padding: 26px 24px; border-radius: 3px; min-width: 0; }
.form label { font-family: var(--display); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.95rem; color: var(--ash); margin-top: 8px; }
.form .opt { letter-spacing: 0.04em; text-transform: none; }
.form input, .form select { font: inherit; color: var(--bone); background: var(--ink); border: 1px solid #3a3935; border-radius: 3px; padding: 10px 12px; width: 100%; }
.form input::placeholder { color: #6f6c66; }
.form .btn { margin-top: 14px; align-self: flex-start; }
.form-note { font-size: 0.88rem; color: var(--ash); }
.form-note.warn { color: var(--apple-hi); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.faq { margin: 6px 0 0; display: flex; flex-direction: column; gap: 12px; }
.faq dt { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 1.1rem; }
.faq dd { margin: 0; color: var(--ash); }

/* footer */
.foot { border-top: 1px solid var(--line); background: #070707; }
.foot-in { display: flex; align-items: center; gap: 18px; padding-block: 28px; flex-wrap: wrap; color: var(--ash); font-size: 0.92rem; }
.foot-in img { width: 36px; }
.foot-name { font-family: var(--display); font-weight: 700; letter-spacing: 0.22em; color: var(--bone); }
.foot-right { margin-left: auto; }
.sel { user-select: all; color: var(--bone); }

@media (max-width: 860px) {
  .hero-in, .two { grid-template-columns: 1fr !important; }
  .two.flip .col-media { order: 0; }
  .device { width: min(100%, 290px); }
}

/* demo page */
.demo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 4vw, 44px); align-items: start; margin-top: 10px; }
.demo-screen { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 72px); min-width: 0; }
.bezel { background: #000; border-radius: 14px; padding: 12px; box-shadow: inset 0 0 0 2px #2b2b29, 0 24px 50px rgba(0, 0, 0, 0.55); width: 100%; max-width: 620px; }
.bezel.tall { max-width: 420px; margin-inline: auto; }
.bezel canvas { width: 100%; display: block; border-radius: 4px; }
.log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-height: 5.5em; }
.log li { font-size: 0.92rem; color: var(--ash); padding-left: 14px; position: relative; }
.log li:first-child { color: var(--bone); }
.log li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--apple); }
.panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel fieldset { border: 1px solid var(--line); border-radius: 3px; background: var(--panel); margin: 0; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.panel fieldset.idle { opacity: 0.55; }
.panel legend { font-family: var(--display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 1rem; padding: 0 6px; }
.panel .hint { font-family: var(--body); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ash); font-size: 0.85rem; margin-left: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { font: 600 0.98rem var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ash); background: var(--ink); border: 1px solid #3a3935; border-radius: 3px; padding: 7px 12px; cursor: pointer; flex: 1 1 auto; }
.seg.small button { padding: 5px 10px; font-size: 0.9rem; }
.seg button[aria-pressed="true"] { color: #fff; background: var(--apple); border-color: var(--apple); }
.seg button:disabled { opacity: 0.4; cursor: not-allowed; }
.sl { display: flex; justify-content: space-between; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.92rem; color: var(--ash); }
.sl output { font-family: var(--mono); letter-spacing: 0; text-transform: none; color: var(--bone); font-size: 0.9rem; }
.panel input[type="range"] { width: 100%; accent-color: var(--apple); }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } .demo-screen { position: static; } }

.panel .sub { font-family: var(--display); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.88rem; color: var(--ash); margin-top: 4px; }
.panel .desc { font-size: 0.85rem; color: var(--ash); line-height: 1.45; }
.ghost-note { font-size: 0.88rem; color: var(--bone); border-left: 3px solid var(--apple); padding: 6px 10px; background: rgba(215, 10, 22, 0.08); }
.ghost-band { background: radial-gradient(70% 90% at 15% 30%, rgba(60, 207, 110, 0.05), transparent 70%), #050505; border-block: 1px solid var(--line); }
