:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-2: #eef7f5;
  --ink: #141414;
  --muted: #5d6670;
  --line: #dce3df;
  --teal: #0f8b7e;
  --green: #2f8f46;
  --coral: #d84f3d;
  --gold: #b68b14;
  --violet: #6549c8;
  --shadow: 0 22px 70px rgba(28, 39, 48, 0.13);
  --soft-shadow: 0 12px 34px rgba(28, 39, 48, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 420px, #f1f7f5 100%);
  color: var(--ink);
  letter-spacing: 0;
}

a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 227, 223, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(28, 39, 48, 0.18);
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  font-size: 1.08rem;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.2;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 780;
  font-size: 0.94rem;
  padding: 10px 12px;
  border-radius: 8px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-cta {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.14);
}

nav a.nav-cta:hover,
nav a.nav-cta[aria-current="page"] {
  color: #ffffff;
  background: #26332f;
}

main {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(260px, 0.98fr);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  padding: clamp(52px, 8vw, 96px) 0 32px;
}

.policy-intro { min-height: 70vh; }

.intro-copy { max-width: 760px; }

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1, h2 {
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  font-size: 5rem;
  margin: 0 0 22px;
  max-width: 980px;
}

h2 {
  font-size: 2.05rem;
  margin: 0 0 12px;
}

.lead {
  color: var(--muted);
  font-size: 1.24rem;
  line-height: 1.65;
  max-width: 780px;
  margin: 0 0 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  box-shadow: 0 14px 28px rgba(20, 20, 20, 0.16);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}

.hero-identity {
  justify-self: end;
  display: grid;
  gap: 18px;
  width: min(100%, 430px);
}

.brand-mark {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 54px rgba(28, 39, 48, 0.2));
}

.hero-identity p {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.6;
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--teal);
}

.assurance-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--soft-shadow);
}

.assurance-strip div {
  background: rgba(255, 255, 255, 0.92);
  padding: 18px 20px;
}

.assurance-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.assurance-strip strong {
  display: block;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 0 42px;
}

.doc-link,
.document section,
.callout,
.support-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.doc-link {
  position: relative;
  min-height: 184px;
  padding: 24px;
  text-decoration: none;
  overflow: hidden;
}

.doc-link::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 28px;
  height: 2px;
  background: currentColor;
  opacity: 0.22;
}

.doc-link span {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.doc-link p,
.document p,
.support-panel p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.doc-link:nth-child(1) { border-top: 5px solid var(--teal); }
.doc-link:nth-child(2) { border-top: 5px solid var(--coral); }
.doc-link:nth-child(3) { border-top: 5px solid var(--green); }
.doc-link:nth-child(4) { border-top: 5px solid var(--gold); }

.support-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 78px;
  padding: clamp(24px, 4vw, 38px);
  border-left: 5px solid var(--violet);
}

.support-panel div { max-width: 720px; }

.document {
  max-width: 940px;
  padding: clamp(44px, 7vw, 88px) 0 76px;
}

.document h1 { font-size: 4.25rem; }

.document section {
  padding: clamp(22px, 4vw, 34px);
  margin-top: 16px;
}

.document section:nth-of-type(3n + 1) { border-left: 5px solid var(--teal); }
.document section:nth-of-type(3n + 2) { border-left: 5px solid var(--green); }
.document section:nth-of-type(3n) { border-left: 5px solid var(--coral); }

.document section p + p { margin-top: 12px; }
.document a { color: var(--teal); font-weight: 850; }

.callout { background: #f0fbf8; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 30px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
}

footer div {
  display: grid;
  gap: 4px;
}

footer strong {
  color: var(--ink);
  font-size: 1rem;
}

footer span,
footer a {
  color: var(--muted);
  font-weight: 760;
}

footer nav { justify-content: flex-start; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  .intro { grid-template-columns: 1fr; padding-top: 42px; }
  h1 { font-size: 3.55rem; }
  h2 { font-size: 1.72rem; }
  .lead { font-size: 1.16rem; }
  .document h1 { font-size: 3.35rem; }
  .policy-intro { min-height: auto; }
  .hero-identity { justify-self: start; width: min(78vw, 390px); }
  .document-grid { grid-template-columns: 1fr 1fr; }
  .assurance-strip { grid-template-columns: 1fr; }
  .support-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  main { width: min(100% - 24px, 1120px); }
  .brand img { width: 52px; height: 52px; }
  .brand small { font-size: 0.72rem; }
  h1 { font-size: 2.62rem; }
  h2 { font-size: 1.42rem; }
  .lead { font-size: 1.06rem; }
  .document h1 { font-size: 2.46rem; }
  nav a { padding: 9px 10px; font-size: 0.9rem; }
  .document-grid { grid-template-columns: 1fr; }
  .doc-link { min-height: 148px; }
  .button { width: 100%; }
}
