:root {
  color-scheme: dark;
  --background: #0f1112;
  --panel: #17191b;
  --text: #e8eaeb;
  --muted: #9ba1a6;
  --accent: #3ddc97;
  --border: #2a2e31;
  --line: #23272a;
  --radius: 10px;
  --gutter: clamp(20px, 5vw, 60px);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, Roboto, sans-serif;
  background: var(--background);
  color: var(--text);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, figure {
  margin: 0;
}

body {
  font-size: 16px;
  line-height: 1.55;
}

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

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

img {
  display: block;
  max-inline-size: 100%;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(1120px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: var(--gutter);
  padding: 8px 14px;
  transform: translateY(-150%);
  background: var(--panel);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: none;
}

.site-header, .site-footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0;
}

.site-header {
  border-bottom-width: 1px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-accent {
  color: var(--accent);
}

.site-nav, .footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  color: var(--muted);
  font-size: 14px;
}

.site-nav {
  margin-inline-start: auto;
}

.site-nav a, .footer-nav a, summary {
  transition: color 150ms ease;
}

.site-nav a:hover, .footer-nav a:hover, summary:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 10px 17px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  background: #202326;
  border-color: #3f4549;
}

.button-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #092317;
}

.button-primary:hover {
  background: #68e6ad;
  border-color: #68e6ad;
}

.download-icon, .outbound-icon {
  display: block;
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
}

.download-icon {
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  height: 5px;
  margin-top: 10px;
}

.download-icon::before, .outbound-icon::before {
  content: "";
  position: absolute;
  width: 1.5px;
  height: 8px;
  background: currentColor;
}

.download-icon::before {
  left: calc(50% - 0.75px);
  bottom: 5px;
}

.download-icon::after, .outbound-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
}

.download-icon::after {
  left: calc(50% - 3px);
  bottom: 5px;
  transform: rotate(45deg);
}

.outbound-icon {
  color: var(--muted);
}

.outbound-icon::before {
  left: 6px;
  top: 4px;
  height: 9px;
  transform: rotate(45deg);
}

.outbound-icon::after {
  top: 3px;
  right: 3px;
  transform: rotate(-90deg);
}

.hero {
  padding-top: clamp(50px, 5.8vw, 84px);
  text-align: center;
}

h1, h2, h3 {
  line-height: 1.12;
  font-weight: 650;
}

h1 {
  font-size: clamp(42px, 5.5vw, 76px);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-description {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions, .hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero-actions {
  margin-top: 28px;
  gap: 10px;
}

.hero-meta {
  margin-top: 15px;
  gap: 7px 12px;
  color: var(--muted);
  font-size: 13px;
}

.release-status {
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
  font-size: 12px;
  line-height: 1.35;
}

.app-frame {
  overflow: hidden;
  border: 1px solid #32363a;
  border-radius: calc(var(--radius) + 3px);
  background: var(--panel);
  box-shadow: 0 24px 64px -25px #000b;
}

.app-frame img {
  width: 100%;
  height: auto;
}

.hero-frame {
  margin-top: clamp(40px, 4.3vw, 62px);
}

.section {
  padding-top: clamp(68px, 8vw, 115px);
}

h2 {
  margin-bottom: clamp(23px, 3.2vw, 40px);
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.catalog {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 3px);
  background: var(--panel);
}

.model-list, .steps, .benefits {
  padding: 0;
  margin: 0;
  list-style: none;
}

.model-list:empty {
  display: none;
}

.model-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px 32px;
  padding: 18px clamp(16px, 2.4vw, 30px);
}

.model-row + .model-row, .model-list:not(:empty) + .catalog-note {
  border-top: 1px solid var(--border);
}

.model-row h3, .steps h3 {
  font-size: 19px;
  letter-spacing: -0.026em;
  overflow-wrap: anywhere;
}

.model-row p, .steps p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.provider-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 6px;
}

.provider-chip {
  padding: 4px 9px;
  border: 1px solid #34393d;
  border-radius: 6px;
  background: #202325;
  color: #c6cbcd;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.offer-expiry {
  margin-inline-start: 3px;
  color: var(--accent);
}

.catalog-note {
  padding: 14px clamp(16px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 13px;
}

.catalog-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skeleton-row {
  min-height: 86px;
}

.skeleton-row span {
  display: block;
  width: min(100%, 170px);
  height: 13px;
  border-radius: 4px;
  background: #292d30;
}

.skeleton-row span:last-child {
  justify-self: end;
  width: min(100%, 100px);
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid var(--border);
}

.steps li:last-child {
  border-bottom: 1px solid var(--border);
}

.step-number {
  color: var(--accent);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(15px, 4vw, 56px);
}

.benefits li {
  padding-block: clamp(16px, 2.6vw, 29px);
  border-top: 1px solid var(--border);
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.benefits li:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--border);
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 0 clamp(24px, 5vw, 72px);
  padding-bottom: clamp(68px, 8vw, 115px);
}

.faq-list {
  border-top: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
  color: #cdd0d3;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 14px;
  height: 14px;
  justify-self: end;
  color: var(--muted);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
}

details[open] summary::after {
  color: var(--accent);
  background-size: 12px 1.5px, 0 0;
}

details p {
  max-width: 61ch;
  padding: 0 24px 17px 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  border-top-width: 1px;
}

.footer-inner, .footer-brand {
  display: flex;
  align-items: center;
  gap: 16px 26px;
}

.footer-inner {
  min-height: 90px;
  justify-content: space-between;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-content: center;
  justify-items: center;
  gap: 22px;
  padding-block: 40px;
  text-align: center;
}

.not-found p {
  color: var(--muted);
}

@media (max-width: 780px) {
  .how-layout, .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-frame {
    width: min(100%, 600px);
  }
}

@media (max-width: 600px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 15px;
    padding-block: 12px 5px;
  }

  .site-nav {
    grid-area: 2 / 1 / 3 / -1;
    justify-content: space-between;
    gap: 6px 12px;
    width: 100%;
    margin: 6px 0 0;
  }

  .site-nav a {
    padding-block: 9px;
  }

  .header-download {
    grid-area: 1 / 2;
  }

  .hero-description {
    margin-top: 17px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .model-row {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 15px;
  }

  .provider-chips {
    justify-content: start;
  }

  .skeleton-row span:last-child {
    justify-self: start;
  }

  .footer-inner {
    flex-wrap: wrap;
    padding-block: 23px;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: clamp(35px, 10vw, 46px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: min(100%, 268px);
  }

  .hero-meta {
    flex-direction: column;
  }
}

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