/* Sortwise site. Look follows the approved app prototype, direction A
   "Native Tahoe" (design/directions/a-native-tahoe/): system fonts, white
   cards with hairlines and soft shadows, glass chrome, the brand blue.
   No web fonts, no inline styles (the CSP allows only 'self'). */

:root {
  color-scheme: light dark;

  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --label: #1d1d1f;
  --label-2: #55555b; /* 7:1 on --bg */
  --label-3: #6b6b71; /* 5:1 on --bg */
  --sep: rgba(0, 0, 0, 0.1);
  --sep-strong: rgba(0, 0, 0, 0.16);
  --fill: rgba(0, 0, 0, 0.045);
  --fill-2: rgba(0, 0, 0, 0.075);

  --accent: #006fe6; /* filled controls, white text 4.75:1 */
  --accent-text: #0066d6; /* links, 5.4:1 on white */
  --accent-soft: rgba(0, 111, 230, 0.1);
  --focus: rgba(0, 111, 230, 0.55);
  --green: #1e7f3b;
  --green-soft: rgba(52, 199, 89, 0.14);
  --orange: #8a5100;
  --orange-soft: #fff1d6;
  --purple: #6e3fd1;

  --glass: rgba(250, 250, 252, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --card-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --win-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 22px 60px rgba(0, 0, 0, 0.16), 0 6px 18px rgba(0, 0, 0, 0.08);

  --glow-1: rgba(120, 203, 255, 0.42);
  --glow-2: rgba(35, 133, 244, 0.22);
  --glow-3: rgba(110, 63, 209, 0.12);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --shell: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-win: 20px;
  --r-card: 16px;
  --r-small: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618;
    --surface: #1f1f21;
    --surface-2: #262628;
    --label: #f2f2f4;
    --label-2: #b4b4ba;
    --label-3: #9c9ca3;
    --sep: rgba(255, 255, 255, 0.1);
    --sep-strong: rgba(255, 255, 255, 0.16);
    --fill: rgba(255, 255, 255, 0.06);
    --fill-2: rgba(255, 255, 255, 0.1);

    --accent: #0a6fe0;
    --accent-text: #5aa9ff;
    --accent-soft: rgba(10, 132, 255, 0.2);
    --focus: rgba(90, 169, 255, 0.7);
    --green: #30d158;
    --green-soft: rgba(48, 209, 88, 0.16);
    --orange: #ffb340;
    --orange-soft: rgba(255, 159, 10, 0.14);
    --purple: #bf9bff;

    --glass: rgba(30, 30, 33, 0.72);
    --glass-edge: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    --win-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.5), 0 22px 60px rgba(0, 0, 0, 0.5);

    --glow-1: rgba(64, 156, 255, 0.26);
    --glow-2: rgba(10, 76, 194, 0.3);
    --glow-3: rgba(140, 100, 255, 0.14);
  }
}

/* ------------------------------------------------------------ base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p, li, dd, td {
  text-wrap: pretty;
}

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

a {
  color: var(--accent-text);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

code, kbd {
  font-family: var(--mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}

.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 {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--glass);
  border-bottom: 0.5px solid var(--sep);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.site-header .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  min-height: 56px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--label);
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark img {
  width: 30px;
  height: 30px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--label-2);
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--fill);
  color: var(--label);
}

.site-nav a[aria-current="page"] {
  color: var(--label);
  font-weight: 600;
}

@media (max-width: 560px) {
  /* Two rows on a phone: let the header scroll away. */
  .site-header {
    position: static;
  }

  .site-header .shell {
    justify-content: center;
  }

  .site-nav a {
    padding: 4px 8px;
    font-size: 0.875rem;
  }
}

/* ------------------------------------------------------------ buttons */

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0.5px 0 rgba(255, 255, 255, 0.25);
}

