/* Drover — site design system. Plain CSS, no framework, no web fonts. */

:root {
  /* Brand — clean deep green on white */
  --brand:        #1f7a4d;
  --brand-strong: #19663f;
  --brand-dark:   #16402e;  /* dark sections + headings */
  --brand-darker: #0e2b1e;  /* footer / darkest */
  --brand-tint:   #e8f3ec;  /* pale green chip / wash */

  /* Surfaces — white, no beige */
  --surface:   #ffffff;
  --surface-2: #e9efea;     /* light grey-green — section bg, lifts the white cards off it */

  /* Ink */
  --ink:      #11231a;
  --ink-soft: #56635b;
  --ink-faint:#8a948c;
  --border:   #e7ebe8;

  /* App status accents (echo the in-app cards) */
  --danger: #b3261e; --danger-bg: #fdecea;
  --warn:   #9a5b00; --warn-bg:   #fff4e5;
  --ok:     #1f7a4d; --ok-bg:     #e6f3ec;

  --maxw: 1080px;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(17,35,26,.07), 0 10px 26px rgba(17,35,26,.09);
  --shadow-lg: 0 30px 60px -22px rgba(17,35,26,.32);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.14; letter-spacing: -0.022em; color: var(--ink); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--brand);
  margin: 0 0 14px;
}
.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); margin: 0 0 14px; }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-size: 1.02rem; font-weight: 650; line-height: 1; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(31,122,77,.24); }
.btn-primary:hover { background: var(--brand-strong); box-shadow: 0 12px 26px rgba(31,122,77,.3); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-on-dark { background: #fff; color: var(--brand-dark); }
.btn-on-dark:hover { background: #eef3f0; }
.btn-lg { padding: 19px 34px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 16px;
}
.brand-lockup { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-lockup img { width: 34px; height: 34px; border-radius: 8px; }
.brand-lockup span { font-size: 1.3rem; font-weight: 800; color: var(--brand-dark); letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: 1rem; font-weight: 550; }
.site-nav a:hover { color: var(--brand-dark); }
.site-nav .btn { padding: 11px 20px; font-size: .98rem; }
.nav-links { display: flex; align-items: center; gap: 26px; }
@media (max-width: 640px) {
  .site-header .wrap { height: auto; min-height: 62px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; row-gap: 8px; }
  .nav-links { gap: 18px; font-size: .96rem; flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 44px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin: 0 0 20px; }
.hero .lead { font-size: 1.25rem; color: var(--ink-soft); margin: 0 0 30px; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin: 22px 0 0; font-size: .95rem; color: var(--ink-faint); }
.hero-note strong { color: var(--ink-soft); }

/* Device frame */
.device {
  position: relative; width: 300px; max-width: 78%; margin: 0 auto;
  border: 11px solid #14241c; border-radius: 42px; background: #14241c;
  box-shadow: var(--shadow-lg);
}
.device::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; background: #14241c; border-radius: 0 0 16px 16px; z-index: 2;
}
.device img { border-radius: 31px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .blob {
  position: absolute; inset: -12% -18% -12% -8%; z-index: -1;
  background: radial-gradient(58% 58% at 62% 38%, var(--brand-tint), transparent 72%);
}

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust .wrap { padding: 30px 24px; text-align: center; }
.trust p { margin: 0 0 16px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; }
.scheme-pill {
  font-weight: 700; color: var(--brand-dark); font-size: 1.02rem;
  padding: 9px 20px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface-2);
}

/* ---------- Feature grid ---------- */
.features { background: var(--surface-2); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.feature .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); margin-bottom: 18px;
}
.feature .ic svg { width: 25px; height: 25px; }
.feature h3 { font-size: 1.2rem; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Showcase rows ---------- */
.showcase { background: #fff; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.show-row + .show-row { margin-top: 100px; }
.show-row.flip .show-text { order: 2; }
.show-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); margin: 0 0 16px; }
.show-text p { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 18px; }
.show-list { list-style: none; padding: 0; margin: 0; }
.show-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.show-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.show-art { display: flex; justify-content: center; }
.show-art .device { width: 270px; }
@media (max-width: 820px) {
  .show-row, .show-row.flip .show-text { grid-template-columns: 1fr; order: 0; gap: 36px; }
  .show-row .show-art { order: -1; }
}

/* ---------- Dark band ---------- */
.band { background: var(--brand-dark); color: #dfeae3; }
.band h2 { color: #fff; }
.band .eyebrow { color: #7fd0a3; }
.band .section-head p { color: #b6cdc1; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.band-card { background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 28px; }
.band-card h3 { color: #fff; font-size: 1.14rem; margin: 0 0 8px; }
.band-card p { color: #b6cdc1; margin: 0; font-size: 1rem; }
@media (max-width: 760px) { .band-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing teaser ---------- */
.price-teaser { background: var(--surface-2); }
.price-card {
  max-width: 540px; margin: 0 auto; background: #fff;
  border-radius: 20px; box-shadow: var(--shadow); padding: 44px 40px; text-align: center;
}
.price-card .tag { display: inline-block; background: var(--brand-tint); color: var(--brand-dark); font-weight: 700; font-size: .9rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.price-card .amount { font-size: 3.3rem; font-weight: 800; letter-spacing: -0.03em; color: var(--brand-dark); }
.price-card .amount span { font-size: 1.1rem; font-weight: 600; color: var(--ink-soft); }
.price-card .was { color: var(--ink-faint); margin: 8px 0 24px; }
.price-card .fine { color: var(--ink-soft); font-size: .98rem; margin: 20px 0 0; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(160deg, var(--brand-dark), var(--brand-darker)); color: #fff; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.85rem, 4vw, 2.7rem); margin: 0 0 14px; }
.cta p { color: #b6cdc1; font-size: 1.15rem; margin: 0 auto 30px; max-width: 48ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-darker); color: #9fb3a7; padding: 56px 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .f-brand img { width: 40px; height: 40px; border-radius: 9px; margin-bottom: 14px; }
.site-footer .f-brand p { margin: 0; font-size: .95rem; max-width: 30ch; color: #84998c; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer a { display: block; color: #9fb3a7; text-decoration: none; margin-bottom: 11px; font-size: .98rem; }
.site-footer a:hover { color: #fff; }
.f-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); margin-top: 24px; padding-top: 24px; font-size: .88rem; color: #76897e; }
.f-legal a { display: inline; color: #9fb3a7; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .f-brand { grid-column: 1 / -1; } }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero .lead { max-width: none; }
  .hero-cta { justify-content: center; }
  .section { padding: 66px 0; }
}

/* =====================================================================
   Legacy reading pages (privacy, vat-invoices, data-deletion, pricing
   prose). Backward-compatible with the old markup.
   ===================================================================== */
main { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
main.home { max-width: none; padding: 0; }
main h1 { font-size: 2.1rem; color: var(--brand-dark); margin: 8px 0 18px; }
main h2 { font-size: 1.4rem; color: var(--brand-dark); margin: 2.4rem 0 .7rem; }
main h3 { font-size: 1.12rem; margin: 1.5rem 0 .5rem; }
main p, main li { font-size: 1.05rem; }
main ul, main ol { padding-left: 1.4rem; }
main li { margin-bottom: .45rem; }
main a { color: var(--brand); }
main .lead { font-size: 1.22rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
main .updated { font-size: .9rem; color: var(--ink-faint); margin-bottom: 2rem; }
.callout { background: var(--surface-2); padding: 1.1rem 1.35rem; margin: 1.6rem 0; border-radius: 16px; }
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

header:not(.site-header) { background: var(--brand-dark); color: #fff; padding: 1.1rem 1.25rem; }
header:not(.site-header) .container { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
header:not(.site-header) a.logo { font-size: 1.3rem; font-weight: 800; color: #fff; text-decoration: none; }
header:not(.site-header) nav a { color: #fff; text-decoration: none; margin-left: 1.2rem; font-size: 1rem; opacity: .9; }
header:not(.site-header) nav a:hover { opacity: 1; }
footer:not(.site-footer) { border-top: 1px solid var(--border); padding: 1.5rem 1.25rem; font-size: .9rem; color: var(--ink-soft); }
footer:not(.site-footer) .container { max-width: var(--maxw); margin: 0 auto; }
footer:not(.site-footer) a { color: var(--ink-soft); text-decoration: none; margin-right: 1.2rem; }
