/* =========================================================================
   IdeationLab, LLC — ideationlab.io
   Vanilla CSS, no build. Brand family: govbot.ai (navy/azure/orange)
   with a brighter cyan lab accent echoing ideationinc.com.
   ========================================================================= */

:root {
  /* Brand — govbot.ai family */
  --navy:        #003e60;
  --navy-deep:   #002a3d;
  --navy-ink:    #001824;
  --azure:       #007da2;
  --cyan:        #23c9e0;   /* brighter studio accent */
  --cyan-soft:   #7fe6f2;
  --orange:      #f15c22;   /* action */
  --orange-deep: #d94a15;

  /* Neutrals */
  --paper:  #ffffff;
  --mist:   #f4f8fa;
  --cloud:  #e9f0f4;
  --line:   #dbe5eb;
  --ink:    #14232c;   /* body charcoal */
  --slate:  #4f616d;   /* muted body */
  --slate-soft: #8395a1;

  /* Typography */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(0, 42, 61, .06), 0 2px 8px rgba(0, 42, 61, .05);
  --shadow-md: 0 6px 20px rgba(0, 42, 61, .10), 0 2px 6px rgba(0, 42, 61, .06);
  --shadow-lg: 0 24px 60px rgba(0, 24, 36, .18);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: var(--azure); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* --------------------------- Buttons ----------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .5em;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 16px;
  line-height: 1;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--action { --btn-bg: var(--orange); box-shadow: 0 6px 18px rgba(241, 92, 34, .32); }
.btn--action:hover { --btn-bg: var(--orange-deep); box-shadow: 0 10px 26px rgba(241, 92, 34, .40); }

.btn--outline { --btn-bg: transparent; --btn-fg: #eaf6fb; border-color: rgba(148, 214, 230, .55); }
.btn--outline:hover { border-color: var(--cyan); background: rgba(35, 201, 224, .12); }

.btn--ghost { --btn-bg: transparent; --btn-fg: #dfeef4; border-color: rgba(148, 214, 230, .38); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(35, 201, 224, .14); }

.btn--sm { padding: 9px 16px; font-size: 15px; }
.btn--lg { padding: 16px 28px; font-size: 17px; }

/* ------------------------------ Nav ------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 24, 36, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(148, 214, 230, .14);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand__mark { display: inline-flex; }
.brand__word { font-size: 19px; letter-spacing: -.01em; color: #eaf6fb; }
.brand__word b { color: var(--cyan); font-weight: 700; }

.mark-tile { fill: none; stroke: var(--cyan); stroke-width: 1.6; opacity: .55; }
.mark-spark { fill: var(--cyan); }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu > a:not(.btn) { color: #cfe3ec; font-size: 15.5px; font-weight: 550; }
.nav__menu > a:not(.btn):hover { color: #fff; text-decoration: none; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(148, 214, 230, .3); border-radius: 10px; cursor: pointer;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: #dfeef4; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- Hero ------------------------------ */
.hero {
  position: relative;
  background: radial-gradient(120% 130% at 82% -10%, #0a5b76 0%, var(--navy-deep) 46%, var(--navy-ink) 100%);
  color: #eaf6fb;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(38% 42% at 78% 8%, rgba(35, 201, 224, .22), transparent 70%),
    radial-gradient(rgba(148, 214, 230, .14) 1px, transparent 1.4px);
  background-size: auto, 26px 26px;
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  opacity: .9;
}
.hero__inner { padding-block: clamp(72px, 12vw, 132px) clamp(60px, 9vw, 104px); max-width: 900px; }

.eyebrow {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-soft); margin-bottom: 20px;
}
.eyebrow--dark { color: var(--azure); }

.hero__title {
  font-size: clamp(34px, 6.2vw, 62px);
  letter-spacing: -.028em;
  color: #fff;
  text-wrap: balance;
}
.hero__sub {
  margin-top: 24px;
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.55;
  color: #bcd6e2;
  max-width: 620px;
}
.hero__sub a { color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 3px; }
.hero__sub a:hover { color: #fff; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__honesty {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 30px; font-size: 15px; color: #9fbccb;
}

/* --------------------------- Sections ---------------------------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 60px); }
.section__title {
  font-size: clamp(27px, 4vw, 40px);
  letter-spacing: -.025em;
  color: var(--navy-deep);
  text-wrap: balance;
}
.section__title--light { color: #fff; }
.section__lede { margin-top: 18px; font-size: clamp(16.5px, 2vw, 19px); color: var(--slate); max-width: 640px; }

/* --------------------------- Product grid ------------------------ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c3d6e0; }

.card--flagship {
  border-color: rgba(35, 201, 224, .45);
  background: linear-gradient(180deg, #f6fdff 0%, #ffffff 60%);
  box-shadow: 0 10px 30px rgba(0, 125, 162, .10);
}

.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card__num { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--slate-soft); letter-spacing: .04em; }

.card__icon { display: inline-flex; margin-bottom: 16px; color: var(--azure); }
.card--flagship .card__icon { color: var(--orange); }
.ic-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; }
.ic-node { fill: #fff; stroke: currentColor; stroke-width: 2; }

.card__body { flex: 1 1 auto; }
.card__name {
  font-size: 22px; color: var(--navy-deep); font-weight: 700; letter-spacing: -.01em;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.card__badge {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange-deep); background: rgba(241, 92, 34, .11);
  padding: 3px 9px; border-radius: 999px;
}
.card__line { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--slate); }

.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 15.5px; font-weight: 650; color: var(--azure);
}
.card__link:hover { color: var(--navy); text-decoration: none; gap: 9px; }
.card__link--muted { color: var(--slate-soft); font-weight: 550; cursor: default; }
.card__link--muted:hover { color: var(--slate-soft); gap: 6px; }

/* ------------------------- Chips + dots -------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 650; letter-spacing: .01em;
  padding: 5px 12px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
}
.chip--live { color: #0a7d4b; background: rgba(18, 164, 100, .10); border-color: rgba(18, 164, 100, .24); }
.chip--dev  { color: var(--azure); background: rgba(0, 125, 162, .09); border-color: rgba(0, 125, 162, .22); }

.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--live { background: #16a55f; box-shadow: 0 0 0 3px rgba(22, 165, 95, .18); }
.dot--dev  { background: var(--azure); box-shadow: 0 0 0 3px rgba(0, 125, 162, .16); }

.legend {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 30px; font-size: 14.5px; color: var(--slate);
}
.legend__item { display: inline-flex; align-items: center; gap: 8px; }

/* ---------------------------- The edge --------------------------- */
.section--edge {
  background: radial-gradient(110% 120% at 90% 0%, #0a5069 0%, var(--navy-deep) 55%, var(--navy-ink) 100%);
  color: #dceaf1;
}
.edge { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: start; }
.edge__body { margin-top: 20px; font-size: clamp(16.5px, 2vw, 19px); line-height: 1.65; color: #c3d8e3; }
.edge__body strong { color: #fff; font-weight: 700; }
.edge__body a { color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 3px; }
.edge__body a:hover { color: #fff; }
.edge__throughline {
  margin-top: 24px; font-size: 18px; font-weight: 600; color: #eaf6fb;
  padding-left: 18px; border-left: 3px solid var(--cyan);
}
.edge__sep { margin-top: 24px; font-size: 14px; color: #85a6b6; }

.edge__stats { background: rgba(3, 34, 48, .5); border: 1px solid rgba(148, 214, 230, .16); border-radius: var(--radius); padding: 28px; }
.edge__stats-cap { font-size: 14px; color: #9fbccb; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin: 0; }
.stat__num {
  font-size: clamp(34px, 5vw, 46px); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1;
}
.stat__num span { font-size: .45em; font-weight: 650; color: var(--cyan); margin-left: 3px; letter-spacing: 0; }
.stat__label { margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: #a9c4d1; }
.edge__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 15.5px; font-weight: 650; color: var(--cyan-soft); }
.edge__link:hover { color: #fff; gap: 9px; text-decoration: none; }

/* ---------------------------- Contact ---------------------------- */
.section--contact { background: var(--mist); border-top: 1px solid var(--line); text-align: center; }
.contact { max-width: 660px; margin-inline: auto; }
.contact .eyebrow { justify-content: center; }
.contact__body { margin-top: 18px; font-size: clamp(16.5px, 2vw, 19px); color: var(--slate); }
.contact__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
/* Outline button on the light contact background needs dark text to stay legible */
.section--contact .btn--outline { --btn-fg: var(--navy); border-color: rgba(0, 62, 96, .30); }
.section--contact .btn--outline:hover { --btn-fg: var(--navy-deep); border-color: var(--azure); background: rgba(0, 125, 162, .08); }

/* ----------------------------- Footer ---------------------------- */
.footer { background: var(--navy-ink); color: #a9c4d1; padding-block: 52px 40px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(148, 214, 230, .12); }
.brand--footer .brand__word { font-size: 17px; }
.footer__tag { margin-top: 8px; font-size: 14.5px; color: #7f9dad; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a { color: #bcd6e2; font-size: 15px; }
.footer__nav a:hover { color: #fff; text-decoration: none; }

.footer__fine { padding-top: 26px; display: grid; gap: 10px; }
.footer__fine p { font-size: 14px; line-height: 1.6; color: #7f9dad; max-width: 900px; }
.footer__fine p:first-child { color: #a9c4d1; font-weight: 600; }

/* --------------------------- Utilities --------------------------- */
.d-none-sm { display: inline; }

/* --------------------- Reveal on scroll -------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* --------------------------- Responsive -------------------------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .edge { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(0, 24, 36, .97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 14px var(--gutter) 22px;
    border-bottom: 1px solid rgba(148, 214, 230, .16);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
  }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__menu > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid rgba(148, 214, 230, .1); font-size: 17px; }
  .nav__menu .btn { margin-top: 12px; justify-content: center; }
  .d-none-sm { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .btn { font-size: 15.5px; }
}

@media (max-width: 400px) {
  body { font-size: 16px; }
  .hero__cta .btn, .contact__cta .btn { width: 100%; justify-content: center; }
}

@media (min-width: 1440px) {
  :root { --wrap: 1200px; }
}

/* ----------------------- Motion / a11y --------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
