:root {
  color-scheme: dark;
  --bg: #050601;
  --panel: #10120e;
  --panel-strong: #171a12;
  --line: #303426;
  --text: #edefd8;
  --muted: #c8ccaa;
  --primary: #e1dd72;
  --danger: #ec5466;
  --shadow: rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Courier New", Courier, monospace;
  line-height: 1.55;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 14px 28px;
  background: rgba(5, 6, 1, 0.86);
  border-bottom: 1px solid rgba(225, 221, 114, 0.28);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
  outline: 1px solid var(--primary);
  outline-offset: 2px;
}

.nav-button {
  color: #080a07;
  background: var(--primary);
}

.nav-button:hover,
.nav-button:focus-visible {
  color: #080a07;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 118px 28px 64px;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.82);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 1, 0.84), rgba(5, 6, 1, 0.42) 48%, rgba(5, 6, 1, 0.72)),
    linear-gradient(0deg, rgba(5, 6, 1, 0.92), rgba(5, 6, 1, 0.12) 52%, rgba(5, 6, 1, 0.62));
}

.scanlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.34;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1) 0,
    rgba(255, 255, 255, 0.1) 1px,
    rgba(0, 0, 0, 0.35) 2px,
    rgba(0, 0, 0, 0.35) 4px
  );
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.rec-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.rec-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 18px rgba(236, 84, 102, 0.7);
}

.rec-dot.small {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 12px rgba(236, 84, 102, 0.72);
}

.app-icon {
  width: 88px;
  height: 88px;
  border: 1px solid rgba(225, 221, 114, 0.6);
  border-radius: 8px;
  box-shadow: 0 18px 44px var(--shadow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 22px 0 14px;
  color: var(--text);
  font-size: 4rem;
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
}

.tagline {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.primary-action {
  color: #080a07;
  background: var(--primary);
}

.secondary-action {
  color: var(--text);
  background: rgba(16, 18, 14, 0.8);
  border: 1px solid var(--line);
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.deck-section,
.features-section,
.summary-section,
.download-section,
.policy-main {
  background:
    linear-gradient(180deg, var(--bg), #0a0c08 34%, var(--bg));
}

.section-inner {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 58px 0 68px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-inner h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 2rem;
  line-height: 1.12;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: 36px;
}

.section-copy p {
  max-width: 620px;
  color: var(--muted);
}

.mode-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.mode-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.mode-pill.active {
  color: #080a07;
  background: var(--primary);
  border-color: var(--primary);
}

.camera-panel {
  padding: 14px;
  background: #080a07;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 70px var(--shadow);
}

.camera-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #10120e;
  border: 1px solid rgba(225, 221, 114, 0.42);
  border-radius: 6px;
}

.camera-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  filter: contrast(1.1) saturate(0.75);
}

.camera-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.11) 0,
      rgba(255, 255, 255, 0.11) 1px,
      rgba(0, 0, 0, 0.28) 2px,
      rgba(0, 0, 0, 0.28) 4px
    ),
    linear-gradient(0deg, rgba(5, 6, 1, 0.32), rgba(5, 6, 1, 0));
  pointer-events: none;
}

.camera-hud {
  position: absolute;
  z-index: 2;
  color: var(--text);
  font-size: clamp(0.7rem, 1.6vw, 0.95rem);
  font-weight: 900;
  text-shadow: 0 1px 4px #000;
}

.camera-hud.top-left {
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.camera-hud.top-right {
  top: 18px;
  right: 18px;
}

.camera-hud.bottom-left {
  left: 18px;
  bottom: 18px;
}

.camera-hud.bottom-right {
  right: 18px;
  bottom: 18px;
}

.corner {
  position: absolute;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-color: var(--text);
  opacity: 0.84;
}

.corner-tl {
  top: 10px;
  left: 10px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.corner-tr {
  top: 10px;
  right: 10px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.corner-bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.corner-br {
  right: 10px;
  bottom: 10px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.control-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  height: 62px;
  padding: 0 12px;
}

.control-row span:not(.record-control) {
  height: 10px;
  background: #252819;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.record-control {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--danger);
  border: 4px solid #080a07;
  box-shadow: 0 0 0 2px var(--text), 0 0 22px rgba(236, 84, 102, 0.38);
}

.features-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-item {
  min-height: 214px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-code {
  margin-bottom: 34px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.feature-item p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.summary-item {
  min-height: 190px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary-item h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1rem;
}

.summary-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.download-section {
  border-top: 1px solid var(--line);
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-inner h2 {
  margin-bottom: 0;
}

.policy-main {
  min-height: 100vh;
  padding: 126px 28px 68px;
}

.policy {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px var(--shadow);
}

.policy h1 {
  margin-bottom: 8px;
  font-size: 2.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.updated {
  margin-bottom: 34px;
  color: var(--muted);
}

.policy-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.policy-quick div {
  min-height: 116px;
  padding: 14px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-quick strong,
.policy-quick span {
  display: block;
}

.policy-quick strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.94rem;
}

.policy-quick span {
  color: var(--muted);
  font-size: 0.9rem;
}

.policy section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.policy h2 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.25rem;
}

.policy p,
.policy li {
  color: var(--muted);
}

.policy a {
  color: var(--text);
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
}

.policy ul {
  margin: 0;
  padding-left: 22px;
}

.policy li + li {
  margin-top: 10px;
}

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 28px;
  color: var(--muted);
  background: #030402;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--text);
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand span {
    max-width: 44vw;
  }

  .hero {
    min-height: 76vh;
    padding: 104px 20px 46px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .tagline {
    font-size: 1.05rem;
  }

  .section-inner {
    width: calc(100% - 40px);
    padding: 42px 0 52px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .split-layout,
  .feature-grid,
  .policy-quick {
    grid-template-columns: 1fr;
  }

  .split-layout {
    gap: 24px;
  }

  .feature-item {
    min-height: 0;
  }

  .feature-code {
    margin-bottom: 18px;
  }

  .summary-item {
    min-height: 0;
  }

  .download-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-main {
    padding: 104px 20px 48px;
  }

  .policy {
    padding: 20px;
  }

  .policy h1 {
    font-size: 2.15rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }
}

@media (max-width: 460px) {
  nav {
    gap: 4px;
  }

  nav a {
    padding: 0 9px;
    font-size: 0.82rem;
  }

  .brand {
    gap: 8px;
  }

  .brand span {
    max-width: 34vw;
  }

  .app-icon {
    width: 74px;
    height: 74px;
  }

  .hero-actions a {
    width: 100%;
  }

  .camera-panel {
    margin-left: -6px;
    margin-right: -6px;
    padding: 10px;
  }

  .corner {
    width: 32px;
    height: 32px;
  }

  .camera-hud {
    font-size: 0.68rem;
  }

  .camera-hud.top-left,
  .camera-hud.top-right {
    top: 13px;
  }

  .camera-hud.top-left,
  .camera-hud.bottom-left {
    left: 13px;
  }

  .camera-hud.top-right,
  .camera-hud.bottom-right {
    right: 13px;
  }

  .camera-hud.bottom-left,
  .camera-hud.bottom-right {
    bottom: 13px;
  }

  .download-inner .primary-action {
    width: 100%;
  }
}
