:root {
  color-scheme: dark;
  --bg: #050706;
  --bg-soft: #0a0d0c;
  --panel: #111413;
  --panel-strong: #181b19;
  --text: #f3f0e8;
  --muted: #aaa69c;
  --quiet: #77746c;
  --line: rgba(238, 232, 218, 0.12);
  --line-strong: rgba(220, 198, 146, 0.38);
  --gold: #d7b56d;
  --green: #34d767;
  --blue: #0b99ff;
  --magenta: #e236f2;
  --radius: 8px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(215, 181, 109, 0.07), transparent 310px),
    linear-gradient(120deg, rgba(52, 215, 103, 0.05), transparent 460px),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

blockquote {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
.hero,
.architecture,
.beta,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  min-height: clamp(600px, calc(100svh - 150px), 780px);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(600px, 1.28fr);
  align-items: center;
  gap: 42px;
  padding: 22px 0 64px;
}

.hero-copy {
  max-width: 470px;
}

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

h1 {
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.88;
  font-weight: 760;
  letter-spacing: 0;
}

.lede {
  margin-top: 30px;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.14;
  font-weight: 620;
  letter-spacing: 0;
}

.support {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

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

.button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: rgba(215, 181, 109, 0.72);
  background: rgba(215, 181, 109, 0.1);
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(215, 181, 109, 0.68);
  background: var(--gold);
  color: #10100d;
}

.button.primary:hover {
  background: #e2c782;
}

.system-visual {
  position: relative;
  min-height: 590px;
}

.screen-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #020302;
  box-shadow: var(--shadow);
}

.monitor-frame {
  width: min(100%, 720px);
  margin-left: auto;
}

.controller-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(68%, 500px);
  border-color: rgba(11, 153, 255, 0.26);
}

.screen-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  filter: brightness(1.12) contrast(1.04);
  object-fit: cover;
}

.controller-frame img {
  object-position: left center;
}

.link-line {
  position: absolute;
  left: 8%;
  bottom: 19%;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 181, 109, 0.72), transparent);
}

.link-line span {
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 22px rgba(215, 181, 109, 0.7);
}

.link-line span:nth-child(1) {
  left: 8%;
}

.link-line span:nth-child(2) {
  left: 50%;
}

.link-line span:nth-child(3) {
  right: 8%;
}

.architecture {
  border-top: 1px solid var(--line);
  padding: 74px 0 90px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: 44px;
  align-items: end;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  font-weight: 730;
  letter-spacing: 0;
}

.section-heading p,
.beta-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.64;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.flow article {
  min-height: 210px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)), var(--bg-soft);
}

.flow-index {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

h3 {
  margin-top: 48px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.flow p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.beta {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 54px;
  padding: 84px 0 96px;
  border-top: 1px solid var(--line);
}

.beta-logo {
  width: 140px;
  margin-bottom: 30px;
  opacity: 0.78;
}

.beta-copy {
  align-self: start;
}

.beta-copy p {
  margin-top: 22px;
}

.fine-print {
  color: var(--quiet) !important;
  font-size: 14px !important;
}

.beta-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(215, 181, 109, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.045);
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

input:focus,
textarea:focus {
  border-color: rgba(215, 181, 109, 0.75);
  background: rgba(0, 0, 0, 0.42);
}

textarea {
  min-height: 138px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

#form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

#form-status[data-tone="success"] {
  color: var(--green);
}

#form-status[data-tone="error"] {
  color: #ff8f8f;
}

.site-footer {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .beta,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 42px;
    padding-top: 36px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .system-visual {
    min-height: 520px;
  }

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

  .flow article {
    min-height: auto;
  }

  h3 {
    margin-top: 30px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .architecture,
  .beta,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .support,
  .section-heading p,
  .beta-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .form-footer,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .system-visual {
    min-height: 430px;
  }

  .monitor-frame {
    width: 100%;
  }

  .controller-frame {
    width: 82%;
  }

  .link-line {
    left: 10%;
    bottom: 22%;
    width: 42%;
  }

  .beta-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}
