*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #eef6ff;
  --white: #ffffff;
  --ink: #07101f;
  --muted: #4d6280;
  --muted-2: #8fa3bb;
  --border: #c9dff4;
  --border-2: #ddeeff;
  /* Sky family */
  --sky-dark: #0369a1;
  --sky: #0ea5e9;
  --sky-m: #38bdf8;
  --sky-l: #7dd3fc;
  --sky-xl: #bae6fd;
  --sky-bg: #dbeafe;
  --sky-bg-l: #eff8ff;
  /* Indigo family */
  --indigo-dark: #312e81;
  --indigo: #4338ca;
  --indigo-s: #6366f1;
  --indigo-l: #a5b4fc;
  --indigo-bg: #eef2ff;
  /* Supporting */
  --teal: #0d9488;
  --teal-s: #14b8a6;
  --amber: #b45309;
  --amber-l: #fbbf24;
  --green: #15803d;
  --green-l: #86efac;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2.5rem;
}
nav.scrolled {
  background: rgba(240,247,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(14,165,233,0.08);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900; color: #fff; letter-spacing: -0.5px;
}
.brand-mark.sm { width: 22px; height: 22px; font-size: 0.62rem; border-radius: 5px; }
.brand-name { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a { font-size: 0.84rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }

/* ── Shared ── */
.pill {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--ink); color: #fff;
  border-radius: 20px; padding: 0.28rem 0.85rem; margin-bottom: 1.4rem;
}
.pill-2 { background: #eef2ff; color: var(--indigo); }

/* ── Hero: split ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 6rem 2.5rem 4rem;
  max-width: 1240px; margin: 0 auto; gap: 4rem;
  position: relative;
}
.hero::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(14,165,233,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(99,102,241,0.1) 0%, transparent 55%),
    linear-gradient(160deg, #dbeafe 0%, #eef6ff 50%, #eef2ff 100%);
}
.hero-left { flex: 1; }
.hero-left h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900; letter-spacing: -3px; line-height: 0.98;
  color: var(--ink); margin-bottom: 1.5rem;
}
.hero-left h1 em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}
.sub { font-size: 1rem; color: var(--muted); line-height: 1.75; max-width: 400px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; align-items: center; gap: 1.25rem; }
.btn-main {
  padding: 0.75rem 1.6rem; background: var(--ink); color: #fff;
  border-radius: 10px; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; transition: opacity 0.15s, transform 0.15s;
}
.btn-main:hover { opacity: 0.82; transform: translateY(-2px); }
.btn-link { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.btn-link:hover { color: var(--ink); }

/* Author card in hero */
.hero-author {
  display: flex; align-items: center; gap: 0.85rem;
  margin-top: 2.25rem; padding: 0.85rem 1.1rem;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; max-width: 420px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.hero-author:hover { border-color: var(--muted-2); box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
.ha-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--border);
}
.ha-text { flex: 1; display: flex; flex-direction: column; gap: 0.2rem; }
.ha-name { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.ha-role { font-size: 0.72rem; color: var(--muted); line-height: 1.4; }
.ha-arrow {
  font-size: 1rem; color: var(--muted-2); text-decoration: none;
  transition: color 0.15s, transform 0.15s; flex-shrink: 0;
}
.ha-arrow:hover { color: var(--ink); transform: translateY(2px); }

/* Hero visual */
.hero-right { flex: 0 0 420px; display: flex; justify-content: center; }
.hero-visual {
  position: relative; width: 340px; height: 340px;
  perspective: 800px;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  transform-style: preserve-3d;
}
.hv-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(14,165,233,0.25);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.r1 { width: 240px; height: 240px; animation: spin 18s linear infinite; }
.r2 { width: 300px; height: 300px; border-color: rgba(67,56,202,0.18); animation: spin 30s linear infinite reverse; }
.r3 { width: 340px; height: 340px; border-color: rgba(14,165,233,0.12); animation: spin 45s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hv-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 18px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.hv-v { font-size: 1.6rem; font-weight: 900; color: #fff; letter-spacing: -1px; }

.hv-dot {
  position: absolute; width: 42px; height: 42px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.d1 { top: 14%; left: 50%; transform: translateX(-50%); animation: orbit1 6s ease-in-out infinite; }
.d2 { bottom: 18%; right: 8%;  animation: orbit2 8s ease-in-out infinite; }
.d3 { bottom: 18%; left: 8%;   animation: orbit3 7s ease-in-out infinite; }
@keyframes orbit1 { 0%,100%{top:14%}50%{top:10%} }
@keyframes orbit2 { 0%,100%{bottom:18%}50%{bottom:22%} }
@keyframes orbit3 { 0%,100%{bottom:18%}50%{bottom:14%} }

/* ── Bento ── */
.bento-section { max-width: 1240px; margin: 0 auto; padding: 2rem 2.5rem 5rem; }
.bento-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.25rem;
}

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.bento {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.b-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  overflow: hidden; position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
}
.b-card:not(.b-stat):hover { transform: translateY(-4px); box-shadow: 0 14px 44px rgba(0,0,0,0.08); }

/* CareerCompass: col 1, both rows */
.b-pf {
  grid-column: 1 / 2; grid-row: 1 / 3;
  background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 60%, #c7d2fe 100%);
  border-color: #93c5fd; color: #0c1a4b;
}
.b-pf .b-tag { color: #1e3a8a; }
.b-pf h2 { color: #0c1a4b; }
.b-pf p { color: #1e3a6e; }
.b-pf .b-formerly { color: #3b5bdb; opacity: 0.7; }
.b-pf .b-pills span { background: rgba(12,26,75,0.08); border-color: rgba(12,26,75,0.18); color: #1e3a8a; }
.b-pf .b-live { background: #dcfce7; color: #15803d; border-color: #86efac; }
.b-pf .b-cta { background: #0c1a4b; color: #fff; }
.b-pf .b-cta:hover { background: #1e3a8a; }

/* MarketSignal: col 2-3, row 1 */
.b-nts {
  grid-column: 2 / 4; grid-row: 1 / 2;
  background: linear-gradient(135deg, var(--sky-bg-l) 0%, var(--sky-bg) 100%);
  border-color: var(--sky-xl);
}

/* Stats: col 4, rows 1 and 2 */
.b-stat { grid-column: 4 / 5; justify-content: center; align-items: center; text-align: center; gap: 0.4rem; background: linear-gradient(145deg, var(--sky-bg-l), var(--indigo-bg)); }
.b-stat-num {
  font-size: 2.8rem; font-weight: 900; letter-spacing: -2px;
  background: linear-gradient(135deg, var(--sky-dark), var(--indigo));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.b-stat-lbl { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.b-stat-2 { grid-row: 2 / 3; background: linear-gradient(145deg, #fffbeb, #fef3c7); border-color: #fde68a; }
.b-stat-2 .b-stat-num { background: linear-gradient(135deg, var(--amber), var(--amber-l)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.b-free-text { font-size: 2rem; }
.b-stat-free { grid-column: 3 / 4; grid-row: 2 / 3; background: linear-gradient(145deg, #f0fdf4, #dcfce7); border-color: var(--green-l); }
.b-stat-free .b-stat-num { background: linear-gradient(135deg, var(--green), #22c55e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ArchLens: col 2, row 2 */
.b-al { grid-column: 2 / 3; grid-row: 2 / 3; background: linear-gradient(135deg, #fffbeb, #fef9f0); border-color: #fde68a; }

/* Card internals */
.b-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.b-emoji { font-size: 1.75rem; }
.b-card h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.b-formerly { font-size: 0.62rem; font-weight: 500; opacity: 0.7; vertical-align: middle; font-style: italic; }
.b-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; flex: 1; }
.b-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.b-pills span { font-size: 0.65rem; font-weight: 600; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 0.2rem 0.6rem; color: var(--muted); }
.b-footer { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.25rem; }
.b-live { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 0.2rem 0.65rem; background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; border-radius: 20px; }
.b-soon { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 0.2rem 0.65rem; background: #fef3c7; color: var(--amber); border: 1px solid #fde68a; border-radius: 20px; }
.b-cta {
  font-size: 0.84rem; font-weight: 700; text-decoration: none;
  background: var(--ink); color: #fff;
  padding: 0.45rem 1rem; border-radius: 8px;
  transition: opacity 0.15s, transform 0.15s;
}
.b-cta:hover { opacity: 0.82; transform: translateX(2px); }

/* ── About band ── */
.about-band { background: linear-gradient(160deg, var(--white) 0%, var(--sky-bg-l) 100%); border-top: 1.5px solid var(--border); padding: 6rem 2.5rem; }
.ab-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.ab-profile { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.5rem; }
.ab-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border); box-shadow: 0 4px 16px rgba(14,165,233,0.15); flex-shrink: 0; }
.ab-profile-text { display: flex; flex-direction: column; gap: 0.2rem; }
.ab-profile-name { font-size: 1rem; font-weight: 700; color: var(--ink); }
.ab-profile-title { font-size: 0.75rem; color: var(--muted); }
.ab-left h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 1.25rem; }
.ab-left p { font-size: 0.92rem; color: var(--muted); line-height: 1.8; margin-bottom: 0.75rem; }
.ab-left a { color: var(--indigo); text-decoration: none; }
.ab-left a:hover { text-decoration: underline; }
.ab-links { display: flex; gap: 0.65rem; margin-top: 1.5rem; flex-wrap: wrap; }
.about-link {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  padding: 0.45rem 0.9rem; border: 1.5px solid var(--border);
  border-radius: 8px; text-decoration: none; background: var(--bg);
  transition: border-color 0.15s, color 0.15s;
}
.about-link:hover { border-color: var(--ink); color: var(--ink); }

.ab-right { display: flex; flex-direction: column; gap: 1rem; }

/* Status card */
.status-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.sc-header { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; }
.sc-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
.sc-row:last-child { border-bottom: none; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sc-dot.on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
.sc-dot.blink { background: var(--amber); animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.25} }
.sc-name { flex: 1; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.sc-status { font-size: 0.74rem; font-weight: 700; color: #16a34a; }
.sc-status.building { color: var(--amber); }

/* Mission card */
.mission-card { background: linear-gradient(135deg, var(--sky-dark) 0%, var(--indigo-dark) 100%); border-radius: 16px; padding: 1.75rem; }
.mc-q { font-size: 1.05rem; font-weight: 700; line-height: 1.6; color: #fff; margin-bottom: 0.85rem; }
.mc-attr { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* Demo video */
.demo-wrap { margin-top: 1rem; }
.demo-lbl { font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.65rem; }
.ab-demo { width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15); }

/* ── Footer ── */
footer { border-top: 1.5px solid var(--border); padding: 2rem 2.5rem; background: var(--bg); }
.foot-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.65rem; text-align: center; }
.foot-brand { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.foot-copy { font-size: 0.78rem; color: var(--muted); }
.foot-copy a { color: var(--muted); text-decoration: none; }
.foot-copy a:hover { color: var(--ink); }
.foot-disc { font-size: 0.7rem; color: var(--muted-2); max-width: 620px; line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
  .b-pf { grid-column: 1/2; grid-row: 1/2; }
  .b-nts { grid-column: 2/3; grid-row: 1/2; }
  .b-stat { grid-column: 1/2; grid-row: 2/3; }
  .b-stat-2 { grid-column: 2/3; grid-row: 2/3; }
  .b-al { grid-column: 1/2; grid-row: 3/4; }
  .b-stat-free { grid-column: 2/3; grid-row: 3/4; }
  .hero-right { flex: 0 0 300px; }
  .hero-visual { width: 260px; height: 260px; }
  .r1 { width: 180px; height: 180px; }
  .r2 { width: 220px; height: 220px; }
  .r3 { width: 260px; height: 260px; }
  .hv-center { width: 56px; height: 56px; border-radius: 14px; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 7rem 1.5rem 3rem; gap: 3rem; }
  .hero-right { display: none; }
  .hero-left h1 { letter-spacing: -2px; }
  .bento { grid-template-columns: 1fr; }
  .b-pf, .b-nts, .b-stat, .b-stat-2, .b-al, .b-stat-free { grid-column: auto; grid-row: auto; }
  .ab-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-band { padding: 4rem 1.5rem; }
  .bento-section { padding: 2rem 1.5rem 4rem; }
}
