:root {
  --ink: #17151f;
  --ink-soft: #3d3948;
  --muted: #6d6878;
  --line: rgba(28, 24, 41, 0.1);
  --surface: #ffffff;
  --surface-soft: #f7f6fa;
  --purple: #6554e8;
  --purple-dark: #5140d3;
  --purple-soft: #eeebff;
  --blue: #4a8fe7;
  --green: #31b76a;
  --shadow-sm: 0 12px 35px rgba(37, 28, 71, 0.08);
  --shadow-lg: 0 34px 90px rgba(37, 28, 71, 0.18);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shell: 1180px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 4%, rgba(132, 113, 255, 0.13), transparent 24rem),
    linear-gradient(180deg, #fbfaff 0, #fff 44rem);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(101, 84, 232, 0.45);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--purple);
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(251, 250, 255, 0.76);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px rgba(31, 23, 57, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.brand img {
  filter: drop-shadow(0 6px 10px rgba(59, 42, 173, 0.18));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 29px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 560;
}

.nav-menu > a:not(.nav-github) {
  transition: color 160ms ease;
}

.nav-menu > a:not(.nav-github):hover {
  color: var(--purple);
}

.language-link {
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.56);
}

.nav-github {
  padding: 9px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 11px;
  transition: transform 160ms ease, background 160ms ease;
}

.nav-github:hover {
  background: var(--purple);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  min-height: calc(780px - var(--header-height));
  padding-block: 70px 88px;
  gap: 68px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(101, 84, 232, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 6px 20px rgba(56, 39, 133, 0.05);
  letter-spacing: 0.045em;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(49, 183, 106, 0.12);
}

.hero h1,
.section-heading h2,
.feature-copy h2,
.privacy-copy h2,
.faq-intro h2,
.final-cta h2,
.error-page h1 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.058em;
  line-height: 0.99;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(54px, 5.4vw, 78px);
}

.hero h1 span {
  color: var(--purple);
}

.hero-lead {
  max-width: 585px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.52;
  letter-spacing: -0.012em;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #7461f1, #5744d8);
  box-shadow: 0 13px 28px rgba(86, 65, 216, 0.26);
}

.button-primary:hover {
  box-shadow: 0 17px 36px rgba(86, 65, 216, 0.32);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 9px 24px rgba(30, 24, 51, 0.06);
}

.button-secondary:hover {
  border-color: rgba(101, 84, 232, 0.24);
}

.button-full {
  width: 100%;
}

.button.is-disabled {
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.64;
  transform: none;
}

.hero-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.app-stage {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
  isolation: isolate;
}

.app-stage::before {
  position: absolute;
  z-index: -2;
  width: 94%;
  height: 92%;
  content: "";
  border: 1px solid rgba(101, 84, 232, 0.08);
  border-radius: 48% 52% 45% 55%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(235, 230, 255, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 50px 100px rgba(85, 63, 175, 0.12);
  transform: rotate(-3deg);
}

.glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.glow-one {
  top: 5%;
  right: 4%;
  width: 210px;
  height: 210px;
  background: rgba(125, 104, 255, 0.26);
}

.glow-two {
  bottom: 3%;
  left: 5%;
  width: 170px;
  height: 170px;
  background: rgba(89, 174, 248, 0.18);
}

.hero-icon {
  position: absolute;
  z-index: 4;
  top: 2px;
  left: 2%;
  filter: drop-shadow(0 22px 28px rgba(56, 38, 162, 0.27));
  transform: rotate(-7deg);
}

.shortcut-orbit {
  position: absolute;
  z-index: 5;
  right: -8px;
  bottom: 35px;
  display: flex;
  gap: 5px;
  padding: 9px;
  border: 1px solid rgba(25, 22, 36, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  transform: rotate(4deg);
}

kbd {
  font-family: inherit;
}

.shortcut-orbit kbd,
.keys kbd {
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid rgba(24, 21, 31, 0.1);
  border-bottom-width: 2px;
  background: linear-gradient(#fff, #f4f2f8);
  box-shadow: 0 2px 3px rgba(25, 20, 44, 0.06);
}

.shortcut-orbit kbd {
  width: 39px;
  height: 37px;
  border-radius: 9px;
  font-size: 17px;
  font-weight: 650;
}

.window-frame {
  overflow: hidden;
  border: 1px solid rgba(28, 24, 39, 0.12);
  border-radius: 25px;
  background: #f8f8f8;
  box-shadow: var(--shadow-lg);
}

.panel-frame {
  width: min(445px, 86%);
  transform: rotate(1.2deg) translate(12px, 18px);
}

.window-bar {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 6px;
  padding-left: 14px;
  border-bottom: 1px solid rgba(24, 21, 31, 0.07);
  background: rgba(244, 243, 246, 0.96);
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-bar i:nth-child(2) {
  background: #febc2e;
}

.window-bar i:nth-child(3) {
  background: #28c840;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 84px;
  align-items: center;
}

.trust-items > div {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding-inline: 16px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.trust-items > div:last-child {
  border-right: 0;
}

.trust-items span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 9px;
  font-size: 15px;
}

.section {
  padding-block: 128px;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 58px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.privacy-copy h2,
.faq-intro h2,
.final-cta h2 {
  font-size: clamp(42px, 4.6vw, 64px);
}

.section-heading > p:last-child,
.faq-intro > p:last-child {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading.centered > p:last-child {
  margin-inline: auto;
}

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

.step-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.step-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  content: "";
  background: radial-gradient(circle, rgba(112, 91, 235, 0.13), transparent 68%);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 27px;
  color: rgba(22, 20, 31, 0.2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-icon {
  display: flex;
  width: fit-content;
  min-width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  padding-inline: 13px;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 17px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.step-icon.keys {
  gap: 3px;
  padding-inline: 8px;
}

.keys kbd {
  width: 30px;
  height: 29px;
  border-radius: 7px;
  font-size: 13px;
}

.step-card h3,
.privacy-card h3,
.install-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

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

.showcase {
  padding-top: 38px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
  align-items: center;
  gap: 90px;
  padding-block: 85px;
}

.feature-row.reverse {
  grid-template-columns: minmax(470px, 1.18fr) minmax(0, 0.82fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-copy h2 {
  font-size: clamp(39px, 4vw, 56px);
}

.feature-copy > p:not(.kicker) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 560;
}

.check-list li {
  position: relative;
  padding-left: 29px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  content: "✓";
  place-items: center;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.visual-card {
  position: relative;
  display: grid;
  min-height: 540px;
  padding: 52px;
  overflow: hidden;
  place-items: center;
  border-radius: var(--radius-lg);
}

.visual-card::before,
.visual-card::after {
  position: absolute;
  width: 210px;
  height: 210px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
}

.visual-card::before {
  top: -100px;
  right: -54px;
}

.visual-card::after {
  bottom: -120px;
  left: -60px;
}

.visual-card.purple {
  background: linear-gradient(145deg, #6c5ae9, #8e7df2);
}

.visual-card.blue {
  background: linear-gradient(145deg, #448edd, #76b3f2);
}

.visual-card.lilac {
  background: linear-gradient(145deg, #b6a4f6, #d7ccfb);
}

.visual-card img {
  position: relative;
  z-index: 1;
  max-height: 470px;
  border: 1px solid rgba(27, 21, 47, 0.13);
  border-radius: 18px;
  box-shadow: 0 28px 55px rgba(40, 26, 96, 0.28);
  object-fit: contain;
}

.privacy-section {
  position: relative;
  padding-block: 132px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 10% 90%, rgba(105, 83, 232, 0.42), transparent 35rem),
    radial-gradient(circle at 94% 10%, rgba(72, 141, 232, 0.2), transparent 30rem),
    #171421;
}

.privacy-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.32;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, #000, transparent 80%);
}

.privacy-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 100px;
}

.privacy-copy .kicker {
  color: #aa9bff;
}

.privacy-copy > p:not(.kicker) {
  max-width: 500px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--purple);
  font-weight: 650;
}

.light-link {
  color: #c1b8ff;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-points {
  display: grid;
  gap: 14px;
}

.privacy-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 17px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.privacy-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #c5bbff;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(122, 99, 241, 0.16);
  font-size: 21px;
}

.privacy-card p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.install-section {
  padding-bottom: 110px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
  margin-inline: auto;
}

.install-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  align-items: center;
  padding: 44px 38px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.install-card.featured {
  border-color: rgba(101, 84, 232, 0.24);
  background: linear-gradient(180deg, #f9f7ff, #fff 48%);
  box-shadow: 0 24px 55px rgba(70, 51, 154, 0.12);
}

.recommendation {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 9px;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.install-card > img {
  margin-bottom: 16px;
  filter: drop-shadow(0 12px 17px rgba(65, 47, 180, 0.2));
}

.terminal-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #292532, #121016);
  border-radius: 18px;
  box-shadow: 0 12px 22px rgba(25, 22, 30, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 22px;
  font-weight: 700;
}

.install-card > p:not(.availability) {
  max-width: 330px;
  margin: 12px auto 25px;
  color: var(--muted);
}

.install-card .button,
.command-box {
  margin-top: auto;
}

.availability {
  min-height: 39px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.availability.is-ready {
  color: #188949;
  font-weight: 620;
}

.availability.is-unsigned {
  color: #8a5b09;
  font-weight: 650;
}

.install-notice {
  display: grid;
  max-width: 920px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  margin: 20px auto 0;
  padding: 17px 19px;
  color: var(--ink-soft);
  border: 1px solid rgba(178, 119, 15, 0.24);
  border-radius: 17px;
  background: rgba(255, 184, 59, 0.09);
  font-size: 13px;
  line-height: 1.58;
  text-align: left;
}

.install-notice-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #7c5000;
  border-radius: 50%;
  background: rgba(255, 184, 59, 0.23);
  font-weight: 780;
}

.install-notice p {
  margin: 2px 0 0;
}

.install-notice strong {
  color: var(--ink);
}

.install-notice a {
  color: var(--purple);
  font-weight: 650;
}

.command-box {
  display: grid;
  width: 100%;
  min-height: 54px;
  grid-template-columns: 1fr 48px;
  align-items: center;
  overflow: hidden;
  color: #e9e6f3;
  background: #1c1922;
  border-radius: 13px;
  text-align: left;
}

.command-box code {
  padding: 12px 5px 12px 15px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  scrollbar-width: none;
  white-space: nowrap;
}

.command-box code::-webkit-scrollbar {
  display: none;
}

.command-box button {
  align-self: stretch;
  color: #fff;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.command-box button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.command-box button:not(:disabled):hover {
  background: rgba(116, 97, 241, 0.32);
}

.source-note {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.source-note a,
.faq-intro a {
  color: var(--purple);
  font-weight: 620;
}

.faq {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
  padding-top: 80px;
}

.faq-intro h2 {
  font-size: clamp(40px, 4vw, 55px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 77px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--purple);
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  margin: -2px 40px 25px 0;
  color: var(--muted);
}

.final-cta {
  padding-block: 40px 130px;
}

.final-cta > div {
  position: relative;
  min-height: 480px;
  padding: 72px 40px;
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 24% -20%, rgba(255, 255, 255, 0.25), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(72, 149, 232, 0.5), transparent 30%),
    linear-gradient(135deg, #6c56e7, #4933bd);
  box-shadow: 0 35px 70px rgba(72, 50, 180, 0.22);
  text-align: center;
}

.final-cta > div::before,
.final-cta > div::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.final-cta > div::before {
  top: -180px;
  right: -40px;
  width: 440px;
  height: 440px;
}

.final-cta > div::after {
  bottom: -190px;
  left: -90px;
  width: 390px;
  height: 390px;
}

.final-cta img,
.final-cta h2,
.final-cta p,
.final-cta a {
  position: relative;
  z-index: 1;
}

.final-cta img {
  margin: 0 auto 20px;
  filter: drop-shadow(0 18px 28px rgba(34, 20, 113, 0.3));
}

.final-cta .kicker {
  margin-bottom: 17px;
  color: #ded9ff;
}

.final-cta h2 {
  font-size: clamp(42px, 4.7vw, 65px);
}

.final-cta .button {
  margin-top: 30px;
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 14px 28px rgba(36, 24, 106, 0.2);
}

.footer {
  padding-block: 68px 28px;
  border-top: 1px solid var(--line);
  background: #f7f6fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
}

.footer-grid > div:first-child > p {
  max-width: 390px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: var(--ink);
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--purple);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  margin-top: 58px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  padding: 12px 17px;
  color: #fff;
  background: rgba(25, 22, 34, 0.94);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.error-page main {
  max-width: 670px;
}

.error-page img {
  margin: 0 auto 25px;
  filter: drop-shadow(0 18px 26px rgba(57, 40, 159, 0.2));
}

.error-page h1 {
  font-size: clamp(48px, 7vw, 76px);
}

.error-page main > p:not(.kicker) {
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 1020px) {
  .nav-menu {
    gap: 20px;
  }

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

  .app-stage {
    min-height: 500px;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
    gap: 54px;
  }

  .visual-card {
    min-height: 490px;
    padding: 40px;
  }

  .privacy-grid {
    gap: 60px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 66px;
  }

  .shell {
    width: min(var(--shell), calc(100% - 34px));
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 17px;
    left: 17px;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 50px rgba(30, 23, 55, 0.13);
    backdrop-filter: blur(20px);
  }

  .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .nav-menu > a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .nav-menu > a:hover {
    background: var(--surface-soft);
  }

  .language-link {
    display: flex;
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
  }

  .nav-github {
    margin-top: 5px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 72px 64px;
    gap: 54px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    max-width: 700px;
  }

  .hero-lead {
    max-width: 620px;
  }

  .app-stage {
    min-height: 540px;
  }

  .panel-frame {
    width: min(470px, 80%);
  }

  .hero-icon {
    left: 9%;
  }

  .shortcut-orbit {
    right: 8%;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 12px;
  }

  .trust-items > div {
    justify-content: flex-start;
    border: 0;
  }

  .section {
    padding-block: 100px;
  }

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

  .step-card {
    min-height: 260px;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-block: 66px;
  }

  .feature-row.reverse .feature-copy {
    order: initial;
  }

  .feature-row.reverse .visual-card {
    order: 2;
  }

  .visual-card {
    min-height: 520px;
  }

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

  .privacy-copy {
    max-width: 650px;
  }

  .install-grid {
    grid-template-columns: 1fr;
    max-width: 570px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(var(--shell), calc(100% - 28px));
  }

  .hero {
    padding-top: 54px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 62px);
  }

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

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

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

  .app-stage {
    min-height: 410px;
  }

  .app-stage::before {
    width: 100%;
    height: 94%;
  }

  .panel-frame {
    width: 88%;
    border-radius: 18px;
    transform: rotate(1deg) translate(5px, 12px);
  }

  .window-bar {
    height: 27px;
  }

  .hero-icon {
    top: -5px;
    left: -1px;
    width: 84px;
  }

  .shortcut-orbit {
    right: 0;
    bottom: 9px;
    padding: 7px;
  }

  .shortcut-orbit kbd {
    width: 31px;
    height: 30px;
    font-size: 14px;
  }

  .trust-items {
    grid-template-columns: 1fr;
  }

  .trust-items > div {
    min-height: 44px;
    padding-inline: 4px;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .feature-copy h2,
  .privacy-copy h2,
  .faq-intro h2,
  .final-cta h2 {
    font-size: clamp(38px, 11vw, 49px);
  }

  .section-heading > p:last-child,
  .faq-intro > p:last-child,
  .privacy-copy > p:not(.kicker) {
    font-size: 16px;
  }

  .step-card {
    min-height: 250px;
    padding: 27px;
  }

  .step-icon {
    margin-bottom: 32px;
  }

  .feature-row {
    padding-block: 52px;
  }

  .visual-card {
    min-height: 350px;
    padding: 25px;
    border-radius: 26px;
  }

  .visual-card img {
    max-height: 390px;
    border-radius: 12px;
  }

  .privacy-section {
    padding-block: 90px;
  }

  .privacy-card {
    grid-template-columns: 43px 1fr;
    padding: 18px;
  }

  .privacy-icon {
    width: 43px;
    height: 43px;
  }

  .install-card {
    min-height: 405px;
    padding: 42px 20px 28px;
  }

  .recommendation {
    top: 12px;
    right: 12px;
  }

  .faq-list summary {
    min-height: 72px;
    font-size: 16px;
  }

  .final-cta {
    padding-bottom: 90px;
  }

  .final-cta > div {
    min-height: 440px;
    padding: 58px 22px;
    border-radius: 28px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f2fb;
    --ink-soft: #d4cfdd;
    --muted: #aaa4b5;
    --line: rgba(255, 255, 255, 0.1);
    --surface: #211e27;
    --surface-soft: #29252f;
    --purple: #a899ff;
    --purple-dark: #6955e4;
    --purple-soft: rgba(136, 113, 255, 0.17);
    --shadow-sm: 0 12px 35px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.36);
  }

  body {
    background:
      radial-gradient(circle at 76% 4%, rgba(111, 87, 246, 0.15), transparent 24rem),
      linear-gradient(180deg, #19171e 0, #17151b 44rem);
  }

  .site-header {
    background: rgba(25, 23, 30, 0.77);
  }

  .site-header.is-scrolled {
    background: rgba(25, 23, 30, 0.91);
  }

  .eyebrow,
  .language-link,
  .button-secondary {
    background: rgba(39, 35, 47, 0.74);
  }

  .button-secondary {
    color: var(--ink);
  }

  .nav-menu {
    color: var(--ink-soft);
  }

  .app-stage::before {
    background: linear-gradient(145deg, rgba(43, 38, 53, 0.9), rgba(35, 29, 54, 0.86));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 50px 100px rgba(0, 0, 0, 0.26);
  }

  .shortcut-orbit {
    background: rgba(37, 34, 43, 0.9);
  }

  .shortcut-orbit kbd,
  .keys kbd {
    color: #f5f3f9;
    border-color: rgba(255, 255, 255, 0.11);
    background: linear-gradient(#3a3642, #2b2831);
  }

  .trust-strip,
  .step-card {
    background: rgba(32, 29, 38, 0.78);
  }

  .install-card.featured {
    background: linear-gradient(180deg, rgba(88, 68, 187, 0.15), #211e27 48%);
  }

  .availability.is-unsigned {
    color: #f0bc5d;
  }

  .install-notice {
    border-color: rgba(255, 190, 78, 0.22);
    background: rgba(255, 184, 59, 0.08);
  }

  .install-notice-icon {
    color: #ffd489;
    background: rgba(255, 184, 59, 0.16);
  }

  .step-number {
    color: rgba(255, 255, 255, 0.22);
  }

  .footer {
    background: #121116;
  }

  @media (max-width: 820px) {
    .nav-menu {
      background: rgba(31, 28, 36, 0.98);
    }
  }
}
