:root {
  --bg: #f2efe8;
  --bg-alt: #e8e1d4;
  --ink: #1c1b19;
  --muted: #5b5953;
  --accent: #0f5b4f;
  --accent-2: #c9a86a;
  --card: #f8f6f0;
  --shadow: 0 18px 50px rgba(16, 20, 15, 0.12);
  --font-sans: "IBM Plex Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: radial-gradient(1200px 800px at 90% -10%, #e2d7c4, transparent),
    radial-gradient(900px 600px at -10% 10%, #d5e2db, transparent),
    var(--bg);
  min-height: 100vh;
}

.bg-ornament {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(15, 91, 79, 0.06), transparent 45%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 22px);
  pointer-events: none;
  z-index: -1;
  animation: ornamentShift 22s ease-in-out infinite;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.nav a.active {
  color: var(--ink);
  border-bottom: 2px solid var(--accent-2);
  padding-bottom: 4px;
}

.cta {
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(16, 20, 15, 0.16);
  filter: brightness(1.02);
}

.ghost {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 50px 6vw 30px;
  align-items: center;
}

.hero.compact {
  padding-top: 20px;
}

.hero-text h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 5vw, 52px);
  margin: 8px 0 18px;
}

.hero-text {
  animation: fadeUp 0.7s ease both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
}

.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
}

.hero-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.hero-card {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: floatIn 0.8s ease both;
}

.card-header {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: var(--bg-alt);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
}

.card-body {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.stat-title {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-row {
  font-size: 16px;
}

.card-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--muted);
}

.grid-section {
  padding: 30px 6vw;
}

.action-section {
  padding: 10px 6vw 40px;
}

.action-card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  animation: fadeUp 0.8s ease both;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(16, 20, 15, 0.16);
}

.action-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.action-header h2 {
  font-family: var(--font-sans);
  margin: 0 0 6px;
}

.action-header p {
  margin: 0;
  color: var(--muted);
}

.action-badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 91, 79, 0.12);
  color: var(--accent);
  font-weight: 600;
  animation: badgePulse 3.2s ease-in-out infinite;
}

.action-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.tab.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.action-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.field input {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: rgba(15, 91, 79, 0.5);
  box-shadow: 0 0 0 3px rgba(15, 91, 79, 0.12);
}

.field-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 8px 0;
}

.result {
  min-height: 20px;
  font-size: 14px;
  color: var(--ink);
}

.result.success {
  color: #1a5e3b;
}

.result.error {
  color: #8f2d2d;
}

.grid-section h2 {
  font-family: var(--font-sans);
  font-size: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.tile {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(16, 20, 15, 0.14);
}

.split {
  padding: 30px 6vw 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.panel {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.list {
  padding-left: 16px;
  color: var(--muted);
}

.faq {
  padding: 20px 6vw 60px;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.85);
  padding: 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(16, 20, 15, 0.14);
}

.footer {
  padding: 20px 6vw 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.muted {
  color: var(--muted);
}

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

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

@keyframes ornamentShift {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes badgePulse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .nav {
    width: 100%;
  }
  .site-header {
    align-items: flex-start;
  }
}
