/* AIM Platform · layout */

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

section { position: relative; }
.sec { padding-block: clamp(72px, 9vw, 130px); }
.sec--dark { background: var(--ink-900); }
.sec--deep {
  background:
    radial-gradient(1100px 500px at 78% -8%, rgba(15, 27, 61, .9), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(175, 125, 30, .10), transparent 60%),
    var(--ink-950);
}
.sec--cream { background: var(--cream); color: var(--on-light); }
.sec--cream h2 { color: var(--on-light); }
.sec--cream .eyebrow { color: var(--gold); }
.sec--cream .eyebrow::before { background: var(--gold); opacity: .5; }

.sec__head { max-width: 760px; margin-bottom: 3rem; }
.sec__head .eyebrow { margin-bottom: 1.1rem; }
.sec__head h2 { margin-bottom: 1rem; }
.sec__head .lede { font-size: 1.12rem; color: var(--on-dark-mid); }
.sec--cream .sec__head .lede { color: var(--on-light-mid); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 15, 22, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--ink-700);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: inline-flex; align-items: center; gap: .55rem; }
.nav__logo .mark { width: 34px; height: 34px; display: block; flex: none; }
.foot__logo .mark, .mmenu__top .mark { width: 30px; height: 30px; }
.nav__logo .wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: .12em;
  color: #fff;
  line-height: 1;
}
.foot__logo .wordmark { font-size: 1.2rem; }
.foot__logo img { height: 28px; }
.mmenu__top .nav__logo img { height: 30px; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: .94rem;
  color: var(--on-dark-mid);
  transition: color .2s var(--ease);
  position: relative;
}
.nav__links a:hover { color: #fff; }
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px;
  color: var(--on-dark);
}
.nav__burger svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { padding-top: 150px; padding-bottom: clamp(70px, 8vw, 110px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .eyebrow { margin-bottom: 1.6rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--gold-bright); font-style: italic; }
.hero__sub { font-size: 1.15rem; color: var(--on-dark-mid); max-width: 540px; margin-bottom: 2.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hero__micro {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--on-dark-mute);
  display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center;
}
.hero__micro .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

.hero__visual { position: relative; z-index: 1; }
.hero__visual .frame { transform: perspective(1600px) rotateY(-8deg) rotateX(2deg); transition: transform .6s var(--ease); }
.hero__visual:hover .frame { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.hero__visual .glow.g1 { width: 60%; height: 60%; top: -10%; right: -8%; background: var(--gold); opacity: .22; }
.hero__visual .glow.g2 { width: 50%; height: 50%; bottom: -12%; left: -10%; background: var(--blue); opacity: .14; }
.hero__stat {
  position: absolute; left: -18px; bottom: 34px;
  background: rgba(15, 22, 32, .92);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9);
  z-index: 3;
}
.hero__stat .n { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold-bright); line-height: 1; }
.hero__stat .l { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mute); margin-top: .3rem; }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bigstat { text-align: left; }
.bigstat .num { font-family: var(--serif); font-weight: 700; font-size: clamp(5rem, 13vw, 9rem); line-height: .9; color: var(--gold-bright); letter-spacing: -.03em; }
.bigstat .cap { font-size: 1.05rem; color: var(--on-dark-mid); margin-top: .4rem; }
.dotgrid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; margin-top: 2rem; max-width: 440px; }
.dotgrid i { aspect-ratio: 1; border-radius: 2px; background: var(--ink-700); display: block; }
.dotgrid i.hot { background: var(--gold); box-shadow: 0 0 8px rgba(212, 162, 76, .5); }
.leaks { display: flex; flex-direction: column; gap: 1rem; }
.leak { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--ink-700); border-radius: var(--radius-sm); background: var(--ink-850); }
.leak .ic { flex: none; width: 38px; height: 38px; border-radius: 9px; background: var(--gold-soft); display: grid; place-items: center; }
.leak .ic svg { width: 19px; height: 19px; color: var(--gold-bright); }
.leak h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.leak p { font-size: .92rem; color: var(--on-dark-mute); }
.sources { margin-top: 2rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .03em; color: var(--on-dark-mute); }