.button:hover {
  filter: brightness(1.06);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.button-secondary {
  background: var(--surface);
  color: var(--label);
  box-shadow: 0 0 0 0.5px var(--sep-strong), 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Placeholders: look like the real control, are not links and say why. */
.button.is-placeholder,
.store-badge {
  cursor: default;
  filter: none;
}

.button.is-placeholder {
  background: var(--fill-2);
  color: var(--label-2);
  box-shadow: inset 0 0 0 0.5px var(--sep-strong);
}

.button .soon {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--label-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 18px 8px 14px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--label-2);
  box-shadow: 0 0 0 0.5px var(--sep-strong);
  font-size: 0.9375rem;
  line-height: 1.25;
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.store-badge b {
  display: block;
  color: var(--label);
  font-weight: 600;
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 88px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -56px 0 auto;
  height: 620px;
  z-index: -1;
  background:
    radial-gradient(40% 55% at 22% 18%, var(--glow-1), transparent 72%),
    radial-gradient(45% 60% at 78% 10%, var(--glow-2), transparent 72%),
    radial-gradient(35% 50% at 60% 55%, var(--glow-3), transparent 74%);
  pointer-events: none;
}

.hero .shell {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero .shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  }
}

.hero-icon {
  width: 112px;
  height: 112px;
  margin: -8px 0 12px -8px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero .tagline {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.hero .lede {
  max-width: 34em;
  margin-top: 16px;
  color: var(--label-2);
}

.hero .requirements {
  margin-top: 14px;
  color: var(--label-3);
  font-size: 0.9375rem;
}

.hero .actions {
  margin-top: 28px;
}

.hero .price-line {
  margin-top: 14px;
  color: var(--label-3);
  font-size: 0.875rem;
}

/* The before → after illustration (CSS only, generic names). */

.demo {
  display: grid;
  gap: 14px;
  align-items: center;
}

@media (min-width: 640px) {
  .demo {
    grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.1fr);
  }

  .demo .rule-chip {
    grid-column: 1 / -1;
  }
}

.demo-window {
  align-self: stretch;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--win-shadow);
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 0.5px solid var(--sep);
  background: var(--surface-2);
  color: var(--label-2);
  font-weight: 600;
  font-size: 0.75rem;
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

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

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

.demo-list {
  padding: 6px 0;
  list-style: none;
}

.demo-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  min-width: 0;
}

.demo-list li + li {
  border-top: 0.5px solid var(--sep);
}

.demo-list .name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.demo-before .name {
  color: var(--label-2);
}

.ficon {
  position: relative;
  flex: none;
  width: 16px;
  height: 20px;
  border-radius: 3px;
  background: var(--fill-2);
  box-shadow: inset 0 0 0 0.5px var(--sep-strong);
}

.ficon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 4px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.85;
}

