:root {
  color-scheme: dark;
  --bg: #050a11;
  --panel: #0a1422;
  --panel-strong: #0e1c2d;
  --line: #21364f;
  --text: #f2f7ff;
  --muted: #9daabc;
  --blue: #149eff;
  --green: #12d268;
  --red: #ff2338;
  --orange: #ff5b12;
  --yellow: #ffcc00;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 10, 17, 0.25) 0%, var(--bg) 46%),
    linear-gradient(90deg, rgba(20, 158, 255, 0.08), rgba(255, 91, 18, 0.06));
}

.page {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 22px;
}

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

.mark {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 48px;
}

.mark span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--blue);
}

.mark span:nth-child(1) {
  top: 10px;
}

.mark span:nth-child(2) {
  top: 22px;
}

.mark span:nth-child(3) {
  top: 34px;
}

.mark span::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--blue);
}

.mark span:nth-child(1)::after {
  left: 12px;
}

.mark span:nth-child(2)::after {
  left: 28px;
}

.mark span:nth-child(3)::after {
  left: 20px;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 68vh, 690px);
  overflow: hidden;
  border-top: 1px solid rgba(33, 54, 79, 0.65);
  border-bottom: 1px solid rgba(33, 54, 79, 0.65);
  background:
    linear-gradient(90deg, rgba(5, 10, 17, 0.98) 0%, rgba(5, 10, 17, 0.88) 34%, rgba(5, 10, 17, 0.32) 68%, rgba(5, 10, 17, 0.8) 100%),
    linear-gradient(0deg, rgba(5, 10, 17, 0.92) 0%, rgba(5, 10, 17, 0.08) 40%),
    url("images/switcher-connected.png") center center / cover no-repeat;
}

.hero-copy {
  padding-bottom: clamp(38px, 8vh, 82px);
}

.hero-copy h1 {
  margin: 18px 0 0;
  max-width: 780px;
  font-size: clamp(72px, 13vw, 170px);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 660px;
  margin: 22px 0 0;
  color: #d6e2f1;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  letter-spacing: 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  color: white;
  background: linear-gradient(180deg, #1fa8ff, #0072d6);
  box-shadow: 0 14px 36px rgba(20, 158, 255, 0.28);
}

.button.secondary {
  color: var(--text);
  border: 1px solid rgba(157, 170, 188, 0.35);
  background: rgba(10, 20, 34, 0.72);
}

.status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px rgba(18, 210, 104, 0.7);
}

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

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

.value-strip article {
  display: flex;
  min-height: 124px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: rgba(10, 20, 34, 0.9);
}

.value-strip article:nth-child(1) {
  border-top: 3px solid var(--red);
}

.value-strip article:nth-child(2) {
  border-top: 3px solid var(--orange);
}

.value-strip article:nth-child(3) {
  border-top: 3px solid var(--green);
}

.value-strip strong {
  font-size: 18px;
}

.value-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 86px 0 0;
}

.section-head {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 860px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p,
.panel-copy p,
.compatibility p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.screenshot-frame,
.settings-shot {
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.screenshot-frame img,
.settings-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

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

.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 20, 34, 0.72);
}

.steps span {
  color: var(--orange);
  font-weight: 850;
  font-size: 22px;
}

.steps h3 {
  margin: 0;
  font-size: 20px;
}

.steps p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.panel-copy {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 28, 45, 0.86), rgba(8, 17, 29, 0.86));
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 760;
}

.settings-shot {
  margin: 0;
}

.compatibility {
  display: grid;
  grid-template-columns: 1fr 126px;
  gap: 36px;
  align-items: center;
  padding-bottom: 20px;
}

.compatibility img {
  width: 126px;
  height: 126px;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 20, 34, 0.78);
}

.card h2,
.content h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 20px;
  letter-spacing: 0;
}

.card p,
.content p,
.content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 20, 34, 0.85);
}

.content h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.content .date {
  margin: 0 0 32px;
  color: var(--muted);
}

.content section {
  padding-top: 22px;
  border-top: 1px solid rgba(33, 54, 79, 0.8);
}

.content section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 56px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 1200px);
  }

  .header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 24px;
  }

  .brand {
    font-size: 30px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 540px;
    background:
      linear-gradient(180deg, rgba(5, 10, 17, 0.62) 0%, rgba(5, 10, 17, 0.96) 70%),
      url("images/switcher-connected.png") center top / auto 62% no-repeat;
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(64px, 22vw, 110px);
  }

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

  .button {
    width: 100%;
  }

  .value-strip,
  .workflow,
  .split-section,
  .compatibility {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 58px;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .panel-copy {
    padding: 24px;
  }

  .content {
    padding: 24px;
    border-radius: 14px;
  }

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