:root {
  color-scheme: dark;
  --bg: #071024;
  --bg-deep: #050a1c;
  --surface: rgba(15, 26, 58, 0.82);
  --surface-strong: #101b3a;
  --surface-soft: rgba(31, 45, 88, 0.48);
  --line: rgba(169, 183, 224, 0.17);
  --line-strong: rgba(119, 244, 226, 0.38);
  --text: #f7f8ff;
  --text-soft: #b9c0d8;
  --text-muted: #818ba9;
  --accent: #77f4e2;
  --accent-blue: #7d8cff;
  --focus: #c8b5ff;
  --aurora-image: url("./aurora-relay.jpg");
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  background: var(--bg-deep);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: var(--aurora-image);
  background-position: center top;
  background-size: cover;
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(5, 10, 28, 0.78);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg-deep);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 28, 0.72);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.topbar__inner {
  display: grid;
  grid-template-columns: minmax(56px, 1fr) auto minmax(56px, 1fr);
  align-items: center;
  width: min(100%, calc(var(--page-width) + 48px));
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar__title {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: background 160ms ease, transform 160ms ease;
}

.icon-button:hover {
  background: var(--surface-soft);
}

.icon-button:active {
  transform: scale(0.94);
}

.icon-button img {
  width: 25px;
  height: 25px;
}

.topbar__text-link {
  justify-self: end;
  min-width: 44px;
  padding: 9px 11px;
  border-radius: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease;
}

.topbar__text-link:hover {
  background: var(--surface-soft);
}

.reading-progress {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.reading-progress__track {
  width: 74px;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(185, 192, 216, 0.18);
}

.reading-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 120ms linear;
}

main {
  min-height: 100vh;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.about-hero::before,
.support-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--aurora-image);
  background-position: center 22%;
  background-size: cover;
  content: "";
}

.hero::after,
.about-hero::after,
.support-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 10, 28, 0.34);
  content: "";
}

.hero__content {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 148px 0 64px;
}

.eyebrow,
.section-kicker,
.brand-name {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 4px 0 18px;
}

.brand-lockup .brand-name {
  margin: 0;
}

.app-store-badge {
  display: inline-block;
  flex: 0 0 auto;
  width: 80px;
  max-width: 100%;
  cursor: pointer;
  line-height: 0;
  text-decoration: none;
  transition: transform 160ms ease;
}

.app-store-badge:hover {
  transform: translateY(-1px);
}

.app-store-badge:active {
  transform: translateY(1px) scale(0.985);
}

.app-store-badge__image {
  display: block;
  width: 100%;
  height: auto;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin-top: 0;
  text-wrap: balance;
}

.privacy-hero h1 {
  max-width: 650px;
  margin-bottom: 14px;
  font-size: clamp(46px, 6.2vw, 76px);
  font-weight: 690;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero__meta {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 15px;
}

.hero__lede {
  max-width: 670px;
  margin: 0;
  color: #d3d8e9;
  font-size: 17px;
  line-height: 1.75;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 42px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(216, 221, 241, 0.19);
  list-style: none;
}

.trust-grid li {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
  min-width: 0;
  padding-right: 22px;
}

.trust-grid li + li {
  padding-left: 24px;
  border-left: 1px solid rgba(216, 221, 241, 0.16);
}

.trust-grid img {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
}

.trust-grid strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.trust-grid span {
  color: var(--text-soft);
  font-size: 13px;
}

.document-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 760px);
  justify-content: center;
  gap: 72px;
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 120px;
}

.chapter-nav {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 2px 0 22px;
}

.chapter-nav__label {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter-nav nav {
  display: grid;
  gap: 4px;
}

.chapter-nav nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.chapter-nav nav a:hover {
  color: var(--text-soft);
  transform: translateX(2px);
}

.chapter-nav nav a.is-active {
  background: rgba(119, 244, 226, 0.08);
  color: var(--accent);
}

.chapter-nav nav a.is-active::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

.chapter-nav__switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  text-decoration: none;
}

.chapter-nav__switch img {
  width: 18px;
  height: 18px;
}

.document-content {
  min-width: 0;
}

.document-section {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 64px;
}

