:root {
  color-scheme: light;
  --bg: #f8fff5;
  --surface: rgba(255,255,255,.82);
  --surface-solid: #fff;
  --text: #101b14;
  --muted: #607064;
  --line: rgba(24, 129, 63, .16);
  --line-strong: rgba(24, 129, 63, .28);
  --green: #34b756;
  --green-2: #8bdc3f;
  --green-dark: #12813c;
  --mint: #eefaf1;
  --blue: #2f7df6;
  --warm: #ffb84d;
  --shadow: 0 28px 90px rgba(18, 92, 44, .14);
  --shadow-soft: 0 16px 46px rgba(18, 92, 44, .09);
  --container: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html.legal-loading body { visibility: hidden; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at 15% 4%, rgba(126,216,58,.24), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(47,125,246,.10), transparent 24rem),
    linear-gradient(180deg, #fbfff8 0%, #fff 50%, #f6fff7 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.74' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a { color: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 18px 0;
  pointer-events: none;
}

.nav-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 22px 70px rgba(18,92,44,.10), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(22px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: Syne, Inter, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(18,129,60,.13));
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.nav-links a,
.lang-btn {
  min-height: 34px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green-dark);
  background: rgba(18,129,60,.07);
  border-color: var(--line);
}

.lang-wrap {
  flex: 0 0 auto;
  justify-self: end;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}

.lang-btn {
  min-width: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lang-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 10px 22px rgba(18,129,60,.2);
}

.lang-more {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: 222px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.lang-wrap.open .lang-more { display: grid; }

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--text);
  cursor: pointer;
  place-items: center;
}

.nav-burger::before {
  content: "";
}

.hero {
  padding: 72px 0 28px;
}

.hero-card,
.legal-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: 34px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 50%;
  width: 460px;
  height: 460px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(126,216,58,.22), transparent 68%);
  pointer-events: none;
}

.kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(238,250,241,.8);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Syne, Inter, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  position: relative;
  margin-top: 16px;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
}

.hero-copy {
  position: relative;
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.meta-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.meta-pill {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.76);
  color: var(--text);
  font-weight: 850;
}

.content {
  padding: 28px 0 70px;
}

.legal-card,
.support-card {
  padding: 34px;
}

.legal-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-child { padding-top: 0; border-top: 0; }
.legal-section h2 { margin-bottom: 12px; font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
.legal-section h3 { margin: 18px 0 8px; font-size: 1.14rem; }
.legal-section p,
.legal-section li,
.support-card p {
  color: var(--muted);
  font-size: 1rem;
}

.legal-section p { margin: 0 0 12px; }
.legal-section ul,
.legal-section ol { margin: 0 0 12px 22px; padding: 0; }
.legal-section li { margin-bottom: 8px; }
strong { color: var(--text); }

.notice {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(255,184,77,.28);
  border-radius: 18px;
  background: rgba(255,248,229,.78);
  color: #735016;
  font-weight: 800;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}

.info-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}

.info-label {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 850;
}

.info-value {
  margin-top: 4px;
  color: var(--text);
  font-weight: 900;
  word-break: break-word;
}

.support-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.support-field {
  display: grid;
  gap: 8px;
}

.support-field label {
  color: var(--text);
  font-weight: 900;
}

.support-field input,
.support-field textarea,
.support-field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  color: var(--text);
  padding: 14px 16px;
  font: 500 1rem/1.5 Inter, sans-serif;
  outline: none;
}

.support-field textarea { min-height: 170px; resize: vertical; }

.support-field input:focus,
.support-field textarea:focus,
.support-field select:focus {
  border-color: rgba(18,129,60,.45);
  box-shadow: 0 0 0 4px rgba(18,129,60,.10);
}

.primary-btn {
  min-height: 50px;
  width: max-content;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(18,129,60,.2);
}

.footer {
  padding: 28px 0 54px;
}

