/* Layout: one long hardware panel. Brushed-black chassis, EL-blue LCD windows for the moments that matter,
   cream silk-screen legends for labels. Sections sit in a single 1120px column with panel-style section frames. */
:root {
  --chassis: #111214;        /* brushed aluminium, black anodised */
  --chassis-2: #1a1b1f;      /* raised panel */
  --edge: #2c2e34;           /* panel seams */
  --legend: #ebe7dc;         /* silk-screen cream */
  --legend-dim: #a7a49b;     /* secondary legend */
  --lcd: #3348d8;            /* EL-backlit LCD */
  --lcd-hi: #5a6dff;
  --lcd-ink: #e4e8ff;        /* lit dots */
  --led: #ff3b2f;            /* red LED */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --dot: "VT323", "Courier New", monospace;
  --col: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--chassis);
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 5px);
  color: var(--legend);
  font: 400 17px/1.6 var(--body);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lcd-hi); outline-offset: 3px; border-radius: 3px; }

.wrap {
  max-width: var(--col);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- type ---------- */
.label {
  font: 700 12px/1 var(--body);
  font-stretch: 112%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--legend-dim);
}
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); font-weight: 900; font-stretch: 125%; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 850; font-stretch: 125%; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 800; font-stretch: 115%; line-height: 1.2; }
p { margin: 0; max-width: 62ch; }
.lede { font-size: 1.2rem; color: var(--legend); }
.muted { color: var(--legend-dim); }

/* ---------- panel section frame (like the plugin's PATCH / PART SET legends) ---------- */
.frame { position: relative; border-top: 1px solid var(--edge); padding-top: 28px; }
.frame::before, .frame::after { content: ""; position: absolute; top: -1px; width: 1px; height: 10px; background: var(--edge); }
.frame::before { left: 0; } .frame::after { right: 0; }
.frame > .label { position: absolute; top: -7px; left: 14px; background: var(--chassis); padding: 0 8px; }

