:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5b6674;
  --line: #d9e2ee;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --blue: #0969f3;
  --blue-dark: #2947c7;
  --violet: #7c2df0;
  --green: #0f8f7b;
  --amber: #f4a340;
  --shadow: 0 24px 70px rgba(26, 39, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 238, 0.82);
  backdrop-filter: blur(18px);
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--blue-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  border-radius: 6px;
}

.language-switch a:hover,
.language-switch__active {
  background: #edf4ff;
  color: var(--blue-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  min-height: clamp(640px, calc(100vh - 128px), 820px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 72px;
  background:
    linear-gradient(110deg, rgba(9, 105, 243, 0.11), rgba(124, 45, 240, 0.08) 42%, rgba(15, 143, 123, 0.09)),
    radial-gradient(circle at 88% 12%, rgba(244, 163, 64, 0.16), transparent 28%),
    var(--surface);
}

.hero__content {
  min-width: 0;
  max-width: 680px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: #374152;
  font-size: clamp(18px, 2vw, 22px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

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

.button--primary {
  background: var(--ink);
  color: #fff;
}

.button--secondary {
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid var(--line);
}

.product-visual {
  overflow: hidden;
  max-width: 100%;
  border: 1px solid rgba(55, 74, 99, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #c4cdd9;
}

.browser-bar span:nth-child(1) {
  background: #f26b5f;
}

.browser-bar span:nth-child(2) {
  background: #f4bd4f;
}

.browser-bar span:nth-child(3) {
  background: #49b77f;
}

.app-shell {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-width: 0;
  min-height: 420px;
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px 16px;
  background: #101928;
}

.mock-sidebar span {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.mock-sidebar .mock-sidebar__active {
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.mock-panel {
  min-width: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 32px);
  background: var(--surface-soft);
}

.mock-panel__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mock-panel__header img {
  width: 58px;
  height: 58px;
}

.mock-panel__header p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.mock-panel__header strong {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
}

.mock-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.mock-toolbar span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mock-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 16px;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid #edf1f6;
}

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

.mock-row--head {
  min-height: 42px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mock-row:not(.mock-row--head) span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dfe6f0, #edf2f8);
}

.mock-row:not(.mock-row--head) span:nth-child(2) {
  width: 66%;
}

.mock-row:not(.mock-row--head) span:nth-child(3) {
  width: 78%;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section--compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.section--band {
  background: #f6f8fb;
}

.section__intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.section__intro p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.metric {
  min-height: 130px;
  padding: 28px;
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--blue-dark);
  font-size: 42px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

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

.feature-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--blue-dark);
  font-weight: 900;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  min-height: 190px;
  border-left: 4px solid var(--blue);
  padding: 18px 22px;
  background: #fff;
  border-radius: 0 8px 8px 0;
  counter-increment: step;
}

.timeline li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
}

.timeline span {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.timeline p {
  margin: 10px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.split p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.type-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.type-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: #303a48;
  font-weight: 750;
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

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

.install-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.install-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--blue-dark);
  font-weight: 900;
}

.install-list strong,
.install-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
}

.install-list p,
.install-note p {
  margin: 0;
  color: var(--muted);
}

.install-note {
  border: 1px solid rgba(9, 105, 243, 0.18);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(26, 39, 68, 0.08);
}

code {
  font-family: "Cascadia Mono", Consolas, monospace;
}

.security {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}

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

.security li {
  padding-left: 18px;
  border-left: 3px solid var(--green);
  color: var(--muted);
}

.legal-page {
  background:
    linear-gradient(110deg, rgba(9, 105, 243, 0.08), rgba(124, 45, 240, 0.06) 42%, rgba(15, 143, 123, 0.06)),
    var(--surface-soft);
  padding: clamp(44px, 6vw, 86px) clamp(20px, 5vw, 72px) 72px;
}

.legal-hero,
.legal-card {
  width: min(100%, 980px);
  margin-inline: auto;
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
}

.legal-meta {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.legal-card {
  margin-top: 18px;
  border: 1px solid rgba(55, 74, 99, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 18px 48px rgba(26, 39, 68, 0.08);
}

.legal-card h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-card h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-card p,
.legal-card li,
.legal-card address {
  color: #374152;
}

.legal-card a,
.site-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.legal-warning {
  border-color: rgba(244, 163, 64, 0.42);
  background: #fffaf2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero,
  .split,
  .install-layout,
  .security {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    display: block;
    padding-top: 36px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero__content,
  .hero__lead {
    width: 100%;
    max-width: calc(100vw - 72px);
  }

  .hero__lead {
    max-width: 300px;
  }

  .hero__actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-visual {
    margin-inline: 0;
    margin-top: 34px;
    width: 100%;
  }

  .app-shell {
    grid-template-columns: 52px 1fr;
  }

  .mock-sidebar {
    padding: 18px 10px;
  }

  .mock-panel__header {
    align-items: flex-start;
  }

  .mock-panel__header img {
    width: 48px;
    height: 48px;
  }

  .mock-panel__header strong {
    font-size: 26px;
  }

  .mock-sidebar span {
    width: 32px;
    height: 32px;
  }

  .mock-row {
    grid-template-columns: 1fr 0.75fr;
  }

  .mock-row span:nth-child(3) {
    display: none;
  }

  .section--compact,
  .feature-grid,
  .timeline,
  .type-list {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 110px;
  }
}
