:root {
  color-scheme: light;
  --bg: #f3f6f4;
  --bg-deep: #e4efe8;
  --ink: #14201a;
  --ink-muted: #4d5f55;
  --primary: #1f6b4a;
  --primary-soft: #2a8a5f;
  --primary-ink: #ffffff;
  --line: rgba(20, 32, 26, 0.12);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 42rem;
  --wide: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(110% 70% at 8% -8%, #d4ebe0 0%, transparent 52%),
    radial-gradient(80% 55% at 100% 0%, #c5d9ce 0%, transparent 48%),
    radial-gradient(60% 40% at 70% 100%, #dfece5 0%, transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--primary-soft);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-link img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.55rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--primary-ink);
}

.hero {
  min-height: calc(100dvh - 5rem);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 1.35rem;
  padding: 2rem 1.5rem 4rem;
  max-width: var(--wide);
  margin: 0 auto;
}

.hero-visual {
  width: min(16rem, 58vw);
  aspect-ratio: 1;
  margin-bottom: 0.5rem;
  animation: float 7s var(--ease) infinite;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(20, 32, 26, 0.14));
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  animation: rise 0.9s var(--ease) both;
}

.hero-tagline {
  margin: 0;
  max-width: 28rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  animation: rise 0.9s var(--ease) 0.12s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  animation: rise 0.9s var(--ease) 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 10px 28px rgba(31, 107, 74, 0.28);
}

.btn-primary:hover {
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

.legal-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem 4.5rem;
  animation: rise 0.7s var(--ease) both;
}

.legal-page h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.legal-meta {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.legal-page h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: var(--ink);
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-page li + li {
  margin-top: 0.35rem;
}

.site-footer {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary);
}

[hidden] {
  display: none !important;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

  .hero-visual,
  .hero-brand,
  .hero-tagline,
  .cta-row,
  .legal-page {
    animation: none;
  }
}
