:root {
  color-scheme: light;
  --paper: #fffdf7;
  --white: #ffffff;
  --ink: #172619;
  --forest: #214e32;
  --leaf: #6e8f55;
  --sun: #f0b83f;
  --sky: #dcecf1;
  --coral: #d77a68;
  --surface: #f4f7f1;
  --line: #d7ded0;
  --muted: #5c675e;
  --content: 1240px;
  --header-height: 66px;
  --radius: 6px;
  --shadow-soft: 0 18px 50px rgba(23, 38, 25, 0.08);
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
}

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

a {
  color: var(--forest);
  text-underline-offset: 0.22em;
}

a:hover {
  color: #143a24;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
.brand {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 64px;
  line-height: 1.02;
  font-weight: 700;
}

h2 {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 36px;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

p {
  margin-bottom: 16px;
}

code {
  color: var(--forest);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.primary-nav {
  width: min(calc(100% - 40px), var(--content));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.primary-links {
  display: flex;
  align-items: stretch;
  min-height: var(--header-height);
}

.primary-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.primary-links a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: transparent;
  content: "";
}

.primary-links a:hover,
.primary-links a[aria-current="page"] {
  color: var(--forest);
}

.primary-links a[aria-current="page"]::after {
  background: var(--forest);
}

main {
  min-height: 70vh;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.privacy-hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.hero-intro {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 62px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: end;
  column-gap: clamp(48px, 7vw, 110px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.platform-kicker {
  margin-bottom: 10px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-lead {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-summary {
  max-width: 46ch;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 17px;
}

.hero-scene {
  width: min(100%, 1440px);
  height: clamp(260px, 25vw, 360px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--sky);
  border-top: 1px solid var(--line);
}

.hero-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.proof-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  min-width: 0;
  padding: 18px 18px 18px 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.proof-item + .proof-item {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.proof-item strong {
  font-size: 14px;
  line-height: 1.35;
}

.proof-number,
.permission-number {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.1;
}

.proof-item:nth-child(2) .proof-number {
  color: #3b7690;
}

.proof-item:nth-child(3) .proof-number {
  color: var(--coral);
}

.section {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.declaration-section {
  padding-top: 54px;
}

.section-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.section-heading > * {
  margin-bottom: 0;
}

.section-heading-wide > p {
  max-width: 58ch;
  color: var(--muted);
}

.section-note {
  color: var(--muted);
  font-size: 13px;
}

.declaration-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.declaration-column {
  padding: 34px 38px 30px;
}

.declaration-column + .declaration-column {
  background: var(--sky);
  border-left: 1px solid var(--line);
}

.declaration-column > p:not(.platform-kicker):not(.store-answer) {
  max-width: 52ch;
  color: var(--muted);
}

.declaration-list {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.declaration-list div {
  min-height: 44px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.declaration-list dt {
  color: var(--muted);
}

.declaration-list dd {
  margin-bottom: 0;
  color: var(--forest);
  font-weight: 750;
}

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

.data-table-wrap {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-ledger {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.data-ledger th {
  padding: 14px 16px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0;
}

.data-ledger th:first-child {
  width: 23%;
}

.data-ledger th:nth-child(2),
.data-ledger th:nth-child(3),
.data-ledger th:nth-child(4) {
  width: 10%;
}

.data-ledger th:last-child {
  width: 47%;
}

.data-ledger td {
  padding: 15px 16px;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.data-ledger td:first-child span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.status-no {
  color: var(--forest);
  font-weight: 800;
}

.permission-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.permission-index article {
  min-width: 0;
  padding: 28px 24px 28px 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
}

.permission-index article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.permission-index article:nth-child(2) .permission-number {
  color: #3b7690;
}

.permission-index article:nth-child(3) .permission-number {
  color: #b2741a;
}

.permission-index article:nth-child(4) .permission-number {
  color: var(--coral);
}

.permission-index h3,
.choice-list h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

.permission-index p,
.choice-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.info-band {
  min-height: 250px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.45fr);
  align-items: center;
  gap: 54px;
  overflow: hidden;
  background: var(--sky);
  border: 1px solid #c8dce2;
  border-radius: var(--radius);
}

.info-band > div {
  padding: 42px 0 42px 44px;
}

.info-band p:not(.eyebrow) {
  max-width: 70ch;
  color: #40524a;
}

.info-band img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-left: 1px solid #c8dce2;
}

.choice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.choice-list article {
  min-width: 0;
  padding: 26px 24px 26px 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
}

.choice-list article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.choice-list article > span {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 132px;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.footer-brand p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.footer-links a {
  font-size: 13px;
  text-decoration: none;
}

/* Existing secondary pages retain a readable fallback during the staged redesign. */
.content-page {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  padding: 72px 0 90px;
}

.content-title {
  max-width: 780px;
  margin-bottom: 48px;
}

.content-title > p {
  color: var(--muted);
}

.small {
  color: var(--muted);
  font-size: 13px;
}

.policy-title,
.support-title {
  margin-bottom: 36px;
}

.policy-meta {
  color: var(--forest) !important;
  font-size: 13px;
  font-weight: 700;
}

.policy-facts {
  margin-bottom: 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-facts div {
  min-height: 112px;
  padding: 24px 26px 22px 0;
  display: grid;
  align-content: center;
}

.policy-facts div + div {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.policy-facts strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
}

.policy-facts span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 58px;
}

.policy-toc {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  align-self: start;
  display: grid;
  border-top: 1px solid var(--line);
}

.policy-toc .eyebrow {
  padding-top: 14px;
}

.policy-toc a {
  min-height: 42px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-decoration: none;
}

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

.policy-section {
  padding: 0 0 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.policy-section p,
.policy-section li {
  max-width: 68ch;
  color: #34433a;
}

.section-index {
  margin-bottom: 7px;
  color: var(--coral) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.policy-declarations {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-declarations > div {
  min-width: 0;
  padding: 26px;
}

.policy-declarations > div + div {
  border-left: 1px solid var(--line);
}

.policy-declarations ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.text-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 750;
}

.support-directory {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-row {
  min-height: 170px;
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
}

.support-row + .support-row {
  border-top: 1px solid var(--line);
}

.support-row-primary {
  background: var(--white);
  box-shadow: 24px 0 0 var(--white), -24px 0 0 var(--white);
}

.support-row-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.support-row-heading > span {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
}

.support-row-heading h2 {
  margin-bottom: 0;
  font-size: 27px;
}

.support-row-body > p {
  max-width: 66ch;
  color: var(--muted);
}

.support-actions {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.support-actions a {
  min-height: 48px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.support-actions a > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .permission-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .permission-index article:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .permission-index article:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 54px;
  }

  .hero-intro {
    width: min(calc(100% - 40px), var(--content));
    padding: 52px 0 30px;
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .hero-summary {
    max-width: 62ch;
    margin-bottom: 0;
  }

  .proof-list {
    margin-top: 12px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .declaration-band {
    grid-template-columns: 1fr;
  }

  .declaration-column + .declaration-column {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .policy-toc .eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 104px;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .site-header {
    position: sticky;
  }

  .primary-nav {
    width: min(calc(100% - 28px), var(--content));
    min-height: var(--header-height);
    padding-top: 10px;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .brand {
    font-size: 18px;
  }

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

  .primary-links {
    width: 100%;
    min-height: 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .primary-links a {
    min-width: 0;
    min-height: 44px;
    padding: 0 6px;
    justify-content: center;
    font-size: 12px;
    text-align: center;
  }

  .primary-links a::after {
    right: 6px;
    left: 6px;
  }

  .hero-intro {
    width: min(calc(100% - 28px), var(--content));
    padding: 38px 0 24px;
    row-gap: 14px;
  }

  .hero-lead {
    font-size: 24px;
  }

  .hero-summary {
    font-size: 15px;
  }

  .hero-scene {
    height: auto;
    aspect-ratio: 16 / 7;
  }

  .proof-list {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .proof-item,
  .proof-item + .proof-item {
    min-height: 0;
    padding: 12px 0;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    border-left: 0;
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--line);
  }

  .proof-item strong {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .section,
  .footer-inner,
  .content-page {
    width: min(calc(100% - 28px), var(--content));
  }

  .section {
    padding: 52px 0;
  }

  .declaration-section {
    padding-top: 44px;
  }

  .declaration-column {
    padding: 28px 22px 24px;
  }

  .data-table-wrap {
    overflow: visible;
    background: transparent;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .data-ledger,
  .data-ledger tbody,
  .data-ledger tr,
  .data-ledger td {
    display: block;
    width: 100%;
  }

  .data-ledger thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .data-ledger tr {
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .data-ledger tr:first-child {
    border-top: 0;
  }

  .data-ledger td {
    padding: 8px 10px 8px 0;
    border-top: 0;
  }

  .data-ledger td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .data-ledger td:first-child,
  .data-ledger td:last-child {
    grid-column: 1 / -1;
  }

  .data-ledger td:first-child {
    padding-bottom: 12px;
  }

  .data-ledger td:last-child {
    padding-top: 12px;
    color: #3f4d43;
  }

  .permission-index,
  .choice-list {
    grid-template-columns: 1fr;
  }

  .permission-index article,
  .permission-index article + article,
  .permission-index article:nth-child(3),
  .choice-list article,
  .choice-list article + article {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .permission-index article:first-child,
  .choice-list article:first-child {
    border-top: 0;
  }

  .info-band {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .info-band > div {
    padding: 30px 24px 22px;
  }

  .info-band img {
    height: 210px;
    border-top: 1px solid #c8dce2;
    border-left: 0;
  }

  .footer-inner {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .content-page {
    padding: 50px 0 70px;
  }

  .content-title {
    margin-bottom: 36px;
  }

  .policy-facts,
  .policy-declarations {
    grid-template-columns: 1fr;
  }

  .policy-facts div,
  .policy-facts div + div {
    min-height: 84px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .policy-facts div:first-child {
    border-top: 0;
  }

  .policy-toc {
    grid-template-columns: 1fr;
  }

  .policy-toc .eyebrow {
    grid-column: auto;
  }

  .policy-declarations > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .support-row {
    min-height: 0;
    padding: 28px 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .support-row-primary {
    box-shadow: 14px 0 0 var(--white), -14px 0 0 var(--white);
  }
}

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

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