@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #faf8f2;
  --surface: #fffefa;
  --surface-2: #f3f0e8;
  --line: #ded9cc;
  --text: #302e29;
  --muted: #625e54;
  --sage: #dce5d2;
  --sage-hover: #cfdcc2;
  --accent: #496044;
  --on-sage: #2d402a;
  --ochre: #765d3a;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(67, 55, 35, 0.07);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100% - 2.5rem);
}

.center {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--sage);
  color: var(--on-sage);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-links a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-small {
  background: var(--sage);
  color: var(--on-sage);
  box-shadow: 0 4px 12px rgba(45, 64, 42, 0.08);
}

.btn-primary:hover,
.btn-small:hover {
  background: var(--sage-hover);
}

.btn-small {
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
}

.btn-ghost {
  color: var(--text);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--muted);
}

.btn-large {
  min-height: 58px;
  padding: 1rem 2.2rem;
  font-size: 1.15rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: radial-gradient(650px 500px at 82% 45%, #eeebdf, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--ochre);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight {
  color: var(--accent);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-points li::before {
  content: "✓";
  margin-right: 0.45rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-visual img {
  margin-inline: auto;
  filter: drop-shadow(0 16px 28px rgba(67, 55, 35, 0.12));
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.section-alt {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}

.step img {
  margin-bottom: 1.25rem;
}

.step p,
.feature p {
  color: var(--muted);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
}

.benefits li {
  position: relative;
  padding-left: 2.2rem;
  color: var(--muted);
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23496044' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}

.benefits strong {
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 1.6rem;
}

/* FAQ */
.faq {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.9rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1.4rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700;
}

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

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--muted);
  padding-bottom: 1.15rem;
  margin: 0;
}

/* Final CTA */
.final-cta {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.cta-box {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef1e6, var(--surface-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-box > p {
  max-width: 34em;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.cta-box .cta-note {
  margin: 1.5rem auto 0;
  font-size: 0.95rem;
}

/* Contact form */
button.btn {
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 0.95rem;
}

.required {
  color: var(--ochre);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  resize: vertical;
  min-height: 9rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(73, 96, 68, 0.18);
}

.field [aria-invalid="true"] {
  border-color: #a4452c;
}

.field-error {
  margin: 0;
  color: #a4452c;
  font-size: 0.9rem;
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 1.1rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form .btn-large {
  width: 100%;
}

.form-status {
  margin: 1.1rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.success {
  background: var(--sage);
  color: var(--on-sage);
}

.form-status.error {
  background: #f6e3dc;
  color: #7d3320;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.disclosure {
  max-width: 40em;
  margin-top: 1rem;
}

.footer-contact {
  text-align: right;
}

/* Responsive */
@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }

  .cta-row,
  .hero-points {
    justify-content: center;
  }

  .hero-visual img {
    max-width: min(100%, 300px);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-row .btn {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
