/*
 * Legal pages
 * A product-first legal experience that shares the landing page's navy/cyan
 * visual language while keeping long-form policy content readable.
 */

.legal-page {
  --legal-navy: #071d32;
  --legal-navy-soft: #0c2b46;
  --legal-blue: #087fdb;
  --legal-cyan: #63dcf8;
  --legal-ink: #10283b;
  --legal-copy: #445f73;
  --legal-muted: #526a7c;
  --legal-line: #dbe5ec;
  --legal-canvas: #edf3f7;
  --legal-surface: #fff;
  color: var(--legal-ink);
  background: var(--legal-canvas);
}

.legal-page .subpage-main {
  overflow: clip;
}

.legal-page .site-header {
  border-bottom-color: rgba(8, 35, 57, .09);
  box-shadow: none;
}

.legal-page .header-inner {
  gap: 24px;
}

.legal-header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  color: #60778a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition: color .2s ease, background-color .2s ease;
}

.legal-header__nav a:hover {
  color: var(--legal-navy);
  background: #f0f5f8;
}

.legal-header__nav a[aria-current="page"] {
  color: #0d5f9b;
  background: #e9f5fd;
}

.legal-header__home {
  margin-left: 4px;
  color: #fff !important;
  background: var(--legal-navy) !important;
}

.legal-header__home svg {
  width: 14px;
  margin-left: 7px;
}

.legal-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.legal-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--legal-blue);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.legal-hero {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  padding: 86px 0 82px;
  overflow: hidden;
  color: #fff;
  background: var(--legal-navy);
  border: 0;
}

.legal-hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  right: max(0px, calc((100vw - 1320px) / 2));
  width: min(46vw, 690px);
  height: 100%;
  content: "";
  background:
    linear-gradient(rgba(99, 220, 248, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 220, 248, .065) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000);
}

.legal-hero::after {
  position: absolute;
  z-index: -1;
  top: 76px;
  right: max(-220px, calc((100vw - 1650px) / 2));
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(99, 220, 248, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(99, 220, 248, .025),
    0 0 0 140px rgba(99, 220, 248, .018);
}

.legal-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 475px);
  align-items: center;
  gap: clamp(64px, 8vw, 120px);
}

.legal-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.legal-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #a9becc;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
}

.legal-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  color: var(--legal-cyan);
  border: 1px solid rgba(99, 220, 248, .34);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.legal-hero h1 {
  max-width: 640px;
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(52px, 5.6vw, 78px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: 1.04;
}

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

.legal-hero__description {
  max-width: 580px;
  margin: 0;
  color: #afc2d0 !important;
  font-size: clamp(16px, 1.45vw, 19px) !important;
  line-height: 1.8;
}

.legal-hero__release {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 34px;
}

.legal-hero__release span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d4e1e9;
  font-size: 11px;
  font-weight: 750;
}

.legal-hero__release span:first-child::before {
  width: 7px;
  height: 7px;
  content: "";
  background: #45d6a5;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(69, 214, 165, .11);
}

.legal-hero__release span + span {
  color: #829bac;
}

