/* ============================================================
   SustainOS — shared brand foundation
   Poppins · purple #6E6CFF · orange #D4622A · lime #C8F135
   charcoal #2B2B2B · off-white #F5F4EF · white #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

:root {
  --purple: #6E6CFF;
  --purple-deep: #4F4DE0;
  --orange: #D4622A;
  --lime: #C8F135;
  --charcoal: #2B2B2B;
  --charcoal-soft: #353535;
  --offwhite: #F5F4EF;
  --white: #FFFFFF;
  --ink: #2B2B2B;
  --ink-60: rgba(43, 43, 43, 0.62);
  --ink-40: rgba(43, 43, 43, 0.42);
  --paper-line: rgba(43, 43, 43, 0.10);

  --maxw: 1180px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --shadow-sm: 0 1px 3px rgba(43,43,43,.06), 0 6px 18px rgba(43,43,43,.05);
  --shadow-md: 0 4px 12px rgba(43,43,43,.08), 0 20px 50px rgba(43,43,43,.10);
  --shadow-lg: 0 10px 30px rgba(20,20,40,.12), 0 40px 90px rgba(20,20,40,.18);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---- layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding-block: clamp(64px, 9vw, 132px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 16px;
  padding: 16px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 10px 28px rgba(110,108,255,.32); }
.btn-purple:hover { background: var(--purple-deep); box-shadow: 0 14px 34px rgba(110,108,255,.42); }

.btn-lime { background: var(--lime); color: var(--charcoal); box-shadow: 0 10px 28px rgba(200,241,53,.34); }
.btn-lime:hover { box-shadow: 0 14px 34px rgba(200,241,53,.5); }

.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 28px rgba(212,98,42,.32); }
.btn-orange:hover { box-shadow: 0 14px 34px rgba(212,98,42,.44); }

.btn-ghost-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.24); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); }

.btn-ghost-light { background: transparent; color: var(--charcoal); border: 1.5px solid rgba(43,43,43,.18); }
.btn-ghost-light:hover { border-color: rgba(43,43,43,.5); }

/* ---- nav (shared shell) ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.nav .lockup { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.nav .lockup img { width: 28px; height: 28px; }
.nav .lockup .sub { font-weight: 600; font-size: 13px; opacity: .55; letter-spacing: .04em; padding-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { opacity: .72; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }

/* image-slot defaults */
image-slot { display: block; }

/* baked-in real images filling former slot areas */
.slotimg { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* live-tool link affordance inside build cards */
.livelink { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; font-size: 13.5px; font-weight: 700; }
.livelink .arr { transition: transform .2s ease; }
.bcard:hover .livelink .arr { transform: translateX(4px); }
a.bcard, a.brow { color: inherit; }

/* pills / tags */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
}

/* reusable mark-highlight on text */
.hl-purple { color: var(--purple); }
.hl-orange { color: var(--orange); }

/* fine print row */
.finerow { display: flex; flex-wrap: wrap; gap: 26px; font-size: 14px; font-weight: 500; }
.finerow .fi { display: inline-flex; align-items: center; gap: 9px; }
.finerow .fi i { width: 8px; height: 8px; border-radius: 50%; font-style: normal; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); }
  .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
}
