/* =========================================================
   1Blosm.AI — aligned to live brand
   Palette: deep navy + warm amber spark + soft cream
   Type: Inter-style geometric sans, friendly and rounded
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Caveat:wght@500;700&display=swap');

:root {
  --navy:      #0d2340;        /* primary dark */
  --navy-2:    #112b4f;        /* slightly lighter */
  --navy-deep: #07182d;
  --amber:     #f5b833;        /* spark accent */
  --amber-2:   #ffc857;
  --lavender:  #c8b8ec;        /* purple accent */
  --lavender-2:#e8d8f5;
  --pink-2:    #f5d8e0;
  --orchid:    #a88fd6;
  --cream:     #eef3f8;        /* light cool bg, matches site */
  --cream-2:   #e3ecf4;
  --paper:     #ffffff;
  --ink:       #0d2340;
  --ink-soft:  #46556b;
  --ink-mute:  #7a8597;

  --hair: rgba(13, 35, 64, 0.10);
  --hair-strong: rgba(13, 35, 64, 0.20);

  --sans:  'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand:  'Caveat', cursive;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

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

/* ---------- Typography ---------- */
.display {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  font-family: var(--hand);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0;
  font-size: 1.05em;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lede {
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 56ch;
}
p { text-wrap: pretty; }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.divider { border: 0; height: 1px; background: var(--hair); margin: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--cream) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hair);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 116px;
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand__mark {
  width: 38px; height: 38px; flex-shrink: 0;
}
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__name {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__name b { font-weight: 700; }
.brand__name span { color: var(--ink-mute); font-weight: 500; }
.brand__logo { height: 80px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; padding: 9px 16px; border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); background: rgba(13,35,64,0.06); }

.brand__wordmark { font-size: 26px; letter-spacing: -0.04em; font-weight: 800; }
.brand__wordmark b { font-weight: 800; color: var(--navy); }
.nav__bar {
  height: 3px;
  background: linear-gradient(90deg,
    #6db3f0 0%, #6db3f0 18%,
    #f5b833 18%, #f5b833 36%,
    #f0a3a3 36%, #f0a3a3 56%,
    #c08fe6 56%, #c08fe6 76%,
    #8b6fd1 76%, #8b6fd1 100%);
}

/* Lavender accent button */
.btn--lavender { background: var(--orchid); color: white; }
.btn--lavender:hover { background: #8e72c4; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
  font-family: var(--sans);
}
.btn--primary,
.nav__links a.btn--primary { background: var(--navy); color: var(--paper); }
.btn--primary:hover,
.nav__links a.btn--primary:hover { background: var(--navy-deep); color: var(--paper); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(13,35,64,0.5); }
.btn--amber,
.nav__links a.btn--amber { background: var(--amber); color: var(--navy); }
.btn--amber:hover { background: var(--amber-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hair-strong); }
.btn--ghost:hover { background: rgba(13,35,64,0.04); border-color: var(--ink); }
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

@media (max-width: 720px) {
  .nav__links a { padding: 6px 10px; font-size: 13px; }
  .nav__links a:not(.active):not(.cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; align-items: stretch; } }
.hero h1.display {
  font-size: clamp(46px, 7vw, 96px);
  margin: 22px 0 0;
}
.hero--video h1.hero__h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin: 0 auto clamp(28px, 4vw, 48px);
}
.hero--video h1.hero__h1 em {
  font-size: 1.25em;
  line-height: 0.9;
  vertical-align: -0.05em;
}
.hero__meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  border-top: 1px solid var(--hair);
  padding-top: 18px; margin-top: 36px;
  font-size: 13px; color: var(--ink-soft);
}
.hero__meta b { color: var(--ink); font-weight: 600; }

.hero__visual {
  position: relative;
  background: var(--paper);
  border-radius: 28px;
  padding: 36px;
  border: 1px solid var(--hair);
  box-shadow: 0 30px 60px -28px rgba(13,35,64,0.18);
  overflow: hidden;
}
.hero__visual img { width: 100%; height: auto; }

/* Spark/star background motif */
.spark-bg {
  position: absolute; pointer-events: none;
  width: 60px; height: 60px;
  opacity: 0.9;
}

/* Video card on home */
.video-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--hair);
  aspect-ratio: 16/9;
  box-shadow: 0 30px 60px -28px rgba(13,35,64,0.35);
}
.video-card video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.video-card__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(7,24,45,0.55));
}
.video-card__caption {
  position: absolute; left: 28px; bottom: 24px;
  color: white; font-weight: 600; letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.video-card__poster {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--cream);
  background: radial-gradient(120% 80% at 50% 20%, #1a3a66 0%, var(--navy) 60%, var(--navy-deep) 100%);
}
.play-btn {
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  display: grid; place-items: center;
  border: 0; cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(245,184,51,0.6);
  transition: transform 200ms ease;
}
.play-btn:hover { transform: scale(1.05); }
.play-btn svg { width: 28px; height: 28px; transform: translateX(2px); }

/* ---------- Section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 64px);
}
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; align-items: start; } }
.section-head h2.display { font-size: clamp(34px, 4.6vw, 60px); margin: 10px 0 0; }
.section-head p { color: var(--ink-soft); font-size: 17px; max-width: 50ch; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 28px;
}
.card h3 {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--cream);
  padding-block: 72px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer .brand__name { color: var(--cream); }
.footer .brand__name span { color: rgba(255,255,255,0.55); }
.footer h5 {
  font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--amber);
  margin: 0 0 16px; font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--amber); }
.footer__bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 16px;
  color: rgba(255,255,255,0.5); font-size: 13px;
}

/* ---------- Utility ---------- */
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--hair);
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* Illustration container — clean white card */
.illo {
  background: var(--paper);
  border-radius: 24px;
  border: 1px solid var(--hair);
  padding: 32px;
  display: grid; place-items: center;
  overflow: hidden;
}
.illo img {
  width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Sparkle utility — inline amber diamond */
.sparkle {
  display: inline-block; width: 1em; height: 1em;
  vertical-align: -0.1em;
}

/* Section variants */
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy .display { color: var(--cream); }
.section--navy .lede,
.section--navy p { color: rgba(255,255,255,0.78); }
.section--navy .eyebrow { color: var(--amber); }
.section--navy .card {
  background: var(--navy-2); border-color: rgba(255,255,255,0.10); color: var(--cream);
}
.section--navy .card p { color: rgba(255,255,255,0.72); }
.section--navy .card h3 { color: var(--cream); }

.section--cream2 { background: var(--cream-2); }

/* Form */
.field { display:block; margin-top: 18px; }
.field__label {
  display:block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--hair-strong); border-radius: 12px;
  background: var(--paper); font-family: var(--sans); font-size: 15px;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(13,35,64,0.08);
}
