:root {
  --bg: #f6f7f1;
  --surface: #ffffff;
  --surface-alt: #edf1e7;
  --text: #142013;
  --muted: #5d6959;
  --line: #d5dccd;
  --accent: #1d7a52;
  --accent-dark: #14543a;
  --warm: #f5c66f;
  --max-width: 1180px;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(20, 32, 19, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 198, 111, 0.22), transparent 28%),
    linear-gradient(180deg, #f8f9f4 0%, #eef2e8 100%);
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(248, 249, 244, 0.86);
  border-bottom: 1px solid rgba(213, 220, 205, 0.8);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

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

.nav a {
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-shell {
  align-items: center;
  gap: 10px 18px;
}

.nav-dropdown {
  position: relative;
  padding-bottom: 8px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  display: none;
  z-index: 20;
}

.nav-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
}

.nav-menu .disabled {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #92a08d;
  font-weight: 600;
  cursor: not-allowed;
}

.nav-menu a:hover {
  text-decoration: none;
  background: var(--surface-alt);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  display: block;
}

.nav-cta {
  margin-left: 4px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #2f996a 100%);
  color: #fff !important;
  font-size: 0.94rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(29, 122, 82, 0.2);
  cursor: pointer;
}

.nav-cta:hover {
  text-decoration: none;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #2f996a 100%);
  box-shadow: 0 12px 30px rgba(29, 122, 82, 0.22);
}

.button-secondary {
  color: var(--accent-dark);
  background: rgba(29, 122, 82, 0.08);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button:disabled,
.button-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.92;
  transform: none;
}

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.tool-box,
.faq-item,
.cta-band,
.link-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 198, 111, 0.2);
  color: #7e5600;
  font-size: 0.88rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0 0 16px;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats,
.bullet-list,
.steps,
.faq-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.hero-stats li,
.mini-card {
  padding: 18px;
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.hero-stats strong,
.mini-card strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
}

.hero-panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(29, 122, 82, 0.08), rgba(245, 198, 111, 0.08)),
    rgba(255, 255, 255, 0.92);
}

.tool-box {
  padding: 28px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tool-box h2,
.tool-box h3 {
  margin-bottom: 10px;
}

.upload-zone {
  margin: 22px 0;
  padding: 28px;
  border: 2px dashed #b8c5b1;
  border-radius: 16px;
  background: #fafcf8;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.upload-zone:hover,
.upload-zone:focus-visible {
  border-color: var(--accent);
  background: #f6fbf7;
}

.upload-zone.is-dragover {
  border-color: var(--accent);
  background: rgba(29, 122, 82, 0.08);
  transform: translateY(-1px);
}

.upload-zone p:last-child {
  margin-bottom: 0;
}

.upload-browse {
  margin-top: 16px;
}

.file-meta {
  margin: -4px 0 18px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
}

.download-link.is-hidden {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.helper {
  font-size: 0.92rem;
}

.section {
  padding: 34px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.grid-3,
.grid-2,
.link-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
}

.card p:last-child,
.faq-item p:last-child,
.cta-band p:last-child {
  margin-bottom: 0;
}

.link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-grid a {
  padding: 22px;
  color: var(--text);
  font-weight: 700;
}

.bullet-list li,
.steps li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--muted);
}

.bullet-list li::before,
.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.steps {
  counter-reset: step;
}

.steps li {
  padding-left: 56px;
  min-height: 42px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  top: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.cta-band {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(29, 122, 82, 0.1), rgba(245, 198, 111, 0.18)),
    rgba(255, 255, 255, 0.95);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  margin-bottom: 12px;
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  background: rgba(20, 32, 19, 0.04);
}

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

.footer-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: #8c9988;
}

@media (max-width: 920px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .link-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-copy,
  .hero-panel,
  .tool-box {
    padding: 24px;
  }


  .hero-stats {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-shell {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-menu {
    position: static;
    display: block;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
  }

  .nav-cta {
    margin-top: 6px;
  }
}
