/* AgSaver — agsaver.ca */
:root {
  --green-950: #0b2611;
  --green-900: #0e3b18;
  --green-800: #154a20;
  --green-700: #1b5e28;
  --green-600: #2e8b3a;
  --green-500: #5da83a;
  --green-100: #e6f1e3;
  --green-50: #f3f8f1;
  --gold: #f2b705;
  --gold-dark: #c98a00;
  --sky: #1f6fb2;
  --text: #13201a;
  --muted: #55625b;
  --bg: #ffffff;
  --bg-alt: #f5f8f3;
  --card: #ffffff;
  --border: #dfe7dc;
  --shadow: 0 18px 40px -22px rgba(14, 59, 24, .45);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #eef3ee;
    --muted: #a3b2a8;
    --bg: #0c140f;
    --bg-alt: #111c15;
    --card: #15221a;
    --border: #233429;
    --green-100: #1b2e21;
    --green-50: #142119;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
[id] { scroll-margin-top: 84px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; }
.brand .ag { color: var(--green-700); }
.brand .sv { color: var(--sky); }
@media (prefers-color-scheme: dark) { .brand .ag { color: var(--green-500); } .brand .sv { color: #5aa9ea; } }
.menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.menu a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color .15s; }
.menu a:hover, .menu a.active { color: var(--text); }
.menu .has-sub { position: relative; }
.menu .sub {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 270px; list-style: none;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s;
}
.menu .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.menu .has-sub:hover .sub, .menu .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--text); font-size: 0.92rem; }
.menu .sub a:hover { background: var(--green-50); }
.menu .sub svg { width: 20px; height: 20px; color: var(--green-600); flex: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; display: block; }
.header-cta { padding: 9px 16px; font-size: 0.88rem; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 18px;
    display: none; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .site-header.open .menu { display: flex; }
  .menu > li > a { display: block; padding: 12px 0; font-size: 1.02rem; color: var(--text); }
  .menu .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px; background: none; min-width: 0; }
  .menu .sub a { padding: 9px 4px; }
  .menu .has-sub > a { display: none; }
  .menu .header-cta { margin-top: 10px; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  transition: transform .15s, box-shadow .15s, background .15s; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green-600); color: #fff; box-shadow: 0 8px 22px -10px var(--green-600); }
