:root {
  color-scheme: dark;
  --bg: #070a08;
  --surface: #0f1511;
  --surface-2: #151d18;
  --line: rgba(229, 194, 91, 0.2);
  --line-strong: rgba(229, 194, 91, 0.5);
  --gold: #e5c25b;
  --gold-soft: #f2df9b;
  --green: #8bd39d;
  --text: #f6f2e7;
  --muted: #aeb9b1;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 5%, rgba(42, 103, 65, .28), transparent 30rem),
    radial-gradient(circle at 88% 80%, rgba(135, 102, 16, .18), transparent 28rem),
    var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, svg { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: #111; padding: 10px 14px; border-radius: 8px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(7,10,8,.82); backdrop-filter: blur(18px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold); box-shadow: inset 0 0 24px rgba(229,194,91,.08); }
.logo-word { font-size: 1.28rem; color: var(--gold-soft); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 12px; border-radius: 10px; color: var(--muted); font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.nav-cta { border: 1px solid var(--line-strong) !important; color: var(--gold-soft) !important; }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.12); color: var(--text); background: transparent; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.hero { padding: 92px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
h1 { margin: 16px 0 22px; font-size: clamp(2.75rem, 6.7vw, 5.8rem); line-height: .98; letter-spacing: -.055em; max-width: 900px; }
h2 { font-size: clamp(2rem, 4.8vw, 3.7rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 18px; }
h3 { margin: 0 0 10px; font-size: 1.18rem; }
p { color: var(--muted); line-height: 1.72; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { border: 1px solid transparent; border-radius: 12px; padding: 12px 17px; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #11140f; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); box-shadow: 0 12px 30px rgba(229,194,91,.18); }
.button-secondary { color: var(--text); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.13); }
.button-small { padding: 9px 13px; font-size: .9rem; }
.hero-panel { position: relative; min-height: 430px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: linear-gradient(145deg, rgba(20,32,24,.95), rgba(8,12,9,.96)); box-shadow: var(--shadow); }
.orbit { position: absolute; inset: 11%; border: 1px solid rgba(229,194,91,.28); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; top: 10%; left: 12%; background: var(--gold); box-shadow: 0 0 20px var(--gold); }
.globe { position: absolute; inset: 25%; border-radius: 50%; border: 1px solid rgba(139,211,157,.45); background: radial-gradient(circle at 35% 30%, rgba(139,211,157,.35), rgba(10,44,27,.2) 45%, rgba(0,0,0,.2) 70%); box-shadow: inset -25px -20px 55px rgba(0,0,0,.38), 0 0 55px rgba(70,151,98,.12); }
.globe::before, .globe::after { content: ""; position: absolute; border: 1px solid rgba(139,211,157,.28); border-radius: 50%; }
.globe::before { inset: 14% 35%; }
.globe::after { inset: 35% 8%; }
.map-card { position: absolute; width: 190px; padding: 13px; background: rgba(8,12,9,.9); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.map-card strong { display: block; font-size: .82rem; }
.map-card span { color: var(--muted); font-size: .72rem; }
.map-card.a { top: 28px; right: 22px; }
.map-card.b { bottom: 26px; left: 20px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 7px; box-shadow: 0 0 0 0 rgba(139,211,157,.65); animation: pulse 2s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(139,211,157,0); } 100% { box-shadow: 0 0 0 0 rgba(139,211,157,0); } }
.section { padding: 78px 0; }
.section-tight { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-head p { max-width: 640px; margin: 0; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid rgba(255,255,255,.09); background: linear-gradient(145deg, rgba(20,29,23,.92), rgba(12,17,14,.92)); border-radius: 20px; padding: 24px; }
.card:hover { border-color: var(--line-strong); }
.icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--gold-soft); background: rgba(229,194,91,.06); margin-bottom: 18px; }
.metric-strip { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.025); }
.metric { padding: 22px; border-right: 1px solid rgba(255,255,255,.08); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: var(--gold-soft); font-size: 1.45rem; }
.metric span { color: var(--muted); font-size: .88rem; }
.demo { display: grid; grid-template-columns: 330px 1fr; min-height: 440px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; overflow: hidden; background: #0b100d; }
.demo-sidebar { padding: 24px; border-right: 1px solid rgba(255,255,255,.08); }
.demo-tab { width: 100%; text-align: left; border: 1px solid transparent; background: transparent; color: var(--muted); padding: 13px; border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.demo-tab.active { color: var(--text); background: rgba(229,194,91,.08); border-color: var(--line); }
.demo-main { padding: 28px; position: relative; overflow: hidden; }
.demo-view { display: none; }
.demo-view.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: .3; transform: translateY(4px); } }
.code { background: #050806; border: 1px solid rgba(255,255,255,.08); padding: 18px; border-radius: 14px; color: #cde7d4; font: .87rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; overflow: auto; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; font-size: .78rem; border: 1px solid var(--line); color: var(--gold-soft); background: rgba(229,194,91,.05); }
.page-hero { padding: 78px 0 42px; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.list { padding: 0; margin: 18px 0 0; list-style: none; }
.list li { color: var(--muted); padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid rgba(255,255,255,.06); }
.list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.timeline { border-left: 1px solid var(--line-strong); margin-left: 12px; padding-left: 28px; }
.timeline-item { position: relative; padding: 0 0 36px; }
.timeline-item::before { content: ""; position: absolute; left: -35px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 4px solid var(--bg); }
.timeline-item small { color: var(--gold-soft); text-transform: uppercase; letter-spacing: .12em; }
.support-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 22px 0; }
.support-option { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: var(--muted); border-radius: 14px; padding: 16px 10px; text-align: center; cursor: pointer; }
.support-option.active { color: var(--text); border-color: var(--line-strong); background: rgba(229,194,91,.08); }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; color: var(--text); font-size: .9rem; }
input, select, textarea { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(0,0,0,.22); color: var(--text); padding: 12px 13px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(229,194,91,.08); }
textarea { min-height: 130px; resize: vertical; }
.notice { border-left: 3px solid var(--gold); background: rgba(229,194,91,.06); padding: 15px 17px; color: var(--muted); border-radius: 0 10px 10px 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.09); }
.faq-question { width: 100%; padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: var(--text); text-align: left; font-weight: 700; cursor: pointer; }
.faq-answer { display: none; padding: 0 0 18px; }
.faq-item.open .faq-answer { display: block; }
.cta { border: 1px solid var(--line); border-radius: 26px; padding: 44px; background: linear-gradient(135deg, rgba(33,60,42,.65), rgba(43,34,10,.4)); }
.footer { border-top: 1px solid rgba(255,255,255,.08); margin-top: 70px; }
.footer-grid { padding: 42px 0; display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 30px; }
.footer h4 { margin: 0 0 14px; }
.footer a { display: block; color: var(--muted); padding: 5px 0; }
.footer a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0 26px; color: #778279; font-size: .85rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .demo, .footer-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 360px; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .demo-sidebar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .support-picker { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 12px; flex-direction: column; align-items: stretch; background: #0d130f; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 58px; }
  .section { padding: 58px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .cta { padding: 28px; }
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-status { min-height: 1.5rem; margin: .25rem 0 0; font-weight: 650; }
.form-status.success { color: #8fe3ae; }
.form-status.error { color: #ffaaa4; }
.form-privacy { margin: 0; font-size: .84rem; opacity: .72; line-height: 1.55; }
.form button[disabled] { cursor: wait; opacity: .65; }

.selected-engagement { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(229,194,91,.06); }
.selected-engagement span { color: var(--muted); font-size: .82rem; }
.selected-engagement strong { color: var(--gold-soft); font-size: .9rem; text-align: right; }
.message-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.message-meta small { transition: color .2s ease; }
.message-meta .warning { color: #f1c86a; }
.message-meta .valid { color: #8fe3ae; }
.message-count.danger { color: #ffaaa4; }
@media (max-width: 520px) { .selected-engagement, .message-meta { align-items: flex-start; } .selected-engagement { flex-direction: column; gap: 4px; } }

/* Sprouti brand refresh */
:root {
  --bg: #06110d;
  --surface: #0c1b15;
  --surface-2: #11271d;
  --line: rgba(130, 183, 92, .22);
  --line-strong: rgba(148, 196, 91, .55);
  --gold: #8eb85b;
  --gold-soft: #c7dd91;
  --green: #9bd36a;
  --text: #f4f7ed;
  --muted: #a9b9ae;
}
body { background: radial-gradient(circle at 12% 4%, rgba(83,137,83,.24), transparent 32rem), radial-gradient(circle at 90% 75%, rgba(91,142,116,.13), transparent 30rem), var(--bg); }
.site-header { background: rgba(6,17,13,.84); }
.logo { height: 54px; overflow: hidden; }
.logo {
  min-width: 190px;
  display: inline-flex;
  align-items: center;
}
.hero-visual::before {
  content:"";
  position:absolute;
  left:50%;
  top:51%;
  width:330px;
  height:330px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle at 50% 45%,
    rgba(245,250,235,.22) 0,
    rgba(116,193,83,.14) 42%,
    rgba(49,113,77,.05) 66%,
    transparent 74%);
  border:1px solid rgba(160,213,112,.17);
  z-index:1;
  pointer-events:none;
}
html[data-theme="light"] .hero-visual::before {
  background:radial-gradient(circle at 50% 45%,
    rgba(255,255,255,.88) 0,
    rgba(220,242,199,.58) 43%,
    rgba(172,216,147,.15) 67%,
    transparent 75%);
  border-color:rgba(89,148,63,.16);
}
.hero-mascot {
  width:min(72%,360px);
  max-height:410px;
  object-fit:contain;
  filter:
    drop-shadow(0 2px 1px rgba(255,255,255,.18))
    drop-shadow(0 24px 34px rgba(0,0,0,.36));
}
html[data-theme="light"] .hero-mascot {
  filter:
    drop-shadow(0 2px 1px rgba(255,255,255,.9))
    drop-shadow(0 20px 34px rgba(36,82,48,.20));
}

.photo-tile {
  background-color:var(--surface-2);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
}
.photo-tile::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(135deg,rgba(7,24,17,.03),rgba(7,24,17,.18));
}
.photo-tile figcaption { z-index:3; }
html[data-theme="light"] .photo-tile::after {
  background:linear-gradient(to top,rgba(8,31,20,.78),rgba(8,31,20,.02) 62%);
}

@media(max-width:900px){
  .logo{min-width:172px}
  .hero-mascot{width:310px}
  .hero-visual::before{width:290px;height:290px}
}
@media(max-width:720px){
  .logo{min-width:152px}
  .hero-mascot{width:240px}
  .hero-visual::before{width:230px;height:230px}
}

/* Whole-site polish: clean wordmark, contained imagery, crisp dark/light visuals */
.logo{min-width:auto!important;overflow:visible!important;text-decoration:none!important}
.wordmark{display:inline-flex;align-items:center;white-space:nowrap;font-weight:850;font-size:1.72rem;line-height:1;letter-spacing:-.055em;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.wordmark-o{display:inline-grid;place-items:center;width:.82em;height:.82em;margin:0 .025em;border-radius:50%;background:linear-gradient(145deg,#b9ef70,#63c956);color:#12331f;font-size:.82em;line-height:1;letter-spacing:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
html[data-theme="light"] .wordmark{color:#10261a}

/* Hero no longer uses the rasterised mascot/logo artwork. */
.hero-geo-visual{position:absolute;inset:58px 42px 54px;border-radius:50%;overflow:hidden;z-index:2;background:linear-gradient(180deg,rgba(4,20,14,.05),rgba(4,20,14,.24)),url("images/observe-earth-v2.jpg") center/cover no-repeat;border:1px solid rgba(171,231,113,.24);box-shadow:0 28px 70px rgba(0,0,0,.32),inset 0 0 70px rgba(9,34,23,.28)}
html[data-theme="light"] .hero-geo-visual{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(238,249,231,.12)),url("images/observe-earth-v2.jpg") center/cover no-repeat;border-color:rgba(58,122,69,.18);box-shadow:0 24px 60px rgba(37,77,50,.16)}

/* Prevent visual-story cards and images escaping their grid cells. */
.photo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;min-width:0!important;overflow:visible!important}
.photo-grid>*{min-width:0!important;max-width:100%!important}
.photo-tile{width:100%!important;max-width:100%!important;min-width:0!important;aspect-ratio:4/3!important;height:auto!important;min-height:0!important;overflow:hidden!important;isolation:isolate!important;background-size:cover!important;background-position:center!important}
.photo-tile::before,.photo-tile::after{border-radius:inherit;pointer-events:none}
.photo-tile figcaption{left:20px!important;right:20px!important;bottom:18px!important;max-width:calc(100% - 40px)!important}
.photo-tile figcaption strong,.photo-tile figcaption span{overflow-wrap:anywhere}

/* Theme control stays visible on every desktop page. */
.theme-toggle{display:grid!important;flex:0 0 40px}

@media(max-width:900px){
 .photo-grid{grid-template-columns:1fr!important}
 .photo-tile{aspect-ratio:16/9!important}
 .hero-geo-visual{inset:50px 56px}
}
@media(max-width:720px){
 .wordmark{font-size:1.5rem}
 .photo-tile{aspect-ratio:4/3!important}
 .hero-geo-visual{inset:52px 34px}
 .nav-links .theme-toggle{width:100%!important;display:grid!important}
}


/* Visual-story card rebuild: image and caption are separate, never cropped together */
.visual-story{overflow:hidden}
.photo-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  width:100%!important;
  min-width:0!important;
  align-items:stretch!important;
}
.photo-grid>*{min-width:0!important;max-width:100%!important}
.photo-tile{
  margin:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  isolation:isolate!important;
  border-radius:24px!important;
  border:1px solid var(--line)!important;
  background:var(--surface)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.18)!important;
}
.photo-tile::before,.photo-tile::after{display:none!important;content:none!important}
.photo-tile img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/10!important;
  object-fit:cover!important;
  object-position:center!important;
  flex:0 0 auto!important;
}
.photo-tile figcaption{
  position:static!important;
  inset:auto!important;
  max-width:none!important;
  min-height:108px!important;
  padding:20px 22px 22px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:5px!important;
  background:var(--surface)!important;
  color:var(--text)!important;
}
.photo-tile figcaption strong{
  color:var(--text)!important;
  font-size:1.18rem!important;
  line-height:1.15!important;
}
.photo-tile figcaption span{
  color:var(--muted)!important;
  font-size:.94rem!important;
  line-height:1.45!important;
}
html[data-theme="light"] .photo-tile{
  box-shadow:0 18px 42px rgba(39,73,45,.12)!important;
}

@media(max-width:900px){
  .photo-grid{grid-template-columns:1fr!important;gap:18px!important}
  .photo-tile img{aspect-ratio:16/9!important}
  .photo-tile figcaption{min-height:96px!important}
}
@media(max-width:720px){
  .photo-tile{border-radius:20px!important}
  .photo-tile img{aspect-ratio:4/3!important}
  .photo-tile figcaption{padding:18px!important;min-height:92px!important}
}


/* Final visual-story edge cleanup */
.photo-tile{
  padding:0!important;
  overflow:hidden!important;
}
.photo-tile img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  max-width:none!important;
  align-self:stretch!important;
  vertical-align:top!important;
  object-fit:cover!important;
  object-position:center!important;
}

/* Homepage hero repair: keep all artwork inside the visual card */
.hero-visual{
  position:relative!important;
  min-width:0!important;
  min-height:470px!important;
  overflow:hidden!important;
  isolation:isolate!important;
  border:1px solid var(--line)!important;
  border-radius:30px!important;
  background:linear-gradient(145deg,var(--surface),var(--surface-2))!important;
  box-shadow:0 24px 60px rgba(0,0,0,.24)!important;
}
.hero-visual::before{display:none!important;content:none!important}
.hero-photo,.hero-visual>.geo-grid{display:none!important}
.hero-geo-visual{
  position:absolute!important;
  inset:18px!important;
  z-index:1!important;
  overflow:hidden!important;
  border-radius:22px!important;
  background:
    linear-gradient(180deg,rgba(4,20,14,.05),rgba(4,20,14,.28)),
    url("images/observe-earth-v2.jpg") center center/cover no-repeat!important;
  border:1px solid rgba(171,231,113,.18)!important;
  box-shadow:inset 0 0 55px rgba(4,20,14,.28)!important;
}
html[data-theme="light"] .hero-geo-visual{
  background:
    linear-gradient(180deg,rgba(255,255,255,.03),rgba(20,62,40,.10)),
    url("images/observe-earth-v2.jpg") center center/cover no-repeat!important;
  border-color:rgba(44,106,58,.18)!important;
}
.hero-visual .map-card{
  z-index:4!important;
  width:min(205px,calc(50% - 30px))!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
  background:rgba(7,24,17,.88)!important;
  border:1px solid rgba(180,224,145,.22)!important;
}
.hero-visual .map-card.a{top:34px!important;right:34px!important}
.hero-visual .map-card.b{bottom:34px!important;left:34px!important}
.hero-visual .map-card.c{bottom:34px!important;right:34px!important}
html[data-theme="light"] .hero-visual .map-card{
  color:#f6fbf3!important;
  background:rgba(10,42,28,.88)!important;
}
.hero-grid{align-items:stretch!important}
.hero-grid>div:first-child{align-self:center!important}

@media(max-width:900px){
  .hero-visual{min-height:430px!important}
  .hero-geo-visual{inset:16px!important}
}
@media(max-width:720px){
  .hero-visual{min-height:360px!important;border-radius:22px!important}
  .hero-geo-visual{inset:12px!important;border-radius:16px!important}
  .hero-visual .map-card{width:calc(50% - 24px)!important;padding:10px!important}
  .hero-visual .map-card.a{top:22px!important;right:22px!important}
  .hero-visual .map-card.b{bottom:22px!important;left:22px!important}
  .hero-visual .map-card.c{bottom:22px!important;right:22px!important}
}


/* Final Sprouti cat + earth refresh */
:root {
  --radius-xl: 28px;
}
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f8f1;
  --surface: #ffffff;
  --surface-2: #eef5ed;
  --line: rgba(57, 108, 68, 0.16);
  --line-strong: rgba(76, 135, 84, 0.30);
  --gold: #6ea94a;
  --gold-soft: #4b7f3e;
  --green: #77ba53;
  --text: #0f261a;
  --muted: #56675d;
  --shadow: 0 24px 70px rgba(22, 56, 33, 0.10);
}
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 10% 0%, rgba(141, 197, 112, 0.24), transparent 32rem),
    radial-gradient(circle at 88% 84%, rgba(111, 166, 122, 0.12), transparent 26rem),
    var(--bg);
}
html[data-theme="light"] .site-header {
  background: rgba(244, 248, 241, 0.88);
  border-bottom-color: rgba(15, 38, 26, 0.09);
}
html[data-theme="light"] .nav-links a { color: #5d6b62; }
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(15, 38, 26, 0.06);
}
html[data-theme="light"] .nav-cta {
  color: var(--text) !important;
  background: rgba(119, 186, 83, 0.10);
  border-color: rgba(96, 147, 71, 0.34) !important;
}
html[data-theme="light"] .menu-toggle {
  color: var(--text);
  border-color: rgba(15, 38, 26, 0.15);
}
html[data-theme="light"] .button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(15, 38, 26, 0.12);
}
html[data-theme="light"] .card,
html[data-theme="light"] .demo,
html[data-theme="light"] .metric-strip,
html[data-theme="light"] .cta {
  box-shadow: 0 20px 50px rgba(22, 56, 33, 0.08);
}
html[data-theme="light"] .demo { background: #f7fbf4; }
html[data-theme="light"] .demo-sidebar { border-right-color: rgba(15, 38, 26, 0.08); }
html[data-theme="light"] .code {
  background: #f3f7f1;
  color: #234435;
  border-color: rgba(15, 38, 26, 0.08);
}
html[data-theme="light"] .notice {
  background: rgba(119, 186, 83, 0.10);
  color: #456154;
}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-color: rgba(15, 38, 26, 0.12);
}
html[data-theme="light"] .footer {
  border-top-color: rgba(15, 38, 26, 0.08);
}
html[data-theme="light"] .footer-bottom {
  border-top-color: rgba(15, 38, 26, 0.08);
  color: #688070;
}

.logo {
  min-width: 188px !important;
  height: auto !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  position: relative;
}
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}
.brand-logo-on-light { display: none; }
html[data-theme="light"] .brand-logo-on-dark { display: none; }
html[data-theme="light"] .brand-logo-on-light { display: block; }
@media (max-width: 720px) {
  .logo { min-width: 150px !important; }
  .brand-logo { height: 36px; }
}

.theme-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.theme-toggle:hover { transform: translateY(-1px); }
html[data-theme="light"] .theme-toggle {
  border-color: rgba(15,38,26,.12);
  background: rgba(15,38,26,.04);
}
.theme-icon { font-size: 1rem; line-height: 1; }

/* Homepage hero visual */
.hero-visual {
  position: relative !important;
  min-height: 470px !important;
  border: 1px solid var(--line) !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, rgba(13, 28, 21, 0.96), rgba(8, 18, 14, 0.98)) !important;
  box-shadow: var(--shadow);
  isolation: isolate;
}
html[data-theme="light"] .hero-visual {
  background: linear-gradient(145deg, #ffffff, #eef5ed) !important;
}
.hero-visual::before { display: none !important; }
.hero-photo, .hero-visual > .geo-grid { display: none !important; }
.hero-geo-visual {
  position: absolute !important;
  inset: 18px !important;
  z-index: 1 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 68% 28%, rgba(160, 214, 96, 0.28), transparent 20%),
    linear-gradient(180deg, rgba(4, 15, 11, 0.22), rgba(4, 15, 11, 0.34)),
    url("images/sprouti-cat-earth-hero.png") center center / contain no-repeat,
    linear-gradient(180deg, #0a1812, #102219) !important;
  box-shadow: inset 0 0 54px rgba(3, 12, 9, 0.28);
}
html[data-theme="light"] .hero-geo-visual {
  background:
    radial-gradient(circle at 68% 28%, rgba(160, 214, 96, 0.20), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(18, 56, 36, 0.08)),
    url("images/sprouti-cat-earth-hero.png") center center / contain no-repeat,
    linear-gradient(180deg, #f7fbf5, #edf5ea) !important;
}
.hero-visual .map-card {
  z-index: 3 !important;
  width: min(208px, calc(50% - 32px)) !important;
  background: rgba(7, 22, 16, 0.84) !important;
  border: 1px solid rgba(182, 228, 144, 0.18) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-visual .map-card strong,
.hero-visual .map-card span { color: #f4f8ef; }
.hero-visual .map-card span { opacity: 0.78; }
html[data-theme="light"] .hero-visual .map-card {
  background: rgba(11, 44, 29, 0.82) !important;
  border-color: rgba(76, 135, 84, 0.18) !important;
}
.hero-visual .map-card.a { top: 30px !important; right: 26px !important; }
.hero-visual .map-card.b { left: 26px !important; bottom: 26px !important; }
.hero-visual .map-card.c { right: 26px !important; bottom: 26px !important; }

@media (max-width: 900px) {
  .hero-visual { min-height: 420px !important; }
  .hero-geo-visual { inset: 14px !important; }
}
@media (max-width: 720px) {
  .hero-visual { min-height: 360px !important; border-radius: 24px !important; }
  .hero-geo-visual { inset: 10px !important; border-radius: 16px !important; }
  .hero-visual .map-card { width: calc(50% - 22px) !important; padding: 10px !important; }
  .hero-visual .map-card.a { top: 18px !important; right: 18px !important; }
  .hero-visual .map-card.b { left: 18px !important; bottom: 18px !important; }
  .hero-visual .map-card.c { right: 18px !important; bottom: 18px !important; }
}


/* Light mode visibility and black hero fix */
html[data-theme="light"] {
  --bg: #f4f7f1;
  --surface: #ffffff;
  --surface-2: #edf4ea;
  --line: rgba(18, 58, 35, .14);
  --line-strong: rgba(63, 125, 69, .34);
  --gold: #6f9f45;
  --gold-soft: #416d35;
  --green: #65ad4c;
  --text: #10251a;
  --muted: #53645a;
  --shadow: 0 20px 56px rgba(25, 63, 39, .10);
}
html[data-theme="light"] body {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 3%, rgba(121, 177, 94, .18), transparent 31rem),
    radial-gradient(circle at 88% 76%, rgba(116, 165, 131, .11), transparent 27rem),
    var(--bg) !important;
}
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] label,
html[data-theme="light"] .faq-question,
html[data-theme="light"] .timeline-item,
html[data-theme="light"] .selected-engagement strong {
  color: var(--text) !important;
}
html[data-theme="light"] p,
html[data-theme="light"] .lead,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .list li,
html[data-theme="light"] .faq-answer,
html[data-theme="light"] .form-privacy,
html[data-theme="light"] .message-meta,
html[data-theme="light"] .selected-engagement span {
  color: var(--muted) !important;
}
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .metric strong,
html[data-theme="light"] .badge {
  color: #416d35 !important;
}

/* Surfaces that were hard-coded for dark mode now become proper light surfaces. */
html[data-theme="light"] .card,
html[data-theme="light"] .metric-strip,
html[data-theme="light"] .demo,
html[data-theme="light"] .cta,
html[data-theme="light"] .support-option,
html[data-theme="light"] .selected-engagement {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: rgba(18, 58, 35, .11) !important;
  box-shadow: 0 16px 42px rgba(27, 65, 40, .07);
}
html[data-theme="light"] .card:hover {
  border-color: rgba(79, 139, 73, .32) !important;
}
html[data-theme="light"] .metric {
  border-right-color: rgba(18, 58, 35, .08) !important;
}
html[data-theme="light"] .metric span { color: var(--muted) !important; }
html[data-theme="light"] .demo-sidebar {
  background: #f4f8f1 !important;
  border-color: rgba(18, 58, 35, .08) !important;
}
html[data-theme="light"] .demo-tab {
  color: #607067 !important;
}
html[data-theme="light"] .demo-tab.active {
  color: var(--text) !important;
  background: rgba(103, 164, 77, .12) !important;
  border-color: rgba(103, 164, 77, .25) !important;
}
html[data-theme="light"] .demo-main { background: #ffffff !important; }
html[data-theme="light"] .code {
  background: #eef4eb !important;
  color: #234634 !important;
  border-color: rgba(18, 58, 35, .10) !important;
}
html[data-theme="light"] .icon {
  color: #3f7138 !important;
  background: rgba(111, 159, 69, .10) !important;
  border-color: rgba(111, 159, 69, .22) !important;
}
html[data-theme="light"] .badge {
  background: rgba(111, 159, 69, .10) !important;
  border-color: rgba(111, 159, 69, .22) !important;
}
html[data-theme="light"] .support-option {
  color: #53645a !important;
}
html[data-theme="light"] .support-option.active {
  color: var(--text) !important;
  background: rgba(111, 159, 69, .12) !important;
  border-color: rgba(111, 159, 69, .36) !important;
}
html[data-theme="light"] .notice {
  color: #4a6253 !important;
  background: rgba(111, 159, 69, .10) !important;
  border-left-color: #729f48 !important;
}
html[data-theme="light"] .faq-item,
html[data-theme="light"] .list li,
html[data-theme="light"] .footer,
html[data-theme="light"] .footer-bottom {
  border-color: rgba(18, 58, 35, .09) !important;
}
html[data-theme="light"] .timeline { border-left-color: rgba(79, 139, 73, .32) !important; }
html[data-theme="light"] .timeline-item::before {
  background: #76a94f !important;
  border-color: var(--bg) !important;
}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: rgba(18, 58, 35, .14) !important;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder { color: #829087 !important; }

/* Keep the cat/Earth artwork on a black canvas in both themes. */
html[data-theme="light"] .hero-visual {
  background: #030806 !important;
  border-color: rgba(84, 142, 76, .32) !important;
  box-shadow: 0 24px 62px rgba(16, 45, 27, .18) !important;
}
html[data-theme="light"] .hero-geo-visual {
  background:
    radial-gradient(circle at 68% 28%, rgba(160,214,96,.17), transparent 20%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.23)),
    url("images/sprouti-cat-earth-hero.png") center center / contain no-repeat,
    #000 !important;
  border-color: rgba(166, 220, 116, .20) !important;
  box-shadow: inset 0 0 62px rgba(0,0,0,.44) !important;
}
html[data-theme="light"] .hero-visual .map-card {
  color: #f4f8ef !important;
  background: rgba(5, 21, 14, .88) !important;
  border-color: rgba(182,228,144,.20) !important;
}
html[data-theme="light"] .hero-visual .map-card strong,
html[data-theme="light"] .hero-visual .map-card span { color: #f4f8ef !important; }

/* Story cards: light caption panels with readable copy; image area remains untouched. */
html[data-theme="light"] .photo-tile {
  background: #ffffff !important;
  border-color: rgba(18,58,35,.12) !important;
  box-shadow: 0 18px 44px rgba(27,65,40,.10) !important;
}
html[data-theme="light"] .photo-tile figcaption { background: #ffffff !important; }
html[data-theme="light"] .photo-tile figcaption strong { color: #10251a !important; }
html[data-theme="light"] .photo-tile figcaption span { color: #53645a !important; }

/* Header/footer and controls */
html[data-theme="light"] .site-header {
  background: rgba(244,247,241,.90) !important;
  border-bottom-color: rgba(18,58,35,.08) !important;
}
html[data-theme="light"] .nav-links a { color: #5d6c63 !important; }
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a[aria-current="page"] {
  color: #10251a !important;
  background: rgba(18,58,35,.06) !important;
}
html[data-theme="light"] .nav-cta {
  color: #24451f !important;
  background: rgba(111,159,69,.09) !important;
  border-color: rgba(111,159,69,.38) !important;
}
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .menu-toggle {
  color: #10251a !important;
  background: rgba(18,58,35,.05) !important;
  border-color: rgba(18,58,35,.12) !important;
}
html[data-theme="light"] .footer a { color: #5b6c61 !important; }
html[data-theme="light"] .footer a:hover { color: #10251a !important; }
html[data-theme="light"] .footer-bottom { color: #718077 !important; }

/* Buttons */
html[data-theme="light"] .button-primary {
  color: #102015 !important;
  background: linear-gradient(135deg, #c8e996, #86c55c) !important;
}
html[data-theme="light"] .button-secondary {
  color: #173021 !important;
  background: #ffffff !important;
  border-color: rgba(18,58,35,.14) !important;
}

/* Mobile menu must also switch theme. */
@media (max-width: 720px) {
  html[data-theme="light"] .nav-links {
    background: #f9fbf7 !important;
    border-color: rgba(18,58,35,.12) !important;
  }
  html[data-theme="light"] .metric:nth-child(-n+2),
  html[data-theme="light"] .demo-sidebar {
    border-color: rgba(18,58,35,.08) !important;
  }
}
