:root {
  --accent: #0b6e4f;
  --accent-deep: #084c37;
  --nav-bg: #0b3d31;
  --ink: #0f1f1a;
  --muted: #4a635a;
  --line: #c5d4cd;
  --paper: #f4f7f5;
  --surface: #ffffff;
  --warn: #9a3412;
  --ok: #0b6e4f;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 42rem;
  --hero-max: 56rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(20, 128, 92, 0.12), transparent 55%),
    radial-gradient(90% 60% at 100% 0%, rgba(11, 61, 49, 0.08), transparent 50%),
    linear-gradient(180deg, #e8f0ec 0%, var(--paper) 28%, #eef3f0 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #f3faf7;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(20, 128, 92, 0.45), transparent 70%),
    radial-gradient(circle at 15% 80%, rgba(8, 76, 55, 0.55), transparent 45%),
    linear-gradient(165deg, #062820 0%, var(--nav-bg) 42%, #0a4a3a 78%, #08352b 100%);
  animation: atmosphere-shift 18s ease-in-out infinite alternate;
}

@keyframes atmosphere-shift {
  from { filter: hue-rotate(0deg) saturate(1); transform: scale(1); }
  to { filter: hue-rotate(8deg) saturate(1.08); transform: scale(1.03); }
}

.hero-inner {
  width: min(100% - 2 * var(--gutter), var(--hero-max));
  padding: clamp(3rem, 8vh, 5rem) 0;
  text-align: center;
}

.hero-logo {
  width: min(44rem, 92vw);
  margin: 0 auto 1.25rem;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  animation: logo-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes logo-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  animation: fade-up 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #d7ebe2;
  animation: fade-up 0.9s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-lead {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: #9fbeb3;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  animation: fade-up 0.9s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-cta {
  margin: 0;
  animation: fade-up 0.9s 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 8px;
  padding: 0.9rem 1.45rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid #b8e0d2;
  outline-offset: 3px;
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.hero .btn-primary {
  background: #14805c;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero .btn-primary:hover {
  background: #0b6e4f;
}

/* —— Sections —— */
.section {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto;
  padding: clamp(2.75rem, 7vh, 4.5rem) 0;
}

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--nav-bg);
}

.section-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
  counter-reset: why;
}

.why-list li {
  counter-increment: why;
  display: grid;
  gap: 0.35rem;
  padding: 0 0 0 3rem;
  position: relative;
}

.why-list li::before {
  content: counter(why, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.why-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}

.why-list span {
  color: var(--muted);
}

/* —— FAQ (agentic + human) —— */
.faq {
  border-top: 1px solid var(--line);
}

.faq-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.faq-item {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.faq-item dt {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
}

.faq-item dd {
  margin: 0;
  color: var(--muted);
}

/* —— Form —— */
.pilot {
  border-top: 1px solid var(--line);
}

.pilot-form {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.18);
}

.field input.invalid,
.field textarea.invalid {
  border-color: #c2410c;
}

.field-error {
  margin: 0;
  font-size: 0.88rem;
  color: var(--warn);
}

.field-check .check-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
}

.field-check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.form-actions {
  margin-top: 0.35rem;
}

.form-status {
  margin: 0.25rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
}

.form-status.ok {
  background: #e6f4ef;
  color: var(--ok);
  border: 1px solid #b8e0d2;
}

.form-status.err {
  background: #fff7ed;
  color: var(--warn);
  border: 1px solid #fdba74;
}

/* —— Footer —— */
.site-footer {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.footer-privacy {
  max-width: 36rem;
  line-height: 1.5;
}

.footer-links {
  margin: 0.35rem 0 0.75rem;
}

.footer-links a {
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-atmosphere,
  .hero-logo,
  .hero-brand,
  .hero-title,
  .hero-lead,
  .hero-cta {
    animation: none !important;
  }
  .btn-primary:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero-logo {
    width: min(32rem, 92vw);
  }
}
