:root {
  color-scheme: light;
  --ink: #182024;
  --muted: #5c6a70;
  --paper: #fbfbf8;
  --panel: #ffffff;
  --rule: #d9dfdb;
  --accent: #0f6d5f;
  --accent-strong: #094d43;
  --warm: #f1e8d4;
  --sky: #d8eaf2;
  --shadow: 0 20px 50px rgba(29, 39, 43, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(251, 251, 248, 0.94);
}

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.brand-copy {
  display: block;
}

.brand-name {
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.hero {
  padding: 58px 0 36px;
  background:
    linear-gradient(135deg, rgba(216, 234, 242, 0.78), rgba(241, 232, 212, 0.74)),
    var(--paper);
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: #344249;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-art {
  position: relative;
  min-height: 280px;
}

.hero-banner {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 78px;
  height: 78px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(12, 18, 27, 0.86);
  box-shadow: 0 16px 34px rgba(5, 12, 19, 0.28);
  object-fit: contain;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 42px;
  padding: 44px 0 72px;
}

.content {
  min-width: 0;
}

.policy-card,
.callout,
.app-list a {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.policy-card {
  padding: clamp(24px, 4vw, 42px);
}

.policy-card h2 {
  margin: 34px 0 10px;
  font-size: 1.55rem;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p,
.policy-card li {
  color: #344249;
}

.policy-card ul {
  padding-left: 1.25rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.toc {
  position: sticky;
  top: 22px;
  align-self: start;
  padding: 18px;
  background: #eef6f3;
  border: 1px solid #cfe0d8;
  border-radius: 8px;
}

.toc h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.toc a {
  display: block;
  margin: 8px 0;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.app-list a {
  display: block;
  padding: 20px;
  color: var(--ink);
  text-decoration: none;
}

.app-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.app-list span {
  color: var(--muted);
}

.callout {
  margin-top: 28px;
  padding: 20px;
  background: #fffaf0;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  color: var(--muted);
  background: #f4f5ef;
}

@media (max-width: 820px) {
  .topbar,
  .layout {
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-bottom: 16px;
  }

  .layout {
    padding-top: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    margin-top: 8px;
    min-height: 220px;
  }

  .hero-banner {
    min-height: 220px;
  }

  .hero-badge {
    width: 66px;
    height: 66px;
  }

  .toc {
    position: static;
    margin-top: 24px;
  }
}
