/* Help, Support, Privacy and Terms pages. Loaded after styles.css and logo-refresh.css. */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 3.75rem;
  background:
    radial-gradient(circle at 8% 8%, #e3e8ff, transparent 28rem),
    radial-gradient(circle at 89% 22%, #ffe5d8, transparent 26rem),
    linear-gradient(140deg, #f7f7ff, #fffbfa 55%, #eaf9ff);
}

.page-hero h1 {
  max-width: 18ch;
  margin: .9rem 0 1.1rem;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.07em;
}

.page-hero .lead {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.page-meta {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: .8rem;
}

.page-body {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
  padding-top: 4.5rem;
  background: #fff;
}

.page-toc {
  position: sticky;
  top: 6.5rem;
  font-size: .85rem;
}

.page-toc ol {
  display: grid;
  gap: .55rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}

.page-toc a { color: var(--muted); font-weight: 650; }
.page-toc a:hover { color: var(--indigo); }

.prose { max-width: 44rem; min-width: 0; }

.prose h2 {
  margin: 3.75rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  scroll-margin-top: 6.5rem;
}

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

.prose h3 {
  margin: 2rem 0 .5rem;
  font-size: 1.1rem;
  letter-spacing: -.025em;
  scroll-margin-top: 6.5rem;
}

.prose p,
.prose li { color: #3f4566; }

.prose p { margin: 0 0 1rem; }
.prose ul,
.prose ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li + li { margin-top: .45rem; }
.prose strong { color: var(--ink); }

.prose a:not(.button) {
  color: #4b4ba8;
  text-decoration: underline;
  text-decoration-color: #ced3ff;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

.prose a:not(.button):hover { color: var(--indigo); text-decoration-color: currentColor; }

.prose kbd,
.path {
  padding: .15rem .5rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: .92em;
  font-weight: 650;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.callout {
  margin: 1.5rem 0;
  padding: 1.15rem 1.3rem;
  border-radius: 1.1rem;
  background: #e7e9ff;
}

.callout p:last-child,
.callout ul:last-child { margin-bottom: 0; }
.callout-title { display: block; margin-bottom: .3rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.callout-mint { background: #dff9ef; }
.callout-peach { background: #fff0dd; }
.callout-coral { background: #ffe5de; }

.steps {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0 !important;
  list-style: none;
  counter-reset: step;
}

.steps > li {
  position: relative;
  margin: 0 !important;
  padding: 1.25rem 1.3rem 1.25rem 4rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #f8f9ff, #fff);
  counter-increment: step;
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.2rem;
  top: 1.25rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  color: #fff;
  background: var(--indigo);
  font-size: .75rem;
  font-weight: 800;
}

.steps h3 { margin: 0 0 .3rem; }
.steps p:last-child { margin-bottom: 0; }

.threshold-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin: 1.5rem 0;
}

.threshold {
  padding: 1.2rem;
  border-radius: 1.25rem;
}

.threshold strong { display: block; font-size: 1.5rem; letter-spacing: -.05em; line-height: 1.1; }
.threshold span { display: block; margin-bottom: .55rem; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.threshold p { margin: .45rem 0 0; color: #4f5674; font-size: .88rem; }
.threshold-high { background: #ffe5de; }
.threshold-high span { color: #a8392b; }
.threshold-caution { background: #fff0dd; }
.threshold-caution span { color: #8a4f05; }
.threshold-clear { background: #dff9ef; }
.threshold-clear span { color: #0f6b4c; }

.faq { margin: 1.25rem 0 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -.02em;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: .25rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #e7e9ff;
  color: var(--indigo);
  font-weight: 800;
  transform: translateY(-50%);
}

.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--indigo); }
.faq .faq-answer { padding: 0 0 1.1rem; }
.faq .faq-answer > :last-child { margin-bottom: 0; }

.table-wrap {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.data-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: .9rem;
}

.data-table th,
.data-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: #3f4566;
  text-align: left;
  vertical-align: top;
}

.data-table th { background: var(--paper); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { color: var(--ink); font-weight: 700; }

.contact-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 2rem;
  padding: 2rem;
  border-radius: var(--radius-card);
  color: #fff;
  background: linear-gradient(115deg, #373cc5, #6a4fd4);
}

.contact-card .eyebrow { color: #eceaff; }
.contact-card h2 { margin: .6rem 0 .5rem !important; color: #fff; }
.contact-card p { color: #eceaff !important; }
.contact-card .actions { margin-top: 1.25rem; }
.contact-email { color: #fff !important; font-weight: 800; text-decoration-color: rgba(255, 255, 255, .5) !important; overflow-wrap: anywhere; }

.link-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin: 1.25rem 0 0;
}

.link-card {
  display: block;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, #f8f9ff, #fff);
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.link-card strong { display: block; color: var(--ink); letter-spacing: -.02em; }
.link-card span { display: block; margin-top: .2rem; color: var(--muted); font-size: .85rem; }

.site-footer > div { flex-wrap: wrap; }

@media (max-width: 48rem) {
  .page-hero { padding-top: 4rem; padding-bottom: 2.75rem; }
  .page-body { grid-template-columns: 1fr; gap: 2.25rem; padding-top: 2.75rem; }
  .page-toc { position: static; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
  .page-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; }
  .prose h2 { margin-top: 3rem; }
  .threshold-grid,
  .link-cards { grid-template-columns: 1fr; }
  .steps > li { padding: 1.1rem 1.1rem 1.1rem 3.5rem; }
  .steps > li::before { left: 1rem; top: 1.1rem; width: 1.75rem; height: 1.75rem; }
  .contact-card { padding: 1.5rem; }
}