/* ---------- keycap button ---------- */
.key {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; cursor: pointer; border: 0; background: none; color: var(--legend); padding: 0;
}
.key .cap {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 190px; padding: 15px 26px;
  border-radius: 5px;
  background: linear-gradient(#5a5c62, #3b3d42 45%, #2c2e33);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -2px 0 rgba(0,0,0,.4), 0 3px 0 #08090a, 0 8px 18px rgba(0,0,0,.55);
  font: 800 15px/1 var(--body); font-stretch: 115%; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .08s, box-shadow .08s;
}
.key:hover .cap { background: linear-gradient(#66686f, #44464c 45%, #33353a); }
.key:active .cap { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 0 #08090a, 0 3px 8px rgba(0,0,0,.5); }
.led { width: 8px; height: 8px; border-radius: 50%; background: #4a1512; box-shadow: inset 0 1px 1px rgba(0,0,0,.6); flex: none; }
.led.on { background: var(--led); box-shadow: 0 0 6px 1px rgba(255,59,47,.8), 0 0 16px rgba(255,59,47,.45); }
.key .legend { font: 700 11px/1 var(--body); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--legend-dim); }
.key.small .cap { min-width: 0; padding: 10px 16px; font-size: 13px; }

/* ---------- LCD ---------- */
.lcd {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,30,.16) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0,0,30,.16) 0 1px, transparent 1px 3px),
    radial-gradient(120% 140% at 50% 30%, var(--lcd-hi), var(--lcd) 60%, #2536b0);
  color: var(--lcd-ink);
  font-family: var(--dot);
  border-radius: 3px;
  box-shadow: 0 0 0 6px #050608, 0 0 0 7px var(--edge), inset 0 0 24px rgba(0,0,40,.45), 0 0 40px rgba(70,90,255,.18);
  text-shadow: 0 0 6px rgba(220,228,255,.45);
}
.lcd .inv { background: var(--lcd-ink); color: var(--lcd); text-shadow: none; padding: 0 .2em; }

/* ---------- header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: rgba(14,15,17,.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}
.top .wrap { display: flex; align-items: center; gap: 28px; padding-block: 12px; }
.top .brand img { height: 26px; width: auto; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--legend); }
.top .key .cap { min-width: 0; padding: 10px 16px; font-size: 13px; }
@media (max-width: 760px) { .top nav { display: none; } .top .key { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { padding-block: 72px 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.nb { white-space: nowrap; }
.hero h1 .kicker { display: block; margin-bottom: 24px; text-wrap: wrap; }
.hero h1 .blue { color: var(--lcd-hi); }
.readout { min-width: 0; padding: 16px 20px; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.12; }
.readout .row { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; overflow: hidden; }
.readout .big { font-size: 1.9em; line-height: 1; padding-block: 6px 4px; border-block: 2px solid rgba(228,232,255,.7); margin-block: 6px; white-space: nowrap; overflow: hidden; }
.cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.price { display: grid; gap: 4px; }
.price strong { font: 900 2.2rem/1 var(--display); font-stretch: 125%; display: flex; align-items: baseline; gap: 12px; }
.price s { font-size: .5em; font-weight: 700; color: var(--legend-dim); text-decoration-thickness: 2px; }
.offer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; font-size: 1.2rem; line-height: 1; justify-self: start; }
.offer .inv { padding: 2px .3em; }
.after-launch { display: none; }
.launch-over .launch { display: none !important; }
.launch-over .after-launch { display: revert; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font: 700 12px/1 var(--body); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--edge); border-radius: 3px; color: var(--legend-dim); background: var(--chassis-2); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.shot { margin-block: 8px 0; }
.shot figure { margin: 0; }
.shot img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px #000, 0 0 0 2px var(--edge), 0 40px 80px -20px rgba(0,0,0,.9), 0 0 120px -30px rgba(70,90,255,.35);
}
figcaption { margin-top: 14px; }

/* ---------- sections ---------- */
section.block { padding-block: 88px 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; }

/* formats */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.fmt-lcd { padding: 16px 20px; font-size: 1.45rem; line-height: 1.15; min-width: 0; overflow-x: auto; }
.fmt-lcd table { border-collapse: collapse; width: 100%; }
.fmt-lcd td { padding: 1px 0; vertical-align: top; }
.fmt-lcd td:first-child { width: 6.5ch; white-space: nowrap; }
.fmt-lcd .hd td { border-bottom: 2px solid rgba(228,232,255,.7); padding-bottom: 4px; }
.fmt-lcd .hd + tr td { padding-top: 6px; }
.machines { display: grid; gap: 20px; align-content: start; }
.machines p { max-width: 50ch; }

/* features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 36px; }
.feature + .feature { border-top: 1px solid var(--edge); }
.feature .copy { display: grid; gap: 16px; min-width: 0; }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; color: var(--legend-dim); }
.feature li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 6px rgba(255,59,47,.7); transform: translateY(-1px); }
.feature li b { color: var(--legend); font-weight: 650; }
.feature .art img { border-radius: 6px; box-shadow: 0 0 0 6px #050608, 0 0 0 7px var(--edge), 0 24px 50px -16px rgba(0,0,0,.9); }
.feature.flip .art { order: -1; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip .art { order: 0; } }

/* memory spec strip */
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--edge); border-radius: 6px; background: var(--chassis-2); }
.spec-strip > div { padding: 22px 22px 20px; display: grid; gap: 8px; align-content: start; }
.spec-strip > div + div { border-left: 1px solid var(--edge); }
.spec-strip .n { font: 900 2.4rem/1 var(--display); font-stretch: 125%; font-variant-numeric: tabular-nums; }
.spec-strip .n small { font-size: .45em; font-weight: 700; color: var(--legend-dim); letter-spacing: .04em; }
.spec-strip p { font-size: .95rem; color: var(--legend-dim); }
@media (max-width: 860px) {
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-strip > div:nth-child(3) { border-left: 0; }
  .spec-strip > div:nth-child(n+3) { border-top: 1px solid var(--edge); }
}
@media (max-width: 460px) { .spec-strip { grid-template-columns: 1fr; } .spec-strip > div + div { border-left: 0; border-top: 1px solid var(--edge); } }