.legal-console {
  position: relative;
  z-index: 2;
  padding: 12px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  box-shadow: 0 38px 90px rgba(0, 0, 0, .24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.legal-console__surface {
  padding: 24px;
  background: #0c2b46;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 21px;
}

.legal-console__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.legal-console__header > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b8cad6;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.legal-console__header > span:first-child::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--legal-cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(99, 220, 248, .8);
}

.legal-console__secure {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: #8fefcf;
  background: rgba(69, 214, 165, .1);
  border: 1px solid rgba(69, 214, 165, .2);
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.legal-console__visual {
  position: relative;
  display: grid;
  height: 144px;
  margin-bottom: 20px;
  place-items: center;
}

.legal-console__visual::before,
.legal-console__visual::after {
  position: absolute;
  width: 126px;
  height: 126px;
  content: "";
  border: 1px solid rgba(99, 220, 248, .17);
  border-radius: 50%;
}

.legal-console__visual::after {
  width: 86px;
  height: 86px;
  border-color: rgba(99, 220, 248, .28);
}

.legal-console__shield {
  position: relative;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  color: var(--legal-navy);
  background: var(--legal-cyan);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(99, 220, 248, .18);
  place-items: center;
  transform: rotate(45deg);
}

.legal-console__shield svg {
  width: 29px;
  transform: rotate(-45deg);
}

.legal-console__node {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 2px solid var(--legal-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(99, 220, 248, .08);
}

.legal-console__node--one { top: 14px; left: 31%; }
.legal-console__node--two { right: 25%; bottom: 22px; }
.legal-console__node--three { bottom: 18px; left: 22%; }

.legal-console__rows {
  display: grid;
  gap: 8px;
}

.legal-console__row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 13px;
}

.legal-console__icon {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--legal-cyan);
  background: rgba(99, 220, 248, .09);
  border-radius: 10px;
  place-items: center;
}

.legal-console__icon svg {
  width: 17px;
}

.legal-console__row small,
.legal-console__row strong {
  display: block;
}

.legal-console__row small {
  margin-bottom: 1px;
  color: #7894a8;
  font-size: 9px;
  font-weight: 750;
}

.legal-console__row strong {
  color: #eaf3f8;
  font-size: 12px;
  letter-spacing: -.02em;
}

.legal-console__row em {
  padding: 4px 8px;
  color: #b8cad6;
  background: rgba(255, 255, 255, .055);
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.legal-console__row em.is-choice {
  color: var(--legal-cyan);
  background: rgba(99, 220, 248, .09);
}

.privacy-summary {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 48px;
  padding: 66px 0;
  background: transparent;
  border: 0;
}

.privacy-summary__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.privacy-summary__heading span {
  color: #0565a9;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
}

.privacy-summary__heading strong {
  color: var(--legal-ink);
  font-size: 25px;
  letter-spacing: -.05em;
}

.privacy-summary__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.privacy-summary article {
  position: relative;
  min-width: 0;
  min-height: 192px;
  padding: 24px;
  overflow: hidden;
  background: var(--legal-surface);
  border: 1px solid rgba(16, 40, 59, .08);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(7, 29, 50, .07);
}

.privacy-summary article::after {
  position: absolute;
  right: -28px;
  bottom: -46px;
  width: 112px;
  height: 112px;
  content: "";
  border: 18px solid #eef7fc;
  border-radius: 50%;
}

.privacy-summary article + article {
  border-left: 1px solid rgba(16, 40, 59, .08);
}

.privacy-summary article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  margin-bottom: 28px;
  color: #fff;
  background: var(--legal-navy);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.privacy-summary h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--legal-ink);
  font-size: 18px;
  letter-spacing: -.04em;
}

.privacy-summary p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--legal-copy);
  font-size: 13px;
  line-height: 1.72;
}

.privacy-map {
  padding: 84px 0 90px;
  color: #fff;
  background: var(--legal-navy);
}

.privacy-map__heading {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 42px;
}

.privacy-map__heading p {
  margin: 5px 0 0;
  color: var(--legal-cyan);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
}

.privacy-map__heading h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: -.06em;
}

.privacy-map__heading h2 span {
  color: #91a9b8;
}

.privacy-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.privacy-flow__node {
  position: relative;
  min-height: 174px;
  padding: 24px;
  background: #0c2b46;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
}

.privacy-flow__node:not(:last-child)::after {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: -19px;
  display: grid;
  width: 25px;
  height: 25px;
  color: var(--legal-cyan);
  content: "→";
  background: var(--legal-navy);
  border: 1px solid rgba(99, 220, 248, .18);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  place-items: center;
  transform: translateY(-50%);
}

