:root {
  --ink: #1c241f;
  --ink-soft: #3a463f;
  --paper: #f3f0e8;
  --mist: #dfe8e2;
  --pine: #1f5c4a;
  --pine-deep: #123d32;
  --lime-glow: #b7e4c7;
  --sand: #e8dfd0;
  --line: rgba(28, 36, 31, 0.12);
  --shadow: 0 30px 80px rgba(18, 61, 50, 0.18);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(183, 228, 199, 0.55), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(232, 223, 208, 0.9), transparent 55%),
    linear-gradient(165deg, #eef4f0 0%, var(--paper) 45%, #e7ebe4 100%);
}

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

a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pine-deep);
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--pine-deep);
}

.hero {
  position: relative;
  flex: 1;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 5.5rem);
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(18, 61, 50, 0.78) 0%, rgba(18, 61, 50, 0.35) 42%, rgba(28, 36, 31, 0.15) 100%),
    radial-gradient(circle at 70% 40%, rgba(183, 228, 199, 0.35), transparent 40%),
    url("hero.svg") center / cover no-repeat,
    linear-gradient(135deg, #123d32, #2f6b57 55%, #a8c4b4);
  transform: scale(1.02);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 61, 50, 0.55), transparent 45%);
}

@keyframes drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.5%, -1%, 0);
  }
}

.hero-copy {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(3rem, 8vh, 5.5rem);
  color: #f7faf8;
  animation: rise 0.9s ease both;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 0 0.85rem;
}

.hero p {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  font-size: 1.08rem;
  color: rgba(247, 250, 248, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: #f7faf8;
  color: var(--pine-deep);
}

.btn-primary:hover {
  background: #ffffff;
  color: var(--pine-deep);
}

.btn-ghost {
  background: transparent;
  color: #f7faf8;
  border-color: rgba(247, 250, 248, 0.45);
}

.btn-ghost:hover {
  border-color: #f7faf8;
  color: #ffffff;
}

.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

/* Legal / inner pages */
.page {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
  animation: rise 0.7s ease both;
}

.page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.5rem;
}

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

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

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

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

.page-topbar .brand {
  color: var(--ink);
}

@media (max-width: 640px) {
  .nav {
    gap: 0.85rem;
  }

  .hero {
    min-height: calc(100svh - 5rem);
  }

  .hero h1 {
    max-width: none;
  }
}
