:root {
  color-scheme: light;
  --ink: #14231b;
  --muted: #5d6f64;
  --line: #dbe7df;
  --paper: #fffef9;
  --leaf: #16774a;
  --leaf-dark: #0e5d39;
  --wash: #edf7f0;
  --warm: #f6f1e5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, #e3f5e9 0, transparent 28rem),
    linear-gradient(180deg, #fbfdf9 0, var(--paper) 30rem);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

a {
  color: var(--leaf-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--leaf);
}

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--leaf);
  box-shadow: 0 8px 24px #16774a2b;
}

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

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

.top-nav a[aria-current="page"] {
  color: var(--leaf-dark);
}

.page-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.hero {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.26;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 8vw, 66px);
}

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

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

.language-switcher {
  margin-top: 28px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffffc7;
}

.language-switcher button {
  min-width: 92px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: white;
  background: var(--leaf-dark);
}

.policy {
  padding-top: 38px;
}

.policy[hidden] {
  display: none;
}

.policy section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.policy h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

.policy h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.policy p,
.policy ul {
  margin: 10px 0;
}

.policy ul {
  padding-left: 22px;
}

.policy li + li {
  margin-top: 7px;
}

.notice {
  margin: 26px 0 4px;
  padding: 20px 22px;
  border: 1px solid #cfe2d5;
  border-radius: 16px;
  background: var(--wash);
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffffb8;
  font-size: 14px;
}

th,
td {
  min-width: 145px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--leaf-dark);
  background: var(--wash);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.home-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: #ffffffc7;
  box-shadow: 0 18px 50px #1635220d;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease;
}

.home-card:hover {
  transform: translateY(-3px);
  border-color: #9bc4a8;
  color: var(--ink);
}

.home-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.home-card span {
  color: var(--muted);
}

.site-footer {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding-top: 20px;
  }

  .top-nav {
    gap: 10px 14px;
  }

  .page-shell {
    padding-top: 38px;
  }

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

  th,
  td {
    min-width: 132px;
  }
}