.privacy-flow__icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  color: var(--legal-cyan);
  background: rgba(99, 220, 248, .08);
  border: 1px solid rgba(99, 220, 248, .15);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 900;
  place-items: center;
}

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

.privacy-flow__node small {
  margin-bottom: 4px;
  color: #7894a8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}

.privacy-flow__node strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 15px;
}

.privacy-flow__node span {
  color: #9cb2c1;
  font-size: 11px;
  line-height: 1.62;
}

.privacy-map__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
  color: #8fa7b7;
  font-size: 11px;
}

.privacy-map__note::before {
  width: 18px;
  height: 1px;
  content: "";
  background: var(--legal-cyan);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: 92px 0 130px;
}

.privacy-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  padding: 13px;
  overflow: hidden;
  color: #fff;
  background: var(--legal-navy);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(7, 29, 50, .15);
}

.privacy-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px 15px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: -.01em;
  list-style: none;
  pointer-events: none;
}

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

.privacy-toc summary small {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 8px;
  color: #8da6b7;
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.privacy-toc ol {
  display: grid;
  gap: 3px;
  padding: 0;
  margin: 0;
  border: 0;
  list-style: none;
  counter-reset: privacy-toc;
}

.privacy-toc li {
  counter-increment: privacy-toc;
}

.privacy-toc a {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 7px 9px;
  margin: 0;
  color: #8fa7b7;
  border: 0;
  border-radius: 9px;
  font-size: 10px;
  line-height: 1.35;
  transition: color .18s ease, background-color .18s ease;
}

.privacy-toc a::before {
  color: #5e7b8f;
  content: counter(privacy-toc, decimal-leading-zero);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .04em;
}

.privacy-toc a:hover {
  color: #e8f5fb;
  background: rgba(255, 255, 255, .05);
}

.privacy-toc a.is-active {
  color: #fff;
  background: rgba(99, 220, 248, .12);
  border: 0;
  font-weight: 800;
}

.privacy-toc a.is-active::before {
  color: var(--legal-cyan);
}

.privacy-content {
  min-width: 0;
  overflow: hidden;
  background: var(--legal-surface);
  border: 1px solid rgba(16, 40, 59, .09);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(7, 29, 50, .09);
}

.privacy-intro {
  position: relative;
  padding: 48px 58px 48px 88px;
  margin: 0;
  background: #f7fafc;
  border: 0;
  border-bottom: 1px solid var(--legal-line);
}

.privacy-intro::before {
  position: absolute;
  top: 49px;
  left: 55px;
  color: var(--legal-blue);
  content: "“";
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
}

.privacy-intro p {
  max-width: 740px;
  margin: 0;
  color: var(--legal-copy);
  font-size: 15px;
  line-height: 1.88;
}

.privacy-intro p + p {
  margin-top: 10px;
}

.privacy-content a {
  color: #0969aa;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(9, 105, 170, .28);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-section {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: 66px 58px 72px;
  margin: 0;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--legal-line);
  border-radius: 0;
  box-shadow: none;
}

.privacy-section:nth-of-type(3n) {
  background: #f8fbfd;
}

.privacy-section:last-child {
  border-bottom: 0;
}

.privacy-section[data-chapter] {
  padding-top: 100px;
}

.privacy-section[data-chapter]::before {
  position: absolute;
  top: 52px;
  left: 58px;
  color: var(--legal-blue);
  content: attr(data-chapter);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
}

.privacy-section__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 25px;
  padding: 0;
  margin-bottom: 18px !important;
  color: #fff !important;
  background: var(--legal-navy);
  border-radius: 999px;
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: .09em;
}

.privacy-section h2 {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--legal-ink);
  font-size: clamp(27px, 3vw, 36px);
  letter-spacing: -.06em;
}

.privacy-section h3 {
  margin: 38px 0 12px;
  color: #173a55;
  font-size: 18px;
  letter-spacing: -.035em;
}

.privacy-section > h2 + h3 {
  margin-top: 0;
}

