:root {
  color-scheme: dark;
  --accent: #4dd18d;
  --accent-strong: #149b5a;
  --background: #080d11;
  --surface: #0d141a;
  --surface-raised: #111a21;
  --border: #29343c;
  --border-strong: #46515a;
  --text: #f4f7f5;
  --muted: #a4afb6;
  --blue: #64a8ff;
  --container: 1360px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 max(28px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(41, 52, 60, 0.75);
  background: rgba(8, 13, 17, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 7px;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav a,
.language button,
footer a,
.requirements {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

.language {
  display: flex;
  justify-content: flex-end;
  gap: 17px;
}

.language button {
  padding: 9px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
}

.language button[aria-pressed='true'] {
  border-color: var(--accent);
  color: var(--accent);
}

.hero,
.section,
footer {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.8fr) minmax(620px, 1.2fr);
  align-items: center;
  gap: 72px;
  min-height: 720px;
  padding: 76px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(54px, 5vw, 76px);
  line-height: 0.99;
  letter-spacing: -0.052em;
}

.hero-lede {
  max-width: 580px;
  margin: 30px 0 0;
  color: #c0c8cd;
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

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

.button-primary {
  background: var(--accent-strong);
  color: white;
}

.button-primary:hover {
  background: #18ad66;
}

.button-secondary {
  border-color: #3f78b8;
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--blue);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 62px 0 0;
}

.feature-strip div {
  position: relative;
  padding-top: 20px;
}

.feature-strip div::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
  content: '';
}

.feature-strip dt {
  font-size: 14px;
  font-weight: 700;
}

.feature-strip dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.product-frame,
.detail-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.product-frame img,
.detail-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.product-frame figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.alignment-guide {
  position: absolute;
  z-index: 2;
  top: 327px;
  left: 26%;
  width: 31%;
  border-top: 2px dashed rgba(77, 209, 141, 0.75);
  pointer-events: none;
}

.alignment-guide::after {
  position: absolute;
  top: -5px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: '';
}

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

.workflow {
  padding: 92px 0 100px;
  text-align: center;
}

.workflow h2,
.download-panel > h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.035em;
}

.workflow ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
  margin: 62px 0 0;
  padding: 0;
  list-style: none;
}

.workflow ol::before {
  position: absolute;
  top: 20px;
  right: 12%;
  left: 12%;
  border-top: 1px dashed rgba(77, 209, 141, 0.55);
  content: '';
}

.workflow li {
  position: relative;
}

.step-number {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #106b43;
  place-items: center;
  font-weight: 800;
}

.workflow h3 {
  margin: 24px 0 0;
  font-size: 17px;
}

.workflow p {
  max-width: 280px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.detail {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 86px;
  padding: 100px 0;
}

.detail h2,
.privacy-panel h2 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.detail-copy > p,
.privacy-panel > p {
  margin: 26px 0 0;
  color: #b5bec4;
  font-size: 17px;
  line-height: 1.7;
}

.detail ul {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.detail li::before {
  margin-right: 10px;
  color: var(--accent);
  content: '✓';
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.privacy-panel,
.download-panel {
  padding: 96px 72px;
}

.privacy-panel {
  padding-left: 0;
  border-right: 1px solid var(--border);
}

.privacy-panel > p {
  max-width: 530px;
  font-size: 15px;
}

.privacy-panel > a {
  display: inline-block;
  margin-top: 32px;
  color: var(--blue);
  font-size: 14px;
  text-decoration: none;
}

.shield {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 2px solid var(--accent);
  border-radius: 14px 14px 18px 18px;
  color: var(--accent);
  place-items: center;
}

.download-panel {
  padding-right: 0;
}

.download-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
}

.download-row + .download-row {
  margin-top: 12px;
}

.platform-mark {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  font-size: 34px;
  place-items: center;
}

.platform-mark.windows {
  background: #087cd4;
}

.platform-mark.mac {
  background: #e7edf0;
  color: #11171b;
}

.download-row h3 {
  margin: 0;
  font-size: 18px;
}

.download-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.download-row select {
  max-width: 190px;
  margin-top: 7px;
  padding: 5px 28px 5px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #091016;
  color: var(--muted);
  font-size: 12px;
}

.button-download {
  min-height: 44px;
  padding: 0 18px;
  background: #256fca;
  color: white;
}

.download-note {
  margin: 20px 0 0;
  color: #7f8b92;
  font-size: 12px;
  line-height: 1.55;
}

.requirements {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 130px;
}

footer p {
  color: #7f8b92;
  font-size: 13px;
}

footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .alignment-guide {
    display: none;
  }

  .detail {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .privacy-panel {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .download-panel {
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand span {
    font-size: 14px;
  }

  .language {
    gap: 12px;
  }

  .language button {
    font-size: 12px;
  }

  .hero,
  .section,
  footer {
    width: min(100% - 36px, var(--container));
  }

  .hero {
    min-height: auto;
    padding: 64px 0 70px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lede {
    font-size: 17px;
  }

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

  .feature-strip {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .workflow,
  .detail {
    padding: 72px 0;
  }

  .workflow ol {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .workflow ol::before {
    display: none;
  }

  .privacy-panel,
  .download-panel {
    padding: 72px 0;
  }

  .download-row {
    grid-template-columns: 46px 1fr;
  }

  .download-row .button {
    grid-column: 1 / -1;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 40px 0;
  }

  footer > div {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
