:root {
  color-scheme: light dark;
  --brand: #6547f5;
  --ink: #17182a;
  --muted: #656879;
  --page: #f8f7fc;
  --surface: #ffffff;
  --line: #e6e3ef;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

header {
  background: linear-gradient(135deg, #17182a, #362777 70%, #6547f5);
  color: #fff;
  padding: 28px 20px 56px;
}

.header-inner, main, footer { max-width: 920px; margin: 0 auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--brand);
}

nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; }
nav a { color: #ded8ff; font-size: 14px; font-weight: 700; text-decoration: none; }
nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }

h1 { margin: 38px 0 8px; font-size: clamp(32px, 7vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.effective { margin: 0; color: #ded8ff; }

main {
  position: relative;
  margin-top: -28px;
  margin-bottom: 32px;
  padding: 28px clamp(20px, 5vw, 48px) 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(30, 22, 68, .09);
}

h2 { margin: 34px 0 8px; font-size: 23px; line-height: 1.3; }
h3 { margin: 24px 0 6px; font-size: 18px; }
p { margin: 8px 0 14px; }
ul { margin: 8px 0 18px; padding-left: 24px; }
li { margin: 5px 0; }
a { color: var(--brand); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.button.secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.notice { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--page); }

.summary {
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 7%, var(--surface));
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 22px 0; }
.card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.card h3 { margin-top: 0; }

footer { padding: 0 20px 38px; color: var(--muted); text-align: center; font-size: 13px; }

@media (max-width: 950px) {
  main { margin-left: 12px; margin-right: 12px; }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #f5f2ff; --muted: #b6b1c6; --page: #0d0d18; --surface: #171726; --line: #363446; }
  main { box-shadow: none; }
}
