/* Varnexi Studio — site stylesheet
   Plain CSS, no framework, no build step, no external requests.
   Palette: deep green + cream + warm accent. */

:root {
  --green-900: #17331f;
  --green-700: #24502f;
  --green-500: #3c7a4d;
  --cream: #faf7f0;
  --cream-2: #f2ece0;
  --ink: #1e2420;
  --muted: #5c6b60;
  --line: #ddd5c6;
  --accent: #b9762f;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.2;
  color: var(--green-900);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 0; }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1em; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header {
  background: var(--green-900);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--accent);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--green-900);
  font-family: "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: .98rem;
  text-transform: uppercase;
}
.brand-sub { font-size: .74rem; opacity: .78; letter-spacing: .6px; }

.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: "Trebuchet MS", sans-serif;
  font-size: .87rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  opacity: .88;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--accent);
  color: var(--cream);
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 340px at 82% -10%, rgba(60,122,77,.20), transparent 70%),
    var(--cream-2);
  border-bottom: 1px solid var(--line);
  padding: 66px 0 58px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  font-family: "Trebuchet MS", sans-serif;
  font-size: .78rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-block;
  font-family: "Trebuchet MS", sans-serif;
  font-size: .92rem;
  letter-spacing: .6px;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--green-900);
  transition: .16s ease;
}
.btn-primary { background: var(--green-900); color: var(--cream); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--green-900); }
.btn-ghost:hover { background: var(--green-900); color: var(--cream); }

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 12px 30px rgba(23,51,31,.08);
}
.hero-card h3 { margin-top: 0; }
.stat-list { list-style: none; margin: 0; padding: 0; }
.stat-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
}
.stat-list li:last-child { border-bottom: 0; }
.stat-list b { font-family: "Trebuchet MS", sans-serif; color: var(--green-700); }

/* ---------- sections ---------- */
section { padding: 58px 0; }
.section-alt { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 62ch; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.card h3 { margin-top: 0; color: var(--green-700); }
.card p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; margin: 32px 0 0; padding: 0; }
.steps li {
  position: relative;
  padding: 0 0 22px 62px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--cream);
  font-family: "Trebuchet MS", sans-serif;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

.note {
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 26px 0;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- legal pages ---------- */
.page-head {
  background: var(--green-900);
  color: var(--cream);
  padding: 46px 0 40px;
}
.page-head h1 { color: var(--cream); margin-bottom: .2em; }
.page-head p { color: rgba(250,247,240,.82); margin: 0; }
.prose { max-width: 74ch; }
.prose h2 {
  margin-top: 2.1em;
  padding-bottom: .28em;
  border-bottom: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: .5em; }
.updated {
  font-family: "Trebuchet MS", sans-serif;
  font-size: .84rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(250,247,240,.85);
  padding: 44px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}
.site-footer h3 {
  color: var(--cream);
  font-size: .84rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: rgba(250,247,240,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: .93rem; }
.footer-bottom {
  border-top: 1px solid rgba(250,247,240,.18);
  margin-top: 32px;
  padding-top: 18px;
  font-size: .84rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(250,247,240,.62);
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .8rem; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  section { padding: 42px 0; }
  .hero { padding: 46px 0 42px; }
  .btn { width: 100%; text-align: center; }
}