.document-section + .document-section {
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.section-index {
  margin: 1px 0 0;
  color: var(--accent-blue);
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.document-section h2,
.section-heading h2,
.about-manifesto h2,
.about-tech h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 660;
  line-height: 1.16;
  letter-spacing: -0.032em;
}

.document-section p,
.section-heading > p:last-child,
.about-manifesto > p,
.about-tech > p {
  color: var(--text-soft);
}

.document-section p {
  max-width: 66ch;
  margin-bottom: 0;
}

.section-body {
  min-width: 0;
}

.disclosure-list,
.feature-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

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

details summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 14px 2px;
  cursor: pointer;
  list-style: none;
  transition: background 160ms ease;
}

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

details summary:hover {
  background: rgba(125, 140, 255, 0.05);
}

.summary-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(119, 244, 226, 0.08);
  place-items: center;
}

.summary-icon img {
  width: 26px;
  height: 26px;
}

details summary strong,
details summary small {
  display: block;
}

details summary strong {
  margin-bottom: 3px;
  font-size: 17px;
  font-weight: 630;
}

details summary small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.45;
}

.summary-caret {
  width: 21px;
  height: 21px;
  transition: transform 180ms ease;
}

details[open] .summary-caret {
  transform: rotate(180deg);
}

.details-body {
  margin: -2px 0 18px 56px;
  padding: 0 28px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.72;
  animation: reveal-detail 190ms ease-out;
}

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

.plain-list {
  display: grid;
  gap: 11px;
  max-width: 66ch;
  margin: 22px 0 0;
  padding: 0;
  color: var(--text-soft);
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
}

.plain-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.security-callout {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(17, 31, 69, 0.76);
}

.security-callout > img {
  width: 36px;
  height: 36px;
}

.security-callout strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.security-callout p {
  margin: 0;
  color: #c7cee4;
  font-size: 14px;
}

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

.text-link img {
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.text-link:hover img {
  transform: translateX(3px);
}

.chapter-fab,
.chapter-dialog {
  display: none;
}

.support-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  border-bottom: 1px solid var(--line);
}

.support-hero::before {
  background-position: center 24%;
}

.support-hero::after {
  background: rgba(5, 10, 28, 0.46);
}

.support-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: 88px;
  width: min(var(--page-width), calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  padding: 124px 0 56px;
}

