:root {
  --ink: #332a24;
  --muted: #70665f;
  --paper: #fffdf8;
  --cream: #fff5df;
  --orange: #f39a57;
  --orange-dark: #b85d25;
  --green: #6fa36f;
  --line: #eadfce;
  --shadow: 0 14px 36px rgba(88, 59, 34, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 3%, #fff0cf 0 7rem, transparent 7.1rem),
    linear-gradient(180deg, #fffaf0 0, var(--paper) 24rem);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

a { color: var(--orange-dark); }
a:hover { text-decoration-thickness: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: .7rem 1rem;
  background: white;
  border-radius: .6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(234, 223, 206, .85);
  background: rgba(255, 253, 248, .93);
  backdrop-filter: blur(14px);
}

.header-inner,
.page,
.footer-inner {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #8fc38c;
  border-radius: 12px;
  background: white;
  color: var(--green);
  font-size: 1.25rem;
}

.nav { display: flex; flex-wrap: wrap; gap: .25rem; }
.nav a {
  padding: .48rem .72rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] { background: var(--cream); color: var(--orange-dark); }

.page { padding: 64px 0 88px; }
.hero { padding: 28px 0 46px; text-align: center; }
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--orange-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
}
h1, h2, h3 { line-height: 1.35; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.6rem); }
.hero-copy { max-width: 720px; margin: 1rem auto 0; color: var(--muted); font-size: 1.08rem; }
.updated { color: var(--muted); font-size: .9rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card,
.content-panel,
.notice {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.card { padding: 26px; }
.card h2 { margin: .4rem 0 .55rem; font-size: 1.25rem; }
.card p { margin: 0 0 1rem; color: var(--muted); }
.card-link { font-weight: 800; }
.icon { font-size: 1.8rem; }

.content-panel { max-width: 840px; margin: 0 auto; padding: clamp(24px, 5vw, 54px); }
.content-panel h2 { margin-top: 2.4rem; padding-top: .5rem; font-size: 1.45rem; }
.content-panel h2:first-of-type { margin-top: 1rem; }
.content-panel h3 { margin-top: 1.6rem; font-size: 1.1rem; }
.content-panel li + li { margin-top: .45rem; }
.content-panel table { width: 100%; border-collapse: collapse; }
.content-panel th,
.content-panel td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.content-panel th { width: 30%; }

.notice {
  margin: 1.4rem 0;
  padding: 18px 20px;
  border-left: 5px solid var(--orange);
  box-shadow: none;
}
.notice strong { display: block; }

.steps { counter-reset: step; padding: 0; list-style: none; }
.steps li { position: relative; min-height: 44px; padding-left: 54px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: .05rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange-dark);
  font-weight: 900;
}

.shot {
  display: block;
  width: min(340px, 100%);
  margin: 1.2rem auto 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.button {
  display: inline-block;
  padding: .78rem 1.15rem;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: var(--orange-dark); }

.site-footer { border-top: 1px solid var(--line); background: #fffaf0; }
.footer-inner { padding: 30px 0; color: var(--muted); text-align: center; font-size: .88rem; }
.footer-inner p { margin: .25rem 0; }

@media (max-width: 800px) {
  .header-inner { align-items: flex-start; padding: 12px 0; flex-direction: column; }
  .nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .nav a { white-space: nowrap; }
  .grid { grid-template-columns: 1fr; }
  .page { padding-top: 40px; }
}

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