:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f8f7;
  --text: #0f172a;
  --muted: #52606d;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --primary: #519A66;
  --primary-ink: #0b3b1c;
  --radius: 20px;
  --max: 1080px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  z-index: 1000;
}
.skip-link:focus{ left: 12px; }

header.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

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

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand img{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}
.brand span{
  font-weight: 650;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

nav.site-nav{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link{
  color: var(--muted);
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
}
.nav-link:hover{
  color: var(--text);
  text-decoration: none;
  background: rgba(81, 154, 102, 0.08);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); text-decoration: none; }
.btn:active{ transform: translateY(0px); }
.btn-primary{
  background: linear-gradient(180deg, rgba(81,154,102,1) 0%, rgba(60,126,79,1) 100%);
  color: white;
  border-color: rgba(0,0,0,0.06);
}
.btn-primary:hover{ filter: brightness(1.02); }
.btn-ghost{
  background: transparent;
  border-color: rgba(15, 23, 42, 0.10);
}

.hero{
  padding: 64px 0 36px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(81, 154, 102, 0.22);
  background: rgba(81, 154, 102, 0.08);
  color: var(--primary-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(81, 154, 102, 0.18);
}

h1{
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.accent{
  color: var(--primary);
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 56ch;
}
.cta-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
}
.subtle{
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}
.trust{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.70);
  color: var(--muted);
  font-size: 13px;
}

.hero-art{
  position: relative;
  display: grid;
  place-items: center;
}
.hero-art::before{
  content: "";
  position: absolute;
  inset: -24px;
  background:
    radial-gradient(closest-side, rgba(81,154,102,0.25), transparent 60%),
    radial-gradient(closest-side, rgba(81,154,102,0.12), transparent 55%);
  filter: blur(6px);
  z-index: 0;
}
.shot{
  position: relative;
  z-index: 1;
  width: min(330px, 85vw);
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.section{
  padding: 34px 0;
}
.section.alt{
  background: var(--surface-2);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.section-title{
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.section-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}

.features{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card{
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.card h3{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.shots-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.shots-grid figure{
  margin: 0;
}
.shots-grid img{
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  background: white;
}
.shots-grid figcaption{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.cta-band{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
}
.cta-band h2{
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.cta-band p{
  margin: 6px 0 0;
  color: var(--muted);
}
.cta-band .cta-row{
  justify-content: flex-end;
}

footer.site-footer{
  padding: 26px 0 34px;
}
.footer-inner{
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.footer-links{
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a{
  padding: 8px 10px;
  border-radius: 12px;
}
.footer-links a:hover{
  background: rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: var(--text);
}

/* Legal pages */
.legal{
  padding: 34px 0 46px;
}
.legal .card{
  padding: 22px;
}
.legal h1{
  font-size: 30px;
  margin-top: 0;
}
.md h1, .md h2, .md h3{
  letter-spacing: -0.02em;
}
.md h2{ margin-top: 22px; }
.md h3{ margin-top: 18px; }
.md p{ color: var(--muted); }
.md strong{ color: var(--text); }
.md a{ color: var(--primary); }
.md ul, .md ol{ color: var(--muted); padding-left: 20px; }
.md li{ margin: 6px 0; }
.md code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  padding: 0.1em 0.35em;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.03);
}
.md pre{
  overflow: auto;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(15, 23, 42, 0.03);
}
.md pre code{
  border: none;
  background: transparent;
  padding: 0;
}

@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; }
  .cta-band{ grid-template-columns: 1fr; }
  .cta-band .cta-row{ justify-content: flex-start; }
  .shots-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px){
  .header-inner{ height: 64px; }
  .brand span{ display: none; }
  .features{ grid-template-columns: 1fr; }
  .shots-grid{ grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce){
  .btn:hover{ transform: none; }
  .shot{ transform: none; }
}