.privacy-section > p {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--legal-copy);
  font-size: 15px;
  line-height: 1.88;
}

.privacy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.privacy-list li {
  position: relative;
  min-height: 72px;
  padding: 15px 16px 15px 39px;
  margin: 0;
  color: var(--legal-copy);
  background: #f5f8fa;
  border: 1px solid #e3ebf0;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.7;
}

.privacy-list li::before {
  position: absolute;
  top: 19px;
  left: 17px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--legal-cyan);
  border: 2px solid var(--legal-navy);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(99, 220, 248, .15);
}

.privacy-list strong {
  color: #173a55;
}

.privacy-list--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.privacy-list--compact li {
  min-height: 0;
}

.privacy-table-wrap {
  max-width: 100%;
  margin: 30px 0;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #dbe5ec;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(7, 29, 50, .05);
  outline: none;
  -webkit-overflow-scrolling: touch;
}

.privacy-table-wrap:focus-visible {
  box-shadow: 0 0 0 3px rgba(8, 127, 219, .18);
}

.privacy-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: #fff;
}

.privacy-table--wide {
  min-width: 920px;
}

.privacy-table th,
.privacy-table td {
  padding: 17px 18px;
  border-bottom: 1px solid #e4ebf0;
  color: var(--legal-copy);
  font-size: 12px;
  line-height: 1.72;
  text-align: left;
  vertical-align: top;
}

.privacy-table thead th {
  color: #dce9f1;
  background: var(--legal-navy-soft);
  border-bottom-color: var(--legal-navy-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .02em;
}

.privacy-table tbody th {
  width: 142px;
  color: #173a55;
  background: #f4f8fa;
  font-weight: 850;
}

.privacy-table tbody tr:nth-child(even) td {
  background: #fbfcfd;
}

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

.privacy-callout {
  position: relative;
  padding: 23px 24px 23px 62px;
  margin-top: 16px;
  color: var(--legal-copy);
  background: #edf7fc;
  border: 1px solid #d3eaf6;
  border-left: 1px solid #d3eaf6;
  border-radius: 15px;
}

.privacy-callout::before {
  position: absolute;
  top: 23px;
  left: 23px;
  display: grid;
  width: 24px;
  height: 24px;
  color: #fff;
  content: "i";
  background: var(--legal-blue);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 800;
  place-items: center;
}

.privacy-callout--neutral {
  color: var(--legal-copy);
  background: #f5f8fa;
  border-color: #e1e9ee;
}

.privacy-callout--neutral::before {
  color: var(--legal-navy);
  background: var(--legal-cyan);
}

.privacy-callout h3 {
  margin: 0 0 7px;
  color: #173a55;
  font-size: 15px;
}

.privacy-callout p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.75;
}

.privacy-footnote {
  position: relative;
  padding: 17px 18px 17px 44px;
  color: #4d687a !important;
  background: #f1f6f9;
  border: 0;
  border-radius: 12px;
  font-size: 12px !important;
  line-height: 1.72 !important;
}

.privacy-footnote::before {
  position: absolute;
  top: 20px;
  left: 18px;
  color: var(--legal-blue);
  content: "※";
  font-weight: 900;
}

.privacy-card-grid,
.privacy-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 28px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

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

.privacy-card-grid article,
.privacy-choice-grid article {
  position: relative;
  min-height: 150px;
  padding: 24px 20px 21px;
  background: #fff;
  border: 1px solid #dfe8ee;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(7, 29, 50, .045);
}

.privacy-card-grid article::before,
.privacy-choice-grid article::before {
  display: block;
  width: 24px;
  height: 3px;
  margin-bottom: 24px;
  content: "";
  background: var(--legal-cyan);
  border-radius: 999px;
}

.privacy-card-grid article + article,
.privacy-choice-grid article + article {
  border-left: 1px solid #dfe8ee;
}

.privacy-card-grid h3,
.privacy-choice-grid h3 {
  margin: 0 0 9px;
  color: #173a55;
  font-size: 15px;
}

