:root {
  color-scheme: light;
  --ink: #22242a;
  --muted: #4e4543;
  --line: #d7c5c0;
  --paper: #fffaf8;
  --wash: #f8efec;
  --primary: #a6321c;
  --primary-container: #ffdad1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--primary); }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header .shell,
.site-footer .shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }

.hero { padding: 96px 0 76px; background: #fff3ef; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 72px; align-items: center; }
.eyebrow { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h1 { margin: 14px 0 22px; font-size: clamp(46px, 7vw, 78px); max-width: 850px; }
h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 46px); }
h3 { margin: 0 0 10px; font-size: 19px; }
.lede { color: var(--muted); font-size: clamp(18px, 2vw, 22px); max-width: 760px; }
.hero-card { border: 1px solid var(--line); border-radius: 32px 32px 12px 32px; background: #fff; padding: 34px; box-shadow: 0 24px 60px #3126221a; }
.hero-card img { display: block; width: 180px; height: 180px; margin: 0 auto 26px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #e3f2ed; color: #176548; border-radius: 99px; font-size: 13px; font-weight: 750; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f9b6c; }

.section { padding: 78px 0; }
.section.alt { background: var(--wash); border-block: 1px solid var(--line); }
.intro { max-width: 720px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.card { border: 1px solid var(--line); border-radius: 24px 24px 8px 24px; background: #fff; padding: 26px; }
.card p { margin: 0; color: var(--muted); }
.step { color: var(--primary); font-weight: 850; font-size: 13px; letter-spacing: .08em; }
.notice { border-left: 4px solid var(--primary); background: var(--primary-container); padding: 18px 22px; margin: 28px 0; }

.legal { max-width: 820px; padding: 70px 0 96px; }
.legal h1 { font-size: clamp(38px, 6vw, 60px); }
.legal h2 { margin-top: 48px; font-size: 27px; }
.legal h3 { margin-top: 28px; }
.legal li + li { margin-top: 8px; }
.meta { color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--wash); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
  .hero { padding-top: 64px; }
  .hero-grid, .grid-3 { grid-template-columns: 1fr; }
  .hero-card { max-width: 440px; }
  .site-header .shell, .site-footer .shell { align-items: flex-start; flex-direction: column; padding-block: 18px; }
}
