@font-face {
  font-family: "Disc Display";
  src: url("../fonts/display.ttf") format("truetype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --text: #f6f6f3;
  --muted: #bcbcb8;
  --orange: #ff731c;
  --display: "Disc Display", "Arial Black", "Segoe UI", sans-serif;
  --dots: radial-gradient(circle, #0005 .8px, transparent 1px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  padding: clamp(18px, 3.5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  background: radial-gradient(ellipse at 20% 15%, #7773, transparent 55%), repeating-linear-gradient(45deg, #101211 0 4px, #222522 4px 7px);
  color: var(--text);
  font-family: var(--display);
  font-synthesis: none;
  font-kerning: normal;
  letter-spacing: .015em;
  line-height: 1.6;
}
/* Rubber bumper, stitched rim, and a textured inner chassis. */
.shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 1320px);
  min-width: 0;
  padding: 32px 30px 24px 128px;
  border: 5px solid #080908;
  border-radius: 64px 64px 60px 60px;
  background: var(--dots) 0 0 / 4px 4px, linear-gradient(125deg, #454545, #303030 45%, #3c3c3c);
  box-shadow: 0 0 0 5px #4a4c48, 0 0 0 10px #111310, 0 0 0 13px #353833, 0 22px 50px #0009, inset 0 3px 2px #ffffff35, inset 0 -5px 4px #0009;
}
.shell::before, .shell::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.shell::before { inset: 10px; border: 2px dashed #141614; border-radius: 48px; }
.shell::after { inset: 18px; border: 1px solid #ffffff0d; border-radius: 43px; }
.side-rail {
  position: absolute;
  inset: 30px auto 30px 24px;
  width: 80px;
  border: 3px solid #0c0c0c;
  border-radius: 26px;
  background: repeating-linear-gradient(45deg, transparent 0 25px, #ffbf7620 25px 39px), linear-gradient(90deg, #ff4e12, #ff8b36 50%, #ff5814);
  box-shadow: inset 2px 2px 0 #ffb36d, 3px 0 0 #090909;
}
.side-rail::before { content: ""; position: absolute; inset: 12px 8px 54px; border: 2px solid #6b371d; border-radius: 20px; background: var(--dots) 0 0 / 4px 4px, linear-gradient(100deg, #151515, #32221b); box-shadow: inset 2px 2px 3px #000; }
.rail-title { position: absolute; bottom: 74px; left: 8px; width: auto; writing-mode: vertical-rl; font: 2.8rem/.95 var(--display); letter-spacing: .055em; color: var(--orange); text-shadow: 2px 2px #000; }
.board { min-width: 0; }
header { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 20px; min-height: 60px; border-bottom: 5px solid #090909; }
.brand { align-self: center; font: clamp(1rem, 2vw, 1.4rem)/1.2 var(--display); color: #d0d0ca; text-shadow: 1px 2px #111; }
.section-tab { padding: 12px 30px 10px; border: 3px solid #111; border-bottom: 0; border-radius: 15px 15px 0 0; background: linear-gradient(115deg, #ff9d3e, #ff791e 65%, #e35c10); color: #111; font: italic clamp(1.1rem, 2.4vw, 1.6rem)/1.2 var(--display); text-decoration: none; box-shadow: inset 2px 3px 0 #ffc47788, inset -2px 0 #0004; }
main {
  position: relative;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 38px);
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(22px, 3vw, 42px);
  min-height: 535px;
  border: 3px solid #080808;
  border-radius: 36px;
  background: radial-gradient(ellipse at top left, #ffffff08, transparent 65%), var(--dots) 0 0 / 5px 5px, #191919;
  box-shadow: 0 2px 1px #ffffff20, inset 0 5px 12px #000c, 0 0 0 7px #252525;
}
.hero { position: relative; min-width: 0; display: flex; align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .018em; text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0 4px 0 #0007; }
h1 { font-size: clamp(2.1rem, 3.65vw, 3.55rem); line-height: 1.16; margin: 0 0 25px; }
.intro { max-width: 390px; margin: 0; font-size: 1.125rem; line-height: 1.75; color: #cccac5; text-shadow: 0 2px 2px #000; }
.disc-etching { position: absolute; width: 260px; height: 260px; right: -80px; bottom: -115px; border: 28px solid #41414127; outline: 2px solid #4141412b; outline-offset: 9px; border-radius: 50%; }
.disc-etching span { position: absolute; inset: 60px; border: 18px solid #41414127; border-radius: 50%; }
.download {
  position: relative;
  min-width: 0;
  align-self: stretch;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  border: 3px solid #090909;
  border-radius: 27px;
  background: linear-gradient(105deg, #ffffff09, transparent 60%), linear-gradient(#50504e, #363635);
  box-shadow: inset 2px 2px 1px #ffffff25, inset -3px -3px 2px #0004, 4px 7px 7px #0006;
}
.card-tab { position: absolute; top: -14px; left: 22px; width: 32px; height: 45px; display: grid; place-items: center; border: 1px solid #ff9c50; border-radius: 4px 4px 9px 4px; background: var(--dots) 0 0 / 4px 4px, linear-gradient(120deg, #ff8c2b, #f45b0d); color: #541c02; box-shadow: 2px 3px 2px #0006; }
.card-tab span { font: 1.3rem Arial, sans-serif; }
.download-well { padding: 28px 20px 22px; flex: 1; border: 2px solid #222; border-radius: 21px; background: linear-gradient(125deg, #ffffff0c, transparent 60%), var(--dots) 0 0 / 4px 4px, #252525; box-shadow: inset 1px 3px 5px #000a, 0 1px 0 #ffffff24; }
.app-emblem { width: 132px; height: 132px; margin: 0 0 22px; display: grid; place-items: center; border: 3px solid #101010; border-radius: 28px; background: linear-gradient(135deg, #454545, #1a1a1a); box-shadow: inset 1px 2px 0 #ffffff25, 3px 5px 3px #0006; }
.app-icon { width: 112px; height: 112px; object-fit: contain; }
h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.22; margin: 0 0 17px; }
#release { font-size: .9375rem; color: var(--muted); margin: 0; min-height: 24px; }
.download-actions { padding-top: 24px; }
.download-link { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 16px 14px; border: 2px solid #080808; border-radius: 40px; background: var(--dots) 0 0 / 4px 4px, linear-gradient(#252525, #111); color: #fff; font: italic clamp(1rem, 1.55vw, 1.25rem)/1.3 var(--display); letter-spacing: .02em; text-decoration: none; box-shadow: inset 0 0 0 2px #777, 0 3px 0 #131313; transition: color .15s, box-shadow .15s, transform .15s; }
.download-link svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.download-link:hover { color: #ff9b55; box-shadow: inset 0 0 0 2px var(--orange), 0 3px 0 #131313; transform: translateY(-1px); }
.download-link:active { transform: translateY(2px); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.filename { text-align: center; font-size: .875rem; color: #ccc; margin: 13px 0 0; overflow-wrap: anywhere; }
footer { display: flex; justify-content: end; padding: 19px 16px 0; }
footer p { margin: 0; padding: 7px 17px; border: 1px solid #151515; border-radius: 20px; background: var(--dots) 0 0 / 4px 4px, #272727; color: #bdbdb8; font-size: .875rem; box-shadow: inset 0 1px 1px #ffffff13; }
@media (min-width: 1500px) { main { min-height: 590px; } }
@media (max-width: 1000px) {
  body { padding: 24px 18px; }
  .shell { padding: 25px 22px 22px 110px; }
  .side-rail { left: 20px; width: 68px; }
  .rail-title { left: 5px; font-size: 2.4rem; }
  main { gap: 22px; padding: 24px; }
  .download { padding: 18px 14px 20px; }
  .download-well { padding: 24px 16px 20px; }
  h1 { font-size: clamp(1.9rem, 3.7vw, 2.7rem); }
}
@media (max-width: 760px) {
  body { padding: 22px 15px; }
  .shell { padding: 22px 16px 20px; border-radius: 38px; }
  .shell::before { border-radius: 26px; inset: 8px; }
  .shell::after { border-radius: 22px; inset: 13px; }
  .side-rail { display: none; }
  header { padding: 0 5px; gap: 12px; min-height: 48px; }
  .brand { max-width: 150px; font-size: 1rem; }
  .section-tab { font-size: 1.0625rem; padding: 11px 17px 9px; }
  main { grid-template-columns: 1fr; padding: 25px 17px 18px; gap: 34px; border-radius: 25px; margin-top: 16px; min-height: auto; }
  .hero { padding: 5px 4px 12px; }
  h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 19px; }
  .intro { font-size: 1rem; max-width: 100%; }
  .disc-etching { display: none; }
  .download { padding: 20px 15px; border-radius: 23px; }
  .download-well { padding: 26px 19px 22px; }
  h2 { font-size: 1.6rem; }
  .download-link { font-size: 1.125rem; }
  footer { justify-content: center; padding: 19px 0 0; }
  footer p { text-align: center; font-size: .8125rem; padding: 7px 10px; }
}
.faq-panel { margin-top: 22px; padding: clamp(20px, 3vw, 38px); border: 3px solid #0b0b0b; border-radius: 30px; background: radial-gradient(ellipse at top left, #ffffff08, transparent 65%), var(--dots) 0 0 / 5px 5px, #191919; box-shadow: inset 0 4px 10px #0009, 0 1px #7775; }
.faq-panel h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.faq-panel details { margin-top: 14px; border: 2px solid #111; border-radius: 14px; background: linear-gradient(115deg, #383837, #292929); box-shadow: inset 0 1px #ffffff20; overflow: hidden; }
.faq-panel summary { padding: 18px 20px; cursor: pointer; font-size: 1.125rem; line-height: 1.5; }
.faq-panel summary:hover, .faq-panel details[open] summary { color: #ffac6d; }
.faq-panel summary:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; border-radius: 12px; }
.faq-panel p { margin: 0; padding: 0 20px 20px; color: #cccac5; font-size: 1rem; line-height: 1.8; max-width: 78ch; }
@media (max-width: 760px) { header { flex-wrap: wrap; } .page-tabs { flex-wrap: wrap; } .faq-panel { border-radius: 23px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.scan-guide { margin-top: 32px; padding: clamp(20px, 3vw, 38px); border: 3px solid #0b0b0b; border-radius: 30px; background: radial-gradient(ellipse at top left, #ffffff08, transparent 65%), var(--dots) 0 0 / 5px 5px, #191919; box-shadow: inset 0 4px 10px #0009, 0 1px #7775; scroll-margin-top: 20px; }
.scan-guide p, .setup-steps { color: #cccac5; font-size: 1rem; line-height: 1.8; }
.setup-steps { padding-left: 26px; }
.setup-steps li { padding-left: 6px; margin-bottom: 16px; }
.setup-steps strong { color: #fff; }
.scan-tip, .scan-report { padding: 20px; border: 2px solid #111; border-radius: 16px; background: linear-gradient(115deg, #383837, #292929); }
.scan-tip { margin: 24px 0 34px; border-left: 4px solid var(--orange); }
.scan-report { margin-top: 24px; }
.scan-report p { margin-bottom: 0; }
.scan-guide a, .faq-panel a { color: #ffac6d; text-underline-offset: 3px; }
.screen-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.screen-examples figure { min-width: 0; margin: 0; overflow: hidden; border: 2px solid #101010; border-radius: 18px; background: linear-gradient(#383837, #292929); }
.screen-examples a { display: block; }
.screen-examples a:focus-visible { outline-offset: -4px; }
.screen-examples img { display: block; width: 100%; height: auto; aspect-ratio: 2560 / 1392; object-fit: contain; background: #111; }
.screen-examples figcaption { padding: 17px 20px; }
.screen-examples h3 { margin: 0 0 8px; font-size: 1.125rem; font-weight: 400; }
.screen-examples p { margin: 0; }
@media (max-width: 760px) { .screen-examples { grid-template-columns: 1fr; } .scan-guide { border-radius: 23px; } }

.screenshot-preview { width: min(1500px, 96vw); max-width: 96vw; max-height: 94svh; padding: 16px; overflow: auto; border: 2px solid #555; border-radius: 18px; background: #242424; color: var(--text); }
.screenshot-preview::backdrop { background: #000c; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.preview-heading h2 { margin: 0; font-size: 1.2rem; }
.preview-heading button { padding: 9px 18px; border: 2px solid #111; border-radius: 10px; background: linear-gradient(#464645,#282828); color: white; font: inherit; cursor: pointer; }
.preview-heading button:hover { border-color: var(--orange); color: #ffac6d; }
.screenshot-preview img { display: block; width: 100%; height: auto; border-radius: 8px; }