.btn-green:hover { background: var(--green-700); }
.btn-gold { background: var(--gold); color: #1f1a00; box-shadow: 0 8px 22px -10px var(--gold-dark); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--card); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); }
.appstore {
  display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff;
  border: 1px solid #3a3a3a; border-radius: 12px; padding: 9px 18px 9px 14px; line-height: 1.1;
  transition: transform .15s; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6);
}
.appstore:hover { transform: translateY(-2px); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore small { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: .02em; }
.appstore strong { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.appstore.sm { padding: 7px 14px 7px 11px; border-radius: 10px; gap: 8px; }
.appstore.sm svg { width: 20px; height: 20px; }
.appstore.sm small { font-size: 0.6rem; }
.appstore.sm strong { font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 60% 55% at 72% 62%, rgba(255, 226, 120, .55), transparent 60%),
    linear-gradient(180deg, #0d3f6e 0%, #1a6aa8 42%, #6fb2d8 64%, #3f9a3a 64.2%, #2f7f2c 74%, #d9a206 74.2%, #e9b20c 100%);
}
.hero::before { /* rolling hill */
  content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 22%;
  background: linear-gradient(180deg, #4da23f, #2a7a2b); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero::after { /* crop rows */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: repeating-linear-gradient(100deg, transparent 0 34px, rgba(150, 95, 0, .18) 34px 36px);
  -webkit-mask: linear-gradient(180deg, transparent, #000 40%); mask: linear-gradient(180deg, transparent, #000 40%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.hero-copy { padding-bottom: 96px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  font-size: 0.82rem; font-weight: 600; margin-bottom: 22px; backdrop-filter: blur(6px);
}
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02;
  text-shadow: 0 2px 24px rgba(0, 30, 60, .35);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .sub { font-size: clamp(1.05rem, 2vw, 1.22rem); margin: 22px 0 32px; max-width: 540px; color: rgba(255,255,255,.94); text-shadow: 0 1px 12px rgba(0,30,60,.35); }
.hero .platforms { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero .platforms span { font-size: 0.8rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.25); }
.hero-phones { position: relative; height: 600px; align-self: end; }
.hero-phones .phone { position: absolute; width: 270px; bottom: -60px; }
.hero-phones .phone:nth-child(1) { left: 4%; transform: rotate(-5deg); z-index: 1; bottom: -110px; }
.hero-phones .phone:nth-child(2) { right: 4%; z-index: 2; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; gap: 0; }
  .hero-copy { padding-bottom: 36px; }
  .hero-phones { height: 430px; max-width: 440px; width: 100%; margin: 0 auto; }
  .hero-phones .phone { width: 200px; }
  .hero-phones .phone:nth-child(1) { left: 2%; bottom: -80px; }
  .hero-phones .phone:nth-child(2) { right: 2%; bottom: -40px; }
}
@media (max-width: 420px) {
  .hero-phones { height: 370px; }
  .hero-phones .phone { width: 172px; }
}

/* ---------- Phone frame ---------- */
.phone {
  background: #0d1110; border-radius: 40px; padding: 9px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone img { border-radius: 32px; width: 100%; height: auto; background: #e9efe6; }
.phone.watch { border-radius: 54px; padding: 12px; background: #1b1b1d; }
.phone.watch img { border-radius: 42px; background: #000; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
section.tight { padding: 64px 0; }
.eyebrow { color: var(--green-600); font-weight: 700; font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--green-500); } }
h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 16px; }
h3 { letter-spacing: -0.015em; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 680px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.section-head { margin-bottom: 52px; }

@media (max-width: 720px) { section { padding: 68px 0; } section.tight { padding: 48px 0; } .section-head { margin-bottom: 36px; } }

/* Trust strip */
.strip { border-bottom: 1px solid var(--border); background: var(--bg); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.strip div { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.93rem; }
.strip svg { width: 26px; height: 26px; color: var(--green-600); flex: none; }
.strip span { display: block; color: var(--muted); font-weight: 400; font-size: 0.82rem; }
@media (max-width: 860px) { .strip .wrap { grid-template-columns: 1fr 1fr; } }

/* Feature set cards */
.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .sets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sets { grid-template-columns: 1fr; } }
.set {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.set:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-500); }
.set-img { background: linear-gradient(160deg, var(--green-700), var(--green-900)); height: 190px; overflow: hidden; position: relative; }
.set-img img { width: 64%; height: 170px; object-fit: cover; object-position: 50% 14%; margin: 24px auto 0; border-radius: 18px 18px 0 0; box-shadow: 0 -4px 30px rgba(0,0,0,.35); }
.set-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.set-body .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); margin: -46px 0 14px; position: relative; border: 3px solid var(--card); box-sizing: content-box; }
.set-body .ic svg { width: 24px; height: 24px; }
.set h3 { font-size: 1.22rem; margin-bottom: 8px; }
.set p { color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; }
.set ul { list-style: none; margin-bottom: 18px; }
.set li { position: relative; padding-left: 22px; font-size: 0.92rem; margin-bottom: 6px; }
.set li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.set .more { margin-top: auto; color: var(--green-600); font-weight: 600; font-size: 0.95rem; }
@media (prefers-color-scheme: dark) { .set .more { color: var(--green-500); } }

/* Showcase rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row + .row { margin-top: 110px; }
.row.flip .row-media { order: -1; }
.row-media { display: flex; justify-content: center; align-items: flex-start; gap: 20px; position: relative; }
.row-media::before {
  content: ""; position: absolute; inset: 12% 6% 12% 6%; border-radius: 40px; z-index: 0;
  background: radial-gradient(circle at 30% 30%, rgba(242,183,5,.35), transparent 60%), linear-gradient(160deg, var(--green-600), var(--green-900));
}
.row-media .phone { width: 280px; position: relative; z-index: 1; }
.row-media .phone + .phone { margin-top: 70px; }
.row-media .phone.watch { width: 190px; align-self: center; margin-top: 0; }
.row h3 { font-size: clamp(1.55rem, 3vw, 2.05rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 14px; }
.row p { color: var(--muted); font-size: 1.05rem; margin-bottom: 14px; }
.ticks { list-style: none; margin: 20px 0 6px; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.ticks strong { color: var(--text); }
.ticks li { color: var(--muted); }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: 36px; }
  .row.flip .row-media { order: 0; }
  .row + .row { margin-top: 80px; }
  .row-media .phone { width: 220px; }
  .row-media .phone + .phone { margin-top: 50px; }
  .row-media .phone.watch { width: 150px; }
}
@media (max-width: 420px) {
  .row-media .phone { width: 168px; border-radius: 30px; padding: 7px; }
  .row-media .phone img { border-radius: 24px; }
  .row-media .phone:only-child { width: 230px; }
  .row-media .phone.watch { width: 120px; }
}

/* Detail grid */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .details { grid-template-columns: 1fr; } }
.detail { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.detail .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .detail .ic, .set-body .ic { color: var(--green-500); } }
.detail .ic svg { width: 22px; height: 22px; }
.detail h3 { font-size: 1.06rem; margin-bottom: 6px; }
.detail p { color: var(--muted); font-size: 0.95rem; }

