:root {
  --bg: #f6f1e8;
  --paper: #fffdf8;
  --paper-strong: #ffffff;
  --ink: #193525;
  --text: #26382e;
  --muted: #6f776d;
  --line: #e4dccc;
  --brand: #173a26;
  --green: #1f7a4d;
  --green-soft: #e1f1e8;
  --amber: #e6892f;
  --amber-soft: #fff1dc;
  --shadow: 0 18px 48px rgba(31, 44, 36, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(228, 220, 204, 0.78);
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  font-size: 23px;
  line-height: 1;
}

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

.nav-links a {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: var(--paper);
  color: var(--brand);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(40px, 7vw, 76px);
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--brand);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.app-symbol {
  width: min(100%, 440px);
  display: block;
  margin-left: auto;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.fact-card {
  position: absolute;
  left: 0;
  bottom: 18px;
  max-width: 286px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
  padding: 18px;
}

.fact-card strong {
  display: block;
  color: var(--brand);
  font-size: 16px;
}

.fact-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 8px 0 72px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 10px 32px rgba(31, 44, 36, 0.06);
  padding: 22px;
}

.card h2 {
  font-size: 24px;
}

.card p {
  min-height: 76px;
  color: var(--muted);
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 46px 0 80px;
}

.sidebar {
  position: sticky;
  top: 96px;
  height: fit-content;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 12px;
}

.sidebar a {
  display: block;
  border-radius: 13px;
  padding: 11px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.sidebar a:hover,
.sidebar a[aria-current="page"] {
  background: var(--green-soft);
  color: var(--brand);
}

.policy-article {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 48px);
}

.policy-article header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.policy-article h1 {
  font-size: clamp(34px, 6vw, 56px);
}

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  border: 1px solid rgba(230, 137, 47, 0.24);
  border-radius: 18px;
  background: var(--amber-soft);
  color: #6e471d;
  padding: 16px 18px;
  margin: 24px 0;
  font-size: 15px;
}

.policy-section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}

.policy-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.policy-section h2 {
  font-size: 22px;
}

.policy-section p {
  margin: 10px 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #efe8dc;
}

.footer-inner {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--brand);
  font-weight: 800;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: auto;
  }

  .app-symbol {
    margin: 0;
  }

  .fact-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 14px;
  }

  .grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
  }
}
