:root {
  --bg: #101112;
  --panel: #171819;
  --panel-high: #202225;
  --text: #f3f0ec;
  --muted: #a7a19a;
  --line: #34302c;
  --brand: #ff8e34;
  --brand-dark: #8f4519;
  --green: #46c983;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

.construction-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.construction-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 9, 10, 0.78);
  backdrop-filter: blur(10px);
}

.construction-toggle:checked + .construction-popup {
  display: none;
}

.construction-card {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid #4a4038;
  border-radius: 8px;
  background: #151515;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.construction-card h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.05;
}

.construction-card p:not(.eyebrow) {
  margin-bottom: 22px;
  color: #d5d0ca;
}

.construction-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--brand);
  color: #19110b;
  font-weight: 800;
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 40px;
  background: rgba(16, 17, 18, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.brand img {
  width: 36px;
  height: 36px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover,
.header-action:hover {
  color: var(--text);
}

.header-action {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 54px;
  min-height: calc(100vh - 72px);
  align-items: center;
  padding: 72px 7vw 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lead {
  max-width: 620px;
  color: #d5d0ca;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}

.primary-action,
.secondary-action,
.pricing-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 800;
}

.primary-action {
  background: var(--brand);
  color: #19110b;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--text);
}

.microcopy {
  color: var(--muted);
  font-size: 14px;
}

.product-visual {
  min-width: 0;
}

.desktop-frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #3a342f;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 142, 52, 0.24) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #24272a;
  background-size: 64px 100%, auto, auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.desktop-frame::before {
  content: "";
  position: absolute;
  inset: 72px 52px 84px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
}

.app-toolbar {
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(390px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 12px;
  border: 1px solid #312b27;
  border-radius: 8px;
  background: #111;
}

.toolbar-top,
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar-top {
  justify-content: space-between;
  margin-bottom: 10px;
  color: #888;
  font-size: 11px;
  font-weight: 800;
}

button {
  font: inherit;
}

.toolbar-top button,
.toolbar-controls button {
  height: 30px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #1f2022;
  color: #ddd;
}

.toolbar-controls .mode {
  width: 96px;
}

.toolbar-controls .dropdown {
  flex: 1;
}

.toolbar-controls .active {
  border-color: var(--brand);
  color: var(--brand);
}

.selection-box {
  position: absolute;
  left: 19%;
  top: 32%;
  width: 50%;
  height: 34%;
  border: 2px solid var(--brand);
  background: rgba(255, 142, 52, 0.12);
}

.selection-box span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #ffd2ad;
  font-size: 12px;
  font-weight: 800;
}

.toast {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(350px, calc(100% - 44px));
  padding: 16px;
  border: 1px solid #4a4038;
  border-radius: 8px;
  background: #151515;
}

.toast strong,
.toast span {
  display: block;
}

.toast strong {
  color: var(--green);
}

.toast span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #141516;
}

.proof-strip div {
  padding: 28px 7vw;
  border-right: 1px solid var(--line);
}

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

.metric {
  display: block;
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
}

.proof-strip span:last-child {
  color: var(--muted);
}

.section {
  padding: 86px 7vw;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
}

.feature-grid article,
.pricing-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid p,
.comparison p,
.pricing-grid li,
.roadmap span {
  color: var(--muted);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 44px;
  align-items: start;
  background: #15110f;
}

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

.comparison div {
  padding: 20px;
  border-left: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.04);
}

.comparison span {
  font-weight: 900;
}

.pricing-section {
  background: #111315;
}

.price {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 42px;
  font-weight: 900;
}

.price-period {
  margin-left: 8px;
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 600;
  vertical-align: middle;
}

.pricing-grid ul {
  min-height: 116px;
  margin: 0 0 22px;
  padding-left: 18px;
}

.pricing-grid a {
  width: 100%;
  background: #242424;
}

.featured-plan {
  border-color: var(--brand) !important;
  background: var(--panel-high) !important;
}

.featured-plan a {
  background: var(--brand);
  color: #1b120c;
}

.roadmap ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.roadmap strong {
  color: var(--brand);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 7vw;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    padding: 0 20px;
  }

  nav {
    display: none;
  }

  .hero,
  .split-band {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .proof-strip,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .desktop-frame {
    min-height: 440px;
  }

  .toolbar-controls {
    flex-wrap: wrap;
  }

  .toolbar-controls .mode,
  .toolbar-controls .dropdown {
    flex: 1 1 130px;
  }

  footer {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }
}