.privacy-card-grid p,
.privacy-choice-grid p {
  margin: 0;
  color: var(--legal-copy);
  font-size: 12px;
  line-height: 1.72;
}

.privacy-external-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
  border: 0;
}

.privacy-external-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 14px;
  color: #31566e;
  background: #f3f7f9;
  border: 1px solid #e0e8ed;
  border-radius: 10px;
  font-size: 11px;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}

.privacy-external-links a:hover {
  color: #075b95;
  border-color: #bdd9e9;
  transform: translateY(-1px);
}

.account-deletion-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: 34px;
  margin: 28px 0 34px;
  overflow: hidden;
  color: #dceaf3;
  background: var(--legal-navy);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(7, 29, 50, .16);
}

.account-deletion-card::after {
  position: absolute;
  top: -78px;
  right: -48px;
  width: 190px;
  height: 190px;
  content: "";
  border: 28px solid rgba(99, 220, 248, .07);
  border-radius: 50%;
}

.account-deletion-card > * {
  position: relative;
  z-index: 1;
}

.account-deletion-card .section-label {
  margin-bottom: 12px;
  color: var(--legal-cyan);
  font-size: 9px;
  letter-spacing: .16em;
}

.account-deletion-card h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 23px;
}

.account-deletion-card p {
  max-width: 510px;
  margin: 0;
  color: #aec2cf;
  font-size: 13px;
  line-height: 1.7;
}

.account-deletion-card p strong {
  color: #fff;
}

.account-deletion-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  color: var(--legal-navy);
  background: var(--legal-cyan);
  border-radius: 11px;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.account-deletion-card a:hover {
  background: #a8f0ff;
  transform: translateY(-2px);
}

.privacy-contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 26px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.privacy-contact-card > div {
  display: flex;
  min-height: 94px;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: #f3f7f9;
  border: 1px solid #e0e8ed;
  border-radius: 13px;
}

.privacy-contact-card > div:nth-child(even) {
  border-left: 1px solid #e0e8ed;
}

.privacy-contact-card > div:last-child {
  grid-column: 1 / -1;
  min-height: 82px;
  border-top: 1px solid #e0e8ed;
}

.privacy-contact-card span {
  color: var(--legal-muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .07em;
}

.privacy-contact-card strong,
.privacy-contact-card a {
  color: #173a55;
  font-size: 14px;
}

.privacy-agencies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.privacy-agencies li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  background: #f6f9fb;
  border: 1px solid #e2e9ee;
  border-radius: 10px;
  font-size: 11px;
}

.privacy-agencies a {
  text-decoration: none;
}

.privacy-agencies span {
  flex: 0 0 auto;
  color: var(--legal-muted);
}

.privacy-history {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  margin-top: 26px;
  background: var(--legal-navy);
  border: 0;
  border-radius: 12px;
  font-size: 11px;
}

.privacy-history strong {
  color: #fff;
}

.privacy-history span {
  color: #91a9b8;
}

.privacy-history a {
  color: var(--legal-cyan);
  text-decoration: none;
}

.legal-page .site-footer--compact {
  padding-top: 24px;
}

.legal-page .footer-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (min-width: 981px) {
  .privacy-toc:not([open]) > ol {
    display: grid;
  }
}

@media (max-width: 1080px) {
  .legal-hero__inner {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 48px;
  }

  .privacy-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .privacy-section {
    padding-inline: 46px;
  }

  .privacy-section[data-chapter]::before {
    left: 46px;
  }
}