.footer-inner {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer a,
.legal-card a,
.support-card a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

[dir="rtl"] .legal-section ul,
[dir="rtl"] .legal-section ol { margin-left: 0; margin-right: 22px; }

@media (max-width: 900px) {
  .nav-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nav-burger { display: grid; }
  .lang-wrap { justify-self: center; }
  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 94px;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { justify-content: center; min-height: 42px; font-size: .86rem; }
  .meta-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); max-width: var(--container); }
  .nav { padding: 8px 6px 0; }
  .nav-inner {
    width: min(100%, calc(100vw - 12px)) !important;
    max-width: calc(100vw - 12px) !important;
    min-height: 58px;
    position: relative;
    display: block;
    padding: 7px 8px;
    border-radius: 20px;
  }
  .brand { position: absolute; left: 8px; top: 7px; }
  .brand span { display: none; }
  .brand img { width: 44px; height: 44px; }
  .nav-links {
    position: absolute;
    left: 6px;
    right: 6px;
    top: 76px;
    width: auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .nav-links.open { display: grid; }
  .nav-links a {
    justify-content: center;
    min-height: 40px;
    padding: 7px 10px;
    font-size: .78rem;
    line-height: 1.16;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .lang-wrap {
    position: absolute;
    left: 50%;
    top: 9px;
    transform: translateX(-50%);
    justify-content: center;
    gap: 2px;
    padding: 3px;
  }
  .lang-more { right: 50%; transform: translateX(50%); width: 210px; grid-template-columns: repeat(4, 1fr); }
  .lang-btn { min-width: 30px; height: 30px; padding: 0 4px; font-size: .66rem; }
  .nav-burger {
    display: grid !important;
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 120;
    width: 42px;
    height: 42px;
    border-color: var(--line);
    background: rgba(255,255,255,.76);
    color: var(--text);
    box-shadow: none;
  }
  .nav-burger svg { display: none; }
  .nav-burger::before { content: "☰"; font-size: 1.25rem; line-height: 1; }
  .nav-burger svg { display: block; }
  .nav-burger::before { content: ""; display: none; }
  .hero { padding: 42px 0 22px; }
  h1 { font-size: 1.6rem; max-width: 340px; margin-left: auto; margin-right: auto; overflow-wrap: anywhere; }
  h2 { overflow-wrap: break-word; }
  .hero-copy { max-width: 320px; overflow-wrap: break-word; }
  .hero-card,
  .legal-card,
  .support-card { padding: 22px 18px; border-radius: 24px; }
  .legal-section { padding: 22px 0; }
  .primary-btn { width: 100%; }
}

@media print {
  @page { margin: 16mm; }
  * { box-shadow: none !important; text-shadow: none !important; }
  html,
  body {
    background: #fff !important;
    color: #101b14 !important;
  }
  body::after,
  .nav,
  .footer,
  .lang-more {
    display: none !important;
  }
  .container {
    width: 100% !important;
    max-width: none !important;
  }
  .hero {
    padding: 0 0 14px !important;
  }
  .hero-card,
  .legal-card,
  .support-card {
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    padding: 0 !important;
    backdrop-filter: none !important;
  }
  .hero-card::before,
  .meta-grid {
    display: none !important;
  }
  .kicker {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    min-height: 0 !important;
    color: #12813c !important;
  }
  h1 {
    margin: 8px 0 10px !important;
    font-size: 28pt !important;
    line-height: 1.1 !important;
  }
  .hero-copy {
    max-width: none !important;
    margin: 0 !important;
    font-size: 11pt !important;
  }
  .content {
    padding: 0 !important;
  }
  .legal-section {
    break-inside: avoid;
    padding: 14px 0 !important;
  }
  .legal-section h2 {
    font-size: 16pt !important;
  }
  .legal-section p,
  .legal-section li {
    color: #26352a !important;
    font-size: 10.5pt !important;
    line-height: 1.55 !important;
  }
}
