:root {
  color-scheme: light;
  --wm-color-canvas: #e6e5e0;
  --wm-color-surface: rgba(247, 247, 245, 0.72);
  --wm-color-surface-strong: #f8f8f6;
  --wm-color-ink: #161615;
  --wm-color-ink-muted: #62625e;
  --wm-color-ink-faint: #686862;
  --wm-color-line: rgba(22, 22, 21, 0.14);
  --wm-color-line-strong: rgba(22, 22, 21, 0.28);
  --wm-color-focus: #161615;
  --wm-font-sans: "TASA Orbiter", Inter, ui-sans-serif, -apple-system,
    BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial,
    sans-serif;
  --wm-font-mono: "SFMono-Regular", "SF Mono", ui-monospace, Menlo, Consolas,
    monospace;
  --wm-page-pad: clamp(1.25rem, 4vw, 4rem);
  --wm-max-width: 100rem;
  --wm-radius-md: 1rem;
  --wm-radius-pill: 999px;
  --wm-transition: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --wm-color-canvas: #111110;
  --wm-color-surface: rgba(27, 27, 26, 0.78);
  --wm-color-surface-strong: #1c1c1b;
  --wm-color-ink: #f0f0ec;
  --wm-color-ink-muted: #a4a49d;
  --wm-color-ink-faint: #9a9a94;
  --wm-color-line: rgba(240, 240, 236, 0.13);
  --wm-color-line-strong: rgba(240, 240, 236, 0.26);
  --wm-color-focus: #f0f0ec;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--wm-color-canvas);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  min-height: 100vh;
  background: var(--wm-color-canvas);
  color: var(--wm-color-ink);
  font-family: var(--wm-font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color var(--wm-transition),
    color var(--wm-transition);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

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

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--wm-color-focus);
  outline-offset: 3px;
}

::selection {
  background: var(--wm-color-ink);
  color: var(--wm-color-canvas);
}

.privacy-shell {
  position: relative;
  min-height: 100svh;
  overflow: clip;
}

.privacy-header,
.privacy-main,
.privacy-footer {
  width: min(100%, var(--wm-max-width));
  margin-inline: auto;
  padding-inline: var(--wm-page-pad);
}

.privacy-header:not(.privacy-page-header) {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: clamp(1.25rem, 3vw, 2.75rem);
}

.privacy-page-header {
  position: absolute;
  top: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1rem 1rem;
  align-content: start;
  column-gap: 1.5rem;
  row-gap: 0.15rem;
  padding-top: clamp(1.25rem, 3vw, 2.75rem);
  pointer-events: none;
}

.privacy-header-spacer {
  height: calc(clamp(1.25rem, 3vw, 2.75rem) + 2.75rem);
}

.privacy-header .brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.privacy-header .brand-name {
  font-size: 1rem;
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.privacy-page-header > .brand-lockup {
  position: sticky;
  z-index: 20;
  top: clamp(1.25rem, 3vw, 2.75rem);
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  width: max-content;
  max-width: calc(100vw - (2 * var(--wm-page-pad)) - 7rem);
  pointer-events: auto;
}

.privacy-header .brand-society {
  color: rgb(0 0 0 / 60%);
  font-family: var(--wm-font-sans);
  font-size: 1rem;
  font-weight: 430;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.privacy-header .brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}

[data-theme="dark"] .privacy-header .brand-society {
  color: rgb(255 255 255 / 60%);
}

.privacy-header .header-actions {
  position: sticky;
  z-index: 20;
  top: clamp(1.25rem, 3vw, 2.75rem);
  display: flex;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: start;
  justify-self: end;
  gap: 0.5rem;
  pointer-events: auto;
}

.privacy-header .quiet-button {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--wm-radius-pill);
  background: rgb(255 255 255 / 48%);
  color: var(--wm-color-ink);
  cursor: pointer;
  font-family: var(--wm-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background-color var(--wm-transition),
    transform var(--wm-transition);
}

.privacy-header .quiet-button:hover {
  background: rgb(255 255 255 / 72%);
  transform: translateY(-1px);
}

[data-theme="dark"] .privacy-header .quiet-button {
  background: rgb(255 255 255 / 3.3%);
}

[data-theme="dark"] .privacy-header .quiet-button:hover {
  background: rgb(255 255 255 / 5%);
}

[data-header-mask-active="true"] {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--header-mask-cutoff) - 1.5rem),
    rgb(0 0 0 / 3%) calc(var(--header-mask-cutoff) - 0.75rem),
    rgb(0 0 0 / 10%) calc(var(--header-mask-cutoff) - 0.25rem),
    rgb(0 0 0 / 22%) calc(var(--header-mask-cutoff) + 0.25rem),
    rgb(0 0 0 / 45%) calc(var(--header-mask-cutoff) + 0.75rem),
    rgb(0 0 0 / 72%) calc(var(--header-mask-cutoff) + 1.25rem),
    rgb(0 0 0 / 90%) calc(var(--header-mask-cutoff) + 1.75rem),
    #000 calc(var(--header-mask-cutoff) + 2rem),
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--header-mask-cutoff) - 1.5rem),
    rgb(0 0 0 / 3%) calc(var(--header-mask-cutoff) - 0.75rem),
    rgb(0 0 0 / 10%) calc(var(--header-mask-cutoff) - 0.25rem),
    rgb(0 0 0 / 22%) calc(var(--header-mask-cutoff) + 0.25rem),
    rgb(0 0 0 / 45%) calc(var(--header-mask-cutoff) + 0.75rem),
    rgb(0 0 0 / 72%) calc(var(--header-mask-cutoff) + 1.25rem),
    rgb(0 0 0 / 90%) calc(var(--header-mask-cutoff) + 1.75rem),
    #000 calc(var(--header-mask-cutoff) + 2rem),
    #000 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-mode: alpha;
  mask-repeat: no-repeat;
}