.support-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.support-brand > img {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.support-brand span,
.support-brand strong {
  display: block;
}

.support-brand span {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.support-brand strong {
  font-size: 16px;
  font-weight: 630;
}

.support-hero__copy h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(48px, 5.8vw, 74px);
  font-weight: 680;
  line-height: 1.07;
  letter-spacing: -0.046em;
}

.support-hero__copy > p {
  max-width: 560px;
  margin: 0;
  color: #d0d5e6;
  font-size: 17px;
}

.support-contact {
  padding: 32px;
  border: 1px solid rgba(200, 181, 255, 0.27);
  border-radius: 26px;
  background: rgba(12, 22, 50, 0.76);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.support-contact h2,
.support-checklist h2 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 660;
  letter-spacing: -0.025em;
}

.support-contact > p:not(.section-kicker) {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 14px;
}

.support-email {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
  font-weight: 580;
  text-decoration: none;
}

.support-email img {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
}

.support-email span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.support-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-action {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #061629;
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.primary-action:active,
.secondary-action:active {
  transform: scale(0.98);
}

.secondary-action.is-success {
  border-color: var(--line-strong);
  background: rgba(119, 244, 226, 0.1);
  color: var(--accent);
}

.primary-action img,
.secondary-action img {
  width: 20px;
  height: 20px;
}

.primary-action img {
  filter: brightness(0.25);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 88px;
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.support-faq__list {
  margin-top: 36px;
}

.support-checklist {
  align-self: start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(12, 22, 50, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.support-checklist ol {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.support-checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.support-checklist li > span {
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 750;
}

.support-checklist li strong,
.support-checklist li small {
  display: block;
}

.support-checklist li strong {
  margin-bottom: 2px;
  font-size: 14px;
}

.support-checklist li small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.privacy-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(119, 244, 226, 0.06);
}

.privacy-note > img {
  width: 30px;
  height: 30px;
}

.privacy-note p {
  margin: 0;
}

.privacy-note strong,
.privacy-note span {
  display: block;
}

.privacy-note strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.privacy-note span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.55;
}

.about-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 720px;
  border-bottom: 1px solid var(--line);
}

.about-hero::before {
  background-position: 50% 20%;
}

.about-hero::after {
  background: rgba(5, 10, 28, 0.48);
}

.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.92fr);
  align-items: center;
  gap: 70px;
  width: min(var(--page-width), calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 126px 0 60px;
}

.brand-intro {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.app-icon {
  width: 136px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 31px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.brand-name {
  margin: 4px 0 18px;
  color: var(--text);
  font-size: 18px;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: none;
}

.brand-intro h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 5.2vw, 64px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.046em;
}

.brand-intro .hero__lede {
  font-size: 17px;
}

.connection-flow {
  width: 100%;
  filter: drop-shadow(0 18px 42px rgba(66, 241, 217, 0.14));
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 90px;
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.section-heading > p:last-child {
  max-width: 58ch;
  margin: -4px 0 0;
}

.feature-list {
  margin-top: 38px;
}

.feature-list details summary {
  min-height: 96px;
}

.about-manifesto {
  align-self: start;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(12, 22, 50, 0.72);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.about-manifesto h2 {
  font-size: clamp(31px, 3.6vw, 48px);
}

.about-manifesto > p {
  margin-bottom: 30px;
}

.principles {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.principles li {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.principles span {
  grid-row: 1 / 3;
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 750;
}

.principles strong {
  font-size: 15px;
}

.principles small {
  color: var(--text-muted);
}

.about-tech {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 80px;
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.about-tech h2 {
  margin-bottom: 0;
}

.about-tech > p {
  max-width: 64ch;
  margin: 34px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 54px;
  border-top: 1px solid var(--line);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.site-footer__brand > img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.site-footer__brand strong,
.site-footer__brand span {
  display: block;
}

.site-footer__brand strong {
  font-size: 14px;
}

.site-footer__brand span {
  color: var(--text-muted);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 13px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.site-footer nav a:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.site-footer nav img {
  width: 19px;
  height: 19px;
}

.license-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: transparent;
  color: var(--text);
}

.license-dialog::backdrop {
  background: rgba(4, 8, 22, 0.72);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.license-dialog__card {
  padding: 26px;
  background: #0c1632;
}

.license-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.license-dialog__header h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

.license-entry {
  display: grid;
  gap: 3px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.license-entry span,
.license-dialog__card > p {
  color: var(--text-muted);
  font-size: 13px;
}

.license-dialog__card > p {
  margin: 18px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms ease, transform 540ms ease;
}

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

@media (max-width: 920px) {
  .about-hero,
  .about-hero__inner {
    min-height: auto;
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 128px 0 64px;
  }

  .connection-flow {
    width: min(680px, 100%);
    margin: 0 auto;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .about-manifesto {
    width: min(620px, 100%);
  }

  .support-hero,
  .support-hero__inner {
    min-height: auto;
  }

  .support-hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 126px 0 62px;
  }

  .support-contact {
    width: min(620px, 100%);
  }

  .support-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .support-checklist {
    width: min(620px, 100%);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    font-size: 15px;
  }

  .topbar__inner {
    height: 64px;
    padding: 0 12px;
  }

  .topbar__title {
    font-size: 16px;
  }

  .reading-progress {
    gap: 7px;
  }

  .reading-progress__track {
    width: 42px;
  }

  .hero__content {
    width: calc(100% - 40px);
    padding: 112px 0 38px;
  }

  .privacy-hero h1 {
    margin-bottom: 10px;
    font-size: 40px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero__lede {
    font-size: 15px;
  }

  .trust-grid {
    gap: 0;
    margin-top: 30px;
    padding-top: 24px;
  }

  .trust-grid li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-right: 10px;
  }

  .trust-grid li + li {
    padding-left: 12px;
  }

  .trust-grid img {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
  }

  .trust-grid strong {
    min-height: 38px;
    font-size: 13px;
    line-height: 1.42;
  }

  .trust-grid span {
    font-size: 11px;
    line-height: 1.35;
  }

  .document-layout {
    display: block;
    width: calc(100% - 40px);
    padding: 44px 0 110px;
  }

  .chapter-nav {
    display: none;
  }

  .document-section {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 44px;
  }

  .document-section + .document-section {
    padding-top: 42px;
  }

  .document-section h2,
  .section-heading h2,
  .about-manifesto h2,
  .about-tech h2 {
    margin-bottom: 14px;
    font-size: 29px;
  }

  details summary {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    gap: 12px;
    min-height: 82px;
  }

  .summary-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .summary-icon img {
    width: 24px;
    height: 24px;
  }

  details summary strong {
    font-size: 15px;
  }

  .details-body {
    margin-left: 50px;
    padding-right: 6px;
  }

  .security-callout {
    grid-template-columns: 36px 1fr;
    padding: 17px;
    border-radius: 16px;
  }

  .security-callout > img {
    width: 30px;
    height: 30px;
  }

  .chapter-fab {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid rgba(200, 181, 255, 0.38);
    border-radius: 25px;
    background: rgba(48, 34, 94, 0.92);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
    color: var(--text);
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .chapter-fab img {
    width: 23px;
    height: 23px;
  }

  .chapter-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(4, 8, 22, 0.68);
  }

  .chapter-dialog[open] {
    display: grid;
    align-items: end;
  }

  .chapter-dialog::backdrop {
    background: rgba(4, 8, 22, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .chapter-dialog__sheet {
    padding: 22px 20px calc(26px + env(safe-area-inset-bottom));
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    background: #0c1632;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.3);
    animation: sheet-in 220ms ease-out;
  }

  @keyframes sheet-in {
    from {
      transform: translateY(24px);
      opacity: 0;
    }
  }

  .chapter-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .chapter-dialog__header p,
  .chapter-dialog__header strong {
    margin: 0;
  }

  .chapter-dialog__header p {
    color: var(--text-muted);
    font-size: 12px;
  }

  .chapter-dialog nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .chapter-dialog nav a {
    min-height: 48px;
    padding: 12px;
    border-radius: 13px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 13px;
    text-decoration: none;
  }

  .about-hero__inner,
  .about-layout,
  .about-tech,
  .site-footer,
  .support-hero__inner,
  .support-layout {
    width: calc(100% - 40px);
  }

  .support-hero__inner {
    gap: 32px;
    padding: 104px 0 46px;
  }

  .support-brand {
    gap: 13px;
    margin-bottom: 22px;
  }

  .support-brand > img {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .support-hero__copy h1 {
    margin-bottom: 16px;
    font-size: 38px;
  }

  .support-hero__copy > p {
    font-size: 14px;
  }

  .support-contact {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .support-contact h2,
  .support-checklist h2 {
    font-size: 27px;
  }

  .support-actions {
    grid-template-columns: 1fr;
  }

  .support-layout {
    gap: 50px;
    padding: 58px 0;
  }

  .support-checklist {
    padding: 25px 20px;
    border-radius: 22px;
  }

  .about-hero__inner {
    gap: 30px;
    padding: 108px 0 44px;
  }

  .brand-intro {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 20px;
  }

  .app-icon {
    width: 94px;
    border-radius: 23px;
  }

  .brand-name {
    margin: 1px 0 9px;
    font-size: 14px;
  }

  .app-store-badge {
    width: min(80px, 100%);
  }

  .brand-intro h1 {
    margin-bottom: 14px;
    font-size: 37px;
    line-height: 1.12;
  }

  .brand-intro .hero__lede {
    grid-column: 1 / -1;
    font-size: 14px;
  }

  .connection-flow {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }

  .about-layout {
    gap: 54px;
    padding: 60px 0;
  }

  .about-manifesto {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .about-tech {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 56px 0;
  }

  .about-tech > p {
    margin-top: 6px;
  }

  .site-footer {
    display: grid;
    gap: 24px;
    padding: 30px 0 44px;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer nav a {
    padding: 0;
  }
}

@media (max-width: 420px) {
  .reading-progress__track {
    display: none;
  }

  .hero__content,
  .document-layout,
  .about-hero__inner,
  .about-layout,
  .about-tech,
  .site-footer,
  .support-hero__inner,
  .support-layout {
    width: calc(100% - 32px);
  }

  .privacy-hero h1 {
    font-size: 36px;
  }

  .trust-grid strong {
    font-size: 12px;
  }

  .trust-grid span {
    display: none;
  }

  .brand-intro {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }

  .app-icon {
    width: 82px;
    border-radius: 20px;
  }

  .brand-intro h1 {
    font-size: 32px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body,
  body::before,
  body::after {
    background: #fff;
    color: #111827;
  }

  .topbar,
  .chapter-nav,
  .chapter-fab,
  .chapter-dialog {
    display: none !important;
  }

  .hero,
  .about-hero {
    min-height: auto;
    background: #101b3a;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .document-layout {
    display: block;
    width: 100%;
    padding: 32px 0;
  }

  .document-section,
  .document-section p,
  .about-tech p {
    color: #27324a;
  }

  .document-section,
  .about-tech {
    break-inside: avoid;
  }
}
