:root {
  --ink: #11192b;
  --ink-2: #1d2942;
  --coral: #f45146;
  --paper: #f7f5f2;
  --card: #ffffff;
  --text: #141826;
  --muted: #666b78;
  --line: rgba(17, 25, 43, .1);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 90% 0, rgba(244,81,70,.08), transparent 30rem), var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 40px; height: 40px; display: block; object-fit: cover;
  border-radius: 12px; box-shadow: 0 8px 24px rgba(244,81,70,.25);
}
.links { display: flex; align-items: center; gap: 26px; }
.links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
.links a:hover, .links a[aria-current="page"] { color: var(--coral); }
.hero { padding: 80px 0 88px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: 1.08; }
h1 { margin: 0; font-size: clamp(46px, 7vw, 78px); }
.lead { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 2.3vw, 22px); }
.hero-card { padding: 30px; color: white; background: linear-gradient(145deg, var(--ink), var(--ink-2)); border-radius: 32px; box-shadow: 0 28px 70px rgba(17,25,43,.18); }
.hero-icon { width: 64px; height: 64px; display: grid; place-items: center; background: rgba(255,255,255,.1); border-radius: 20px; font-size: 28px; }
.hero-card h2 { margin: 26px 0 8px; font-size: 32px; }
.hero-card p { margin: 0; color: rgba(255,255,255,.68); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 26px; padding: 0 20px; border-radius: 15px; background: var(--coral); color: white; text-decoration: none; font-weight: 750; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 90px; }
.tile { padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(17,25,43,.08); }
.tile span { color: var(--coral); font-size: 22px; }
.tile h2 { margin: 16px 0 6px; font-family: inherit; font-size: 19px; letter-spacing: -.02em; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; }
.page-head { max-width: 760px; padding: 72px 0 40px; }
.page-head h1 { font-size: clamp(42px, 6vw, 68px); }
.meta { margin-top: 16px; color: var(--muted); font-size: 14px; }
.document { max-width: 820px; margin-bottom: 90px; padding: clamp(24px, 5vw, 54px); background: var(--card); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 24px 70px rgba(17,25,43,.06); }
.document h2 { margin: 42px 0 10px; font-family: inherit; font-size: 20px; letter-spacing: -.02em; }
.document h2:first-child { margin-top: 0; }
.document p, .document li { color: #424754; }
.document a { color: var(--coral); font-weight: 650; }
.document a.button,
.document a.button:visited,
.document a.button:hover,
.document a.button:focus { color: #fff !important; }
.notice { padding: 20px; border-left: 4px solid var(--coral); background: rgba(244,81,70,.07); border-radius: 0 14px 14px 0; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.support-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; }
.support-card h2 { margin-top: 0; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--coral); }

@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px 0; }
  .links { width: 100%; justify-content: space-between; gap: 12px; }
  .hero { grid-template-columns: 1fr; padding: 52px 0 64px; }
  .grid, .support-grid { grid-template-columns: 1fr; }
  .page-head { padding-top: 48px; }
  .footer-inner { padding: 26px 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #0d1321; --card: #151e31; --text: #f5f3ef; --muted: #aeb3bf; --line: rgba(255,255,255,.1); }
  body { background: radial-gradient(circle at 90% 0, rgba(244,81,70,.12), transparent 30rem), var(--paper); }
  .document p, .document li { color: #c8cbd3; }
  .hero-card { border: 1px solid rgba(255,255,255,.1); }
}
