/* Home page sections (index.html only). */
/* ---------- section shell ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section.block { padding: 92px 0; position: relative; }
section.block.tint { background: var(--panel); }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 44px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-muted); font-weight: 400; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid2 { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; margin-top: 18px; max-width: 16ch; }
.hero .sub { margin-top: 22px; font-size: clamp(16px, 1.45vw, 19px); color: var(--ink-muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 12px; margin-top: 32px; }
.hero-cta .btn { padding-inline: 20px; }
.hero-cta .cta-col { align-items: flex-start; }
.byline { margin-top: 28px; font-size: 14px; color: var(--ink-subtle); font-weight: 500; }
.byline b { color: var(--ink); font-weight: 700; }

/* browser-like frame for system screens */
.frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--hairline-2); box-shadow: 0 30px 70px -34px rgba(20, 16, 42, 0.35), 0 2px 6px rgba(20, 16, 42, 0.06); }
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f1eff7; border-bottom: 1px solid var(--hairline); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d1e4; display: block; }
.frame img { width: 100%; height: auto; display: block; }
.frame.crop img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; }
.frame.plain .frame-bar { display: none; }

/* ---------- numbers ---------- */
.numbers { padding: 0 0 12px; }
.numbers-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.num-item { padding: 26px 20px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.num-item + .num-item { border-left: 1px solid var(--hairline); }
.num-v { font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); color: var(--purple); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.num-l { font-size: 14px; color: var(--ink-muted); max-width: 22ch; line-height: 1.4; }

/* ---------- method and instrument ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.duo-card { padding: 34px 32px; border-radius: var(--radius); border: 1px solid var(--hairline); background: #fff; }
.duo-card.alt { background: var(--panel); }
.duo-card h3 { font-size: 26px; margin-top: 12px; }
.duo-card p { margin: 12px 0 0; color: var(--ink-muted); font-size: 16px; }

/* ---------- steps with photos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step { border-radius: var(--radius); border: 1px solid var(--hairline); background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.step:hover { box-shadow: 0 24px 50px -30px rgba(20, 16, 42, 0.4); transform: translateY(-3px); }
.step-photo { margin: 0; position: relative; background: var(--panel); }
.step-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center; cursor: zoom-in; }
.badge { position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--badge); color: #14102a; font-weight: 800; font-size: 15px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(20, 16, 42, 0.25); }
.step-body { padding: 22px 24px 26px; }
.step h3 { font-size: 21px; }
.step p { margin: 10px 0 0; font-size: 15.5px; color: var(--ink-muted); }

/* ---------- screens ---------- */
.screens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.screen { display: flex; flex-direction: column; gap: 16px; align-self: start; }
.screen .frame { position: relative; }
.screen .badge { z-index: 2; left: 16px; top: 52px; }
.screen.plain .badge { top: 14px; }
.screen h3 { font-size: 19px; }
.screen p { margin: 4px 0 0; font-size: 15px; color: var(--ink-muted); }
.more-link { display: inline-block; margin-top: 34px; font-weight: 600; font-size: 15px; color: var(--purple); }
.more-link:hover { color: var(--accent-dark); }

/* ---------- applications and use cases ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.card { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--hairline); background: #fff; }
.card h3 { font-size: 18px; }
.card p { margin: 10px 0 0; font-size: 15px; color: var(--ink-muted); }
.card .tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); }
.card.proving { background: var(--gold-soft); border-color: rgba(91, 45, 184, 0.3); }
.lead-p { max-width: 74ch; margin: 36px auto 0; text-align: center; color: var(--ink-muted); font-size: 17px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card .kick { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); display: block; margin-bottom: 10px; }

/* ---------- ladder, pilot ---------- */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.rung { padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--hairline); background: #fff; }
.rung .n { width: 34px; height: 34px; border-radius: 50%; background: var(--badge); color: #14102a; font-weight: 800; display: grid; place-items: center; }
.rung h3 { font-size: 20px; margin-top: 16px; }
.rung p { margin: 10px 0 0; font-size: 15.5px; color: var(--ink-muted); }
.rung a { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--purple); }
.pilot-box { margin-top: 36px; padding: 40px; border-radius: 22px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.pilot-box h3 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-top: 12px; }
.pilot-box .eyebrow { color: #c9b6f5; }
.pilot-box p { margin: 14px 0 0; color: #d6d1e4; font-size: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: #fff; }
.ticks li::before { content: "\2713"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--badge); color: #14102a; font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }
.pilot-box .btn { background: #fff; color: var(--ink); margin-top: 24px; }
.pilot-box .btn:hover { background: #ece8f7; color: var(--ink); }
.pilot-box .cta-note { color: #b9b2d1; text-align: left; }
.pilot-box .cta-col { align-items: flex-start; }

/* ---------- traction ---------- */
.trac { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.award { display: flex; gap: 18px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--hairline); background: #fff; transition: box-shadow 0.3s var(--ease); }
.award:hover { box-shadow: 0 20px 44px -28px rgba(20, 16, 42, 0.4); }
.award img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex: none; }
.award .b { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); }
.award strong { display: block; font-size: 18px; margin-top: 4px; line-height: 1.25; }
.award span.s { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-muted); }
.trac-note { margin-top: 20px; text-align: center; }

/* ---------- team ---------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 48px; }
.member { flex: 1 1 190px; max-width: 220px; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 26px 18px; border-radius: var(--radius); border: 1px solid var(--hairline); background: #fff; }
.avatar { width: 104px; height: 104px; }
.avatar .ring { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 1px solid var(--hairline-2); background: var(--panel); display: grid; place-items: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.avatar .ring.mono span { font-weight: 800; font-size: 40px; color: var(--purple); }
.member h3 { font-size: 16px; margin-top: 18px; }
.member .role { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); margin-top: 6px; font-weight: 700; }
.member p { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-muted); }

/* ---------- contact band ---------- */
.cta-band { max-width: var(--maxw); margin-inline: auto; border-radius: 24px; padding: 56px 36px; text-align: center; background: var(--panel); border: 1px solid var(--hairline); }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); margin-top: 12px; }
.cta-band p { margin: 14px auto 0; max-width: 54ch; color: var(--ink-muted); }
.cta-band .hero-cta { justify-content: center; }
.cta-band .hero-cta .cta-col { align-items: center; }

@media (max-width: 980px) {
  .hero-grid2, .duo, .pilot-box, .trac { grid-template-columns: 1fr; }
  .hero-grid2 { gap: 40px; }
  .steps, .ladder, .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .numbers-row { grid-template-columns: repeat(2, 1fr); }
  .num-item:nth-child(3) { border-left: 0; }
  .num-item:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
  .screens, .cards-2 { grid-template-columns: 1fr; }
  .step-photo img { aspect-ratio: 16 / 11; }
}
@media (max-width: 760px) {
  .nav-cta .nav-textlink, .nav-cta .btn-primary { display: none; }
  .nav-cta { gap: 8px; }
  section.block { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .pilot-box { padding: 28px 22px; }
  .cta-band { padding: 40px 22px; border-radius: 20px; }
  .cards-4 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero-cta .cta-col, .cta-col { width: 100%; }
  .member { flex-basis: 100%; max-width: 320px; }
  .logo { font-size: 18px; letter-spacing: 0.3em; padding-left: 0.3em; }
  .award img { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- sticky mobile bar (shown after the hero) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; height: calc(52px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(105%); transition: transform 0.35s var(--ease); }
.sticky-cta:not(.show) { visibility: hidden; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta a { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13.5px; line-height: 1.2; padding: 0 10px; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }
