@font-face {
  font-family: 'DejaVu Sans Mono';
  src: url('https://cdn.jsdelivr.net/npm/dejavu-fonts-ttf@2.37.3/ttf/DejaVuSansMono.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DejaVu Sans Mono';
  src: url('https://cdn.jsdelivr.net/npm/dejavu-fonts-ttf@2.37.3/ttf/DejaVuSansMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DejaVu Sans Mono';
  src: url('https://cdn.jsdelivr.net/npm/dejavu-fonts-ttf@2.37.3/ttf/DejaVuSansMono-Oblique.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

:root {
  color-scheme: light dark;

  --green:        light-dark(#1C7A47, #4DB37A);
  --green-light:  light-dark(#EAF4EE, #16271D);
  --border:       light-dark(#C6DDD0, #2A3B31);
  --text:         light-dark(#181C18, #E8EDE8);
  --text-muted:   light-dark(#485C4C, #ADBDB3);
  --bg:           light-dark(#F7F9F7, #0F1410);
  --white:        light-dark(#FFFFFF, #181C18);
  --footer-bg:    light-dark(#181C18, #0A0C0A);
  --footer-text:  light-dark(#A0B0A6, #7A8A80);

  --font:         'DejaVu Sans Mono', 'Courier New', monospace;
  --max-width:    66rem;
  --radius:       0.25rem;
}

/*  Base  */

html {
  font-size: 16px;
  /* scroll-behavior: smooth; */
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}
a { color: var(--green); }
a:visited { color: var(--green); }

ul, ol {
  margin: 0 0 1rem 2rem;
}

/*  Layout  */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.legal { font-size: 1rem; line-height: 1.5; }
.legal p { margin-bottom: 1rem; }
.legal h1,h2,h3 { margin-top: 1em; }
.container.legal table th { text-align: left; }
.container.legal table td { padding: 0 0.5rem 0.5rem 0; vertical-align: top; }

/*  Header  */

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

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

.login-btn {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.login-btn:visited { color: var(--green); }

.login-btn:hover {
  background: var(--green);
  color: var(--white);
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-logo span {
  color: var(--text-muted);
  font-weight: 400;
}

/*  Hero  */

.hero {
  background: var(--white);
  padding: 4rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-size: 0.8125rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.125rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.375rem;
  color: var(--text);
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.75;
}

.hero-diagram {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 3rem;
  padding: 1rem 1.375rem;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

/*  Shared section label  */

.section-label {
  font-size: 0.8125rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2.25rem;
}

/*  Features  */

.features {
  padding: 4.5rem 0;
  background: var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.625rem;
}

.feature-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.feature p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/*  How It Works  */

.how-it-works {
  padding: 4.5rem 0;
  background: var(--green-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.5rem;
}

.step {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}

.step-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}

.step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/*  Pricing  */

.pricing {
  padding: 4.5rem 0;
  background: var(--white);
}

.pricing-card {
  display: inline-block;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 2.25rem 2.75rem;
  background: var(--white);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

.pricing-details {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-details li {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing-details li::before {
  content: '✓  ';
  color: var(--green);
  font-weight: 700;
}

/*  CTA  */

.cta {
  padding: 4.5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.cta-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.875rem;
  max-width: 33rem;
}

.cta-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 42rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-btn {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
}

/*  Footer  */

footer {
  background: var(--footer-bg);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-logo {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
}

.footer-note,
.footer-copy {
  color: var(--footer-text);
}

/*  Responsive  */

/* @media (max-width: 42rem) { */
@media (max-width: 499px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-diagram {
    font-size: 0.8125rem;
  }

  .pricing-card {
    padding: 1.75rem 1.5rem;
  }

  .pricing-amount {
    font-size: 2.5rem;
  }

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

  .header-inner { flex-direction:column; gap: 1.4rem; }
}
