:root {
  color-scheme: light;
  --ink: #19191f;
  --ink-soft: #555862;
  --ink-faint: #737681;
  --paper: #f7f8fc;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --line: rgba(28, 30, 63, 0.1);
  --navy: #171847;
  --navy-deep: #101137;
  --violet: #685be8;
  --blue: #4d8ff7;
  --mint: #2de3a5;
  --cyan: #61d9dc;
  --danger: #c23e55;
  --shadow-sm: 0 12px 34px rgba(38, 40, 91, 0.09);
  --shadow-lg: 0 30px 80px rgba(25, 26, 75, 0.16);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --content: 1180px;
  --reading: 740px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 4%, rgba(104, 91, 232, 0.12), transparent 27rem),
    radial-gradient(circle at 2% 28%, rgba(77, 143, 247, 0.08), transparent 24rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

:focus-visible {
  outline: 3px solid rgba(77, 143, 247, 0.62);
  outline-offset: 4px;
  border-radius: 6px;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(28, 30, 63, 0.07);
  background: rgba(247, 248, 252, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  backdrop-filter: blur(20px) saturate(1.25);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", sans-serif;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 6px 14px rgba(23, 24, 71, 0.17);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
}

.nav-links .language-link {
  color: var(--violet);
}

.nav-links .nav-cta {
  margin-left: 4px;
  padding-inline: 15px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 6px 18px rgba(23, 24, 71, 0.18);
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: #272968;
}

.hero {
  position: relative;
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding-block: 90px 110px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  animation: reveal-up 680ms cubic-bezier(.2,.7,.2,1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 7px 12px;
  border: 1px solid rgba(104, 91, 232, 0.13);
  border-radius: 999px;
  color: #574bcf;
  background: rgba(104, 91, 232, 0.1);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(45, 227, 165, 0.14);
}

h1,
h2,
h3 {
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", "PingFang SC", sans-serif;
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.35rem, 6.2vw, 5.5rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-lede {
  max-width: 580px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(23, 24, 71, 0.2);
}

.button-primary:hover {
  background: #272968;
  box-shadow: 0 16px 34px rgba(23, 24, 71, 0.24);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.button svg,
.text-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

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

.hero-visual {
  position: relative;
  min-height: 520px;
  animation: reveal-scale 820ms 90ms cubic-bezier(.2,.7,.2,1) both;
}

.orbit {
  position: absolute;
  inset: 7% -25% 5% -2%;
  border: 42px solid rgba(104, 91, 232, 0.09);
  border-left-color: transparent;
  border-bottom-color: rgba(77, 143, 247, 0.08);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit::after {
  position: absolute;
  top: -47px;
  left: 43%;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  content: "";
  background: linear-gradient(135deg, #64f0c2, #1bd99c);
  box-shadow: 0 12px 30px rgba(28, 216, 157, 0.34);
  transform: rotate(15deg);
}

.app-shot {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(88%, 430px);
  filter: drop-shadow(0 34px 38px rgba(23, 24, 71, 0.17));
  transform: translate(-50%, -50%) rotate(1deg);
}

.panel-domain {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.app-shot.panel-domain {
  position: absolute;
}

.panel-domain::before {
  position: absolute;
  z-index: 1;
  top: 16.1%;
  left: 8.1%;
  width: 83.8%;
  aspect-ratio: 1;
  border-radius: 7%;
  content: "";
  background: #fff;
}

.panel-domain .panel-base {
  width: 100%;
  height: auto;
}

.panel-domain .panel-qr {
  position: absolute;
  z-index: 2;
  top: 24.9%;
  left: 20.2%;
  width: 59.6%;
  height: auto;
  max-height: none;
  filter: none;
  image-rendering: pixelated;
}

.panel-domain-label {
  position: absolute;
  z-index: 3;
  top: 82.1%;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 5.2%;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  color: #666;
  background: #d7d7d7;
  font-size: 12px;
  font-weight: 540;
  line-height: 1;
  transform: none;
}

.shortcut-key {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 11%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 15px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: ui-rounded, "SF Pro Rounded", sans-serif;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0.03em;
  transform: rotate(-3deg);
}

.section {
  padding-block: 110px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

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

.section-kicker {
  margin: 0 0 10px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section h2,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.section-intro {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

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

.steps::before {
  position: absolute;
  top: 52px;
  right: 18%;
  left: 18%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--violet), var(--mint), var(--blue));
  opacity: 0.35;
}

.step {
  position: relative;
  z-index: 1;
  min-height: 235px;
  padding: 28px;
  border: 1px solid rgba(31, 33, 75, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(29, 31, 76, 0.055);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(23, 24, 71, 0.19);
  font-family: ui-rounded, "SF Pro Rounded", sans-serif;
  font-size: 13px;
  font-weight: 760;
}

.step:nth-child(2) .step-number {
  color: var(--navy);
  background: var(--mint);
}

.step:nth-child(3) .step-number {
  background: var(--blue);
}

.step h3 {
  margin: 27px 0 8px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-stack {
  display: grid;
  gap: 28px;
}

.feature {
  display: grid;
  min-height: 470px;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.73);
  box-shadow: var(--shadow-sm);
}

.feature:nth-child(even) {
  grid-template-columns: 1.12fr 0.88fr;
}

.feature:nth-child(even) .feature-media {
  order: -1;
}

.feature h3 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  letter-spacing: -0.052em;
  line-height: 1.05;
}

.feature p {
  margin: 19px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.feature-media {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
}

.feature-media::before {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  content: "";
  background: rgba(104, 91, 232, 0.1);
  filter: blur(1px);
}

.feature:nth-child(2) .feature-media::before {
  background: rgba(45, 227, 165, 0.11);
}

.feature-media > img {
  position: relative;
  z-index: 1;
  max-height: 390px;
  width: auto;
  filter: drop-shadow(0 24px 28px rgba(23, 24, 71, 0.14));
}

.feature-media .panel-domain {
  z-index: 1;
  width: min(100%, 324px);
  filter: drop-shadow(0 24px 28px rgba(23, 24, 71, 0.14));
}

.feature-media .panel-domain .panel-base {
  max-height: none;
  filter: none;
}

.feature-media .panel-domain-label {
  font-size: 10px;
}

.privacy-band {
  position: relative;
  overflow: hidden;
  color: #f8f8ff;
  background:
    radial-gradient(circle at 83% 18%, rgba(45, 227, 165, 0.2), transparent 24rem),
    radial-gradient(circle at 15% 85%, rgba(104, 91, 232, 0.3), transparent 28rem),
    var(--navy-deep);
}

.privacy-band::after {
  position: absolute;
  top: -210px;
  right: -80px;
  width: 580px;
  height: 580px;
  border: 52px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
}

.privacy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.privacy-band h2 {
  color: #fff;
}

.privacy-band .section-kicker {
  color: var(--mint);
}

.privacy-band .section-intro {
  color: rgba(248, 248, 255, 0.72);
}

.privacy-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.privacy-point {
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.055);
  font-size: 14px;
  font-weight: 650;
}

.privacy-point::before {
  margin-right: 8px;
  color: var(--mint);
  content: "✓";
  font-weight: 800;
}

.privacy-band .text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.closing {
  padding-block: 120px;
  text-align: center;
}

.closing-card {
  position: relative;
  padding: 78px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}

.closing-card::before,
.closing-card::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.closing-card::before {
  top: -160px;
  left: -100px;
  width: 330px;
  height: 330px;
  border: 36px solid rgba(104, 91, 232, 0.07);
}

.closing-card::after {
  right: -70px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  background: rgba(45, 227, 165, 0.075);
}

.closing h2 {
  position: relative;
  z-index: 1;
}

.closing p {
  position: relative;
  z-index: 1;
  margin: 18px auto 28px;
  color: var(--ink-soft);
}

.closing .button {
  position: relative;
  z-index: 1;
}

.site-footer {
  padding-block: 38px 46px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-main,
.footer-links {
  display: flex;
  align-items: center;
}

.footer-main {
  justify-content: space-between;
  gap: 30px;
}

.footer-brand p {
  margin: 7px 0 0;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

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

.footer-legal {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(28, 30, 63, 0.075);
  color: var(--ink-faint);
  font-size: 12px;
}

/* Legal and support pages */
.legal-main {
  min-height: 70vh;
}

.legal-hero {
  padding-block: 92px 58px;
  text-align: center;
}

.legal-hero h1 {
  margin-inline: auto;
}

.legal-hero p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.updated {
  display: inline-block;
  margin-top: 20px;
  color: var(--ink-faint);
  font-size: 13px;
}

.reading-layout {
  display: grid;
  width: min(calc(100% - 48px), 1000px);
  margin: 0 auto 120px;
  grid-template-columns: 210px minmax(0, var(--reading));
  justify-content: space-between;
  gap: 50px;
}

.toc {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.62);
}

.toc-title {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding-block: 5px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  color: var(--violet);
}

.reading {
  min-width: 0;
}

.summary-card {
  margin-bottom: 54px;
  padding: 27px;
  border: 1px solid rgba(104, 91, 232, 0.14);
  border-radius: 22px;
  background: rgba(104, 91, 232, 0.075);
}

.summary-card h2 {
  margin-top: 0;
  font-size: 22px;
}

.summary-list {
  display: grid;
  margin: 18px 0 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  list-style: none;
}

.summary-list li::before {
  margin-right: 9px;
  color: #159a70;
  content: "✓";
  font-weight: 800;
}

.reading section {
  margin-top: 52px;
  scroll-margin-top: 110px;
}

.reading h2 {
  margin: 0 0 17px;
  font-size: 29px;
  letter-spacing: -0.035em;
}

.reading h3 {
  margin: 30px 0 11px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.reading p,
.reading li {
  color: #444750;
}

.reading p {
  margin: 0 0 17px;
}

.reading ul,
.reading ol {
  padding-left: 1.25em;
}

.reading li + li {
  margin-top: 9px;
}

.reading a,
.support-card a {
  color: #4f43c5;
  font-weight: 640;
}

.note {
  padding: 18px 20px;
  border-left: 3px solid var(--mint);
  border-radius: 0 12px 12px 0;
  background: rgba(45, 227, 165, 0.075);
}

.support-grid {
  display: grid;
  width: min(calc(100% - 48px), 960px);
  margin: 0 auto 120px;
  gap: 18px;
}

.quick-start {
  display: grid;
  margin-bottom: 34px;
  padding: 31px;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-radius: 25px;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.quick-step {
  position: relative;
  padding: 16px;
}

.quick-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px;
  color: var(--mint);
  content: "→";
  font-size: 20px;
  transform: translateY(-50%);
}

.quick-step small {
  display: block;
  margin-bottom: 5px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quick-step strong {
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", sans-serif;
  font-size: 19px;
}

.faq-group {
  margin-top: 28px;
}

.faq-group h2 {
  margin: 0 0 13px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

details {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 20px 45px 20px 5px;
  cursor: pointer;
  font-weight: 690;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 19px;
  right: 8px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: var(--violet);
  content: "+";
  background: rgba(104, 91, 232, 0.09);
  font-size: 20px;
  font-weight: 500;
  line-height: 23px;
  text-align: center;
}

details[open] summary::after {
  content: "−";
}

.answer {
  max-width: 800px;
  padding: 0 45px 22px 5px;
  color: var(--ink-soft);
}

.answer p {
  margin: 0 0 10px;
}

.answer p:last-child {
  margin-bottom: 0;
}

.kbd {
  display: inline-block;
  padding: 1px 6px 2px;
  border: 1px solid rgba(23, 24, 71, 0.16);
  border-bottom-width: 2px;
  border-radius: 6px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.85);
  font-family: ui-rounded, "SF Pro Rounded", sans-serif;
  font-size: 0.9em;
  line-height: 1.35;
}

.support-card {
  margin-top: 48px;
  padding: 34px;
  border: 1px solid rgba(104, 91, 232, 0.14);
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(104, 91, 232, 0.11), rgba(45, 227, 165, 0.08));
}

.support-card h2 {
  margin: 0;
  font-size: 29px;
}

.support-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal-scale {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .nav-links a:not(.language-link):not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 72px 82px;
  }

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

  .hero-visual {
    min-height: 460px;
  }

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

  .steps::before {
    display: none;
  }

  .step {
    min-height: 0;
  }

  .feature,
  .feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .feature-media {
    order: 0;
  }

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

  .reading-layout {
    display: block;
    width: min(calc(100% - 48px), var(--reading));
  }

  .toc {
    position: static;
    margin-bottom: 36px;
  }
}

@media (max-width: 620px) {
  .shell,
  .reading-layout,
  .support-grid {
    width: min(calc(100% - 36px), var(--content));
  }

  .nav {
    min-height: 68px;
    gap: 12px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links .nav-cta {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 31px;
    height: 31px;
  }

  .hero {
    min-height: 0;
    padding-block: 58px 70px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

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

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

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .app-shot {
    width: min(96%, 365px);
  }

  .shortcut-key {
    right: 0;
    bottom: 5%;
  }

  .section {
    padding-block: 78px;
  }

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

  .section h2,
  .legal-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .feature {
    min-height: 0;
    padding: 32px 24px;
    border-radius: 28px;
  }

  .feature-media {
    min-height: 280px;
  }

  .feature-media img {
    max-height: 310px;
  }

  .privacy-points,
  .summary-list {
    grid-template-columns: 1fr;
  }

  .closing {
    padding-block: 78px;
  }

  .closing-card {
    padding: 58px 22px;
    border-radius: 28px;
  }

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

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

  .legal-hero {
    padding-block: 68px 42px;
  }

  .toc {
    display: none;
  }

  .summary-card,
  .support-card {
    padding: 23px;
  }

  .quick-start {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .quick-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -11px;
    left: 17px;
    content: "↓";
    transform: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #f5f5fb;
    --ink-soft: #bbbcc8;
    --ink-faint: #8f91a1;
    --paper: #0e0f23;
    --surface: rgba(28, 29, 61, 0.78);
    --surface-solid: #1b1c3a;
    --line: rgba(230, 231, 255, 0.12);
    --navy: #7670ef;
    --navy-deep: #090a20;
  }

  body {
    background:
      radial-gradient(circle at 88% 4%, rgba(104, 91, 232, 0.19), transparent 27rem),
      radial-gradient(circle at 2% 28%, rgba(77, 143, 247, 0.11), transparent 24rem),
      var(--paper);
  }

  .site-header {
    background: rgba(14, 15, 35, 0.78);
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.07);
  }

  .nav-links .nav-cta,
  .button-primary {
    color: #11122f;
    background: var(--mint);
  }

  .nav-links .nav-cta:hover,
  .button-primary:hover {
    color: #11122f;
    background: #5aebbc;
  }

  .button-secondary,
  .step,
  .feature,
  .closing-card,
  .toc,
  details {
    background: rgba(255, 255, 255, 0.045);
  }

  .reading p,
  .reading li {
    color: #c5c6d1;
  }

  .summary-card {
    background: rgba(104, 91, 232, 0.12);
  }

  .kbd {
    color: #e9e9ff;
    background: rgba(255, 255, 255, 0.08);
  }
}

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

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