:root {
  color-scheme: light;
  --ink: #173b2d;
  --ink-soft: #476457;
  --paper: #fbf8ec;
  --paper-deep: #f1ead2;
  --leaf: #1d5a3d;
  --leaf-bright: #2f7a52;
  --fruit: #f3bd3f;
  --fruit-deep: #d99220;
  --line: rgba(23, 59, 45, 0.18);
  --shadow: 0 24px 70px rgba(33, 64, 45, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(243, 189, 63, 0.19), transparent 27rem),
    linear-gradient(115deg, transparent 0 74%, rgba(29, 90, 61, 0.045) 74% 75%, transparent 75% 100%),
    var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--leaf);
  text-decoration-color: rgba(29, 90, 61, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--fruit-deep);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 3px solid var(--fruit);
  outline-offset: 4px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 176px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.page-shell {
  padding-block: 72px 90px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  padding-bottom: 62px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--leaf-bright);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--fruit-deep);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h3 {
  margin: 2.2rem 0 0.55rem;
  font-size: 1.4rem;
}

.hero-summary {
  max-width: 38rem;
  margin: 1.6rem 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.policy-meta {
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 2px 30px 2px 30px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
}

.policy-meta dt {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.policy-meta dd {
  margin: 0.12rem 0 1rem;
  font-weight: 700;
}

.policy-meta dd:last-child {
  margin-bottom: 0;
}

.notice {
  margin: 0 0 3rem;
  padding: 1.1rem 1.35rem;
  border-left: 5px solid var(--fruit-deep);
  background: rgba(243, 189, 63, 0.12);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.app-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px 42px 3px 42px;
  background: rgba(255, 255, 255, 0.52);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-card::after {
  content: "↗";
  position: absolute;
  right: 25px;
  bottom: 20px;
  color: var(--fruit-deep);
  font-size: 1.6rem;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 90, 61, 0.45);
  box-shadow: var(--shadow);
}

.app-card h2 {
  margin-top: 1.9rem;
  font-size: 2rem;
}

.app-card p {
  color: var(--ink-soft);
}

.app-index {
  color: var(--fruit-deep);
  font-family: Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
}

.policy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 720px);
  gap: clamp(36px, 8vw, 100px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

.policy-toc {
  position: sticky;
  top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--fruit);
  font-size: 0.88rem;
}

.policy-toc strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-toc a {
  display: block;
  margin: 0.35rem 0;
  text-decoration: none;
}

.policy-content section + section {
  margin-top: 3.8rem;
  padding-top: 3.8rem;
  border-top: 1px solid var(--line);
}

.policy-content p,
.policy-content li {
  color: #294c3c;
}

.policy-content li + li {
  margin-top: 0.55rem;
}

.summary-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 0 3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.summary-box div {
  padding: 1.25rem;
  background: var(--paper);
}

.summary-box strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--leaf);
  font-family: Georgia, serif;
  font-size: 1.05rem;
}

.language-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 5rem 0 3rem;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.language-divider::before,
.language-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 28px 42px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .hero,
  .policy-layout {
    grid-template-columns: 1fr;
  }

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

  .app-card {
    min-height: 220px;
  }

  .policy-toc {
    position: static;
    columns: 2;
  }

  .policy-toc strong {
    column-span: all;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .site-footer,
  .page-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-header {
    padding-block: 20px;
  }

  .page-shell {
    padding-block: 50px 70px;
  }

  .summary-box {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: white;
    color: black;
  }

  .site-header,
  .site-footer,
  .policy-toc,
  .skip-link {
    display: none;
  }

  .page-shell,
  .policy-layout {
    width: 100%;
    display: block;
    padding: 0;
    border: 0;
  }

  a {
    color: inherit;
  }
}
