/* Lumi website — design tokens straight from Lumetrix Brand Guidelines v1.0
   plus the consumer-facing serif display treatment from the social materials. */

:root {
  /* Primary */
  --forest:      #0F6E56;
  --forest-2:    #145D49;
  --deep:        #085041;
  --deep-2:      #053C30;
  --teal:        #5DCAA5;
  --sage:        #9FE1CB;
  --mist:        #E1F5EE;

  /* Backgrounds */
  --cream:       #F4F1EC;   /* social/marketing surface */
  --cream-2:     #EDE8DC;
  --cloud:       #F7FAF9;
  --paper:       #FFFFFF;

  /* Ink */
  --ink:         #0F2A21;
  --slate:       #444441;
  --grey:        #666666;
  --border:      #DDDDDD;

  /* Accents */
  --amber:       #EF9F27;
  --amber-light: #FEF3C7;

  /* Mascot blush */
  --blush:       #E8A89A;

  /* Type */
  --serif:  "Instrument Serif", "Source Serif 4", Georgia, serif;
  --sans:   "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
a.link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}
a.link:hover { text-decoration-color: currentColor; }

/* Display & headings */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--deep);
  margin: 0;
  text-wrap: balance;
  line-height: 1.05;
}
em { font-style: italic; color: var(--forest); }

p { margin: 0; text-wrap: pretty; color: var(--slate); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─────────────  Mono eyebrow  ───────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.on-dark { color: var(--sage); }

/* ─────────────  Buttons  ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  letter-spacing: -0.005em;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--deep); color: var(--cream); }
.btn-primary:hover { background: var(--forest); }
.btn-ghost {
  background: transparent;
  color: var(--deep);
  border: 1.5px solid color-mix(in srgb, var(--deep) 20%, transparent);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--deep) 5%, transparent); border-color: color-mix(in srgb, var(--deep) 40%, transparent); }
.btn-dark-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid color-mix(in srgb, var(--cream) 25%, transparent);
}
.btn-dark-ghost:hover { background: color-mix(in srgb, var(--cream) 8%, transparent); border-color: color-mix(in srgb, var(--cream) 50%, transparent); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ─────────────  Nav  ───────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--deep) 8%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--deep);
}
.brand-mark { width: 36px; height: 36px; }
.brand-name {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  color: var(--slate);
}
.nav-links a:hover { color: var(--deep); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--deep);
  color: var(--cream);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--forest); color: var(--cream); }
.nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ─────────────  Section spacing  ───────────── */
section { padding: 120px 0; }
.section-title {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 18px;
  color: var(--deep);
  max-width: 16ch;
}
.section-title em { color: var(--forest); }
.section-sub {
  margin-top: 22px;
  color: var(--slate);
  font-size: 17px;
  line-height: 1.65;
  max-width: 54ch;
}

/* ─────────────  Footer  ───────────── */
.footer {
  background: var(--deep);
  color: color-mix(in srgb, var(--cream) 85%, transparent);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  left: -200px;
  top: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--teal) 12%, transparent), transparent 60%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
}
.footer .brand-name, .footer .brand { color: var(--cream); }
.footer h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 50%, transparent);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer a {
  color: color-mix(in srgb, var(--cream) 70%, transparent);
  font-size: 14px;
}
.footer a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--cream) 12%, transparent);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--mono);
  color: color-mix(in srgb, var(--cream) 50%, transparent);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
}

/* ─────────────  Mobile  ───────────── */
@media (max-width: 860px) {
  section { padding: 80px 0; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