/* Gallery */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 26px; margin: 0 -20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gallery figure { flex: 0 0 230px; scroll-snap-align: center; }
.gallery .phone { border-radius: 34px; padding: 8px; }
.gallery .phone img { border-radius: 27px; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 12px; }

/* Page hero (feature pages) */
.page-hero { background: linear-gradient(165deg, var(--green-700) 0%, var(--green-900) 70%, var(--green-950) 100%); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -260px; background: radial-gradient(circle, rgba(242,183,5,.35), transparent 62%); }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: end; padding-top: 64px; }
.page-hero .copy { padding-bottom: 76px; }
.crumbs { font-size: 0.88rem; color: rgba(255,255,255,.72); margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; margin-bottom: 18px; }
.page-hero .lead { color: rgba(255,255,255,.88); margin-bottom: 30px; }
.page-hero .media { display: flex; justify-content: center; }
.page-hero .media .phone { width: 290px; margin-bottom: -90px; }
.page-hero + section { padding-top: 140px; }
@media (max-width: 860px) {
  .page-hero .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 44px; }
  .page-hero .copy { padding-bottom: 40px; }
  .page-hero .media .phone { width: 230px; margin-bottom: -70px; }
  .page-hero + section { padding-top: 110px; }
}

/* Jump links on feature pages */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.jump a { font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.jump a:hover { background: rgba(255,255,255,.2); }

/* Note / callout */
.note { background: var(--green-50); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 20px; color: var(--muted); font-size: 0.95rem; margin-top: 22px; }
.note strong { color: var(--text); }

/* Privacy band */
.privacy { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 34px; }
.privacy .shield { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); }
.privacy .shield svg { width: 34px; height: 34px; }
.privacy h3 { font-size: 1.3rem; margin-bottom: 6px; }
.privacy p { color: var(--muted); }
@media (max-width: 760px) { .privacy { grid-template-columns: 1fr; padding: 26px; gap: 16px; } }

/* Next / other feature sets */
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .others { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .others { grid-template-columns: 1fr; } }
.other { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); font-weight: 600; transition: border-color .15s, transform .15s; }
.other:hover { border-color: var(--green-500); transform: translateY(-2px); }
.other .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); flex: none; }
.other .ic svg { width: 20px; height: 20px; }
.other span { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; line-height: 1.35; }

/* CTA band */
.cta { background: linear-gradient(160deg, var(--green-800), var(--green-950)); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 700px; height: 700px; left: -200px; bottom: -420px; background: radial-gradient(circle, rgba(242,183,5,.28), transparent 62%); }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 560px; margin-bottom: 26px; }
.qr { background: #fff; border-radius: 20px; padding: 14px; text-align: center; color: var(--green-900); font-size: 0.8rem; font-weight: 600; }
.qr img { width: 150px; height: 150px; margin-bottom: 6px; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } .qr { display: none; } }

/* ---------- Content pages (support, privacy) ---------- */
.doc { max-width: 780px; padding-top: 64px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 10px; line-height: 1.1; }
.doc .updated { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 1.4rem; margin: 44px 0 12px; letter-spacing: -0.02em; }
.doc h3 { font-size: 1.06rem; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--green-600); font-weight: 500; }
.doc a:hover { text-decoration: underline; }
.doc strong { color: var(--text); }
.doc .lead { margin-bottom: 28px; }
details.faq { border: 1px solid var(--border); border-radius: 14px; background: var(--card); margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 17px 48px 17px 20px; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--green-600); }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 20px 6px; }
.contact-card { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--green-50); border: 1px solid var(--border); border-radius: 18px; padding: 26px; margin: 8px 0 20px; }
.contact-card h2 { margin: 0 0 4px; font-size: 1.25rem; }
.contact-card p { margin: 0; }
.doc .contact-card a.btn { color: #fff; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255,255,255,.72); padding: 56px 0 34px; font-size: 0.92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand .ag { color: #7cc35a; }
.site-footer .brand .sv { color: #6db6ee; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.84rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > div:first-child { grid-column: 1 / -1; } }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: 4rem; font-weight: 800; letter-spacing: -0.04em; color: var(--green-600); }
.notfound p { color: var(--muted); margin: 10px 0 28px; font-size: 1.1rem; }
.notfound .btns { justify-content: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Close-up card of part of a screen */
.zoom { width: 400px; max-width: 100%; position: relative; z-index: 1; border-radius: 26px; overflow: hidden; align-self: center;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.06); background: #eef3ea; }
.zoom img { width: 100%; }
.row-media:has(.zoom) { align-items: center; min-height: 360px; }
@media (max-width: 860px) { .zoom { width: 340px; } .row-media:has(.zoom) { min-height: 300px; } }
