:root {
  --ink: #070617;
  --ink-2: #11102a;
  --panel: #16142f;
  --panel-2: #201a41;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f8fbff;
  --muted: #bac4db;
  --cyan: #2bd8ff;
  --gold: #ffc83d;
  --red: #ff2b1f;
  --violet: #a64dff;
  --green: #31f29b;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(43, 216, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 200, 61, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 43, 31, 0.12), transparent 42%),
    linear-gradient(35deg, transparent 54%, rgba(43, 216, 255, 0.11)),
    var(--ink);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #170900;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 23, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(43, 216, 255, 0.45);
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta,
.primary-btn,
.secondary-btn,
.store-btn,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.primary-btn,
.submit-btn {
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: #160900;
  box-shadow: 0 12px 32px rgba(255, 43, 31, 0.24);
}

.secondary-btn,
.store-btn.alt {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.store-btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 216, 255, 0.75);
  box-shadow: 0 16px 34px rgba(43, 216, 255, 0.2);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

main {
  overflow: hidden;
}

.section {
  padding: 96px 0;
}

.section.tight {
  padding: 64px 0;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.hero {
  min-height: calc(100svh - 76px);
  padding: 92px 0 56px;
  display: grid;
  align-items: end;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 23, 0.94) 0%, rgba(7, 6, 23, 0.7) 45%, rgba(7, 6, 23, 0.5) 100%),
    var(--hero-image) center / cover no-repeat;
  opacity: 0.92;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(transparent, var(--ink));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-actions,
.cta-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-deck {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: end;
  margin-top: 70px;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 6, 23, 0.68);
  box-shadow: var(--shadow);
}

.status-strip div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip strong {
  display: block;
  color: var(--gold);
  font-size: 1.45rem;
  line-height: 1.1;
}

.status-strip span {
  color: var(--muted);
  font-size: 0.86rem;
}

.cabinet-preview,
.phone-preview,
.legal-card,
.contact-panel,
.feature-rail,
.quote,
.spec-card,
.download-panel,
.step-card,
.about-panel,
.data-card,
.field,
.mini-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
}

.cabinet-preview {
  position: relative;
  padding: 26px;
  min-height: 320px;
  overflow: hidden;
}

.cabinet-screen {
  min-height: 205px;
  border: 1px solid rgba(43, 216, 255, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(43, 216, 255, 0.22), rgba(166, 77, 255, 0.18)),
    repeating-linear-gradient(0deg, transparent, transparent 12px, rgba(255, 255, 255, 0.06) 13px);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: inset 0 0 34px rgba(43, 216, 255, 0.28);
}

.cabinet-screen strong {
  display: block;
  color: var(--gold);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  text-shadow: 0 0 22px rgba(255, 200, 61, 0.55);
}

.control-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.control-row span {
  min-height: 52px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 24px rgba(255, 43, 31, 0.46);
}

.control-row span:nth-child(2) {
  background: var(--gold);
}

.control-row span:nth-child(3) {
  background: var(--cyan);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

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

.image-frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.image-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-rail {
  padding: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.feature-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.feature-item b,
.step-card b,
.mini-card b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(43, 216, 255, 0.14);
  color: var(--cyan);
  font-size: 0.85rem;
}

.feature-item p,
.step-card p,
.mini-card p,
.quote p,
.spec-card p,
.about-panel p,
.data-card p,
.legal-card p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.step-card {
  padding: 22px;
}

.step-card:nth-child(2) b {
  background: rgba(255, 200, 61, 0.16);
  color: var(--gold);
}

.step-card:nth-child(3) b {
  background: rgba(255, 43, 31, 0.14);
  color: #ff8b84;
}

.step-card:nth-child(4) b {
  background: rgba(49, 242, 155, 0.13);
  color: var(--green);
}

.quote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.quote {
  padding: 24px;
}

.quote strong {
  color: var(--gold);
}

.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 43, 31, 0.14), rgba(43, 216, 255, 0.12)),
    rgba(255, 255, 255, 0.03);
}

.page-hero {
  padding: 74px 0 42px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(166, 77, 255, 0.12), rgba(43, 216, 255, 0.08)),
    rgba(255, 255, 255, 0.02);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: stretch;
}

.about-panel,
.data-card {
  padding: 26px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.data-card strong {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.legal-nav a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.legal-nav a:last-child {
  border-bottom: 0;
}

.legal-card {
  padding: 30px;
  margin-bottom: 18px;
}

.legal-card h2 {
  font-size: 1.65rem;
}

.highlight {
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 200, 61, 0.1);
  color: #fff2c2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.check-field {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  margin-top: 7px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input::file-selector-button {
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(43, 216, 255, 0.16);
  color: var(--text);
}

.check-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--gold);
}

.submit-btn {
  grid-column: 1 / -1;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--gold);
}

.contact-list {
  display: grid;
  gap: 16px;
}

.mini-card {
  padding: 22px;
}

.download-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.download-panel {
  padding: 28px;
}

.store-btn {
  min-width: 190px;
  min-height: 62px;
  flex-direction: column;
  align-items: flex-start;
  background: #f8fbff;
  color: #080819;
}

.store-btn small {
  font-weight: 700;
  opacity: 0.76;
}

.store-btn strong {
  font-size: 1.15rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.spec-card {
  padding: 22px;
}

.phone-preview {
  padding: 18px;
}

.phone-preview img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 26px;
  background: rgba(0, 0, 0, 0.24);
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.h5-body {
  background: var(--ink);
}

.h5-shell {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.h5-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 28px;
}

.h5-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

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

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 6, 23, 0.98);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-deck,
  .split,
  .about-grid,
  .legal-layout,
  .contact-grid,
  .download-hero {
    grid-template-columns: 1fr;
  }

  .status-strip,
  .steps,
  .quote-row,
  .principles,
  .data-grid,
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
    padding: 78px 0 48px;
  }

  .brand span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .status-strip,
  .feature-grid,
  .steps,
  .quote-row,
  .principles,
  .data-grid,
  .spec-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .status-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-strip div:last-child {
    border-bottom: 0;
  }

  .image-frame img,
  .phone-preview img {
    height: 330px;
  }

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