/* Guru – Continuous-world additions */
html, body { background: transparent !important; }

#sky-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(60% 12% at 80% 3%, rgba(255, 248, 220, 0.55), transparent 70%),
    radial-gradient(80% 30% at 50% 55%, rgba(255, 240, 220, 0.18), transparent 70%),
    radial-gradient(70% 18% at 50% 98%, rgba(120, 190, 220, 0.4), transparent 70%),
    linear-gradient(180deg,
      #6fc0f3   0%,
      #8fd0f8   15%,
      #b8e0f4   35%,
      #d4ebf2  55%,
      #c8e4ee  75%,
      #a8d2e4  90%,
      #86bcd8 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-color: #9cd6ff;
}

body > header, body > section, body > footer, body > main,
.biome, .biome-midday, .biome-dusk, .biome-forest, .biome-day,
.biome-sunrise, .biome-aurora, .biome-pond,
.hero, .problem, .agency, .final-cta,
#features, #alternative, #tracker, #features .feature-row,
.pond-bg, .sky, .sky-midday, .sky-dusk, .sky-forest, .sky-soft,
.sky-sunrise, .sky-aurora {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
}
.biome { overflow: visible !important; isolation: auto !important; }

/* Disable expensive backdrop-filter on feature section glass — nav/hero keep it */
.feature-section .glass,
.tracker-section .glass,
.overview-card.glass,
.overview-card.glass-clear,
.sub-feature.glass,
.sub-feature.glass-clear {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.divider, .plant-grass-bottom, .plant.plant-grass-bottom,
.world-hill, .hill-meadow, .hill-forest, .hill-dark, .hill-peach, .hill-pond,
.pond-bg { display: none !important; }

.sky::before, .sky::after,
.sky-midday::before, .sky-midday::after,
.sky-dusk::before, .sky-dusk::after,
.sky-forest::before, .sky-forest::after,
.sky-sunrise::before, .sky-sunrise::after,
.sky-aurora::before, .sky-aurora::after { display: none !important; }

body { position: relative; }

#world { display: none !important; }

/* App-light approval cards */
.app-light {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 13px;
  color: #0b1f33;
}
.approval-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
  border: 1px solid #dee7f1;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px -10px rgba(10, 60, 120, 0.25), 0 1px 0 white inset;
}
.approval-card + .approval-card { margin-top: 14px; }
.approval-card .ahead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.approval-card .atitle { font-weight: 600; color: #0b1f33; font-size: 14px; }
.approval-card .ameta { color: #5b6a82; font-size: 11px; margin-bottom: 12px; }
.approval-card .abtns { display: flex; gap: 8px; }
.approval-card .abtn { padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.approval-card .abtn.ok { background: linear-gradient(180deg, #cdeeff, #7cc7ff); color: #063a66; border: 1px solid #a8d8f8; }
.approval-card .abtn.go { background: linear-gradient(180deg, #d9f38f, #98d634); color: #224c06; border: 1px solid #bce070; }
.approval-card .abtn.alt { background: #eef3f9; color: #4a5a72; border: 1px solid #dee7f1; }
.approval-card .abtn.edit { background: #fff; color: #4a5a72; border: 1px solid #dee7f1; }
.approval-card .apill {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600;
}
.approval-card .apill.t { background: #dff1ff; color: #0a6ac8; }
.approval-card .apill.l { background: #e3f8e0; color: #3a7a1a; }
.approval-card .apill.r { background: #fff0d6; color: #a05a0a; }

/* Phone frame */
.phone-frame {
  width: 280px; height: 560px; margin: 0 auto;
  border-radius: 44px;
  background: linear-gradient(180deg, #2a3346, #141a29);
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(10, 60, 120, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
}
.phone-frame::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 999px; background: #0a0e18; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #f5faff, #eaf2fc);
  overflow: hidden;
  padding: 44px 16px 20px;
  position: relative;
  color: #0b1f33;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}
.phone-screen h5 { font-family: inherit; font-weight: 700; font-size: 16px; margin: 6px 0 2px; color: #0b1f33; }
.phone-screen .psub { color: #5b6a82; font-size: 11px; margin-bottom: 14px; }
.phone-screen .prow {
  padding: 10px 12px; background: white; border: 1px solid #dee7f1;
  border-radius: 12px; margin-bottom: 8px;
  box-shadow: 0 4px 10px -6px rgba(10,60,120,0.12);
}
.phone-screen .prow .pt { font-weight: 600; font-size: 12.5px; color: #0b1f33; }
.phone-screen .prow .pm { color: #5b6a82; font-size: 10.5px; margin-top: 2px; display: flex; gap: 8px; }
.phone-screen .prow .pm b { color: #3a7a1a; font-weight: 700; }
.phone-screen .prow .pm b.sec { color: #0a6ac8; }

/* Zoom crop light panel */
.zoom-crop {
  position: relative;
  padding: 28px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(240,248,255,0.78));
  border: 1px solid rgba(200,215,235,0.7);
  border-radius: 20px;
  color: #0b1f33;
  font-family: ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 20px 50px -15px rgba(10,60,120,0.2), 0 1px 0 rgba(255,255,255,0.9) inset;
  overflow: visible;
}
.zoom-crop .zrow {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; align-items: center;
  padding: 14px 16px; border: 1px solid rgba(200,215,235,0.5); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,252,255,0.82));
  font-size: 15px;
  box-shadow: 0 2px 8px -4px rgba(10,60,120,0.1);
}
.zoom-crop .zrow + .zrow { margin-top: 10px; }
.zoom-crop .zrow strong { color: #0b1f33; font-size: 14px; font-weight: 600; }
.zoom-crop .zrow .zsub { color: #5b6a82; font-size: 12px; }
.zoom-crop .zrow .zanchor { color: #1eaecb; font-family: ui-monospace, monospace; font-size: 13px; }
.zoom-crop .zrow .zpill {
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; text-align: center;
  background: rgba(181,232,74,0.2); color: #3a7a1a; border: 1px solid rgba(90,180,50,0.35);
}
.zoom-crop .zrow.hi {
  background: linear-gradient(180deg, rgba(220,255,200,0.45), rgba(200,242,170,0.28));
  border-color: rgba(90,180,50,0.3);
  box-shadow: 0 2px 12px -4px rgba(90,180,50,0.15);
}
.callout {
  position: absolute;
  right: -40px; top: 40px;
  width: 200px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 12.5px;
  color: #0b1f33;
  box-shadow: 0 14px 28px -10px rgba(10, 60, 120, 0.35);
  line-height: 1.4;
}
.callout::after {
  content: ""; position: absolute; left: -36px; top: 18px;
  width: 6px; height: 6px; border-radius: 50%; background: #b5e84a; box-shadow: 0 0 8px #b5e84a;
}
.callout b { color: #3a7a1a; display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }

/* Floating panel */
.panel-float {
  padding: 24px 28px; border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fafd 100%);
  border: 1px solid #dee7f1;
  box-shadow: 0 40px 80px -30px rgba(10, 60, 120, 0.4), 0 1px 0 white inset;
  color: #0b1f33;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}
.panel-float .phead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.panel-float .phead h5 { font-family: inherit; font-weight: 700; font-size: 16px; color: #0b1f33; margin: 0; }
.panel-float .phead .plive { font-size: 11px; color: #3a7a1a; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.panel-float .phead .plive::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3a7a1a; box-shadow: 0 0 8px #3a7a1a; }
.panel-float .pevent {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; margin-bottom: 6px;
  background: linear-gradient(180deg, #fbfdff, #f0f5fb);
  border: 1px solid #e6ebf3;
  font-size: 12.5px;
}
.panel-float .pevent .ppill { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.panel-float .ppill.ok { background: #e3f8e0; color: #3a7a1a; }
.panel-float .ppill.info { background: #dff1ff; color: #0a6ac8; }
.panel-float .ppill.warn { background: #fff0d6; color: #a05a0a; }
.panel-float .ppill.muted { background: #eef3f9; color: #4a5a72; }
.panel-float .pevent .pt { color: #0b1f33; }
.panel-float .pevent .ptime { margin-left: auto; color: #8995b0; font-size: 11px; font-variant-numeric: tabular-nums; }

/* Fern overlay */
.fern-overlay { position: absolute; z-index: 4; pointer-events: none; }
.fern-overlay.tl { top: -30px; left: -40px; width: 200px; height: 160px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160'><defs><linearGradient id='fo' x1='0' x2='1'><stop offset='0%25' stop-color='%2398e06a'/><stop offset='100%25' stop-color='%233a7a1a'/></linearGradient></defs><g fill='none' stroke='url(%23fo)' stroke-width='3' stroke-linecap='round'><path d='M10,10 Q70,50 130,90 Q170,120 195,140'/></g><g fill='url(%23fo)'><ellipse cx='30' cy='25' rx='16' ry='6' transform='rotate(25 30 25)'/><ellipse cx='55' cy='45' rx='16' ry='6' transform='rotate(28 55 45)'/><ellipse cx='80' cy='65' rx='16' ry='6' transform='rotate(32 80 65)'/><ellipse cx='105' cy='82' rx='14' ry='5' transform='rotate(35 105 82)'/></g></svg>");
  background-size: contain; background-repeat: no-repeat;
  filter: drop-shadow(0 6px 12px rgba(30, 70, 20, 0.3));
}

.single-dew {
  position: absolute;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), rgba(200, 235, 255, 0.6) 50%, rgba(255,255,255,0) 75%);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(10, 60, 120, 0.3), inset 0 -1px 2px rgba(80, 120, 170, 0.4);
}

/* Triptych */
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.triptych > * { transform: rotate(-1.5deg); }
.triptych > *:nth-child(2) { transform: rotate(0.8deg); margin-top: 20px; }
.triptych > *:nth-child(3) { transform: rotate(-0.6deg); }

.feature-screen.no-frame { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.feature-screen.no-frame::before, .feature-screen.no-frame::after { display: none !important; }

/* Feature tilted variant */
.feature-row.v-tilted .feature-screen {
  transform: perspective(1400px) rotateY(-10deg) rotateX(5deg) scale(1.05);
}

/* Birds */
.bird {
  position: absolute;
  width: 38px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 16'><g fill='none' stroke='%23203040' stroke-width='2' stroke-linecap='round'><path d='M2,10 Q10,2 18,10'/><path d='M18,10 Q26,2 36,10'/></g></svg>");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.55;
  animation: birdFlap 0.35s steps(2) infinite;
}
@keyframes birdFlap { from { transform: scaleY(1); } to { transform: scaleY(0.55); } }
.flock {
  position: absolute !important;
  width: 220px; height: 120px;
  top: 12vh; left: -260px;
  pointer-events: none;
  z-index: -1;
  animation: flockFly 55s linear infinite;
}
@keyframes flockFly {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(40vw, -4vh); }
  55%  { transform: translate(80vw, 3vh); }
  100% { transform: translate(calc(100vw + 260px), -2vh); }
}

/* Footer needs solid background so sky-bg doesn't bleed through */
footer, footer.biome-pond { background: rgba(255,255,255,0.94) !important; }

.foot .col a { display: block; line-height: 1.6; padding: 2px 0; }
.foot .col { min-width: 140px; }

@media (max-width: 900px) {
  .triptych { grid-template-columns: 1fr; }
  .triptych > * { transform: none !important; margin-top: 0 !important; }
  .callout { position: static; margin-top: 12px; width: auto; }
  .callout::after { display: none; }
  @media (prefers-reduced-motion: reduce) {
    .flock { display: none; }
  }
}
