:root {
  color-scheme: dark;
  --night: #070a19;
  --night-soft: #0d1229;
  --indigo: #171b46;
  --panel: rgba(19, 25, 61, 0.76);
  --panel-solid: #111735;
  --line: rgba(188, 198, 255, 0.17);
  --line-strong: rgba(146, 164, 255, 0.36);
  --moon: #fbf7ff;
  --mist: #cbd2f4;
  --muted: #9ea8d1;
  --violet: #8a6cff;
  --violet-bright: #a993ff;
  --cyan: #39d9f7;
  --coral: #ff8a8a;
  --radius-lg: 1.75rem;
  --radius-md: 1.15rem;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --content: min(1720px, calc(100vw - 6rem));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--moon);
  background:
    radial-gradient(circle at 18% 2%, rgba(101, 78, 233, 0.24), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(38, 196, 230, 0.11), transparent 24rem),
    linear-gradient(180deg, #0a0e22 0%, var(--night) 72%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.52) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(83, 225, 255, 0.34) 0 1px, transparent 1.2px);
  background-position: 0 0, 57px 83px;
  background-size: 144px 144px, 231px 231px;
  opacity: 0.22;
  pointer-events: none;
  content: "";
}

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

a {
  color: inherit;
  text-decoration-color: rgba(169, 147, 255, 0.64);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--cyan);
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: var(--night);
  background: var(--moon);
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(188, 198, 255, 0.12);
  background: rgba(7, 10, 25, 0.83);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav-shell {
  width: var(--content);
  min-height: 4.75rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--moon);
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  width: 2.4rem;
  height: 2.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-nav a {
  padding: 0.62rem 0.8rem;
  border-radius: 0.7rem;
  color: var(--mist);
  font-size: 0.91rem;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--moon);
  background: rgba(137, 111, 255, 0.14);
}

.nav-offer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.52rem 0.82rem;
  border: 1px solid rgba(57, 217, 247, 0.22);
  border-radius: 0.78rem;
  background: linear-gradient(135deg, rgba(139, 108, 255, 0.12), rgba(57, 217, 247, 0.07));
  box-shadow: inset 0 0 22px rgba(139, 108, 255, 0.05);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav .nav-offer {
  margin-left: 0.85rem;
}

.nav-offer:hover {
  border-color: rgba(57, 217, 247, 0.5);
  background: linear-gradient(135deg, rgba(139, 108, 255, 0.2), rgba(57, 217, 247, 0.12));
  transform: translateY(-1px);
}

.nav-price {
  color: var(--moon);
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.nav-offer-copy {
  display: grid;
  color: var(--mist);
  font-size: 0.7rem;
  line-height: 1.18;
}

.nav-offer-copy strong {
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-offer-copy small {
  font-size: 0.7rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  color: var(--moon);
  background: var(--panel);
  font: inherit;
  cursor: pointer;
}

.shell,
.section-shell {
  width: var(--content);
  margin-inline: auto;
}

.hero {
  position: relative;
  padding: clamp(4.2rem, 8vw, 8rem) 0 4.4rem;
  overflow: clip;
}

.hero::after {
  position: absolute;
  top: 3.5rem;
  right: -11rem;
  z-index: -1;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(105, 230, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(70, 142, 255, 0.13), 0 0 90px rgba(139, 108, 255, 0.12);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(2.5rem, 4vw, 5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.3rem, 5.5vw, 6.65rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3.1rem, 3.5vw, 4.35rem);
  white-space: nowrap;
}

.hero h1 .luminous,
.page-hero h1 .luminous {
  color: transparent;
  background: linear-gradient(100deg, #ffffff 12%, #bfafff 50%, #55e5ff 95%);
  background-clip: text;
}

.hero h1 .luminous {
  display: inline-block;
  margin-right: -0.08em;
  padding-right: 0.08em;
}

.hero-copy {
  max-width: 38rem;
  margin: 1.6rem 0 0;
  color: var(--mist);
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-actions .nav-offer {
  min-height: 3.15rem;
  padding: 0.6rem 1rem;
}

.store-headline-line {
  display: block;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  color: var(--moon);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  border-color: rgba(57, 217, 247, 0.58);
  background: rgba(57, 217, 247, 0.08);
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  color: #080b20;
  background: linear-gradient(120deg, #b8a8ff, #4ae1fa);
  box-shadow: 0 12px 36px rgba(61, 208, 242, 0.17);
}

.button-primary:hover {
  border-color: transparent;
  background: linear-gradient(120deg, #c6baff, #73eaff);
}

.app-window {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.45rem;
  border: 1px solid rgba(187, 200, 255, 0.25);
  border-radius: 1.4rem;
  background: rgba(21, 27, 62, 0.76);
  box-shadow: var(--shadow), 0 0 80px rgba(108, 81, 255, 0.16);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

.app-window::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(84, 221, 247, 0.34), transparent 28%, rgba(142, 100, 255, 0.38));
  content: "";
  filter: blur(14px);
  opacity: 0.52;
}

.app-window img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.section {
  padding: clamp(4.2rem, 7vw, 7rem) 0;
}

.section-muted {
  border-block: 1px solid rgba(188, 198, 255, 0.1);
  background: rgba(9, 13, 33, 0.62);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.feature-copy h2,
.store-copy h2,
.legal h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-heading p,
.feature-copy > p,
.store-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.constellation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  min-height: 17.5rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.icon-disc {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid rgba(93, 226, 255, 0.25);
  border-radius: 0.9rem;
  color: var(--cyan);
  background: rgba(57, 217, 247, 0.07);
}

.icon-disc svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.feature-card h3 {
  margin: 2.1rem 0 0.7rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.4rem, 6vw, 6rem);
}

.store-split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2.4rem, 5vw, 5rem);
}

.feature-split.reverse .feature-copy {
  order: -1;
}

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.screenshot-card img {
  width: 100%;
  height: auto;
}

.screenshot-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.screenshot-caption strong {
  color: var(--moon);
}

.feature-list,
.check-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--mist);
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-bright), var(--cyan));
  content: "";
}

