:root {
  color-scheme: dark;
  --bg: #030508;
  --bg-2: #080c11;
  --surface: rgba(13, 18, 24, 0.74);
  --surface-strong: rgba(17, 23, 30, 0.92);
  --line: rgba(228, 236, 245, 0.16);
  --line-strong: rgba(228, 236, 245, 0.28);
  --text: #f5f7fa;
  --muted: #aab3bd;
  --soft: #6f7b87;
  --accent: #25c8ff;
  --accent-2: #7de8ff;
  --green: #77df9f;
  --radius: 8px;
  --max: 1400px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 58%, transparent);
}

img,
svg {
  display: block;
}

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--text);
  color: #05070a;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 116px 0;
}

.section-bleed {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  width: min(var(--max), calc(100% - 48px));
  height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  top: 12px;
  height: 64px;
  padding: 0 18px;
  background: rgba(5, 7, 10, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

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

.site-nav {
  display: flex;
  gap: 44px;
  align-items: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  color: rgba(245, 247, 250, 0.9);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-2);
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: auto;
  padding: 112px 0 38px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.95) 0%, rgba(3, 5, 8, 0.62) 50%, rgba(3, 5, 8, 0.16) 100%),
    linear-gradient(180deg, rgba(3, 5, 8, 0.1), var(--bg) 95%),
    url("assets/oryon-lunar-horizon.png") right center / cover no-repeat;
  opacity: 0.95;
}

.hero-orbit {
  position: absolute;
  width: 720px;
  height: 320px;
  left: -60px;
  top: 108px;
  border: 1px solid rgba(125, 232, 255, 0.12);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(640px, 1.2fr);
  align-items: center;
  gap: 74px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 6vw, 92px);
  line-height: 0.98;
  font-weight: 760;
}

.hero-copy p {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 720;
  cursor: pointer;
}

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: linear-gradient(180deg, #42d6ff, #07aeea);
  border-color: rgba(125, 232, 255, 0.84);
  color: #041018;
  box-shadow: 0 0 34px rgba(37, 200, 255, 0.16);
}

.button-ghost {
  background: rgba(5, 7, 10, 0.48);
  color: var(--text);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.product-preview {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(12, 16, 22, 0.94), rgba(4, 7, 11, 0.86));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
}

.preview-topbar {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 720;
}

.preview-brand img {
  width: 34px;
  color: var(--text);
}

.preview-search {
  width: min(260px, 42%);
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--soft);
  font-size: 12px;
}

.preview-body {
  display: grid;
  grid-template-columns: 178px 1fr;
  min-height: 438px;
}

.preview-sidebar {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 8px;
}

.module-tab {
  height: 38px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  padding: 0 12px;
  font-size: 13px;
  cursor: pointer;
}

.module-tab.is-active {
  background: rgba(37, 200, 255, 0.13);
  border-color: rgba(37, 200, 255, 0.56);
  color: var(--accent-2);
}

.preview-main {
  padding: 20px;
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.preview-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 720;
}

.preview-heading span {
  color: var(--soft);
  font-size: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.metric,
.ops-panel {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.metric {
  min-height: 74px;
  padding: 14px;
}

.metric span {
  display: block;
  color: var(--soft);
  font-size: 11px;
}

.metric strong {
  display: block;
  margin-top: 7px;
  font-size: 21px;
  font-weight: 720;
}

.ops-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.ops-panel {
  min-height: 192px;
  padding: 16px;
}

.panel-title {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 720;
}

.ring {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) calc(var(--value) * 1%), rgba(255, 255, 255, 0.1) 0);
  margin: 0 auto 14px;
}

.ring::before {
  content: "";
  position: absolute;
}

.ring span {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #10161d;
  font-size: 21px;
  font-weight: 760;
}

.ops-panel p,
.ops-panel li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ops-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.systems-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(520px, 1.1fr);
  gap: 84px;
  border-top: 1px solid var(--line);
}

.section-copy h2,
.residential-copy h2,
.method-intro h2,
.contact-grid h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  font-weight: 760;
}

.section-copy p,
.residential-copy p,
.method-intro p,
.contact-grid p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.system-rows {
  border-top: 1px solid var(--line);
}

.system-rows article {
  display: grid;
  grid-template-columns: 56px 220px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.system-rows span,
.method-timeline span {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 720;
}

.system-rows h3,
.method-timeline h3 {
  margin: 0;
  font-size: 18px;
}

.system-rows p,
.method-timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.residential-section {
  background: linear-gradient(180deg, #080c11, #030508);
  border-block: 1px solid var(--line);
}

.residential-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: 80px;
}

.benefit-list {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  line-height: 1.55;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(37, 200, 255, 0.42);
}

.module-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(7, 11, 16, 0.92);
}

.module-board div {
  min-height: 116px;
  display: flex;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
  background: linear-gradient(180deg, rgba(37, 200, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.method-intro {
  max-width: 720px;
}

.method-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.method-timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.method-timeline article {
  position: relative;
  padding-top: 74px;
}

.method-timeline article::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 8px rgba(37, 200, 255, 0.08);
}

.method-timeline h3 {
  margin-top: 12px;
}

.method-timeline p {
  margin-top: 10px;
  font-size: 14px;
}

.contact-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.96), rgba(3, 5, 8, 0.74)),
    url("assets/oryon-lunar-horizon.png") right center / cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(420px, 0.72fr);
  gap: 90px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(7, 11, 16, 0.72);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.contact-form input,
.contact-form select {
  height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: rgba(125, 232, 255, 0.72);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent-2);
  font-size: 13px;
}

.site-footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 142px;
}

.site-footer div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1180px) {
  .hero-grid,
  .systems-section,
  .residential-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .product-preview {
    max-width: 900px;
  }

  .method-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .method-timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .site-header {
    width: min(100% - 28px, var(--max));
  }

  .site-header,
  .site-header.is-scrolled {
    top: 10px;
    height: 62px;
    padding: 0 14px;
    background: rgba(5, 7, 10, 0.8);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
  }

  .brand img {
    width: 134px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: transparent;
    color: var(--text);
  }

  .nav-toggle span {
    width: 18px;
    height: 1px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px;
    background: rgba(5, 7, 10, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .preview-search {
    display: none;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .module-tab {
    text-align: center;
    padding: 0 6px;
    font-size: 12px;
  }

  .metric-grid,
  .ops-grid,
  .module-board,
  .method-timeline,
  .system-rows article {
    grid-template-columns: 1fr;
  }

  .system-rows article {
    gap: 10px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}

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