:root {
  --bg-canvas: #eef7f2;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f4faf6;
  --bg-surface-hover: #e5f2ea;
  --text-primary: #1f2937;
  --text-muted: #4b5563;
  --accent-primary: #14532d;
  --accent-secondary: #166534;
  --accent-tint: #dcfce7;
  --border-subtle: #d1e7dd;
  --border-focus: #15803d;
  --radius-sm: 4px;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 10px 25px -5px rgba(20, 83, 45, 0.08), 0 8px 10px -6px rgba(20, 83, 45, 0.04);
  --max-width: 1180px;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border-subtle);
  margin: 8px;
  background-color: var(--bg-canvas);
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (min-width: 1024px) {
  body {
    margin: 16px;
  }
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease-kinetic);
}

a:hover, a:focus-visible {
  color: var(--accent-secondary);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.site-header {
  position: relative;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 2rem;
  z-index: 50;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-wrapper:hover {
  text-decoration: none;
}

.brand-icon {
  width: 28px;
  height: 28px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-primary);
  text-transform: lowercase;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
  text-decoration: none;
}

.menu-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.menu-toggle-btn:focus-visible {
  outline: 2px solid var(--accent-primary);
}

.nav-mobile {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 2rem;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

@media (min-width: 769px) {
  .nav-desktop {
    display: block;
  }
  .menu-toggle-btn {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.hero-typographic {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3.5rem;
}

.badge-tag {
  display: inline-block;
  background-color: var(--accent-tint);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--accent-primary);
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

.lead-copy {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 68ch;
  margin-bottom: 2rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-primary);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-elevation);
  transition: transform 0.2s var(--ease-kinetic), background-color 0.2s;
  text-decoration: none;
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--accent-secondary);
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  text-decoration: none;
}

.lead-feature-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-elevation);
}

.lead-feature-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 769px) {
  .lead-feature-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.lead-feature-text h2 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.lead-feature-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.lead-feature-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--accent-primary);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.35rem;
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.innovation-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-kinetic), box-shadow 0.25s var(--ease-kinetic);
}

.innovation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevation);
}

.card-img-wrap {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.card-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s var(--ease-kinetic);
}

.innovation-card:hover .card-img-wrap img {
  transform: scale(1.03);
}

.innovation-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.innovation-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.list-row-section {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  margin-bottom: 4rem;
}

.list-rows {
  display: flex;
  flex-direction: column;
}

.list-row-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: flex-start;
}

.list-row-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.list-row-item:first-child {
  padding-top: 0;
}

.list-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--accent-tint);
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--accent-primary);
}

.list-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background-color: var(--bg-surface-subtle);
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

tr:last-child td {
  border-bottom: none;
}

.editorial-body {
  max-width: 72ch;
  margin: 0 auto;
}

.editorial-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.editorial-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-primary);
  margin: 2.5rem 0 1rem;
}

.editorial-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin: 2rem 0 0.75rem;
}

.editorial-body ul, .editorial-body ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.editorial-body li {
  margin-bottom: 0.65rem;
  line-height: 1.65;
}

.editorial-body blockquote {
  border-left: 3px solid var(--accent-primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-surface-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-primary);
}

.tool-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2rem;
  margin: 3rem 0;
}

.tool-panel h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-primary);
  font-family: inherit;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.15);
}

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

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.status-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.status-msg.active {
  display: block;
}

.status-success {
  background: var(--accent-tint);
  color: var(--accent-primary);
  border: 1px solid var(--accent-secondary);
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  padding: 1.5rem;
}

.faq-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.faq-card p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 769px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.reveal-node {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-kinetic), transform 0.6s var(--ease-kinetic);
}

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

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