.project-callout {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(174, 158, 255, 0.27);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(58, 220, 249, 0.14), transparent 17rem),
    linear-gradient(135deg, rgba(88, 62, 196, 0.24), rgba(14, 19, 46, 0.82));
  box-shadow: var(--shadow);
}

.project-callout::after {
  position: absolute;
  right: -4rem;
  bottom: -6rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.file-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.58rem 0.85rem;
  border: 1px solid rgba(78, 226, 255, 0.25);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(58, 220, 249, 0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  font-weight: 700;
}

.project-callout h2 {
  max-width: 15ch;
  margin: 1.6rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.project-callout p {
  max-width: 48rem;
  margin: 0;
  color: var(--mist);
  font-size: 1.08rem;
}

.format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.format-row span {
  padding: 0.55rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  color: var(--mist);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.84rem;
  font-weight: 720;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.store-card {
  min-height: 10.25rem;
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: inherit;
  background: rgba(19, 25, 61, 0.64);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.store-card:hover {
  border-color: rgba(57, 217, 247, 0.52);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22), 0 0 32px rgba(57, 217, 247, 0.08);
  transform: translateY(-3px);
}

.store-card .status {
  display: inline-flex;
  min-height: 3.05rem;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.6rem;
  border: 1px solid rgba(57, 217, 247, 0.26);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(57, 217, 247, 0.07);
  font-size: 0.73rem;
  font-weight: 790;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.store-card h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1.06rem;
}

.store-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.store-card-direct {
  position: relative;
  border-color: rgba(80, 221, 247, 0.34);
  background:
    radial-gradient(circle at 82% 18%, rgba(57, 217, 247, 0.12), transparent 10rem),
    linear-gradient(135deg, rgba(139, 108, 255, 0.14), rgba(19, 25, 61, 0.86));
}

.direct-purchase-kicker {
  position: absolute;
  top: -0.72rem;
  left: 50%;
  z-index: 1;
  padding: 0.3rem 0.62rem;
  border: 1px solid rgba(255, 138, 138, 0.5);
  border-radius: 999px;
  color: #ffaaaa;
  background: linear-gradient(135deg, rgba(92, 31, 55, 0.98), rgba(42, 24, 55, 0.98));
  box-shadow: 0 10px 26px rgba(255, 92, 116, 0.2);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.store-price {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 780;
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--panel);
}

.support-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.support-band p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(188, 198, 255, 0.12);
  background: rgba(4, 7, 18, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-brand p {
  max-width: 27rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.footer-column strong {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 0.4rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.page-hero {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 3.2rem;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  color: var(--mist);
  font-size: 1.16rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.detail-card {
  padding: clamp(1.45rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--panel);
}

.detail-card h2,
.detail-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
}

.detail-card ul {
  margin: 1.1rem 0 0;
  padding-left: 1.2rem;
  color: var(--mist);
}

.detail-card li + li {
  margin-top: 0.42rem;
}

.format-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--panel);
}

.format-table th,
.format-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.format-table th {
  width: 25%;
  color: var(--moon);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.format-table td {
  color: var(--muted);
}

.format-table tr:last-child th,
.format-table tr:last-child td {
  border-bottom: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 7rem;
}

.faq-intro h1,
.faq-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.faq-intro p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
}

.faq-list summary {
  position: relative;
  padding: 1.15rem 3rem 1.15rem 1.2rem;
  cursor: pointer;
  color: var(--moon);
  font-weight: 720;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 1.2rem;
  content: "+";
  color: var(--cyan);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.support-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--mist);
  font-size: 0.88rem;
  font-weight: 720;
}

.support-form label small {
  color: var(--muted);
  font-weight: 500;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.8rem;
  color: var(--moon);
  background: rgba(6, 9, 24, 0.74);
  font: inherit;
}

.support-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.support-form input::placeholder,
.support-form textarea::placeholder {
  color: #7781aa;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.turnstile-widget {
  min-height: 4.1rem;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-submit-row .button:disabled {
  cursor: not-allowed;
  filter: saturate(0.4);
  opacity: 0.6;
}

.form-submit-row p,
.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-submit-row p[data-state="success"] {
  color: #7ce7c3;
}

.form-submit-row p[data-state="error"] {
  color: #ffb0b0;
}

.docs-hero > .section-shell > p:last-child {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  color: var(--mist);
  font-size: 1.15rem;
}

.docs-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding: 5rem 0 7rem;
}

.docs-nav {
  position: sticky;
  top: 7rem;
  display: grid;
  align-self: start;
  gap: 0.2rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(16, 22, 52, 0.7);
}

.docs-nav strong {
  margin-bottom: 0.55rem;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.docs-nav a {
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  color: var(--mist);
  font-size: 0.9rem;
  text-decoration: none;
}

.docs-nav a:hover {
  color: var(--moon);
  background: rgba(139, 108, 255, 0.12);
}

.docs-content {
  width: min(100%, 62rem);
}

.docs-content section {
  scroll-margin-top: 7rem;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.docs-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.docs-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.docs-content h3 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.docs-content p,
.docs-content li {
  color: var(--mist);
}

.docs-content li + li {
  margin-top: 0.65rem;
}

.docs-steps,
.docs-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.docs-steps > div,
.docs-feature-grid > div,
.docs-note {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(19, 25, 61, 0.58);
}

.docs-steps span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--night);
  background: linear-gradient(135deg, var(--violet-bright), var(--cyan));
  font-weight: 850;
}

.docs-steps h3,
.docs-feature-grid h3 {
  margin-top: 1rem;
}

.docs-steps p,
.docs-feature-grid p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

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

.docs-note {
  margin-top: 1.5rem;
  border-color: rgba(57, 217, 247, 0.28);
  color: var(--mist);
}

.docs-note strong {
  color: var(--cyan);
}

.form-privacy {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.legal {
  max-width: 800px;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.legal h1 {
  max-width: 16ch;
}

.legal .effective {
  margin: 1rem 0 2.5rem;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 750;
}

.legal h2 {
  margin: 2.5rem 0 0.65rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.legal p,
.legal li {
  color: var(--mist);
}

.legal li + li {
  margin-top: 0.45rem;
}

.error-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}

.error-mark {
  position: relative;
  width: 9rem;
  height: 9rem;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #f8f5ff 0 23%, #b9a8ff 24% 36%, #5545bd 37% 58%, #171a44 59% 100%);
  box-shadow: 0 0 70px rgba(137, 108, 255, 0.26);
}

.error-mark::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--night-soft);
  content: "";
  transform: translate(2.55rem, -1.1rem);
}

.error-page h1 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.error-page p {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.centered-actions {
  justify-content: center;
}

.compact-footer {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (max-width: 1100px) {
  .hero-grid,
  .feature-split,
  .store-split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3rem;
  }

  .app-window {
    transform: none;
  }

  .constellation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1250px) {
  .nav-offer-copy small {
    display: none;
  }

  .hero-actions .nav-offer-copy small {
    display: block;
  }
}

@media (max-width: 1000px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0.7rem;
    right: 0.7rem;
    display: none;
    padding: 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 1rem;
    background: rgba(8, 11, 29, 0.97);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .site-nav .nav-offer {
    margin-left: 0;
    justify-content: flex-start;
    padding: 0.85rem;
  }

  .site-nav .nav-offer-copy small {
    display: block;
  }
}

@media (max-width: 920px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .docs-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-nav strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100% - 1.4rem, 42rem);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.45rem);
    white-space: nowrap;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .constellation-grid,
  .detail-grid,
  .store-grid,
  .troubleshooting-grid,
  .footer-grid,
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .support-band,
  .footer-bottom,
  .form-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .format-table,
  .format-table tbody,
  .format-table tr,
  .format-table th,
  .format-table td {
    display: block;
    width: 100%;
  }

  .format-table th {
    padding-bottom: 0.25rem;
    border-bottom: 0;
  }

  .format-table td {
    padding-top: 0.25rem;
  }

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

@media (max-width: 440px) {
  .hero-actions .button,
  .hero-actions .nav-offer,
  .inline-actions .button {
    width: 100%;
  }

  .hero-actions .nav-offer {
    justify-content: center;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .screenshot-caption {
    display: block;
  }

  .screenshot-caption span {
    display: block;
    margin-top: 0.2rem;
  }
}
