:root {
  color-scheme: light;
  --ink: #2f2924;
  --muted: #71665c;
  --cream: #fff9ef;
  --cream-deep: #fff1d7;
  --paper: rgba(255, 253, 248, 0.9);
  --line: #ead7bd;
  --terracotta: #e77755;
  --terracotta-deep: #a94f35;
  --leaf: #73a67a;
  --sky: #63b9df;
  --sun: #e8b84b;
  --shadow: 0 24px 70px rgba(93, 59, 44, 0.12);
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  line-height: 1.7;
  background:
    radial-gradient(circle at 8% 6%, rgba(231, 119, 85, 0.13), transparent 24rem),
    radial-gradient(circle at 94% 16%, rgba(99, 185, 223, 0.12), transparent 27rem),
    linear-gradient(180deg, var(--cream-deep), var(--cream) 28rem);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.34;
  background-image: radial-gradient(rgba(108, 78, 59, 0.16) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 46rem);
}

a { color: var(--terracotta-deep); text-underline-offset: 0.18em; }
a:hover { color: #7e3929; }

button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand small {
  display: block;
  margin-top: -5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 16px);
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(111, 79, 58, 0.12);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 8px 22px rgba(93, 59, 44, 0.12);
}

.brand-mark i { width: 16px; height: 16px; border-radius: 5px; }
.brand-mark i:nth-child(1) { background: var(--terracotta); }
.brand-mark i:nth-child(2) { background: var(--leaf); }
.brand-mark i:nth-child(3) { background: var(--sky); }
.brand-mark i:nth-child(4) { background: var(--sun); }

.platform-switch, .language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(111, 79, 58, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 8px 24px rgba(93, 59, 44, 0.07);
  backdrop-filter: blur(12px);
}

.platform-switch a, .language-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.platform-switch a { padding: 8px 13px; }
.language-switch button { padding: 8px 11px; cursor: pointer; }

.platform-switch .active,
.language-switch button[aria-pressed="true"] {
  color: #fffdf9;
  background: var(--terracotta-deep);
}

main { padding: 64px 0 32px; }

article { animation: reveal 450ms ease-out both; }

.hero { max-width: 810px; }

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

h1, h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  text-wrap: balance;
}

h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: #544a42;
  font-size: clamp(1.08rem, 2.3vw, 1.35rem);
  line-height: 1.65;
}

.effective {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.at-a-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 56px 0 24px;
}

.at-a-glance div {
  min-height: 164px;
  padding: 22px;
  border: 1px solid rgba(113, 81, 60, 0.14);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 14px 38px rgba(93, 59, 44, 0.07);
}

.at-a-glance div:nth-child(1) { border-top: 5px solid var(--leaf); }
.at-a-glance div:nth-child(2) { border-top: 5px solid var(--sky); }
.at-a-glance div:nth-child(3) { border-top: 5px solid var(--sun); }

.at-a-glance strong, .at-a-glance span { display: block; }
.at-a-glance strong { margin-bottom: 9px; font-size: 1rem; }
.at-a-glance span { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.policy-card {
  padding: clamp(28px, 6vw, 68px);
  border: 1px solid rgba(113, 81, 60, 0.15);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.policy-card section {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.6fr);
  column-gap: clamp(28px, 7vw, 80px);
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.policy-card section:first-child { padding-top: 0; border-top: 0; }
.policy-card section:last-child { padding-bottom: 0; }

h2 {
  margin: 0;
  color: #8f4934;
  font-size: clamp(1.42rem, 3vw, 2rem);
  line-height: 1.15;
}

.policy-card section > :not(h2) { grid-column: 2; }
.policy-card p { margin: 0 0 16px; }
.policy-card p:last-child { margin-bottom: 0; }
.policy-card ul { margin: 0 0 18px; padding-left: 1.25rem; }
.policy-card li { margin-bottom: 7px; }

.link-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-row a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f8ead6;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 0.82rem;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  article { animation: none; }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .platform-switch { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .platform-switch a { flex: 1; text-align: center; }
  main { padding-top: 42px; }
  .at-a-glance { grid-template-columns: 1fr; }
  .at-a-glance div { min-height: auto; }
  .policy-card section { display: block; }
  .policy-card h2 { margin-bottom: 18px; }
  .site-footer { display: block; }
  .site-footer span { display: block; margin-bottom: 5px; }
}

@media (max-width: 440px) {
  .page-shell { width: min(100% - 22px, 1040px); }
  .site-header { padding-top: 14px; }
  .brand small { display: none; }
  .language-switch button { padding-inline: 10px; }
  h1 { font-size: clamp(2.75rem, 16vw, 4.2rem); }
  .policy-card { border-radius: 25px; }
}
