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

:root {
  --orange: #ff7300;
  --orange-deep: #db4f00;
  --orange-soft: #ffd6ba;
  --text: #473329;
  --text-light: #7a6b63;
  --bg: #fbf8f5;
  --white: #fff;
  --stroke: rgba(71, 51, 41, .10);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange-deep); }
.container { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }

.page-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  padding: 13px 24px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
}
.page-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; font-weight: 750; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-deep); font-size: 14px; font-weight: 650; text-decoration: none; }
.back-link:hover, footer a:hover { text-decoration: underline; }
.back-arrow { font-size: 19px; line-height: 1; }

.legal-page { padding: 58px 0 86px; }
.legal-content { max-width: 780px; margin-inline: auto; }
.eyebrow { margin: 0 0 8px; color: var(--orange-deep); font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(34px, 5vw, 46px); font-weight: 780; line-height: 1.1; letter-spacing: -.045em; }
.last-updated { margin: 10px 0 30px; color: var(--text-light); font-size: 13px; }
.legal-content h2 { margin: 30px 0 7px; font-size: 19px; font-weight: 720; letter-spacing: -.015em; line-height: 1.35; }
.legal-content p, .legal-content li { color: var(--text-light); font-size: 15px; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul, .legal-content ol { margin: 0 0 15px; padding-left: 23px; }
.legal-content li { margin: 0 0 7px; padding-left: 3px; }
.legal-content strong { color: var(--text); font-weight: 650; }
.legal-content a { overflow-wrap: anywhere; }
.legal-callout { margin: 20px 0; padding: 18px 20px; border: 1px solid rgba(255,115,0,.18); border-radius: 18px; background: rgba(255,214,186,.25); }
.legal-callout p:last-child { margin-bottom: 0; }

.support-page { min-height: calc(100vh - 148px); padding: 76px 0 90px; }
.support-intro { margin: 0 auto 44px; max-width: 640px; text-align: center; }
.support-intro h1 { margin-bottom: 14px; }
.support-intro > p:not(.eyebrow) { margin: 0 auto 22px; max-width: 540px; color: var(--text-light); font-size: 17px; }
.support-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1.5px solid var(--orange);
  border-radius: 14px;
  color: var(--orange-deep);
  background: #fff;
  box-shadow: 0 8px 24px rgba(74, 51, 38, .06);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.support-link:hover { color: #fff; background: var(--orange); transform: translateY(-2px); }
.support-mark { font-size: 19px; line-height: 1; }
.support-details { max-width: 780px; margin-inline: auto; }
.support-details h2 { margin: 0 0 15px; text-align: center; font-size: 24px; letter-spacing: -.025em; }
.support-note { max-width: 680px; margin: 25px auto 0; color: var(--text-light); font-size: 13px; text-align: center; }
details {
  margin: 10px 0;
  padding: 0 18px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(74, 51, 38, .035);
}
summary { position: relative; padding: 16px 26px 16px 0; color: var(--text); font-size: 15px; font-weight: 680; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1px; top: 11px; color: var(--orange-deep); font-size: 24px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: -2px 0 16px; color: var(--text-light); font-size: 14px; }

footer { padding: 29px 24px; border-top: 1px solid var(--stroke); color: var(--text-light); background: var(--bg); text-align: center; font-size: 13px; }
footer p { margin: 0; }
footer p + p { margin-top: 7px; }
footer a { color: var(--orange-deep); text-decoration: none; }
.footer-links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 17px; margin-bottom: 8px; }

@media (max-width: 560px) {
  .container { width: min(calc(100% - 36px), 780px); }
  .page-nav { padding: 11px 18px; }
  .page-nav .container { width: 100%; }
  .brand { font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .back-link { font-size: 13px; }
  .legal-page { padding: 41px 0 62px; }
  .legal-content p, .legal-content li { font-size: 14px; }
  .support-page { padding: 56px 0 68px; }
  .support-intro { margin-bottom: 36px; }
  .support-intro > p:not(.eyebrow) { font-size: 16px; }
  details { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