.privacy-main {
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.privacy-intro {
  max-width: 42rem;
  margin-inline: auto;
}

.privacy-main .eyebrow {
  margin: 0 0 1.25rem;
  color: var(--wm-color-ink);
  font-size: 1.0625rem;
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1;
}

.privacy-main h1 {
  margin: 0;
  font-size: 3.25rem;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.effective-date {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 2rem 0 0;
  color: var(--wm-color-ink-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.language-grid {
  display: grid;
  max-width: 42rem;
  grid-template-columns: minmax(0, 1fr);
  margin-inline: auto;
  margin-top: clamp(3.5rem, 8vw, 7rem);
}

.notice-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.notice-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.notice-card section + section h3 {
  margin-top: 2.5rem;
}

.notice-card p {
  margin: 0 0 1rem;
  color: var(--wm-color-ink-muted);
  font-size: 1rem;
  line-height: 1.65;
}

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

.notice-card a {
  color: var(--wm-color-ink);
  overflow-wrap: anywhere;
}

.unsubscribe-main {
  display: grid;
  min-height: calc(100svh - 10rem);
  place-items: center;
}

.unsubscribe-card {
  width: min(100%, 46rem);
}

.unsubscribe-card h1 {
  margin-bottom: 1.5rem;
  font-size: 4.75rem;
}

.unsubscribe-form {
  margin: 2rem 0;
}

.unsubscribe-form button {
  min-height: 3rem;
  border: 0;
  border-radius: var(--wm-radius-pill);
  background: var(--wm-color-ink);
  color: var(--wm-color-canvas);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 0.75rem 1.2rem;
}

.unsubscribe-form button:focus-visible {
  outline: 2px solid var(--wm-color-focus);
  outline-offset: 3px;
}

.privacy-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  color: var(--wm-color-ink-faint);
  font-family: var(--wm-font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

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

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

.privacy-footer .footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

@media (max-width: 52rem) {
  .privacy-header:not(.privacy-page-header) {
    align-items: center;
  }

  .privacy-header .brand-lockup {
    gap: 0.5rem;
  }

  .privacy-header .brand-society {
    max-width: calc(100vw - (2 * var(--wm-page-pad)) - 7rem);
    line-height: 1;
    white-space: normal;
  }

}

@media (max-width: 48rem) {
  .privacy-main {
    padding-top: clamp(3.5rem, 14vw, 4.5rem);
    padding-bottom: clamp(4.5rem, 16vw, 6rem);
  }

  .privacy-main h1 {
    font-size: 2.5rem;
    line-height: 0.98;
  }

  .unsubscribe-card h1 {
    font-size: 2.75rem;
  }

  .effective-date {
    margin-top: var(--wm-space-5, 1.5rem);
  }

  .language-grid {
    margin-top: clamp(3rem, 14vw, 4rem);
  }

  .notice-card h3 {
    font-size: 0.9375rem;
    line-height: 1.3;
  }

  .notice-card section + section h3 {
    margin-top: 2.25rem;
  }

  .notice-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
  }
}

@media (max-width: 32rem) {
  .privacy-header .brand-society {
    max-width: calc(100vw - (2 * var(--wm-page-pad)) - 7rem);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