@media (max-width: 900px) {
  .legal-hero {
    min-height: 0;
    padding-block: 68px;
  }

  .legal-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }

  .legal-hero__copy {
    max-width: 700px;
  }

  .legal-console {
    width: min(100%, 640px);
  }

  .legal-console__visual {
    height: 126px;
  }

  .privacy-summary,
  .privacy-map__heading {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 30px;
  }

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

  .privacy-summary article {
    min-height: 0;
  }

  .privacy-summary article > span {
    margin-bottom: 18px;
  }

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

  .privacy-flow__node:nth-child(2)::after {
    display: none;
  }

  .privacy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .privacy-toc {
    position: static;
  }

  .privacy-toc summary {
    pointer-events: auto;
  }

  .privacy-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 4px;
  }
}

@media (max-width: 700px) {
  .legal-page {
    --header-height: 66px;
  }

  .legal-page .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .legal-header__nav a:not(.legal-header__home) {
    display: none;
  }

  .legal-header__home {
    width: 44px;
    min-height: 44px !important;
    padding: 0 !important;
    font-size: 0 !important;
    justify-content: center;
  }

  .legal-header__home svg {
    width: 16px;
    margin: 0;
  }

  .legal-hero {
    padding: 32px 0 34px;
  }

  .legal-hero::before {
    right: -100px;
    width: 88vw;
    opacity: .7;
  }

  .legal-hero::after {
    top: 240px;
    right: -310px;
  }

  .legal-hero__inner {
    gap: 28px;
  }

  .legal-kicker {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .legal-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(41px, 12.6vw, 55px);
    line-height: 1.07;
  }

  .legal-hero__description {
    font-size: 15px !important;
    line-height: 1.72;
  }

  .legal-hero__release {
    margin-top: 25px;
  }

  .legal-console {
    padding: 8px;
    border-radius: 23px;
  }

  .legal-console__surface {
    padding: 18px;
    border-radius: 16px;
  }

  .legal-console__visual {
    display: none;
  }

  .legal-console__header {
    margin-bottom: 14px;
  }

  .legal-console__row {
    min-height: 50px;
  }

  .legal-console__row small {
    font-size: 10px;
  }

  .privacy-summary {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0 34px;
  }

  .privacy-summary__heading {
    padding: 0;
  }

  .privacy-summary__heading strong {
    font-size: 24px;
  }

  .privacy-summary__items {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: calc(100% + 16px);
    padding: 2px 16px 16px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .privacy-summary__items::-webkit-scrollbar {
    display: none;
  }

  .privacy-summary article {
    flex: 0 0 min(82vw, 315px);
    min-height: 162px;
    padding: 20px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .privacy-summary article + article {
    border: 1px solid rgba(16, 40, 59, .08);
  }

  .privacy-summary article > span {
    width: 30px;
    height: 22px;
    margin-bottom: 15px;
  }

  .privacy-summary h2 {
    font-size: 17px;
  }

  .privacy-summary p {
    display: block;
    font-size: 13px;
  }

  .privacy-map {
    padding: 42px 0 44px;
  }

  .privacy-map__heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }

  .privacy-map__heading h2 {
    font-size: 29px;
  }

  .privacy-flow {
    display: flex;
    flex-wrap: nowrap;
    gap: 9px;
    width: calc(100% + 16px);
    padding: 2px 16px 14px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .privacy-flow::-webkit-scrollbar {
    display: none;
  }

  .privacy-flow__node {
    flex: 0 0 min(79vw, 304px);
    min-height: 166px;
    padding: 19px;
    scroll-snap-align: start;
  }

  .privacy-flow__node:not(:last-child)::after {
    top: 50%;
    right: -17px;
    bottom: auto;
    content: "→";
    transform: translateY(-50%);
  }

  .privacy-flow__icon {
    margin-bottom: 17px;
  }

  .privacy-flow__node span {
    font-size: 12.5px;
  }

  .privacy-map__note {
    align-items: flex-start;
    line-height: 1.6;
  }

  .privacy-map__note::before {
    margin-top: 8px;
    flex: 0 0 auto;
  }

  .privacy-layout {
    gap: 14px;
    padding: 18px 0 76px;
  }

  .privacy-toc {
    padding: 7px;
    border-radius: 15px;
  }

  .privacy-toc summary {
    position: relative;
    padding: 9px 10px;
    padding-right: 35px;
    cursor: pointer;
    pointer-events: auto;
  }

  .privacy-toc summary::after {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 7px;
    height: 7px;
    content: "";
    border-right: 1.5px solid var(--legal-cyan);
    border-bottom: 1.5px solid var(--legal-cyan);
    transform: translateY(-65%) rotate(45deg);
    transition: transform .2s ease;
  }

  .privacy-toc[open] summary::after {
    transform: translateY(-25%) rotate(225deg);
  }

  .privacy-toc ol {
    grid-template-columns: 1fr;
    gap: 1px;
    padding: 5px 0 3px;
    border-top: 1px solid rgba(255, 255, 255, .07);
  }

  .privacy-toc a {
    min-height: 39px;
    font-size: 12px;
  }

  .privacy-content {
    border-radius: 18px;
  }

  .privacy-intro {
    padding: 34px 24px 34px 48px;
  }

  .privacy-intro::before {
    top: 36px;
    left: 22px;
    font-size: 28px;
  }

  .privacy-intro p {
    font-size: 14.5px;
    line-height: 1.8;
  }

  .privacy-section,
  .privacy-section[data-chapter] {
    padding: 48px 22px 52px;
  }

  .privacy-section[data-chapter] {
    padding-top: 76px;
  }

  .privacy-section[data-chapter]::before {
    top: 37px;
    left: 22px;
  }

  .privacy-section h2 {
    margin-bottom: 24px;
    font-size: 27px;
  }

  .privacy-section h3 {
    margin-top: 32px;
    font-size: 17px;
  }

  .privacy-section > p {
    font-size: 14px;
    line-height: 1.82;
  }

  .privacy-list,
  .privacy-list--compact,
  .privacy-card-grid,
  .privacy-choice-grid,
  .privacy-contact-card,
  .privacy-agencies,
  .privacy-external-links {
    grid-template-columns: 1fr;
  }

  .privacy-list {
    gap: 8px;
  }

  .privacy-list li {
    min-height: 0;
    padding: 14px 14px 14px 38px;
    font-size: 13px;
  }

  .privacy-list li::before {
    top: 18px;
    left: 16px;
  }

  .privacy-table-wrap {
    margin-inline: -4px;
  }

  .privacy-table th,
  .privacy-table td {
    font-size: 13px;
  }

  .privacy-table tbody th,
  .privacy-table thead th:first-child {
    position: sticky;
    z-index: 1;
    left: 0;
  }

  .privacy-table thead th:first-child {
    background: var(--legal-navy-soft);
  }

  .privacy-card-grid article,
  .privacy-choice-grid article {
    min-height: 0;
  }

  .privacy-card-grid p,
  .privacy-choice-grid p {
    font-size: 13px;
  }

  .privacy-card-grid article + article,
  .privacy-choice-grid article + article {
    border-left: 1px solid #dfe8ee;
  }

  .privacy-callout {
    padding: 20px 18px 20px 54px;
  }

  .privacy-callout::before {
    top: 20px;
    left: 18px;
  }

  .account-deletion-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 22px;
    padding: 25px 22px;
  }

  .account-deletion-card h3 {
    font-size: 21px;
  }

  .account-deletion-card a {
    width: 100%;
  }

  .privacy-contact-card > div,
  .privacy-contact-card > div:last-child {
    grid-column: auto;
    min-height: 78px;
  }

  .privacy-contact-card > div:nth-child(even) {
    border-left: 1px solid #e0e8ed;
  }

  .privacy-history {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .legal-page .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .legal-console__row {
    grid-template-columns: 31px minmax(0, 1fr) auto;
    gap: 9px;
    padding-inline: 9px;
  }

  .legal-console__icon {
    width: 31px;
    height: 31px;
  }

  .legal-console__row strong {
    font-size: 11px;
  }
}