.ficon.pdf { color: #e5483d; }
.ficon.png { color: var(--accent); }
.ficon.dmg { color: #8e8e93; }

.folder-icon {
  flex: none;
  width: 18px;
  height: 14px;
  color: var(--accent);
}

.demo-tree .path {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-tree .crumb {
  color: var(--label-3);
  font-size: 0.75rem;
}

.demo-tree .name {
  color: var(--label);
  font-weight: 500;
}

.demo-arrow {
  justify-self: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 111, 230, 0.3);
}

@media (max-width: 639px) {
  .demo-arrow {
    transform: rotate(90deg);
  }
}

.rule-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--glass);
  box-shadow: var(--card-shadow);
  font-size: 0.875rem;
  line-height: 1.4;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.chip-label {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
}

.token {
  padding: 0 5px;
  border-radius: 5px;
  background: var(--fill-2);
  font-family: var(--mono);
  font-size: 0.92em;
}

.pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.pill-green {
  background: var(--green-soft);
  color: var(--green);
}

.pill-orange {
  background: var(--orange-soft);
  color: var(--orange);
}

/* ------------------------------------------------------------ sections */

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section + .section {
  border-top: 0.5px solid var(--sep);
}

.section-head {
  max-width: 44em;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  font-weight: 700;
}

.section-head p {
  margin-top: 12px;
  color: var(--label-2);
}

.card {
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

/* How it works */

.steps {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.steps li {
  padding: 24px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
}

.steps h3 {
  font-size: 1.1875rem;
  font-weight: 650;
}

.steps p {
  margin-top: 8px;
  color: var(--label-2);
  font-size: 0.9875rem;
}

.steps .rule-chip {
  margin-top: 14px;
  box-shadow: none;
  background: var(--fill);
}

.mini-review {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--fill);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.mini-review .to {
  display: block;
  margin-top: 2px;
  color: var(--label-2);
  overflow-wrap: anywhere;
}

.mini-review .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.mini-review .fake-btn {
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 0 0 0.5px var(--sep-strong);
  font-size: 0.75rem;
}

.mini-review .fake-btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

/* Features */

.features {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.features li {
  padding: 24px;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.tile-icon svg {
  width: 24px;
  height: 24px;
}

.tile-icon.green {
  background: var(--green-soft);
  color: var(--green);
}

.tile-icon.orange {
  background: var(--orange-soft);
  color: var(--orange);
}

.tile-icon.purple {
  background: rgba(110, 63, 209, 0.12);
  color: var(--purple);
}

/* The last, odd tile spans the row, icon beside the text. */
@media (min-width: 640px) {
  .features li.wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }

  .features li.wide .tile-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .features li.wide p {
    max-width: 52em;
  }
}

.features h3 {
  font-size: 1.125rem;
  font-weight: 650;
}

.features p {
  margin-top: 8px;
  color: var(--label-2);
  font-size: 0.96875rem;
}

/* Privacy summary */

.privacy-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .privacy-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.privacy-main {
  padding: clamp(24px, 4vw, 36px);
}

.privacy-main .big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.privacy-main p + p {
  margin-top: 12px;
}

.privacy-main p:not(.big) {
  color: var(--label-2);
}

.checks {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 36px);
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--label-2);
  font-size: 0.96875rem;
}

.checks li strong {
  color: var(--label);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 6px;
  height: 10px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.more-link {
  margin-top: 20px;
  font-weight: 600;
}

/* Pro */

.pro-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 960px) {
  .pro-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.compare-wrap {
  padding: 8px 0;
  overflow-x: auto;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare caption {
  padding: 14px 20px 6px;
  text-align: left;
  font-weight: 650;
  font-size: 1.0625rem;
}

.compare th,
.compare td {
  padding: 11px 20px;
  text-align: left;
  vertical-align: middle;
}

.compare thead th {
  color: var(--label-3);
  font-size: 0.8125rem;
  font-weight: 600;
}

.compare tbody tr + tr th,
.compare tbody tr + tr td {
  border-top: 0.5px solid var(--sep);
}

.compare tbody th {
  font-weight: 500;
}

@media (max-width: 560px) {
  .compare th,
  .compare td {
    padding: 10px 12px;
  }

  .compare caption {
    padding: 14px 12px 6px;
  }
}

.compare td {
  width: 26%;
  color: var(--label-2);
}

.compare td.pro {
  color: var(--label);
  font-weight: 500;
}

.yes,
.no {
  display: inline-block;
  vertical-align: middle;
}

.yes svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.no svg {
  width: 20px;
  height: 20px;
  color: var(--label-3);
}

.price-stack {
  display: grid;
  gap: 16px;
}

.price-card {
  padding: 24px;
}

.price-card h3 {
  font-size: 1.125rem;
  font-weight: 650;
}

.price {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price small {
  color: var(--label-3);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
}

.price-card ul {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-left: 1.1em;
  color: var(--label-2);
  font-size: 0.9375rem;
}

.price-card .actions {
  margin-top: 18px;
}

.price-banner {
  padding: 16px 20px;
  border-radius: var(--r-card);
  background: var(--accent-soft);
  color: var(--label);
  font-weight: 600;
  text-align: center;
}

.fineprint {
  margin-top: 12px;
  color: var(--label-3);
  font-size: 0.8125rem;
}

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq details {
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border: solid var(--label-3);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.18s ease-out;
}

.faq details[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq summary:focus-visible {
  border-radius: 14px;
}

.faq .answer {
  padding: 0 20px 18px;
  color: var(--label-2);
}

.faq .answer p + p {
  margin-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after {
    transition: none;
  }
}

/* ------------------------------------------------------------ footer */

.site-footer {
  padding: 36px 0 44px;
  border-top: 0.5px solid var(--sep);
  color: var(--label-3);
  font-size: 0.875rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 0;
  list-style: none;
}

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

.trademarks {
  margin-top: 16px;
  max-width: 60em;
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------ documents (privacy) */

.doc-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
}

.doc-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
}

.doc-hero p {
  margin-top: 10px;
  color: var(--label-3);
}

.doc-layout {
  display: grid;
  gap: 32px;
  padding-bottom: clamp(56px, 8vw, 96px);
}

@media (min-width: 1000px) {
  .doc-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }

  .toc {
    position: sticky;
    top: 80px;
  }
}

.toc {
  padding: 20px;
  font-size: 0.875rem;
}

.toc h2 {
  margin-bottom: 8px;
  color: var(--label-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 4px;
  padding-left: 1.4em;
}

.toc a {
  color: var(--label-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}

.prose {
  max-width: 760px;
  min-width: 0;
}

.prose > * + * {
  margin-top: 14px;
}

.prose h2 {
  margin-top: 48px;
  padding-top: 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.prose h3 {
  margin-top: 28px;
  font-size: 1.125rem;
  font-weight: 650;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 6px;
}

.prose .summary {
  padding: 20px 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.prose .summary > * + * {
  margin-top: 10px;
}

.note {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--label);
  font-size: 0.9375rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
}

.data-table caption {
  padding: 14px 16px 4px;
  text-align: left;
  color: var(--label-3);
  font-size: 0.8125rem;
}

.data-table th,
.data-table td {
  padding: 10px 16px;
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  color: var(--label-3);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.data-table tbody tr th,
.data-table tbody tr td {
  border-top: 0.5px solid var(--sep);
}

.data-table tbody th {
  font-weight: 600;
}

.data-table td {
  color: var(--label-2);
}

.data-table.narrow {
  min-width: 480px;
}

/* ------------------------------------------------------------ thanks, 404 */

.center-page {
  padding: clamp(56px, 10vw, 120px) 0;
  text-align: center;
}

.center-page .shell {
  max-width: 680px;
}

.center-page img {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
}

.center-page h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
}

.center-page .lede {
  margin-top: 14px;
  color: var(--label-2);
  font-size: 1.125rem;
}

.center-page .actions {
  justify-content: center;
  margin-top: 28px;
}

.how-to {
  margin-top: 28px;
  padding: 22px 24px;
  text-align: left;
}

.how-to h2 {
  font-size: 1.0625rem;
  font-weight: 650;
}

.how-to ol {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding-left: 1.3em;
  color: var(--label-2);
}

.how-to p {
  margin-top: 12px;
  color: var(--label-3);
  font-size: 0.9375rem;
}

.test-note {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 600;
}
