:root {
  color-scheme: dark;
  --bg: #070a0f;
  --surface: #101621;
  --surface-2: #151d2a;
  --line: #273247;
  --text: #f7f9fc;
  --muted: #9aaac0;
  --orange: #ff6508;
  --orange-soft: #ff9b3d;
  --blue: #087cff;
  --green: #28c98b;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7,10,15,.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 32px), var(--max));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { width: 220px; height: auto; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,10,15,.99) 0%, rgba(7,10,15,.91) 42%, rgba(7,10,15,.3) 74%, rgba(7,10,15,.78) 100%),
    url("assets/stitch-record.png") center right / auto 108% no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 64px 0 110px;
}

.hero-copy { width: min(650px, 62%); min-width: 0; }
.eyebrow { margin: 0 0 14px; color: var(--orange-soft); font-size: .82rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: 0; }
h1 { margin-bottom: 20px; font-size: clamp(3.4rem, 7vw, 7.3rem); font-style: italic; }
h1 span { color: var(--orange); }
.hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 0 0 30px; color: #c7d1df; font-size: clamp(1.05rem, 2vw, 1.3rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  font-weight: 780;
}
.button.primary { border-color: var(--orange); background: var(--orange); color: #101010; }
.button:hover, .button:focus-visible { transform: translateY(-1px); filter: brightness(1.08); }

.hero-foot {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 24px;
  width: min(calc(100% - 32px), var(--max));
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-foot span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--green); }

.band { border-bottom: 1px solid var(--line); }
.band.alt { background: #0b1018; }
.section { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding: 96px 0; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.6rem); }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.feature { min-height: 220px; padding: 30px; background: var(--surface); }
.feature .number { color: var(--orange); font: 800 .82rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.feature h3 { margin: 44px 0 10px; font-size: 1.35rem; }
.feature p { margin: 0; color: var(--muted); }

.screens { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; align-items: start; }
.screen { margin: 0; }
.screen img { width: 100%; border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.screen figcaption { margin-top: 14px; color: var(--muted); font-size: .9rem; text-align: center; }

.download { display: grid; grid-template-columns: 1fr auto; gap: 54px; align-items: center; }
.download h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.6rem); }
.download p { max-width: 650px; margin: 0 0 24px; color: var(--muted); }
.qr-shell { width: 220px; min-height: 250px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #111; text-align: center; }
.qr-shell img { width: 188px; height: 188px; object-fit: contain; }
.qr-shell p { margin: 10px 0 0; color: #333; font-size: .75rem; line-height: 1.25; }

.site-footer { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding: 34px 0; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .88rem; }
.site-footer a { color: var(--text); }

.policy-main { width: min(calc(100% - 32px), 860px); margin: 0 auto; padding: 76px 0 100px; }
.policy-main header { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.policy-main h1 { margin: 0 0 12px; font-size: clamp(2.4rem, 6vw, 4.8rem); }
.policy-main header p { margin: 0; color: var(--muted); }
.policy-main section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.policy-main h2 { margin-bottom: 14px; font-size: 1.55rem; }
.policy-main h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.policy-main p, .policy-main li { color: #c5cfdd; }
.policy-main ul { margin: 12px 0 0; padding-left: 22px; }
.policy-main li + li { margin-top: 8px; }
.notice { padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--surface); }
.placeholder { color: #ffd09e; font-weight: 800; }

@media (max-width: 820px) {
  .nav-links a:not(:last-child) { display: none; }
  .brand img { width: 180px; }
  .hero::before { background: linear-gradient(0deg, rgba(7,10,15,.99) 6%, rgba(7,10,15,.82) 58%, rgba(7,10,15,.32) 100%), url("assets/stitch-record.png") top center / auto 82% no-repeat; opacity: .82; }
  .hero-inner { align-items: flex-end; padding-bottom: 130px; }
  .hero-copy { width: 100%; }
  h1 { font-size: 2.35rem; white-space: nowrap; }
  .hero-foot { left: 16px; right: 16px; width: auto; transform: none; grid-template-columns: repeat(3, minmax(0, 1fr)); display: grid; gap: 4px; font-size: .52rem; text-align: center; }
  .hero-foot span::before { width: 5px; height: 5px; margin-right: 4px; }
  .feature-grid, .screens { grid-template-columns: 1fr; }
  .feature { min-height: 180px; }
  .feature h3 { margin-top: 28px; }
  .screens { width: min(100%, 390px); margin: 0 auto; }
  .download { grid-template-columns: 1fr; }
  .qr-shell { width: 220px; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
