@font-face {
  font-family: 'Nunito';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/nunito-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/nunito-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/nunito-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/nunito-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/nunito-latin-900-normal.woff2') format('woff2');
}

:root {
  --bg: #131513;
  --surface: #191c19;
  --border: #262a25;
  --text: #eef1ea;
  --text-muted: #9ba597;
  --accent: #6cb317;
  --accent-strong: #539d11;
  --accent-text: #8fd13f;
  --on-accent: #0f1d03;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 17px;
  font-weight: 800;
}

.nav nav a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
}

.nav nav a:not(.btn):hover {
  color: var(--text);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-text);
}

.btn:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
}

.btn-small {
  padding: 9px 18px;
  border-radius: 11px;
  font-size: 16px;
}

.btn-dark {
  background: var(--bg);
  color: var(--text);
}

.btn-dark:hover {
  background: #1d201c;
}

.btn.is-waiting {
  cursor: default;
  opacity: 0.85;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 72px;
  text-align: center;
}

.hero h1 {
  max-width: 1000px;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
}

.lead {
  max-width: 620px;
  text-wrap: pretty;
  margin: 26px 0 34px;
  color: var(--text-muted);
  font-size: 20px;
}

.meta {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
}

.shot {
  display: block;
  border-radius: 18px;
}

.shot-hero {
  margin-top: 64px;
  filter: drop-shadow(0 40px 80px rgb(0 0 0 / 0.55));
}

/* ---------- Sections ---------- */

.statement {
  padding: 140px 0 40px;
  text-align: center;
}

.statement h2,
.columns h2,
.faq h2,
.feature h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.statement p {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 19px;
}

.feature {
  display: grid;
  grid-template-columns: 4fr 7fr;
  align-items: center;
  gap: 56px;
  padding: 100px 0;
}

.feature-flip {
  grid-template-columns: 7fr 4fr;
}

.feature-flip .feature-text {
  order: 2;
}

.feature-text p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 19px;
}

.columns {
  padding: 100px 0;
}

.columns-lead {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 19px;
}

.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 44px;
}

.cols > div {
  padding-top: 24px;
  border-top: 2px solid var(--accent);
}

.cols h3 {
  font-size: 20px;
  font-weight: 900;
}

.cols p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 17px;
}

.shot-wide {
  margin: 64px auto 0;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  padding: 100px 0 140px;
}

.faq h2 {
  margin-bottom: 24px;
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-3px) rotate(45deg);
}

details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

details p {
  padding-bottom: 22px;
  color: var(--text-muted);
  font-size: 17px;
}

/* ---------- Get Flora ---------- */

.cta {
  padding: 96px 0;
  background: var(--accent);
  color: var(--on-accent);
  text-align: center;
}

.cta h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.cta p {
  margin: 12px 0 30px;
  font-size: 19px;
  font-weight: 700;
}

.cta .meta {
  margin: 18px 0 0;
  color: var(--on-accent);
  font-size: 15px;
  opacity: 0.8;
}

/* ---------- Footer ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 32px 0 48px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Small screens ---------- */

@media (max-width: 820px) {
  .feature,
  .feature-flip {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 64px 0;
  }

  .feature-flip .feature-text {
    order: 0;
  }

  .cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .columns {
    padding: 64px 0;
  }

  .statement {
    padding-top: 96px;
  }

  .shot {
    border-radius: 10px;
  }
}

@media (max-width: 520px) {
  .nav nav a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .lead {
    font-size: 18px;
  }
}
