
:root {
  --paper: #FFFFFF;
  --green: #263f34;
  --accent: #487267;
  --muted: #60736b;
  --border: #d8e1d9;
  --white: #ffffff;
  --soft: #e9eee7;

  --sans: system-ui, -apple-system, BlinkMacSystemFont,
          "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--green);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(100% - 40px, 1100px);
  margin-inline: auto;
}

/* Header */

.site-header {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.logo {
  display: block;
  width: min(100%, 400px);
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.status {
  display: inline-block;
  margin-inline-start: auto;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  padding: var(--hero-top, clamp(70px, 12vw, 140px)) 0 var(--hero-bottom, 90px);
}

.marketing-home {
  --body-text: #202820;
  --hero-top: clamp(28px, 5vw, 64px);
  --hero-bottom: 24px;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 750;
}

h1 span {
  color: var(--accent);
}

.lead {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero .hero-content > p:not(.eyebrow):not(.lead) {
  max-width: 700px;
  color: var(--muted);
}

.marketing-home .hero .hero-content > p:not(.eyebrow) {
  color: var(--body-text);
}

.marketing-home .hero-content > p:last-child {
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 650;
  transition: background 0.2s ease;
}

.button:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.secondary-link {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Early access */

.early-access [eo-block="text"] > div {
  color: var(--body-text);
  font: 1rem/1.6 var(--sans);
}

.early-access [eo-block="text"] > div + div {
  margin-top: 0.5rem;
}

.early-access [eo-block="text"] > div > strong {
  color: var(--green);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.25;
  font-weight: 750;
}

/* Privacy notice */

.privacy-notice {
  max-width: 800px;
  padding-block: clamp(48px, 8vw, 96px);
  overflow-wrap: break-word;
}

.privacy-notice h2 {
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}

.privacy-notice p,
.privacy-notice ul {
  margin: 0 0 1rem;
}

/* Footer */

.site-footer {
  padding: 30px 0 45px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

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

.footer-social {
  display: flex;
  gap: 4px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--soft);
}

/* WhatsApp contact */

.marketing-home .header-inner {
  display: grid;
  grid-template-columns: minmax(0, 400px) max-content;
}

.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: #25d366;
  color: #202820;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.whatsapp-contact:hover {
  background: #46dc80;
  color: #202820;
}

/* Mobile */

@media (max-width: 600px) {
  .site-header {
    padding: 20px 0;
  }

  .hero {
    padding-block: var(--hero-top, 70px) var(--hero-bottom, 70px);
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 339px) {
  .logo {
    width: min(100%, 64px);
  }
}

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

  .button {
    transition: none;
  }
}