/* requirements + limits */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.req { width: 100%; border-collapse: collapse; font-size: .98rem; }
.req th, .req td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--edge); vertical-align: top; }
.req th { width: 34%; padding-right: 16px; font: 700 12px/1.6 var(--body); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; color: var(--legend-dim); }
.limits { display: grid; gap: 14px; }
.limits p { color: var(--legend-dim); }
.limits b { color: var(--legend); font-weight: 650; }

/* demo */
.demo-link { justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: var(--legend); text-decoration: none; border-bottom: 1px solid var(--edge); padding-bottom: 3px; }
.demo-link:hover { border-color: var(--legend-dim); }
.demo { display: grid; grid-template-columns: 1fr auto; gap: 40px 56px; align-items: center; }
.demo .copy { display: grid; gap: 16px; min-width: 0; }
.demo .keys { display: flex; flex-wrap: wrap; gap: 24px; }
.demo .key .cap { min-width: 220px; }
.demo .steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--legend-dim); }
.demo .steps b { color: var(--legend); font-weight: 650; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 0; font: 750 1.08rem/1.3 var(--display); font-stretch: 108%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .led { margin-left: auto; }
.faq details[open] summary .led { background: var(--led); box-shadow: 0 0 6px 1px rgba(255,59,47,.8); }
.faq details p { padding-bottom: 22px; color: var(--legend-dim); }

/* final cta */
.cta { margin-top: 96px; padding-block: 64px; border-block: 1px solid var(--edge); background: linear-gradient(180deg, rgba(51,72,216,.10), transparent 70%); }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta .lcd { padding: 14px 18px; font-size: 1.4rem; display: inline-block; margin-top: 18px; }
.cta .demo-link { grid-column: 2; justify-self: center; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } .cta .demo-link { grid-column: auto; justify-self: start; } }

footer { padding-block: 40px 56px; }
footer .wrap { display: grid; gap: 14px; font-size: .86rem; color: var(--legend-dim); }
footer img { height: 18px; width: auto; opacity: .7; }

/* footer links */
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-links a, .linklike { color: var(--legend); text-decoration: none; border-bottom: 1px solid var(--edge); }
.foot-links a:hover, .linklike:hover { border-color: var(--legend-dim); }
.linklike { background: none; border-width: 0 0 1px; padding: 0; font: inherit; cursor: pointer; }

/* cookie banner */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: rgba(20,21,24,.97);
  border-top: 1px solid var(--edge);
  box-shadow: 0 -12px 30px rgba(0,0,0,.5);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cookie-inner {
  max-width: var(--col); margin: 0 auto;
  padding-block: 16px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
}
.cookie p { font-size: .95rem; color: var(--legend-dim); min-width: 0; }
.cookie p a { color: var(--legend); }
.cookie-actions { display: flex; gap: 12px; }
.cookie .key .cap { min-width: 110px; }

/* legal pages */
.legal { padding-block: 64px 32px; }
.legal article { max-width: 72ch; display: grid; gap: 18px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 { font-size: 1.45rem; font-stretch: 112%; margin-top: 22px; }
.legal p, .legal li { color: var(--legend-dim); max-width: none; }
.legal strong { color: var(--legend); font-weight: 650; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal a { color: var(--legend); }
.legal .updated { font-size: .9rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--edge); vertical-align: top; color: var(--legend-dim); }
.legal th { color: var(--legend); font-weight: 650; }
.table-scroll { overflow-x: auto; }