/* ---------- Screen gallery strip ---------- */
.shots-head { margin-top: 3.4rem; margin-bottom: 1.2rem; }
.shots {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-700) transparent;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-track { background: transparent; }
.shots::-webkit-scrollbar-thumb { background: var(--ink-700); border-radius: 999px; }
.shots::-webkit-scrollbar-thumb:hover { background: var(--gold-line); }
.shot {
  flex: 0 0 clamp(280px, 64vw, 420px);
  scroll-snap-align: start;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.shot figcaption {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--on-dark-mute);
  padding-left: .2rem;
}

/* ---------- Generic grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 2.8rem; }

/* ---------- Twin showcase ---------- */
.twin__hero { margin-bottom: 2.4rem; position: relative; }
.twin__hero .tag {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  background: rgba(15, 22, 32, .9); border: 1px solid var(--gold-line);
  color: var(--gold-bright); padding: .4rem .7rem; border-radius: 7px;
}

/* ---------- Moat / network ---------- */
.moat__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.moat h2 { margin-bottom: 1.2rem; }
.moat p { color: var(--on-dark-mid); margin-bottom: 1.2rem; font-size: 1.06rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.compare__col { border: 1px solid var(--ink-700); border-radius: var(--radius-sm); padding: 1.2rem; }
.compare__col.is-aim { border-color: var(--gold-line); background: var(--gold-soft); }
.compare__col .k { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: .5rem; }
.compare__col.is-aim .k { color: var(--gold-bright); }
.compare__col .v { font-family: var(--serif); font-size: 1.2rem; color: var(--on-dark); }

/* ---------- Trust ---------- */
.badges { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 3rem; }
.founder {
  background: #fff; border: 1px solid var(--cream-line); border-radius: var(--radius);
  padding: 2rem clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: 0 30px 70px -50px rgba(15, 27, 61, .4);
  display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center;
}
.founder__ring { width: 64px; height: 64px; }
.founder p { color: var(--on-light-mid); font-size: 1.06rem; }
.founder p b { color: var(--on-light); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 1rem; max-width: 720px; margin-inline: auto; }
.cta .lede { color: var(--on-dark-mid); font-size: 1.12rem; max-width: 560px; margin: 0 auto 2.2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-bottom: 2.4rem; }
.cta__meta { font-family: var(--mono); font-size: .82rem; letter-spacing: .05em; color: var(--on-dark-mute); line-height: 1.9; }
.cta__meta b { color: var(--on-dark); font-weight: 500; }

/* ---------- Footer ---------- */
.foot { background: var(--ink-950); border-top: 1px solid var(--ink-700); padding-block: 3rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.foot__logo .wordmark { color: var(--on-dark); }
.foot__meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--on-dark-mute); }
.foot__meta a:hover { color: var(--gold-bright); }

/* ---------- Mobile menu panel ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(7, 10, 16, .97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: 24px;
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
  visibility: hidden;
}
.mmenu.open { transform: none; visibility: visible; }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; height: 48px; margin-bottom: 2rem; }
.mmenu__top img { height: 28px; }
.mmenu__close { background: none; border: 0; color: var(--on-dark); cursor: pointer; }
.mmenu__close svg { width: 28px; height: 28px; }
.mmenu a { font-family: var(--serif); font-size: 1.6rem; padding: .7rem 0; border-bottom: 1px solid var(--ink-700); }
.mmenu .btn { margin-top: 1.6rem; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 620px; }
  .hero__visual .frame { transform: none; }
  .hero__stat { left: 8px; }
  .problem__grid, .moat__grid { grid-template-columns: 1fr; }
  .modgrid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta .btn-ghost { display: none; }
  .nav__burger { display: grid; place-items: center; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .modgrid, .compare { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; text-align: left; }
  .dotgrid { grid-template-columns: repeat(20, 1fr); gap: 3px; }
  .hero__stat { position: static; display: inline-block; margin-top: 1.2rem; }
}
