:root {
  --clr-bg-darkest: #070F07;
  --clr-bg-dark: #0D1F0E;
  --clr-bg-mid: #1A3A1C;
  --clr-cream: #F4E7D2;
  --clr-red: #D93624;
  --clr-sky: #63C9E8;
  --clr-ochre: #E8B963;
  --clr-bg-card: rgba(255,255,255,0.04);
  --clr-lime: #4ADE00;
  --clr-lime-dim: rgba(74,222,0,0.15);
  --clr-lime-border: rgba(74,222,0,0.35);
  --clr-white: #F5F2EC;
  --clr-muted: #8FA888;
  --clr-border: rgba(255,255,255,0.08);
  --clr-border-hover: rgba(255,255,255,0.18);
  --font-display: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16,1,0.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--clr-bg-dark);
  color: var(--clr-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(74,222,0,0.16), rgba(255,255,255,0.03));
}
a { color: inherit; text-decoration: none; }
button { cursor: none; font-family: inherit; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }
ul { list-style: none; }

.text-display { font-family: var(--font-display); }
.text-mono { font-family: var(--font-mono); }
.text-muted { color: var(--clr-muted); }
.text-lime { color: var(--clr-lime); }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 48px; box-sizing: border-box; }
.section { padding-top: 100px; padding-bottom: 100px; }
.section-sm { padding-top: 60px; padding-bottom: 60px; }
.section, .section-sm, .page-header, footer {
  position: relative;
}
.motion-field {
  position: absolute;
  inset: 24px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.42;
}
.motion-field::before,
.motion-field::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(245,242,236,0.12);
  border-radius: 50%;
  will-change: transform;
}
.motion-field::before {
  width: 220px;
  height: 220px;
  right: 8%;
  top: 8%;
  background: radial-gradient(circle, rgba(99,201,232,0.1), transparent 68%);
}
.motion-field::after {
  width: 340px;
  height: 340px;
  left: -90px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(232,185,99,0.08), transparent 70%);
}
.motion-leaf {
  position: absolute;
  width: 18px;
  height: 30px;
  border-radius: 80% 0 80% 10%;
  background: linear-gradient(145deg, rgba(103,225,42,0.62), rgba(47,143,40,0.22));
  filter: blur(0.2px);
  opacity: 0.72;
  animation: sectionLeafFloat 7s ease-in-out infinite;
}
.motion-leaf:nth-child(1) { left: 12%; top: 18%; animation-delay: -1s; }
.motion-leaf:nth-child(2) { right: 18%; top: 46%; width: 14px; height: 24px; animation-delay: -3s; }
.motion-leaf:nth-child(3) { left: 48%; bottom: 16%; width: 22px; height: 36px; animation-delay: -5s; }
@keyframes sectionLeafFloat {
  0%, 100% { transform: translate3d(-16px, 8px, 0) rotate(-36deg); opacity: 0.22; }
  50% { transform: translate3d(18px, -18px, 0) rotate(28deg); opacity: 0.82; }
}
.section > .container,
.section-sm > .container,
.page-header > .container,
footer > .container {
  position: relative;
  z-index: 1;
}
.motion-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  color: var(--clr-white);
  margin-bottom: 48px;
  line-height: 1.15;
  letter-spacing: 0;
}
.page-header { padding-top: 150px; padding-bottom: 86px; background: var(--clr-bg-darkest); position: relative; overflow: hidden; }
.page-header::after {
  content: '';
  position: absolute;
  inset: auto -10% -45% -10%;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(74,222,0,0.09), transparent 68%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(42px, 7vw, 76px); line-height: 1.05; margin-bottom: 16px; }
