@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --c-primary: #2F5A46;
  --c-secondary: #6E8F76;
  --c-accent: #D9C97A;
  --c-accent2: #8C6B58;
  --c-bg: #F3F7F4;
  --c-bg2: #C3D1C8;
  --c-bg3: #E6EFE9;
  --c-text: #26302C;
  --c-text-muted: #4d5f57;
  --c-white: #FFFFFF;

  --grad-hero: linear-gradient(135deg, #2F5A46 0%, #6E8F76 60%, #C3D1C8 100%);
  --grad-light: linear-gradient(180deg, #F3F7F4 0%, #E6EFE9 100%);
  --grad-accent: linear-gradient(135deg, #D9C97A 0%, #E8DFA3 100%);
  --grad-nature: linear-gradient(135deg, #6E8F76 0%, #A5B9AA 100%);
  --grad-warm: linear-gradient(135deg, #8C6B58 0%, #A8846F 100%);
  --overlay-forest: rgba(47, 90, 70, 0.32);

  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --fs-xs: 0.72rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;
  --fs-hero: clamp(2.6rem, 5.5vw, 5rem);
  --fs-display: clamp(1.9rem, 3.5vw, 3.2rem);
  --fs-section: clamp(1.6rem, 2.8vw, 2.6rem);

  --lh-tight: 1.18;
  --lh-snug: 1.35;
  --lh-normal: 1.6;
  --lh-relaxed: 1.82;

  --ls-tight: -0.03em;
  --ls-snug: -0.015em;
  --ls-wide: 0.07em;
  --ls-wider: 0.14em;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 9999px;

  --shadow-sm: 0 2px 10px rgba(47, 90, 70, 0.06);
  --shadow-md: 0 6px 28px rgba(47, 90, 70, 0.10);
  --shadow-lg: 0 14px 52px rgba(47, 90, 70, 0.14);
  --shadow-xl: 0 22px 72px rgba(47, 90, 70, 0.18);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --dur-fast: 0.18s;
  --dur-base: 0.38s;
  --dur-slow: 0.65s;
  --dur-slower: 1s;

  --w-container: 1280px;
  --w-content: 960px;
  --w-narrow: 640px;

  --pad-x: clamp(18px, 5vw, 80px);
  --pad-section: clamp(60px, 8vw, 120px);
}

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

html {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: var(--lh-relaxed);
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section,
header,
footer,
main,
nav,
article,
aside,
div {
  max-width: 100%;
  box-sizing: border-box;
}

h1 {
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

h2 {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: var(--ls-snug);
}

h3 {
  font-size: var(--fs-section);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
}

h4 {
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.4;
}

h5 {
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.5;
}

p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--w-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.container-md {
  width: 100%;
  max-width: var(--w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.container-sm {
  width: 100%;
  max-width: var(--w-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section-pad {
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
}

.label-tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-accent2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.label-tag::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--c-accent2);
  flex-shrink: 0;
}

.label-tag-light {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.label-tag-light::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--c-accent);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.btn-accent {
  background: var(--grad-accent);
  color: var(--c-primary);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--c-primary);
  background: linear-gradient(135deg, #E0D48B 0%, #D9C97A 100%);
}

.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
  color: var(--c-white);
}

.btn-solid {
  background: var(--c-primary);
  color: var(--c-white);
}

.btn-solid:hover {
  background: #264a39;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--c-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}

.btn-outline-dark:hover {
  background: var(--c-primary);
  color: var(--c-white);
  transform: translateY(-2px);
}

.underline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-primary);
  position: relative;
  padding-bottom: 2px;
}

.underline-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-primary);
  transition: width var(--dur-base) var(--ease);
}

.underline-link:hover::after {
  width: 100%;
}

.underline-link .arrow {
  transition: transform var(--dur-base) var(--ease);
}

.underline-link:hover .arrow {
  transform: translateX(4px);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-26px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(26px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.18s; }
.stagger-3 { transition-delay: 0.28s; }
.stagger-4 { transition-delay: 0.38s; }
.stagger-5 { transition-delay: 0.48s; }
.stagger-6 { transition-delay: 0.58s; }

html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
