:root {
  --bg: #f5f8f8;
  --paper: #ffffff;
  --paper-soft: #eefafa;
  --ink: #101820;
  --muted: #5b6872;
  --line: #d5e4e3;
  --line-strong: #9bd7d1;
  --teal: #0f8f7f;
  --teal-dark: #087264;
  --blue: #1769cc;
  --green-soft: #dff7ee;
  --shadow: 0 22px 64px rgba(16, 24, 32, 0.11);
  --shadow-soft: 0 12px 28px rgba(16, 24, 32, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Aptos, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(213, 228, 227, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 8px;
  background: #dff7f3;
  color: var(--teal);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark img {
  width: 30px;
  height: 30px;
}

.brand span:last-child {
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #32424b;
  font-size: 14px;
  font-weight: 720;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(15, 143, 127, 0.22);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: #a9c9c6;
  box-shadow: var(--shadow-soft);
}

.button.disabled {
  background: #edf1f3;
  color: #7a858d;
  cursor: not-allowed;
}

.button.disabled:hover {
  transform: none;
}

.button.full {
  width: 100%;
}

.hero {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8f8 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 56px;
}

.status-line {
  width: fit-content;
  margin-bottom: 22px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.25;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
}

h1 {
  max-width: 620px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 880;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 850;
}

.lead {
  max-width: 610px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.6;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-facts div,
.hero-facts span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #32424b;
  font-size: 13px;
  font-weight: 760;
}

.hero-facts dt,
.hero-facts dd {
  margin: 0;
}

.hero-facts dt {
  color: var(--ink);
  font-weight: 850;
}

.hero-facts dd {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 650;
}

.app-preview {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.app-preview img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.hero-preview {
  align-self: center;
}

.page-hero {
  padding: 70px 0 46px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8f8 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.compact-page {
  padding-bottom: 52px;
}

.compact-page .container {
  max-width: 900px;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  margin-top: 12px;
  font-size: 17px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.card,
.download-card,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.feature {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: 26px;
}

.feature-icon {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--teal-dark);
  background: var(--paper-soft);
  font-size: 13px;
  font-weight: 850;
}

.feature p {
  font-size: 15px;
}

.download-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.download-card code,
.text-page code {
  border-radius: 6px;
  padding: 2px 5px;
  background: #eef6f5;
  color: #153c39;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.download-card.recommended {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #ffffff 0%, #f0fbfa 100%);
}

.download-card.active-platform {
  outline: 3px solid rgba(15, 143, 127, 0.14);
  border-color: var(--teal);
}

.muted-card {
  background: #fafafa;
}

.platform-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5fbfa;
  color: var(--teal);
}

.platform-icon {
  font-weight: 900;
}

.platform-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.windows-icon {
  color: var(--blue);
  background: #eef6ff;
}

.windows-icon svg,
.apple-icon svg {
  fill: currentColor;
  stroke: none;
}

.apple-icon {
  color: #4e555b;
  background: #f4f5f6;
}

.file-note {
  color: #68757d;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.truth-note {
  padding: 12px;
  border: 1px solid #cde9e5;
  border-radius: 8px;
  background: rgba(223, 247, 243, 0.68);
  color: #31514d;
  font-size: 13px;
  line-height: 1.55;
}

.soft-band {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.alt {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

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

.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 850;
}

.step h3 {
  font-size: 18px;
}

.step p {
  margin-top: 10px;
  font-size: 14px;
}

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

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

.section-dark {
  background: #092f38;
  color: #ffffff;
}

.section-dark h2,
.section-dark p {
  color: #ffffff;
}

.section-dark p {
  opacity: 0.78;
  font-size: 18px;
  margin-top: 18px;
}

.flow-card {
  display: grid;
  gap: 10px;
}

.flow-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.flow-step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ffffff;
  color: var(--teal-dark);
  font-weight: 900;
}

.split p {
  margin-top: 18px;
  font-size: 18px;
}

.next-list {
  display: grid;
  gap: 12px;
}

.next-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.next-list strong {
  color: var(--teal-dark);
}

.next-list span {
  color: var(--muted);
  line-height: 1.45;
}

.cta-section {
  padding-top: 0;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #eaf9f7;
}

.cta h2 {
  font-size: clamp(25px, 3vw, 36px);
}

.cta p {
  margin-top: 10px;
  max-width: 720px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 28px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  max-width: 480px;
  font-size: 13px;
  text-align: right;
}

.footer-note {
  max-width: 520px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: #32424b;
  font-size: 14px;
  font-weight: 760;
}

.footer-links a:hover,
.text-page a:hover {
  color: var(--teal-dark);
}

.text-page {
  max-width: 860px;
}

.text-page h2 {
  margin-top: 30px;
  font-size: 26px;
}

.text-page h2:first-child {
  margin-top: 0;
}

.text-page p {
  margin-top: 12px;
  font-size: 17px;
}

.text-page a {
  color: var(--teal-dark);
  font-weight: 760;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .page-hero-grid,
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .nav {
    min-height: 66px;
  }

  .brand strong {
    font-size: 18px;
  }

  .small-only-hide {
    display: none;
  }

  .hero {
    padding: 32px 0 20px;
  }

  h1 {
    font-size: 43px;
  }

  .lead {
    font-size: 17px;
  }

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

  .hero-actions .button,
  .cta .button {
    width: 100%;
  }

  .app-preview {
    padding: 8px;
  }

  .section {
    padding: 48px 0;
  }

  .download-grid,
  .steps,
  .feature-grid,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 22px;
  }

  .next-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid p {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .page-hero {
    padding: 34px 0 28px;
  }
}
