:root {
  color-scheme: light;
  --ink: #31251f;
  --muted: #75685f;
  --line: #e8ddd2;
  --paper: #fffcf8;
  --sand: #f5ede5;
  --accent: #3c2d25;
  --success: #437b61;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

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

header { padding: 24px 0; border-bottom: 1px solid var(--line); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; text-decoration: none; }

.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: #fff; font-family: Georgia, serif; font-size: 1.1rem; }

.nav-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

main { padding: 72px 0; }

.hero { max-width: 670px; }
.eyebrow { color: var(--success); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 12px 0 18px; font-size: clamp(2.35rem, 7vw, 4.6rem); line-height: 1.03; letter-spacing: -.055em; }
h2 { margin: 40px 0 12px; font-size: 1.55rem; letter-spacing: -.025em; }
h3 { margin: 0 0 8px; font-size: 1.1rem; }
p { margin: 0 0 18px; color: var(--muted); }

.lead { max-width: 610px; font-size: 1.18rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 46px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgb(60 45 37 / 9%); }
.card p { margin-bottom: 0; font-size: .95rem; }

.document { max-width: 740px; }
.document h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.document ul { margin: 0 0 20px; padding-left: 20px; color: var(--muted); }
.notice { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--success); background: #edf5ef; border-radius: 0 14px 14px 0; color: #315a47; }

footer { padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
footer .shell { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 920px); }
  header { padding: 16px 0; }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { gap: 13px; }
  main { padding: 48px 0; }
  .card-grid { grid-template-columns: 1fr; margin-top: 32px; }
}
