:root {
  color-scheme: light;
  --ink: #221f1d;
  --muted: #6f6863;
  --line: #eadfd6;
  --orange: #f56a00;
  --orange-dark: #c84e00;
  --soft: #fff6ef;
  --paper: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.hero {
  padding: 30px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 10%, rgba(255,255,255,.2), transparent 25%),
    linear-gradient(135deg, #f56a00 0%, #d95000 62%, #9f3900 100%);
}
.hero-inner { display: grid; gap: 54px; }
.brand { display: inline-flex; width: fit-content; gap: 12px; align-items: center; color: #fff; text-decoration: none; font-weight: 850; letter-spacing: .06em; }
.brand:hover { color: #fff; }
.mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 13px; background: rgba(255,255,255,.13); font-size: 14px; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; }
h1 { max-width: 780px; margin: 0; font-size: clamp(2.5rem, 7vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.intro { max-width: 760px; margin: 28px 0 0; color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.updated { margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: .9rem; }

.layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; align-items: start; padding: 72px 0 90px; }
.toc { position: sticky; top: 24px; display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 14px 40px rgba(84, 45, 16, .07); }
.toc p { margin: 0 0 7px; color: var(--ink); font-weight: 800; }
.toc a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.toc a:hover { color: var(--orange); }

.policy section { scroll-margin-top: 28px; margin-bottom: 58px; }
h2 { margin: 0 0 16px; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.18; letter-spacing: -.025em; }
p { margin: 0 0 16px; }
ul { margin: 10px 0 18px; padding-left: 1.35rem; }
li { margin: 9px 0; padding-left: .25rem; }
li::marker { color: var(--orange); }

.notice { display: grid; gap: 6px; margin-top: 26px; padding: 20px 22px; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; background: var(--soft); }
.notice span { color: var(--muted); }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px; border-radius: 22px; background: var(--ink); color: #fff; }
.contact h2 { margin-bottom: 9px; }
.contact p { margin-bottom: 0; color: #d9d3cf; }
.contact .eyebrow { color: #ff9c55; }
.button { flex: 0 0 auto; display: inline-flex; justify-content: center; padding: 13px 18px; border-radius: 12px; color: #fff; background: var(--orange); font-weight: 750; text-decoration: none; }
.button:hover { color: #fff; background: #ff7b1a; }

footer { border-top: 1px solid var(--line); background: #fcfaf8; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
  .toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc p { grid-column: 1 / -1; }
  .contact { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .hero { padding-top: 22px; padding-bottom: 52px; }
  .hero-inner { gap: 42px; }
  .toc { grid-template-columns: 1fr; }
  .contact { padding: 24px; }
  .button { width: 100%; overflow-wrap: anywhere; }
  .footer-inner { flex-direction: column; }
}

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