:root {
  color-scheme: light dark;
  --ink: #321d38;
  --muted: #6d5b70;
  --paper: #fffaf3;
  --surface: #ffffff;
  --plum: #5a295f;
  --plum-dark: #3e1945;
  --coral: #d76769;
  --mint: #5c9a83;
  --marigold: #d99a39;
  --line: #e7dce5;
  --shadow: 0 18px 55px rgba(74, 38, 77, 0.12);
}

* { box-sizing: border-box; }
html { font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; background: var(--paper); color: var(--ink); }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 10% 5%, rgba(215, 103, 105, .09), transparent 26rem), radial-gradient(circle at 90% 25%, rgba(92, 154, 131, .1), transparent 24rem), var(--paper); }
a { color: var(--plum); text-underline-offset: .18em; }
a:hover { color: var(--coral); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--marigold); outline-offset: 4px; border-radius: .35rem; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--surface); z-index: 10; }
.skip-link:focus { top: 1rem; }
.site-header { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 1.2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); font-weight: 760; text-decoration: none; }
.brand img { border-radius: 13px; box-shadow: 0 6px 18px rgba(62, 25, 69, .15); }
nav { display: flex; flex-wrap: wrap; gap: .35rem; }
nav a { padding: .5rem .75rem; border-radius: 999px; text-decoration: none; font-weight: 650; color: var(--muted); }
nav a:hover, nav a[aria-current="page"] { color: var(--plum); background: rgba(90, 41, 95, .09); }
main { width: min(1060px, calc(100% - 2rem)); margin: 0 auto; }
.hero { min-height: 560px; display: grid; grid-template-columns: 1.4fr .7fr; align-items: center; gap: 4rem; padding: 4.5rem 0 5rem; }
.eyebrow { margin: 0 0 .65rem; color: var(--coral); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
h1, h2 { line-height: 1.15; letter-spacing: -.025em; }
h1 { margin: 0; max-width: 15ch; font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { margin-top: 2.3rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.lede { max-width: 68ch; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero .lede { max-width: 58ch; }
.hero-icon { width: min(100%, 260px); height: auto; justify-self: center; border-radius: 27%; box-shadow: var(--shadow); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-block; padding: .8rem 1.05rem; border-radius: .9rem; font-weight: 760; text-decoration: none; }
.button.primary { color: #fff; background: var(--plum); }
.button.primary:hover { color: #fff; background: var(--plum-dark); }
.button.secondary { color: var(--plum); background: rgba(90, 41, 95, .09); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-grid article, .notice, .link-list { padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 1.25rem; background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 9px 30px rgba(74, 38, 77, .05); }
.feature-grid h2, .notice h2 { margin-top: 0; }
.feature-grid p, .notice p { margin-bottom: 0; color: var(--muted); }
.notice { margin: 1rem 0; border-left: 5px solid var(--marigold); }
.link-list { margin: 1rem 0 4rem; }
.link-list h2 { margin-top: 0; }
.link-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); font-weight: 720; text-decoration: none; }
.document { max-width: 780px; padding: 5rem 0 6rem; }
.document h1 { max-width: none; font-size: clamp(2.4rem, 7vw, 4.6rem); }
.document p, .document li { color: var(--muted); }
.document h2 { padding-top: .3rem; }
.document .notice { margin-top: 3rem; }
footer { width: min(1060px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 3.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .92rem; }
footer p { margin: 0; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { width: 100%; }
  nav a { padding-left: .6rem; padding-right: .6rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0 4rem; }
  .hero-icon { grid-row: 1; width: 150px; justify-self: start; }
  .feature-grid { grid-template-columns: 1fr; }
  .document { padding-top: 3rem; }
}

@media (prefers-reduced-motion: no-preference) {
  a, .button { transition: color .15s ease, background-color .15s ease, transform .15s ease; }
  .button:hover { transform: translateY(-1px); }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #fff6ff; --muted: #d4c3d4; --paper: #1d121f; --surface: #2b1b2e; --plum: #e1a8df; --plum-dark: #8f528e; --coral: #f19a9c; --mint: #83c4aa; --marigold: #efbd65; --line: #503752; --shadow: 0 18px 55px rgba(0, 0, 0, .35); }
  .button.primary { color: #261228; background: #e1a8df; }
  .button.primary:hover { color: #1d121f; background: #f0c5ee; }
}
