:root {
  color-scheme: light;
  --ink: #2b1a17;
  --muted: #705d52;
  --crimson: #9e160e;
  --crimson-dark: #72110d;
  --gold: #e7a735;
  --paper: #fff8e9;
  --line: #e1c797;
  --turquoise: #159ca6;
  --shadow: 0 22px 70px rgba(80, 33, 12, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(231, 167, 53, 0.18), transparent 26rem),
    linear-gradient(145deg, #fffdf6 0%, #f7e6c8 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--crimson);
  text-underline-offset: 0.2em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 4px;
}

.shell {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(114, 17, 13, 0.13);
  background: rgba(255, 248, 233, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(114, 17, 13, 0.23);
}

.nav-link {
  padding: 8px 12px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding-block: clamp(68px, 10vw, 122px) 55px;
}

.eyebrow {
  color: var(--crimson);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.hero-copy {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2.4vw, 1.45rem);
}

.updated {
  display: inline-block;
  margin-top: 25px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding-bottom: 80px;
}

.toc {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 8px;
  padding: 18px 0;
  font-size: 0.88rem;
}

.toc strong {
  margin-bottom: 5px;
}

.toc a {
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--crimson);
}

.policy-card,
.faq {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: var(--shadow);
}

.policy-card > section,
.policy-card:not(article) {
  padding: clamp(24px, 5vw, 44px);
}

.policy-card > section + section {
  border-top: 1px solid var(--line);
}

.policy-card p,
.faq p {
  margin: 0;
  color: var(--muted);
}

.policy-card p + p {
  margin-top: 15px;
}

.check-list,
.steps {
  margin: 18px 0 0;
  padding-left: 1.4rem;
}

.check-list li,
.steps li {
  padding: 4px 0 4px 5px;
}

.check-list li::marker {
  color: var(--turquoise);
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f4e5c9;
}

.support-layout {
  display: grid;
  gap: 24px;
  padding-bottom: 80px;
}

.faq {
  padding: clamp(24px, 5vw, 44px);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 800;
}

.faq details p {
  padding: 0 0 20px;
}

.contact-panel {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(25px, 6vw, 52px);
  border-radius: 25px;
  color: #fff9e8;
  background:
    radial-gradient(circle at 80% 30%, rgba(231, 167, 53, 0.25), transparent 18rem),
    var(--crimson);
  box-shadow: var(--shadow);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: #f6d791;
}

.contact-panel h2 {
  margin: 6px 0;
}

.contact-panel p {
  margin: 0;
}

.button {
  flex: none;
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--crimson-dark);
  background: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.footer {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-top: 1px solid rgba(114, 17, 13, 0.14);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer div {
  display: flex;
  gap: 20px;
}

@media (max-width: 760px) {
  .content-grid {
    display: block;
  }

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

  .toc strong {
    grid-column: 1 / -1;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(100% - 28px, 1100px);
  }

  .brand span {
    font-size: 0.9rem;
  }

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

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 25px;
  }
}

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