:root {
  color-scheme: light;
  --ink: #07170f;
  --muted: #59635d;
  --subtle: #eef4ec;
  --paper: #fbfcf7;
  --line: #d9e3d8;
  --field: #123b24;
  --field-dark: #041f13;
  --green: #27823b;
  --green-soft: #cfe8d0;
  --gold: #f5b52c;
  --red: #e45656;
  --blue: #3e83da;
  --shadow: 0 20px 60px rgba(7, 23, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 247, 0.92);
  border-bottom: 1px solid rgba(7, 23, 15, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell,
.section-shell,
.footer-shell,
.download-shell,
.legal-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.hero-icon,
.download-shell img {
  border-radius: 22%;
  box-shadow: 0 10px 24px rgba(7, 23, 15, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover,
.breadcrumb a:hover,
.legal-content a:hover {
  color: var(--green);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--field);
  color: #fff !important;
}

.hero {
  position: relative;
  height: 82svh;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 31, 19, 0.9) 0%, rgba(4, 31, 19, 0.64) 38%, rgba(4, 31, 19, 0.16) 100%),
    rgba(4, 31, 19, 0.08);
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 80px;
  color: #fff;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 26px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  font-size: 72px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
}

.hero-actions,
.download-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: var(--gold);
  color: #1c1607;
  box-shadow: 0 12px 30px rgba(245, 181, 44, 0.28);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: #fff;
}

.intro-section,
.showcase-section,
.download-section,
.legal-main {
  padding: 88px 0;
}

.intro-section {
  background: var(--paper);
}

.section-heading {
  max-width: 650px;
  margin-bottom: 34px;
}

.section-shell > h2,
.section-heading h2,
.download-shell h2,
.legal-heading h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.legal-heading p,
.download-shell p,
.footer-shell p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.feature-item {
  min-height: 218px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-mark {
  width: 42px;
  height: 6px;
  display: block;
  margin-bottom: 28px;
  border-radius: 8px;
}

.feature-mark-live {
  background: var(--red);
}

.feature-mark-plan {
  background: var(--gold);
}

.feature-mark-table {
  background: var(--green);
}

.feature-mark-star {
  background: var(--blue);
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

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

.showcase-section {
  background: var(--subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: start;
  gap: 18px;
}

.screenshot-tile {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(7, 23, 15, 0.08);
}

.screenshot-tile-wide {
  grid-column: auto;
}

.screenshot-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #dfeade;
}

.screenshot-tile figcaption {
  min-height: 104px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.screenshot-tile figcaption span {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screenshot-tile figcaption strong {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.28;
}

.download-section {
  background: var(--field-dark);
  color: #fff;
}

.download-shell {
  justify-content: space-between;
}

.download-shell h2 {
  font-size: 34px;
}

.download-shell .button-primary {
  margin-left: auto;
}

.site-footer {
  padding: 44px 0;
  background: #fff;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-shell p {
  max-width: 440px;
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

.footer-links a {
  text-decoration: none;
}

.legal-main {
  background:
    linear-gradient(180deg, #eef4ec 0%, #fbfcf7 260px);
}

.legal-shell {
  max-width: 880px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  text-decoration: none;
}

.legal-heading {
  margin-bottom: 42px;
}

.legal-heading h1 {
  font-size: 52px;
}

.legal-heading p {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: 19px;
}

.legal-content {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 23, 15, 0.08);
}

.legal-content section + section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.legal-content p {
  margin: 0 0 14px;
  color: #28352d;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--green);
  font-weight: 800;
}

.legal-note {
  margin-top: 38px !important;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 23, 15, 0.08);
}

.contact-card img {
  flex: 0 0 auto;
  border-radius: 22%;
  box-shadow: 0 10px 24px rgba(7, 23, 15, 0.18);
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.contact-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.contact-email {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--field);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-tile-wide {
    grid-column: auto;
  }

  .footer-shell,
  .download-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-shell .button-primary {
    margin-left: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .section-shell,
  .footer-shell,
  .download-shell,
  .legal-shell,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    height: 82svh;
    min-height: 500px;
  }

  .hero-media {
    object-position: 61% 38%;
  }

  .hero-overlay {
    background: rgba(4, 31, 19, 0.68);
  }

  .hero-content {
    padding-top: 44px;
  }

  .hero-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .intro-section,
  .showcase-section,
  .download-section,
  .legal-main {
    padding: 56px 0;
  }

  .section-shell > h2,
  .section-heading h2,
  .download-shell h2 {
    font-size: 32px;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    justify-items: center;
  }

  .screenshot-tile {
    width: min(100%, 360px);
  }

  .screenshot-tile-wide {
    grid-column: auto;
  }

  .legal-heading h1 {
    font-size: 40px;
  }

  .legal-heading p {
    font-size: 17px;
  }

  .legal-content {
    padding: 24px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .contact-email {
    width: 100%;
  }
}
