:root {
  color-scheme: light dark;
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.9);
  --text: #172033;
  --muted: #626c7c;
  --line: rgba(23, 32, 51, 0.12);
  --accent: #087cf0;
  --accent-soft: rgba(8, 124, 240, 0.1);
  --shadow: 0 18px 50px rgba(37, 54, 84, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --surface: rgba(27, 30, 38, 0.92);
    --text: #f4f6fb;
    --muted: #b5bdcb;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #59a8ff;
    --accent-soft: rgba(89, 168, 255, 0.13);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  }
}

.software-home {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.9);
  --text: #172033;
  --muted: #626c7c;
  --line: rgba(23, 32, 51, 0.12);
  --accent: #087cf0;
  --accent-soft: rgba(8, 124, 240, 0.1);
  --shadow: 0 18px 50px rgba(37, 54, 84, 0.1);
}

.software-home .hero {
  display: block;
  padding-bottom: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(52, 143, 255, 0.16), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

a { color: var(--accent); }
img { max-width: 100%; }

.nav,
.hero,
.content,
.footer {
  width: min(980px, calc(100% - 36px));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(24, 48, 80, 0.16);
}

.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 650; }
.nav-links a:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 44px;
  padding: 68px 0 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 8vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.32rem);
}

.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 15px;
  font-weight: 740;
  text-decoration: none;
}
.button.primary { background: var(--accent); color: white; }
.button.secondary { border: 1px solid var(--line); background: var(--surface); color: var(--text); }

.symbol {
  display: grid;
  place-items: center;
  width: min(260px, 52vw);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 36%;
  background: linear-gradient(145deg, var(--surface), var(--accent-soft));
  box-shadow: var(--shadow);
  color: var(--accent);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 780;
  letter-spacing: -0.08em;
}

.symbol img { width: 100%; height: 100%; border-radius: 31%; object-fit: cover; }

.content { padding-bottom: 56px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.card,
.support {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card { padding: 25px; }
.card strong { display: block; margin-bottom: 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }

.support { margin-top: 20px; padding: clamp(25px, 5vw, 38px); }
.support h2 { margin: 0 0 10px; font-size: 1.5rem; }
.support p { margin: 0 0 10px; color: var(--muted); }
.support p:last-child { margin-bottom: 0; }

.screens { margin-top: 24px; padding: clamp(25px, 5vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.screens h2 { margin: 4px 0 22px; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 18px; }
.screenshot-grid figure { margin: 0; }
.screenshot-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.screenshot-grid figcaption { margin-top: 10px; color: var(--muted); font-size: 0.92rem; text-align: center; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 48px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer p { margin: 0; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; }
  .nav-links { flex-direction: column; gap: 5px; text-align: right; }
  .hero { grid-template-columns: 1fr; padding-top: 38px; }
  .symbol { grid-row: 1; width: 150px; justify-self: start; border-radius: 34px; }
  .grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
