:root{
  --bg:#fff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --alt:#f9fafb;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --max:1120px;
}

html{
  -webkit-text-size-adjust:100%;
}


*, *::before, *::after{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

a{color:inherit;text-decoration:underline}
.container{width:min(var(--max),calc(100% - 2rem));margin:0 auto}
.section{padding:4rem 0}
.section--alt{background:var(--alt)}
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

:focus-visible{
  outline:2px solid var(--text);
  outline-offset:3px;
}


.header__inner{display:flex;align-items:center;justify-content:space-between;padding:.9rem 0;gap:1rem}
.brand__name{font-weight:800;letter-spacing:-.02em;text-decoration:none}
.nav__toggle{
  display:none;
  border:1px solid var(--line);
  background:var(--bg);
  border-radius:12px;
  padding:.6rem .8rem;
}

.brand{
  text-decoration:none;
}
.brand:hover{
  text-decoration:none;
}

.nav__menu{display:flex;align-items:center;gap:1rem;list-style:none;margin:0;padding:0}
.nav__menu a{padding:.5rem .6rem;border-radius:10px;text-decoration:none}
.nav__menu a:hover{text-decoration:underline}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.85rem 1rem;border-radius:14px;
  border:1px solid var(--text);
  background:var(--text);color:#fff;
  font-weight:700;text-decoration:none;
}

.btn--ghost{background:transparent;color:var(--text)}
.btn--small{padding:.6rem .8rem;border-radius:12px}
.btn--wide{width:100%}
.grid{display:grid;gap:1rem}
.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem;box-shadow:var(--shadow);background:#fff}
.lead{font-size:1.125rem;max-width:60ch}
.muted{color:var(--muted)}
.small{font-size:.9rem}
.actions{display:flex;gap:.75rem;flex-wrap:wrap;margin:1.25rem 0}
.cta{
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
  border:1px solid var(--line);border-radius:calc(var(--radius) + 6px);
  padding:1.5rem;box-shadow:var(--shadow);
}

.content{
  max-width: 75ch;
}

.content h2{
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  font-size: 1.15rem;
}

.content p{
  margin-top: 0;
}

.content ul{
  margin: .5rem 0 1rem;
  padding-left: 1.2rem;
}

.content li{
  margin-bottom: .35rem;
}

/* Optional: subtle section separator */
.content h2{
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
.content h2:first-of-type{
  border-top: 0;
  padding-top: 0;
}

.notice{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:1rem;
  box-shadow: var(--shadow);
  background: var(--alt);
  margin-bottom: 1.25rem;
}
.notice__title{ margin:0 0 .5rem; }
.notice ul{ margin:.5rem 0 0; padding-left:1.2rem; }


.footer__inner{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.footer__links{list-style:none;margin:0;padding:0;display:flex;gap:1rem;flex-wrap:wrap}
.site-footer{border-top:1px solid var(--line);padding:2.5rem 0 1.5rem}
.field{display:grid;gap:.35rem;margin-bottom:.9rem}
input,textarea{
  width:100%;
  padding:.75rem .85rem;
  border:1px solid var(--line);
  border-radius:12px;
  font:inherit;
}

.footer__brand{
  font-weight:800;
  text-decoration:none;
}
.footer__brand:hover{
  text-decoration:underline;
}

.skip-link{position:absolute;left:-999px;display:block}
.skip-link:focus{left:1rem;top:1rem;background:var(--bg);border:1px solid var(--line);padding:.75rem 1rem;border-radius:10px;z-index:1000}
@media (max-width:900px){
  .grid--3{grid-template-columns:1fr}
  .grid--2{grid-template-columns:1fr}
  .cta{flex-direction:column;align-items:stretch}
}
.note{
  margin-top: 1rem;
}
.note__inner{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--bg);
  box-shadow: var(--shadow);
}
.note__inner ul{
  margin: .5rem 0 0;
  padding-left: 1.2rem;
}
@media (max-width:720px){
  .nav__toggle{display:inline-flex}
  .nav__menu{
    display:none;position:absolute;right:1rem;top:64px;
    background:var(--bg);border:1px solid var(--line);
    border-radius:16px;padding:.75rem;box-shadow:var(--shadow);
    min-width:220px;flex-direction:column;align-items:stretch;
  }
  .nav__menu.is-open{display:flex}
}

details summary {
  cursor: pointer;
}
details summary:hover {
  text-decoration: underline;
}

details > p{
  margin-top:.75rem;
}
