/* =============================================================================
   Landing page. Loaded only on "/" — everything shared lives in site.css.
   ========================================================================== */

@keyframes csn-pulse    { 0%,100% { box-shadow: 0 0 0 0 rgba(0,214,119,.5); } 50% { box-shadow: 0 0 0 7px rgba(0,214,119,0); } }
@keyframes csn-gloss    { 0% { background-position: -35% 0, -35% 0; } 55%,100% { background-position: 135% 0, 135% 0; } }
@keyframes csn-dashmove { to { stroke-dashoffset: -40; } }
@keyframes csn-wind     { 0%,100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-5px); } }
@keyframes csn-mesh     { 0%,100% { transform: skewX(0deg) scaleY(1); } 50% { transform: skewX(6deg) scaleY(1.06); } }
@keyframes csn-floats   { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes csn-marquee  { to { transform: translateX(-50%); } }

/* Respect the OS setting — several of these loop forever. */
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after {
    animation: none !important; transition: none !important;
  }
}

.home { color: var(--ink); background: var(--bg); overflow-x: hidden; }
.home section { padding-left: 32px; padding-right: 32px; }
.home .inner { max-width: 1180px; margin: 0 auto; }

/* section heading kit */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.eyebrow--center { display: inline-flex; }
.eyebrow__rule { width: 26px; height: 2px; background: #05a558; }
.eyebrow__text {
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #05a558; font-weight: 600;
}
.eyebrow--dark .eyebrow__rule,
.eyebrow--dark .eyebrow__text { color: var(--accent); background-color: var(--accent); }
.eyebrow--dark .eyebrow__text { background: none; }

.h2      { margin: 0; font-size: 42px; line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.h2--lg  { font-size: 46px; line-height: 1.1; padding-bottom: 3px; }
.h2--on-dark { color: #f4f6f2; }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.sec-head--center { display: block; text-align: center; max-width: 640px; margin: 0 auto 48px; }

.btn-ghost {
  text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 22px;
  white-space: nowrap;
}
.btn-accent {
  text-decoration: none; background: var(--accent); color: #05130c;
  font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 12px;
}

/* ------------------------------------------------------------------ hero -- */
.hero { position: relative; padding: 78px 32px 0; text-align: center; overflow: hidden; }
.hero__glow {
  position: absolute; width: 1100px; height: 560px; top: 130px; left: 50%;
  transform: translateX(-50%); z-index: 0; filter: blur(14px);
  background: radial-gradient(56% 56% at 50% 42%, rgba(0,214,119,.16), transparent 72%);
}
.hero__body { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(20,22,15,.1);
  border-radius: 100px; margin-bottom: 26px;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: csn-pulse 2.6s ease-in-out infinite; }
.pill__text { color: var(--ink-2); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; }

.hero h1 { margin: 0; font-size: 78px; line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.hero h1 em { font-style: normal; color: #05a558; }
.hero__lede { max-width: 640px; margin: 24px auto 0; font-size: 19px; line-height: 1.55; color: #565a4f; }

.hero__cta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn-hero {
  text-decoration: none; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  background: var(--accent); color: #05130c; padding: 15px 26px; border-radius: 12px;
  font-weight: 700; font-size: 16px; box-shadow: 0 14px 34px -12px rgba(0,214,119,.65);
}
.btn-hero__gloss {
  position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  background:
    radial-gradient(ellipse 85% 65% at 50% -25%, rgba(255,255,255,.55), transparent 62%),
    radial-gradient(ellipse 85% 65% at 50% 125%, rgba(255,255,255,.28), transparent 62%);
  background-repeat: no-repeat; background-size: 65% 100%, 65% 100%;
  animation: csn-gloss 4.2s ease-in-out infinite;
}
.btn-hero__arrow { font-size: 19px; line-height: 0; margin-top: 2px; }
.btn-reel {
  text-decoration: none; display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600; font-size: 15px; padding: 15px 22px;
  background: #fff; border: 1px solid rgba(20,22,15,.12); border-radius: 12px;
}
.btn-reel__play {
  width: 0; height: 0; border-left: 9px solid #05a558;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}

.hero__stores {
  margin-top: 18px; font-size: 13px; color: #7a7e70; font-weight: 500;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px;
}
.hero__stores a { color: #3d4136; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(20,22,15,.18); }
.hero__sep { color: #c3c6bc; }

.hero__shot {
  position: relative; z-index: 2; max-width: 1160px; margin: 56px auto 0;
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(20,22,15,.16);
  box-shadow: 0 50px 100px -34px rgba(18,40,28,.5);
}
.hero__shot img { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------- positioning strip -- */
.strip { padding: 40px 32px 20px; }
.strip__inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.kicker {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #8b8f82; font-weight: 600; margin: 0 0 22px;
}
.chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.chip {
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #3d4136;
  background: #fff; border: 1px solid rgba(20,22,15,.1); border-radius: 100px; padding: 9px 16px;
}
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.strip__lede { max-width: 720px; margin: 28px auto 0; font-size: 17px; line-height: 1.55; color: #565a4f; }
.strip__lede strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------- features -- */
.features { padding: 74px 32px 44px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento__card { border-radius: 22px; position: relative; overflow: hidden; }
.bento__card--light {
  background: #fff; border: 1px solid rgba(20,22,15,.1);
  box-shadow: 0 30px 60px -40px rgba(18,40,28,.3);
}
.bento__eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; color: #05a558; }
.bento__card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.18; letter-spacing: -.02em; font-weight: 700; }
.bento__card p  { margin: 0; font-size: 14px; line-height: 1.5; color: #565a4f; }

/* A — rig */
.card-rig {
  grid-column: span 4; min-height: 400px; padding: 32px;
  background: radial-gradient(90% 90% at 62% 28%, #161a16, #0b0e0c);
  border: 1px solid #1e231e;
}
.card-rig__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 34px 34px;
}
.card-rig__art { position: absolute; right: 12px; top: 0; bottom: 0; width: 52%; display: flex; align-items: center; justify-content: center; }
.card-rig__paths { position: absolute; left: -6%; top: 16%; width: 70%; height: auto; opacity: .55; overflow: visible; }
.card-rig__paths path { animation: csn-dashmove 1.6s linear infinite; }
.card-rig__paths path:last-child { animation-duration: 2s; }
.card-rig__mascot { animation: csn-wind 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
.card-rig__mascot img { width: 330px; max-width: none; display: block; filter: drop-shadow(0 22px 30px rgba(0,0,0,.5)); }
.card-rig__text { position: relative; z-index: 2; max-width: 300px; }
.card-rig__text .bento__eyebrow { color: var(--accent); margin-bottom: 14px; }
.card-rig h3 { font-size: 28px; line-height: 1.15; margin-bottom: 12px; color: #f4f6f2; }
.card-rig p  { font-size: 15px; line-height: 1.55; color: var(--foot-ink); }

/* B — vector + raster */
.card-vr {
  grid-column: span 2; min-height: 400px; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-vr h3 { font-size: 23px; }
.card-vr p  { font-size: 14.5px; }
.card-vr__stage { position: relative; flex: 1; min-height: 190px; margin-top: 18px; display: flex; align-items: center; justify-content: center; }
.card-vr__grid {
  position: absolute; inset: 0; border-radius: 12px;
  background-image:
    linear-gradient(rgba(20,22,15,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,22,15,.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.card-vr__mesh { position: relative; animation: csn-mesh 4s ease-in-out infinite; transform-origin: 50% 50%; }
.card-vr__mesh img { width: 170px; max-width: none; display: block; filter: drop-shadow(0 12px 20px rgba(18,40,28,.22)); }

/* C — pixel art */
.card-pixel { grid-column: span 3; min-height: 252px; border: 1px solid #1e231e; }
.card-pixel__bg    { position: absolute; inset: 0; background: linear-gradient(150deg,#171a2e,#241a3a 46%,#3a1e3f 74%,#2a1730); }
.card-pixel__grid  {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 14px 14px;
}
.card-pixel__blob {
  position: absolute; width: 150px; height: 150px; border-radius: 50%; top: 24px; right: 44px;
  background: radial-gradient(circle, rgba(255,132,196,.5), transparent 66%); filter: blur(6px);
}
.card-pixel__canvas {
  position: absolute; right: 18px; bottom: 26px; width: 220px; height: 135px;
  image-rendering: pixelated; image-rendering: crisp-edges;
  animation: csn-floats 5s ease-in-out infinite;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.5));
}
.card-pixel__text { position: relative; z-index: 2; padding: 28px; max-width: 64%; }
.card-pixel .bento__eyebrow { color: #f5b8dd; }
.card-pixel h3 { color: #fff; }
.card-pixel p  { color: rgba(255,255,255,.82); }

/* D — timeline */
.card-tl { grid-column: span 3; min-height: 252px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.tl { background: #1a1b18; border-radius: 12px; padding: 14px 14px 16px; position: relative; overflow: hidden; margin-top: 16px; }
.tl__ruler { font-size: 9px; color: #5a625c; letter-spacing: .14em; margin-bottom: 10px; }
.tl__rows { display: flex; flex-direction: column; gap: 8px; }
.tl__row { display: flex; align-items: center; gap: 8px; }
.tl__dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.tl__track { flex: 1; height: 8px; border-radius: 4px; background: #26302a; position: relative; }
.tl__key { position: absolute; top: -1px; width: 10px; height: 10px; transform: rotate(45deg); border-radius: 2px; }
.tl__head { position: absolute; left: 42%; top: 8px; bottom: 8px; width: 2px; background: var(--accent); }

/* ---------------------------------------------------------- who it's for -- */
.audience { padding: 48px 32px 24px; }
.aud-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.aud-card { background: #fff; border: 1px solid rgba(20,22,15,.09); border-radius: 16px; padding: 24px; }
.aud-card__title { font-size: 16px; font-weight: 700; margin-top: 14px; }
.aud-card__desc  { font-size: 13.5px; color: #6b6f63; margin-top: 5px; line-height: 1.45; }

/* ------------------------------------------------------------- trusted -- */
.trusted { padding: 44px 32px 24px; }
.trusted__mask {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trusted__row { display: flex; width: max-content; gap: 60px; align-items: center; animation: csn-marquee 34s linear infinite; }
.trusted__item { display: flex; align-items: center; gap: 10px; flex: none; }
.trusted__item img { height: 26px; width: auto; max-width: 140px; display: block; object-fit: contain; opacity: .85; }
.trusted__name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--foot-ink); }

/* ------------------------------------------------------------- roadmap -- */
.roadmap { padding: 100px 32px; background: var(--foot-bg); color: #e8ebe6; }
.roadmap .eyebrow__rule { background: var(--accent); }
.roadmap .eyebrow__text { color: var(--accent); }
.roadmap__lede { max-width: 380px; font-size: 16px; line-height: 1.55; color: var(--foot-ink); margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rm-card { background: #171a17; border: 1px solid var(--foot-line); border-radius: 14px; padding: 22px; }
.rm-card__tag   { font-size: 12px; margin-bottom: 12px; color: var(--foot-dim); }
.rm-card__tag--next { color: var(--accent); }
.rm-card__title { font-size: 17px; font-weight: 700; color: #f4f6f2; }
.rm-card__desc  { font-size: 14px; color: #8a9188; margin-top: 6px; line-height: 1.45; }

/* --------------------------------------------------------------- learn -- */
.learn { padding: 100px 32px 60px; }
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.learn-card {
  text-decoration: none; color: inherit; display: block;
  background: #fff; border: 1px solid rgba(20,22,15,.09); border-radius: 16px; padding: 26px;
}
.learn-card__title { font-size: 19px; font-weight: 700; margin-top: 16px; }
.learn-card__desc  { font-size: 14.5px; color: #6b6f63; margin-top: 6px; line-height: 1.5; }
.learn-card__more  { font-size: 14px; font-weight: 600; color: #05a558; margin-top: 16px; }

/* ---------------------------------------------------------------- blog -- */
.bloglist { padding: 20px 32px 90px; }
.post-card {
  text-decoration: none; color: inherit; display: block; overflow: hidden;
  background: #fff; border: 1px solid rgba(20,22,15,.09); border-radius: 16px;
}
.post-card__cover { aspect-ratio: 16 / 10; position: relative; background: linear-gradient(135deg,#0f1210,#14201a); }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700;
  background: rgba(0,214,119,.16); color: var(--accent); padding: 5px 11px; border-radius: 100px;
}
.post-card__body { padding: 22px; }
.post-card__meta  { font-size: 12px; color: #8b8f82; }
.post-card__title { font-size: 18px; font-weight: 700; margin-top: 8px; line-height: 1.25; }
.post-card__desc  { font-size: 14px; color: #6b6f63; margin-top: 8px; line-height: 1.5; }

/* ----------------------------------------------------------- community -- */
.community { padding: 20px 32px 72px; }
/* Centered composition so it reads distinctly from the newsletter strip
   (left text / right form) while staying in the same dark-card language. */
.banner {
  max-width: 1180px; margin: 0 auto;
  background: linear-gradient(120deg, #0f1210, #14201a);
  border-radius: 22px; padding: 68px 56px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 30px; position: relative; overflow: hidden;
}
.banner__glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,214,119,.22), transparent 62%);
  top: -340px; left: 50%; transform: translateX(-50%);
}
.banner__text { position: relative; z-index: 2; max-width: 620px; }
.banner__text h2 { margin: 0 0 14px; font-size: 42px; line-height: 1.05; letter-spacing: -.03em; font-weight: 700; color: #f4f6f2; }
.banner__text p  { margin: 0 auto; font-size: 17px; line-height: 1.55; color: var(--foot-ink); max-width: 520px; }
.banner__cta { position: relative; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.banner__cta .btn-accent, .banner__cta .btn-onDark { padding: 15px 30px; font-size: 15px; }
.btn-onDark {
  text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #e8ebe6; font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 12px;
}

/* --------------------------------------------------------------- hiring -- */
/* No card, no box. An open editorial band on the page itself so it clearly
   breaks from the two dark boxes around it (community + newsletter). */
.hiring { padding: 44px 32px 96px; }
.hiring .inner { max-width: 1180px; margin: 0 auto; }
.hiring__head { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; }
.hiring__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #07894f;
}
.hiring__dot { width: 7px; height: 7px; border-radius: 50%; background: #00D677; }
.hiring__rule { flex: 1; height: 1px; background: var(--line-2); }
.hiring__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px 56px; align-items: end; }
.hiring__title {
  margin: 0; font-size: 52px; line-height: 1.02; letter-spacing: -.035em; font-weight: 700; color: var(--ink);
}
.hiring__aside p { margin: 0 0 26px; font-size: 16.5px; line-height: 1.6; color: var(--ink-3); max-width: 460px; }
.hiring__cta {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: 15.5px;
  color: #eef2f7; background: var(--ink);
  padding: 15px 27px; border-radius: 12px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.hiring__cta span { transition: transform .16s ease; }
.hiring__cta:hover { box-shadow: 0 12px 30px -12px rgba(20,22,15,.5); }
.hiring__cta:hover span { transform: translateX(4px); }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-rig, .card-vr, .card-pixel, .card-tl { grid-column: span 2; min-height: 320px; }
  .aud-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .learn-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 44px; }
  .hero__lede { font-size: 17px; }
  .h2, .h2--lg { font-size: 30px; }
  .bento, .aud-grid, .grid-3, .learn-grid { grid-template-columns: 1fr; }
  .card-rig, .card-vr, .card-pixel, .card-tl { grid-column: span 1; }
  .card-rig__art, .card-pixel__canvas { display: none; }
  .card-rig__text, .card-pixel__text { max-width: none; }
  .banner { padding: 32px 24px; }
  .hiring__grid { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .hiring__title { font-size: 38px; }
  .hiring__aside p { max-width: none; }
}

/* Two one-off widths that used to be inline styles. */
.h2--narrow     { max-width: 560px; }
.kicker--center { text-align: center; }
