@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --bg-start: #fcfbf8;
  --bg: #f8f5ef;
  --bg-2: #f1ebe2;
  --bg-glow: rgba(255, 255, 255, 0.94);
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --ink: #17181d;
  --muted: #5f6471;
  --kicker: #666d7c;
  --line: rgba(23, 24, 29, 0.1);
  --line-strong: rgba(23, 24, 29, 0.16);
  --shadow-lg: 0 28px 80px rgba(23, 24, 29, 0.1);
  --shadow-md: 0 18px 40px rgba(23, 24, 29, 0.08);
  --pill-bg: rgba(255, 255, 255, 0.72);
  --pill-border: rgba(23, 24, 29, 0.08);
  --button-text: #fff;
  --button-top: #283042;
  --button: #171c26;
  --button-hover-top: #343d52;
  --button-hover: #23293a;
  --button-shadow: 0 14px 28px rgba(23, 28, 38, 0.18);
  --button-tag-bg: rgba(255, 255, 255, 0.16);
  --button-tag-border: rgba(255, 255, 255, 0.22);
  --secondary-bg: rgba(255, 255, 255, 0.78);
  --secondary-border: rgba(23, 24, 29, 0.1);
  --disabled-text: rgba(255, 255, 255, 0.96);
  --disabled-top: #5c6270;
  --disabled-bottom: #3b414d;
  --panel-top: #3c4456;
  --panel-mid: #2d3445;
  --panel-bottom: #1f2330;
  --panel-ink: #edf1ff;
  --panel-muted: rgba(237, 241, 255, 0.66);
  --panel-row-bg: rgba(255, 255, 255, 0.05);
  --panel-row-border: rgba(255, 255, 255, 0.06);
  --panel-badge-ink: rgba(255, 255, 255, 0.92);
  --panel-badge-bg: rgba(255, 255, 255, 0.08);
  --panel-accent-ink: #d5f0ff;
  --panel-accent-bg: rgba(92, 190, 255, 0.16);
  --panel-shadow: 0 28px 56px rgba(15, 19, 28, 0.24);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg-start: #0b1017;
    --bg: #111824;
    --bg-2: #17202f;
    --bg-glow: rgba(120, 156, 214, 0.14);
    --surface: rgba(16, 23, 33, 0.84);
    --surface-strong: rgba(18, 25, 35, 0.94);
    --ink: #edf2fb;
    --muted: #a6b1c2;
    --kicker: #8c98ac;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.42);
    --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.3);
    --pill-bg: rgba(255, 255, 255, 0.06);
    --pill-border: rgba(255, 255, 255, 0.12);
    --button-text: #111724;
    --button-top: #f4f7ff;
    --button: #d7e3f7;
    --button-hover-top: #ffffff;
    --button-hover: #e5ecfa;
    --button-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
    --button-tag-bg: rgba(17, 23, 36, 0.1);
    --button-tag-border: rgba(17, 23, 36, 0.18);
    --secondary-bg: rgba(255, 255, 255, 0.04);
    --secondary-border: rgba(255, 255, 255, 0.12);
    --disabled-text: rgba(255, 255, 255, 0.88);
    --disabled-top: #475065;
    --disabled-bottom: #353d4e;
    --panel-top: #4d5c75;
    --panel-mid: #2b374c;
    --panel-bottom: #141c29;
    --panel-ink: #edf2ff;
    --panel-muted: rgba(237, 242, 255, 0.7);
    --panel-row-bg: rgba(255, 255, 255, 0.06);
    --panel-row-border: rgba(255, 255, 255, 0.08);
    --panel-badge-ink: rgba(255, 255, 255, 0.94);
    --panel-badge-bg: rgba(255, 255, 255, 0.12);
    --panel-accent-ink: #e0f3ff;
    --panel-accent-bg: rgba(124, 201, 255, 0.22);
    --panel-shadow: 0 28px 56px rgba(0, 0, 0, 0.42);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--bg-glow), transparent 32%),
    linear-gradient(180deg, var(--bg-start) 0%, var(--bg) 48%, var(--bg-2) 100%);
}

a {
  color: inherit;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.brand__name {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.hero {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: stretch;
  padding: 68px 56px;
  border-radius: 36px;
}

.hero-copy {
  width: 100%;
  max-width: 640px;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.hero-features {
  display: grid;
  gap: 14px;
}

.section-kicker {
  margin: 0;
  color: var(--kicker);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-heading,
.section-intro h2,
.feature-row h3,
.faq-item summary,
.footer-title {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  letter-spacing: -0.04em;
}

.hero-heading {
  width: 100%;
  max-width: none;
  font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  font-weight: 600;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(2.4rem, 4.4vw, 4.1rem);
  line-height: 1;
}

.hero-subtitle,
.hero-points,
.section-lead,
.feature-row p,
.faq-item p,
.footer-meta,
.preview-note {
  color: var(--muted);
  line-height: 1.65;
}

.hero-points {
  max-width: 44ch;
  margin: 0;
  padding-left: 1.1rem;
  font-size: 1.08rem;
}

.hero-points li + li {
  margin-top: 0.55rem;
}

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

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

.hero-requirement {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--button-text);
  background: linear-gradient(180deg, var(--button-top) 0%, var(--button) 100%);
  box-shadow: var(--button-shadow);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--button-hover-top) 0%, var(--button-hover) 100%);
}

.btn-download {
  gap: 10px;
  padding-left: 18px;
  padding-right: 18px;
}

.btn-download__icon {
  display: inline-flex;
  width: 14px;
  height: 17px;
  flex: none;
}

.btn-download__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.btn-download__label {
  display: inline-flex;
}

.btn-download__tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--button-tag-bg);
  border: 1px solid var(--button-tag-border);
}

.btn-secondary {
  background: var(--secondary-bg);
  border-color: var(--secondary-border);
}

.btn-disabled {
  color: var(--disabled-text);
  background: linear-gradient(180deg, var(--disabled-top) 0%, var(--disabled-bottom) 100%);
  cursor: default;
}

.hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.keyboard-showcase {
  width: min(960px, 100%);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.keyboard-showcase__image {
  width: 100%;
  height: auto;
}

.section-intro {
  max-width: 760px;
  margin: 76px auto 0;
  text-align: center;
}

.section-intro h2 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.section-lead {
  margin: 18px auto 0;
  max-width: 40ch;
  font-size: 1.02rem;
}

.feature-list,
.faq-list {
  margin-top: 26px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.feature-row,
.faq-item {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 32px;
}

.feature-row__copy {
  display: grid;
  gap: 12px;
}

.feature-row h3 {
  font-size: 1.38rem;
  line-height: 1.06;
}

.feature-row p {
  margin: 0;
  max-width: none;
}

.feature-row__shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.feature-shot {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(15, 19, 28, 0.12);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-size: 1.08rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item p {
  margin: 0;
  padding: 18px 24px 24px;
}

.footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.footer-title {
  font-size: 1.02rem;
  font-weight: 700;
}

.footer-meta {
  margin-top: 8px;
}

@media (max-width: 960px) {
  .hero-body {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding: 40px 30px;
    gap: 34px;
    border-radius: 30px;
  }

  .hero-heading {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 28px, 1100px);
    padding: 20px 0 56px;
  }

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

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding: 28px 22px;
  }

  .hero-heading {
    white-space: normal;
    font-size: clamp(2.6rem, 14vw, 3.7rem);
  }

  .btn,
  .btn-disabled {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
  .feature-row {
    padding: 24px;
    gap: 22px;
  }

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

  .section-intro {
    margin-top: 60px;
  }
}
