:root {
  --primary: #264653;
  --primary-deep: #19333d;
  --accent: #ffc300;
  --paper: #f5f5f5;
  --white: #ffffff;
  --ink: #1d2d33;
  --muted: #6f7d82;
  --line: rgba(38, 70, 83, 0.14);
  --shadow: 0 20px 60px rgba(25, 51, 61, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(38, 70, 83, 0.96);
  color: var(--white);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.15rem; font-weight: 850; letter-spacing: -0.02em; }
.brand-mark { display: block; width: 38px; height: 38px; object-fit: contain; }
nav { display: flex; gap: 8px; }
nav a { padding: 8px 13px; border-radius: 999px; color: rgba(255,255,255,.75); text-decoration: none; font-size: .92rem; font-weight: 700; }
nav a:hover, nav a:focus-visible, nav a.active { background: rgba(255,255,255,.1); color: var(--white); outline: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 84px clamp(24px, 8vw, 124px) 112px;
  color: var(--white);
  background: var(--primary);
}
.hero::after { content: ""; position: absolute; right: -8vw; bottom: -24vw; width: 55vw; height: 55vw; min-width: 420px; min-height: 420px; border: clamp(38px, 6vw, 86px) solid rgba(255,195,0,.93); border-radius: 50%; opacity: .14; }
.hero::before { content: ""; position: absolute; right: clamp(18px, 7vw, 110px); top: 68px; width: clamp(220px, 31vw, 470px); aspect-ratio: 1; background: url("logo.png") center / contain no-repeat; opacity: .16; transform: rotate(-4deg); }
.hero > * { position: relative; z-index: 1; }
.eyebrow { color: var(--accent); font-size: .74rem; font-weight: 900; letter-spacing: .13em; }
.hero h1 { max-width: 760px; margin: 16px 0 22px; font-size: clamp(3.2rem, 8vw, 7.4rem); line-height: .92; letter-spacing: -.065em; }
.hero h1 span { color: var(--accent); }
.hero p { max-width: 650px; margin: 0 0 32px; color: rgba(255,255,255,.72); font-size: clamp(1rem, 2vw, 1.18rem); }
.primary-button { display: inline-flex; align-items: center; gap: 16px; padding: 15px 20px; border-radius: 14px; background: var(--accent); color: var(--primary); text-decoration: none; font-weight: 850; box-shadow: 0 10px 30px rgba(255,195,0,.15); transition: transform .18s ease, box-shadow .18s ease; }
.primary-button:hover, .primary-button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,195,0,.25); outline: none; }

.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 1040px; margin: -54px auto 0; padding: 0 24px 90px; position: relative; z-index: 3; }
.resource-card { min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.resource-card:hover, .resource-card:focus-visible { transform: translateY(-5px); border-color: rgba(255,195,0,.7); outline: none; }
.resource-card.featured { background: var(--accent); border-color: var(--accent); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 30px; border-radius: 15px; background: var(--primary); color: var(--accent); font-size: 1.25rem; font-weight: 900; }
.card-kicker { color: var(--muted); font-size: .69rem; font-weight: 900; letter-spacing: .12em; }
.featured .card-kicker { color: rgba(38,70,83,.7); }
.resource-card h2 { margin: 8px 0 10px; color: var(--primary); font-size: 1.55rem; line-height: 1.15; letter-spacing: -.03em; }
.resource-card p { margin: 0 0 24px; color: var(--muted); font-size: .94rem; }
.featured p { color: rgba(38,70,83,.76); }
.card-link { margin-top: auto; color: var(--primary); font-weight: 850; }

.promise { max-width: 1180px; margin: 0 auto 100px; padding: 0 28px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: end; }
.promise h2 { margin: 10px 0 0; color: var(--primary); font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.promise p { margin: 0; color: var(--muted); font-size: 1.06rem; }

.document-shell { max-width: 1220px; margin: 0 auto; padding: 74px 28px 110px; display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: clamp(50px, 8vw, 120px); }
.document-aside { position: sticky; top: 120px; align-self: start; }
.document-aside h1, .faq-heading h1 { margin: 12px 0; color: var(--primary); font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.document-aside > p, .faq-heading > p { color: var(--muted); }
.aside-note { margin-top: 28px; padding: 18px; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: rgba(255,195,0,.12); color: var(--primary); font-weight: 700; }
.legal-document { min-width: 0; }
.legal-document section { padding: 0 0 28px; margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.legal-document h2 { margin: 0 0 10px; color: var(--primary); font-size: 1.35rem; letter-spacing: -.02em; }
.legal-document p, .legal-document li { color: #58696f; }
.legal-document a { color: var(--primary); font-weight: 800; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.faq-shell { max-width: 940px; margin: 0 auto; padding: 78px 24px 110px; }
.faq-heading { margin-bottom: 64px; text-align: center; }
.faq-heading p { max-width: 620px; margin: 18px auto 0; font-size: 1.04rem; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { margin: 0 0 16px; color: var(--primary); font-size: 1.4rem; }
details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; }
summary { position: relative; padding: 19px 52px 19px 20px; color: var(--primary); font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 15px; color: var(--primary); font-size: 1.4rem; font-weight: 500; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.contact-panel { margin-top: 72px; padding: clamp(28px, 6vw, 58px); border-radius: 28px; background: var(--primary); color: var(--white); text-align: center; }
.contact-panel h2 { margin: 10px 0; font-size: clamp(2rem, 5vw, 3.7rem); letter-spacing: -.05em; }
.contact-panel p { max-width: 600px; margin: 0 auto 26px; color: rgba(255,255,255,.7); }

footer { min-height: 110px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; padding: 26px; background: var(--primary-deep); color: rgba(255,255,255,.68); font-size: .88rem; }
footer a { color: var(--white); text-decoration-color: var(--accent); }

@media (max-width: 800px) {
  .site-header { align-items: flex-start; gap: 12px; }
  nav { gap: 2px; }
  nav a { padding: 8px; font-size: .82rem; }
  .hero { min-height: 540px; padding-top: 70px; }
  .hero::after { right: -190px; bottom: -250px; }
  .link-grid { grid-template-columns: 1fr; max-width: 640px; margin-top: -34px; }
  .resource-card { min-height: 240px; }
  .promise { grid-template-columns: 1fr; gap: 28px; }
  .document-shell { grid-template-columns: 1fr; gap: 46px; padding-top: 54px; }
  .document-aside { position: static; }
}

@media (max-width: 480px) {
  .site-header { min-height: 68px; padding-inline: 14px; }
  .brand { font-size: 0; gap: 0; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { padding-inline: 22px; min-height: 500px; }
  .hero h1 { font-size: 3.35rem; }
  .link-grid { padding-inline: 14px; }
  .resource-card { padding: 25px; }
  .faq-shell { padding-inline: 14px; }
  summary { padding-left: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
