:root {
  color-scheme: dark;
  --ink: #0b0d10;
  --deep: #10161f;
  --paper: #f4efe6;
  --muted: #aeb7bf;
  --line: rgba(244, 239, 230, 0.16);
  --orange: #ff7a1a;
  --gold: #d5ab55;
  --green: #60a878;
  --blue: #5c8dbd;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(16, 22, 31, 0.96), rgba(11, 13, 16, 1) 680px),
    var(--ink);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

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

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

.topbar,
main,
footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  background: rgba(16, 22, 31, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--orange);
  color: var(--orange);
}

nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.93rem;
}

nav a:hover,
footer a:hover {
  color: var(--orange);
}

.language-switch {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.06);
}

.language-switch button {
  width: 42px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--paper);
  color: var(--deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 18px;
  min-height: calc(100vh - 76px);
  padding: 18px 0 28px;
}

.hero-panel {
  display: flex;
  min-height: 660px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 122, 26, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(244, 239, 230, 0.08), rgba(244, 239, 230, 0.02));
}

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

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.88;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.8vw, 4.8rem);
  line-height: 0.94;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

.hero-text {
  max-width: 710px;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #180b00;
}

.button.ghost {
  background: rgba(244, 239, 230, 0.05);
  color: var(--paper);
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050608;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
}

.screen-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  border: 1px solid rgba(244, 239, 230, 0.2);
  border-radius: 8px;
  background: rgba(11, 13, 16, 0.78);
  backdrop-filter: blur(16px);
}

.screen-card span {
  display: block;
  color: var(--muted);
}

.screen-card strong {
  display: block;
  color: var(--orange);
  font-size: 2.5rem;
  line-height: 1;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 94px;
}

.proof-strip article {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 239, 230, 0.045);
}

.proof-strip span {
  display: block;
  color: var(--muted);
}

.proof-strip strong {
  display: block;
  margin-top: 18px;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.9;
}

.section {
  padding: 94px 0 0;
}

.network {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.section-copy,
.map-card,
.pricing-intro,
.price-table,
.brief,
.model-head {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 239, 230, 0.045);
}

.section-copy,
.pricing-intro,
.model-head {
  padding: clamp(28px, 5vw, 50px);
}

.map-card {
  display: grid;
  overflow: hidden;
  grid-template-rows: 1fr auto;
}

.map-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.district-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.district-list span {
  padding: 16px 12px;
  background: #111820;
  color: var(--paper);
  text-align: center;
  font-weight: 800;
}

.model {
  display: grid;
  gap: 14px;
}

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

.model-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121820;
}

.model-grid span {
  display: inline-flex;
  margin-bottom: 68px;
  color: var(--orange);
  font-weight: 900;
}

.placements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 14px;
}

.placements article {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 239, 230, 0.045);
}

.placements img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.placements div {
  align-self: center;
  padding: 28px;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.25fr);
  gap: 14px;
}

.price-table {
  overflow: hidden;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--muted);
  font-weight: 800;
}

.price-row strong {
  font-size: clamp(1.3rem, 2.5vw, 2.4rem);
}

.price-row.highlight {
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.2), rgba(96, 168, 120, 0.08));
}

.term-cards {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.term-cards article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121820;
}

.term-cards span,
.term-cards small {
  display: block;
  color: var(--muted);
}

.term-cards strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--orange);
  font-size: 2rem;
  line-height: 1;
}

.brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 36px;
  margin: 94px 0 0;
  padding: clamp(24px, 4vw, 42px);
}

.brief-copy {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
}

.brief-copy img {
  width: 160px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 13, 16, 0.76);
  color: var(--paper);
  font: inherit;
  padding: 14px 15px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--orange);
  outline: 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 46px 0;
  color: var(--muted);
}

footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .network,
  .pricing,
  .brief {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .hero-stage,
  .hero-stage img {
    min-height: 520px;
  }

  .proof-strip,
  .model-grid,
  .district-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .term-cards {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .topbar,
  main,
  footer {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand {
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .hero-stage,
  .hero-stage img {
    min-height: 430px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

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

  .proof-strip,
  .model-grid,
  .placements,
  .term-cards {
    grid-template-columns: 1fr;
  }

  .placements article,
  .brief-copy {
    grid-template-columns: 1fr;
  }

  .placements img {
    height: 260px;
  }

  .brief-copy img {
    width: 100%;
    max-height: 230px;
  }

  .price-row {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 22px;
  }

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

  footer div {
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