.page-header p { max-width: 690px; font-size: clamp(16px, 2vw, 19px); color: var(--clr-muted); }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 300ms ease, backdrop-filter 300ms ease, padding 300ms ease;
}
.nav.scrolled {
  background: rgba(13,31,14,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 48px;
  border-bottom: 1px solid var(--clr-border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--clr-white); letter-spacing: 0; }
.nav-logo-icon { width: 28px; height: 28px; color: var(--clr-lime); flex-shrink: 0; }
.nav-progress {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 0;
  height: 1px;
  background: rgba(245,242,236,0.12);
  overflow: hidden;
}
.nav-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--clr-red), var(--clr-ochre), var(--clr-sky));
  transform-origin: left center;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; color: rgba(245,242,236,0.75); transition: color var(--transition-fast); position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--clr-lime);
  transition: width var(--transition-base);
}
.nav-links a:hover, .nav-links a.active { color: var(--clr-white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-signup {
  background: var(--clr-lime);
  color: #0D1F0E;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  transition: filter var(--transition-fast), transform var(--transition-fast);
}
.btn-signup:hover { filter: brightness(1.1); transform: scale(1.02); }
.btn-login {
  background: rgba(255,255,255,0.07);
  color: var(--clr-white);
  font-size: 14px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.btn-login:hover { background: rgba(255,255,255,0.12); border-color: var(--clr-border-hover); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--clr-white); border-radius: 2px; transition: transform 300ms ease, opacity 300ms ease; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--clr-bg-darkest);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.nav-mobile-menu.open { opacity: 1; pointer-events: all; }
.nav-mobile-menu a { font-family: var(--font-display); font-size: clamp(32px, 8vw, 56px); color: var(--clr-white); transition: color var(--transition-fast); line-height: 1; }
.nav-mobile-menu a:hover { color: var(--clr-lime); }

.cursor-dot {
  position: fixed;
  width: 22px;
  height: 34px;
  background:
    linear-gradient(135deg, rgba(245,242,236,0.3), transparent 42%),
    linear-gradient(145deg, #67e12a 0%, #2f8f28 72%);
  border-radius: 80% 0 80% 10%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) rotate(-32deg);
  transform-origin: 50% 80%;
  transition: width 200ms ease, height 200ms ease, background 200ms ease, border-radius 200ms ease;
  will-change: transform;
  box-shadow: 0 8px 18px rgba(74,222,0,0.2);
}
.cursor-dot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: 13%;
  width: 1px;
  background: rgba(7,15,7,0.42);
  transform: rotate(18deg);
}
.cursor-ring {
  position: fixed;
  width: 54px; height: 34px;
  border: 1px solid rgba(244,231,210,0.26);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%) rotate(-18deg);
  transition: width 250ms ease, height 250ms ease, border-color 250ms ease;
  will-change: transform;
}
body:has(a:hover) .cursor-dot, body:has(button:hover) .cursor-dot { width: 28px; height: 42px; background: linear-gradient(145deg, #f4e7d2 0%, #67e12a 82%); }
body:has(a:hover) .cursor-ring, body:has(button:hover) .cursor-ring { border-color: rgba(74,222,0,0.72); width: 68px; height: 42px; }

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #07100b;
  color: var(--clr-cream);
}
.site-intro::before,
.site-intro::after {
  content: '';
  position: absolute;
  inset: -10%;
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 340px 60%;
  opacity: 0.82;
  will-change: transform, opacity;
}
.site-intro::before {
  background-image:
    linear-gradient(to top, #102d17 0 58%, transparent 58%),
    radial-gradient(ellipse at 50% 100%, rgba(74,222,0,0.22), transparent 58%);
  clip-path: polygon(0 100%, 0 42%, 7% 34%, 14% 48%, 20% 28%, 27% 51%, 35% 24%, 44% 47%, 52% 31%, 61% 53%, 70% 27%, 78% 49%, 86% 33%, 94% 46%, 100% 38%, 100% 100%);
}
.site-intro::after {
  background-image:
    linear-gradient(to top, #071c0d 0 66%, transparent 66%),
    radial-gradient(ellipse at 50% 100%, rgba(244,231,210,0.08), transparent 62%);
  clip-path: polygon(0 100%, 0 52%, 9% 35%, 18% 55%, 25% 29%, 35% 57%, 43% 31%, 52% 60%, 62% 36%, 72% 58%, 80% 30%, 90% 55%, 100% 40%, 100% 100%);
}
.site-intro-mark {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  width: min(92vw, 1180px);
  text-align: center;
  font-size: clamp(48px, 11vw, 168px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 0.12em 0 0.2em;
}
.site-intro-mark span {
  display: block;
  transform: translateY(110%);
  animation: introWord 1450ms cubic-bezier(0.16,1,0.3,1) 180ms forwards;
}
.site-intro-mark {
  overflow: hidden;
}
.site-intro-leaf {
  position: absolute;
  z-index: 3;
  width: 24px;
  height: 38px;
  border-radius: 80% 0 80% 10%;
  background: linear-gradient(145deg, #70e833, #247d24);
  animation: introLeaf 2100ms cubic-bezier(0.16,1,0.3,1) forwards;
}
.site-intro.is-hiding {
  animation: introVanish 1150ms cubic-bezier(0.16,1,0.3,1) forwards;
}
.site-intro.is-hiding::before { animation: introForestBack 1150ms cubic-bezier(0.16,1,0.3,1) forwards; }
.site-intro.is-hiding::after { animation: introForestFront 1150ms cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes introWord { to { transform: translateY(0); } }
@keyframes introLeaf {
  from { transform: translate(-42vw, 28vh) rotate(-80deg); opacity: 0; }
  35% { opacity: 1; }
  to { transform: translate(38vw, -22vh) rotate(80deg); opacity: 0; }
}
@keyframes introVanish {
  0% { opacity: 1; filter: blur(0); }
  100% { opacity: 0; filter: blur(16px); visibility: hidden; }
}
@keyframes introForestBack { to { transform: translateY(20vh) scale(1.18); opacity: 0; } }
@keyframes introForestFront { to { transform: translateY(34vh) scale(1.28); opacity: 0; } }

.footer { background: var(--clr-bg-darkest); border-top: 1px solid var(--clr-border); padding: 56px 0 32px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 24px; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { color: var(--clr-muted); transition: color var(--transition-fast); }
.footer-socials a:hover { color: var(--clr-white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 32px; }
.footer-links a { font-size: 13px; color: var(--clr-muted); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--clr-white); }
.footer-copy { font-size: 12px; color: rgba(143,168,136,0.5); font-family: var(--font-mono); }

.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label { color: var(--clr-muted); font-size: 13px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  color: var(--clr-white);
  padding: 13px 15px;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--clr-lime);
  box-shadow: 0 0 0 3px rgba(74,222,0,0.12);
}

@media(max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
}
@media(max-width: 768px) {
  body { cursor: auto; }
  button, a { cursor: pointer; }
  .cursor-dot, .cursor-ring { display: none; }
  .container { padding: 0 20px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-sm { padding-top: 44px; padding-bottom: 44px; }
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-progress { left: 20px; right: 20px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
}
