:root {
  color-scheme: light;
  --ink: #1a171f;
  --muted: #69636f;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e8e3e8;
  --pink: #ff496c;
  --pink-dark: #d92f55;
  --mint: #42c9a3;
  --violet: #7357e8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 73, 108, .11), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(115, 87, 232, .09), transparent 26rem),
    var(--paper);
}

a { color: inherit; }

.site-header, footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header { padding: 24px 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--pink), var(--violet));
  box-shadow: 0 10px 26px rgba(255, 73, 108, .22);
}

nav { display: flex; gap: 22px; }
nav a { color: var(--muted); font-size: .92rem; font-weight: 700; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--pink-dark); }

main {
  width: min(920px, calc(100% - 40px));
  min-height: calc(100vh - 190px);
  margin: 24px auto 70px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 72px);
  color: white;
  border-radius: 34px;
  background: linear-gradient(145deg, #211c29, #352238 72%, #53263c);
  box-shadow: 0 28px 70px rgba(34, 25, 39, .18);
}

.hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,73,108,.9), rgba(115,87,232,.55));
  filter: blur(2px);
}

.eyebrow {
  color: var(--pink);
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .76rem;
}

.hero h1, .document h1 {
  margin: 12px 0 16px;
  letter-spacing: -.055em;
  line-height: .98;
}

.hero h1 { max-width: 660px; font-size: clamp(2.6rem, 8vw, 5.6rem); }
.hero p { max-width: 610px; color: #ded6e1; font-size: clamp(1rem, 2vw, 1.16rem); line-height: 1.65; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 15px;
  color: white;
  background: rgba(255,255,255,.08);
  font-weight: 800;
  text-decoration: none;
}
.button.primary { border-color: var(--pink); background: var(--pink); }
.button.dark { border-color: var(--ink); background: var(--ink); }

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.link-card {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 42px rgba(28, 22, 31, .06);
  text-decoration: none;
}
.link-card strong { display: block; margin-bottom: 8px; font-size: 1.15rem; }
.link-card span { color: var(--muted); line-height: 1.55; }

.document {
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 24px 62px rgba(28, 22, 31, .08);
}
.document h1 { font-size: clamp(2.1rem, 6vw, 3.7rem); }
.document h2 { margin: 34px 0 10px; font-size: 1.25rem; letter-spacing: -.025em; }
.document p, .document li { color: #4f4954; line-height: 1.75; }
.document ul, .document ol { padding-left: 22px; }
.document .meta { color: var(--muted); font-size: .9rem; }
.notice { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--mint); border-radius: 12px; background: #edfbf7; }
.warning { border-left-color: var(--pink); background: #fff0f3; }
.contact { margin-top: 28px; padding: 22px; border-radius: 20px; background: #f4f1f7; }
.contact a { color: var(--pink-dark); font-weight: 800; }

footer {
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 650px) {
  .site-header { align-items: flex-start; }
  nav { flex-direction: column; gap: 8px; text-align: right; }
  main { margin-top: 10px; }
  .hero { border-radius: 26px; }
  .link-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .link-card { transition: transform .18s ease, box-shadow .18s ease; }
  .button:hover, .link-card:hover { transform: translateY(-2px); }
  .link-card:hover { box-shadow: 0 22px 50px rgba(28, 22, 31, .1); }
}
