:root {
  --green-950: #09231a;
  --green-900: #0d3024;
  --green-800: #123c2f;
  --green-700: #1d5946;
  --green-600: #2f725b;
  --lime: #b8d96b;
  --cream: #f1efe5;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #15372c;
  --muted: #687871;
  --line: #dfe5df;
  --shadow: 0 24px 60px rgba(8, 38, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-800);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.legal-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(18, 60, 47, 0.09);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(16px);
}

.legal-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand img {
  width: 190px;
  height: auto;
}

.legal-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-link {
  color: var(--green-800);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.home-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-toggle {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(18, 60, 47, 0.12);
  border-radius: 9px;
  background: var(--white);
}

.language-toggle button {
  min-width: 36px;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  color: #7b8a84;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle button.active {
  color: var(--green-800);
  background: #e8eee9;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 88px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(184, 217, 107, 0.24), transparent 34%),
    linear-gradient(125deg, var(--green-950), var(--green-700));
}

.legal-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.legal-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: #c7d6cf;
  font-size: 17px;
}

.status-line {
  display: inline-flex;
  margin-top: 28px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #dce8e1;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 700;
}

.legal-main {
  padding: 68px 0 100px;
}

.legal-card {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 46px 0 14px;
  color: var(--green-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.legal-card h3 {
  margin: 30px 0 8px;
  color: var(--green-800);
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  color: #4f625a;
}

.legal-card p {
  margin: 0 0 16px;
}

.legal-card ul {
  margin: 10px 0 20px;
  padding-left: 22px;
}

.legal-card a {
  color: var(--green-700);
  font-weight: 700;
  text-underline-offset: 3px;
}

.address-card {
  margin: 20px 0 26px;
  padding: 22px 24px;
  border-left: 4px solid var(--lime);
  border-radius: 0 14px 14px 0;
  background: #f3f6f1;
  color: var(--green-900);
  font-style: normal;
}

.notice {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid #d9e4d7;
  border-radius: 13px;
  color: #52675e;
  background: #f6f8f4;
  font-size: 14px;
}

.legal-footer {
  padding: 46px 0 28px;
  color: #b9cbc2;
  background: var(--green-950);
}

.legal-footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 30px;
}

.legal-footer img {
  width: 180px;
  height: auto;
}

.legal-footer-brand {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

.legal-footer a {
  color: #d9e5df;
  text-decoration: none;
}

.legal-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1080px);
  }

  .legal-nav {
    min-height: 70px;
  }

  .legal-brand img {
    width: 150px;
  }

  .home-link {
    display: none;
  }

  .legal-hero {
    padding: 72px 0 68px;
  }

  .legal-main {
    padding: 34px 0 64px;
  }

  .legal-card {
    border-radius: 18px;
  }

  .legal-footer-grid {
    flex-direction: column;
  }

  .legal-footer-links {
    justify-content: flex-start;
  }
}
