/* Limeneer Labs: friendly light theme.
   Brand: navy #000078, cyan #00FFFF, white. Cyan is used as a highlighter/fill,
   never as text on white (it fails contrast); readable accents use --teal. */
:root {
  --navy: #000078;
  --navy-2: #1d1d8f;
  --ink: #1c1d3a;
  --muted: #5d6083;
  --bg: #fbfbfe;
  --tint: #f1f4fd;
  --card: #ffffff;
  --line: #e3e6f3;
  --cyan: #00ffff;
  --cyan-soft: #ccfbfc;
  --teal: #007f8c;
  --violet: #6d4aff;
  --violet-soft: #ece8ff;
  --sun-soft: #fff1c9;
  --sun: #8a5a00;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(20, 22, 70, .05), 0 10px 30px rgba(20, 22, 70, .08);
  --shadow-lg: 0 2px 4px rgba(20, 22, 70, .05), 0 24px 60px rgba(20, 22, 70, .14);
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
strong { color: var(--navy); }

/* cyan highlighter swipe behind words */
mark {
  color: inherit;
  background: linear-gradient(transparent 58%, var(--cyan) 58%, var(--cyan) 90%, transparent 90%);
  padding: 0 .1em;
  border-radius: 4px;
}

.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.center .cta { justify-content: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.25rem; color: var(--muted); }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--violet); margin-bottom: .6rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* Buttons */
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--head); font-weight: 600; font-size: 1.05rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { padding: .5rem 1.1rem; font-size: .95rem; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 120, .25); }
.btn--primary:hover { color: #fff; background: var(--navy-2); box-shadow: 0 10px 26px rgba(0, 0, 120, .3); }
.btn--soft { background: var(--cyan-soft); color: var(--navy); }
.btn--soft:hover { color: var(--navy); background: #b3f7f9; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
.btn--outline-light { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-light:hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 254, .85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand__word { font-family: "Azonix", var(--head); font-size: 1.05rem; color: var(--navy); letter-spacing: .03em; }
.brand__word span { color: var(--teal); }
.brand--sm .brand__word { font-size: .9rem; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav__links a:not(.btn):hover { color: var(--teal); }
.nav__toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 1rem; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 3rem; text-align: center; }
.hero__copy { position: relative; max-width: 860px; }
.hero__copy .cta { justify-content: center; }
.hero .lead { max-width: 640px; margin-inline: auto; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem 1rem; margin-bottom: 1.5rem;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .92rem; font-weight: 700; color: var(--navy);
}
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: #18c37e; box-shadow: 0 0 0 4px rgba(24, 195, 126, .18); }
.hero__art { position: relative; margin-top: 3.5rem; }
.hero__art img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.blob--a { width: 420px; height: 420px; background: var(--cyan); top: -160px; left: -120px; opacity: .35; }
.blob--b { width: 380px; height: 380px; background: #b9a8ff; top: 80px; right: -140px; opacity: .45; }

/* Steps */
.steps { padding: 1rem 0 4rem; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.step p { color: var(--muted); margin: 0; }
.step__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--cyan-soft); color: var(--navy); margin-bottom: 1rem; }
.step:nth-child(2) .step__icon { background: var(--violet-soft); color: var(--violet); }
.step:nth-child(3) .step__icon { background: var(--sun-soft); color: var(--sun); }
@media (max-width: 820px) { .steps__grid { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 5.5rem 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 680px; margin: 0 auto 3rem; }

/* Featured */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.featured__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; gap: 2rem; } }

.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.checks li { position: relative; padding-left: 2.1rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000078' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Project cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.6rem; }
.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: #0b0b2a; }
.card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.tag { font-size: .8rem; font-weight: 700; padding: .25rem .75rem; border-radius: 999px; background: var(--tint); color: var(--muted); }
.tag--cyan { background: var(--cyan-soft); color: var(--navy); }
.tag--violet { background: var(--violet-soft); color: #4a2fd6; }
.tag--sun { background: var(--sun-soft); color: var(--sun); }
.card__link { text-decoration: none; }
.card__link span { display: inline-block; transition: transform .2s; }
.card:hover .card__link span { transform: translateX(4px); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; max-width: 1000px; margin-inline: auto; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--tint); }
.gallery figure:nth-child(even) { transform: translateY(1.5rem); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 560px) { .gallery figure:nth-child(even) { transform: none; } }

/* Docs */
.docs { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.docs__links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.docs__links a { padding: .45rem 1rem; border-radius: 999px; background: var(--cyan-soft); color: var(--navy); text-decoration: none; font-size: .95rem; }
.docs__links a:hover { background: #b3f7f9; }
.videos { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.videos a { display: grid; grid-template-columns: 150px 1fr; gap: 1.1rem; align-items: center; padding: .6rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.videos a:hover { transform: translateX(4px); box-shadow: var(--shadow); color: var(--ink); }
.videos__thumb { position: relative; display: block; }
.videos__thumb img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
.videos__thumb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000078' d='M9 7v10l8-5z'/%3E%3C/svg%3E") 56% 50% / 60% no-repeat; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.videos__text { font-weight: 700; line-height: 1.35; }
.videos__text small { display: block; font-family: var(--head); font-weight: 600; color: var(--violet); font-size: .85rem; margin-bottom: .15rem; }
@media (max-width: 480px) { .videos a { grid-template-columns: 110px 1fr; } }

/* Community */
.community {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  padding: 3.5rem; border-radius: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a1aa8 55%, #6d4aff 100%);
  color: #e6e8ff;
  box-shadow: var(--shadow-lg);
}
.community h2, .community strong { color: #fff; }
.community__copy { max-width: 600px; }
.community__logo { width: 180px; border-radius: 40px; transform: rotate(8deg); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
@media (max-width: 760px) { .community { grid-template-columns: 1fr; padding: 2.4rem 1.8rem; } .community__logo { display: none; } }

/* Footer */
.footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--teal); }
.footer__note { width: 100%; margin: 0; font-size: .9rem; color: var(--muted); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound h1 { font-size: clamp(5rem, 16vw, 10rem); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
