/* Asher inner pages: Trust Center and policy reader.
   Figma: Web · Trust Center (738:15074 / 738:15075) and Web · Utility Pages › Policy readers (1135:44252). */

@font-face {
  font-family: "Recoleta";
  src: url("/assets/fonts/recoleta-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #242928;
  --text-2: #5d6461;
  --porcelain: #fcfbf8;
  --paper: #f8f1e7;
  --oat: #e8dccb;
  --coral: #b9513b;
  --coral-deep: #a8472f;
  --sky-tint: #eaf3f7;
  --sage-tint: #eff2eb;
  --handbook: #4a613d;
  --serif: "Recoleta", Georgia, "Times New Roman", serif;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 6vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

a {
  color: var(--coral);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-deep);
}

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

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

.wrap {
  width: 100%;
  max-width: calc(1120px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--porcelain);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

#main:focus {
  outline: none;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.eyebrow {
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--coral);
}

.eyebrow--ink {
  color: var(--ink);
}

/* ---------- Header ---------- */

.page-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-header__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
}

.page-header__links a {
  text-decoration: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--coral);
  border-radius: 999px;
}

.pill:hover {
  background: var(--coral);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover {
  background: var(--coral-deep);
  color: #fff;
}

/* ---------- Policy reader ---------- */

.policy {
  max-width: calc(760px + 2 * var(--gutter));
  padding-block: 32px 72px;
}

.policy__title {
  font-size: clamp(38px, 5vw, 56px);
}

.policy__meta {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-2);
}

.policy__lede {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
}

.toc {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
}

.toc__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.toc ol {
  padding-left: 20px;
  columns: 2 240px;
  column-gap: 32px;
  font-size: 15px;
  line-height: 1.9;
}

.toc a {
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.prose {
  margin-top: 40px;
}

.prose h2 {
  margin: 48px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
}

.prose p,
.prose ul,
.prose ol,
.prose table,
.prose .callout {
  margin-top: 12px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

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

.prose strong {
  font-weight: 800;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.prose th,
.prose td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid color-mix(in srgb, var(--oat) 80%, transparent);
}

.prose th {
  font-weight: 800;
  background: var(--paper);
}

.table-scroll {
  overflow-x: auto;
  margin-top: 12px;
}

.table-scroll table {
  margin-top: 0;
  min-width: 540px;
}

.callout {
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--sage-tint);
  color: var(--handbook);
  font-weight: 600;
}

.callout--sky {
  background: var(--sky-tint);
  color: var(--ink);
  font-weight: 400;
}

.callout p:first-child {
  margin-top: 0;
}

/* ---------- Trust Center ---------- */

.t-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: center;
  padding-block: 24px 72px;
}

.t-hero__title {
  margin-top: 16px;
  font-size: clamp(48px, 6.6vw, 76px);
}

.t-hero__lede {
  margin-top: 20px;
  font-size: 20px;
  color: var(--text-2);
}

.t-hero__card {
  padding: 28px;
  border-radius: 24px;
  background: var(--sage-tint);
}

.t-hero__card h2 {
  font-size: clamp(24px, 2.4vw, 28px);
}

.t-hero__card p {
  margin-top: 10px;
  font-size: 16px;
}

.t-section {
  padding-block: 72px;
}

.t-section--sky {
  background: var(--sky-tint);
}

.t-section--paper {
  background: var(--paper);
}

.t-section__title {
  margin: 16px 0 32px;
  font-size: clamp(34px, 3.8vw, 44px);
}

.t-section__lede {
  max-width: 44em;
  margin: -12px 0 32px;
  font-size: 18px;
  color: var(--text-2);
}

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

.t-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.t-card {
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
}

.t-card--sage {
  background: var(--sage-tint);
}

.t-card__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-2);
}

.t-card__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.15;
}

.t-card__title--sans {
  margin-top: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.4;
}

.t-card p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-2);
}

.t-card .t-card__where,
.t-card .t-card__strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--handbook);
}

.t-card .t-card__plain {
  color: var(--ink);
}

.t-note {
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-2);
}

.t-list {
  margin-top: 12px;
  padding-left: 20px;
  font-size: 16px;
  color: var(--text-2);
}

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

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px 64px;
  align-items: start;
}

.faq__list {
  border-top: 1px solid var(--oat);
}

.faq details {
  border-bottom: 1px solid var(--oat);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-2);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > div {
  padding: 0 4px 20px;
  font-size: 16px;
  color: var(--text-2);
}

.faq details > div p + p {
  margin-top: 10px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
}

.contact__methods {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact__method {
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
}

.contact__method strong {
  display: block;
  font-size: 15px;
}

.resources {
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--oat);
}

.resources li {
  border-bottom: 1px solid var(--oat);
}

.resources a {
  position: relative;
  display: block;
  padding: 16px 36px 16px 4px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.resources a span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
}

.resources a::after {
  position: absolute;
  right: 8px;
  top: 50%;
  margin-top: -0.8em;
  content: "→";
  color: var(--coral);
  transition: transform 0.25s var(--ease);
}

.resources a:hover::after {
  transform: translateX(4px);
}

/* ---------- Footer ---------- */

.page-footer {
  padding-block: 40px 48px;
  border-top: 1px solid color-mix(in srgb, var(--oat) 70%, transparent);
  font-size: 14px;
  color: var(--text-2);
}

.page-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 16px;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.page-footer p + p {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .t-hero,
  .faq,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .t-grid--3,
  .t-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .t-section {
    padding-block: 56px;
  }
}

@media (max-width: 560px) {
  .page-header__inner {
    min-height: 72px;
  }

  .page-header__links .hide-sm {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.t-section .callout {
  margin-top: 20px;
}

.council-cta {
  margin-top: 20px;
}

.t-card__kicker + p {
  margin-top: 8px;
}

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

.steps li {
  position: relative;
  padding: 20px 20px 20px 64px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
  font-size: 16px;
  color: var(--text-2);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.steps strong {
  display: block;
  margin-bottom: 2px;
  font-size: 17px;
  color: var(--ink);
}

/* ---------- Utility pages (invite, 404) ---------- */

.utility-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: var(--paper);
}

.utility {
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.utility__card {
  width: 100%;
  padding: 40px 32px;
  border-radius: 24px;
  background: var(--porcelain);
  border: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
}

.utility__title {
  margin-top: 12px;
  font-size: clamp(34px, 6vw, 44px);
}

.utility__lede {
  margin-top: 16px;
  font-size: 19px;
}

.utility__help {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-2);
}

.utility__action {
  margin-top: 28px;
}

.utility__foot {
  font-size: 15px;
  color: var(--text-2);
}

.btn[aria-disabled="true"] {
  background: var(--oat);
  color: var(--text-2);
  pointer-events: none;
}
