/* ─── FONTS ─────────────────────────────────────────── */
@font-face {
  font-family: 'Google Sans Flex';
  src: url('../Google_Sans_Flex/GoogleSansFlex-VariableFont_GRAD,ROND,opsz,slnt,wdth,wght.ttf')
       format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:       #000000;
  --surface:  #0f0f0f;
  --surface-2:#0d0d0d;
  --border:   rgba(255,255,255,0.09);
  --text:     #ffffff;
  --muted:    rgba(255,255,255,0.48);
  --green:    #11FF00;
  --font:     'Google Sans Flex', 'Google Sans', system-ui, sans-serif;
  --script:   'Snell Roundhand', 'Brush Script MT', 'Segoe Script', cursive;
  --max-w:    760px;
  --pad:      28px;
  --radius:   14px;
}

/* Per-page accent. --green is the brand accent token; each product page
   reskins it so the whole page (links, nav, buttons, glints) re-themes from
   one line. Default (home) = signal green. */
/* ARMA — confident blue (engineering / trust in the hardware) */
body[data-modal="arma"] { --green: #5aa9ff; }
/* PYRA — signal green (matches the brand default; reads best on the dark page) */
body[data-modal="pyra"] { --green: #11FF00; }
/* Work With Us — trustworthy teal: blue's credibility + green's growth,
   the color advisory/fintech brands lean on to read as dependable. */
body[data-page="consulting"] {
  --green: #2dd4bf;
  background:
    radial-gradient(900px 460px at 50% -40px, rgba(45,212,191,0.08), transparent 72%),
    var(--bg);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; padding: 0; margin: 0; }

/* ─── FADE-IN ON SCROLL ──────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CENTERED SECTION WRAPPER ───────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--pad);
}

.section-heading {
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 14px;
}

.section-body.emphasis {
  color: var(--text);
  font-weight: 600;
}

/* ─── ICON NAVIGATION ────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.2s;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8a8a;
  transition: color 0.2s, transform 0.15s;
}
.nav-icon svg { width: 19px; height: 19px; display: block; }
.nav-icon:hover { color: var(--text); transform: translateY(-1px); }
.nav-icon.active { color: var(--green); }

/* ─── HERO ───────────────────────────────────────────── */
.home-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 108px var(--pad) 0;
  text-align: center;
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-wordmark {
  position: relative;
  z-index: 2;
  font-size: clamp(2.2rem, 9vw, 4.6rem);
  font-weight: 200;
  letter-spacing: 0.14em;
  line-height: 1;
  background: linear-gradient(180deg, #d6d6d6 0%, #5c5c5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero-twins-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin: 28px auto 0;
}

.hero-twins {
  width: 100%;
  display: block;
}

/* Fade the torsos into the background, dissolving just below the neckline */
.hero-twins-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* bottom — dissolve the torsos */
    linear-gradient(
      to top,
      #000000 0%,
      rgba(0,0,0,0.92) 14%,
      rgba(0,0,0,0.72) 26%,
      rgba(0,0,0,0.45) 36%,
      rgba(0,0,0,0.2) 44%,
      transparent 52%
    ),
    /* right — soften the cropped shirt edge */
    linear-gradient(
      to left,
      #000000 0%,
      rgba(0,0,0,0.85) 5%,
      transparent 17%
    ),
    /* left — soften the cropped edge */
    linear-gradient(
      to right,
      #000000 0%,
      rgba(0,0,0,0.7) 5%,
      transparent 14%
    );
}

/* ─── TECH STACK ─────────────────────────────────────── */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: var(--max-w);
  margin: -8px auto 0;
  padding: 0 var(--pad);
}

.tech-link { display: flex; align-items: center; }

.tech-logo {
  height: 44px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.18s;
}
.tech-logo:hover { transform: translateY(-2px); }

/* ─── PARTNER WALL (Work With Us) ─────────────────────── */
.partners {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px var(--pad) 4px;
  text-align: center;
}
.partners-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
  margin: 0 0 28px;
}
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 44px;
}
.partner-link {
  flex: 0 0 calc(20% - 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition: opacity 0.18s, transform 0.18s;
}
.partner-link:hover { opacity: 1; transform: translateY(-2px); }
.partner-logo {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.partner-logo--arma { max-height: 27px; }
@media (max-width: 680px) {
  .partner-wall { gap: 26px 30px; }
  .partner-link { flex: 0 0 calc(33.333% - 30px); }
  .partner-logo { max-height: 28px; }
}
@media (max-width: 440px) {
  .partner-link { flex: 0 0 calc(50% - 24px); }
}

/* ─── INTRO COPY ─────────────────────────────────────── */
.intro {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 44px var(--pad) 8px;
}
.intro p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 16px;
}
.intro p:last-child { margin-bottom: 0; }
.intro a {
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.32);
  transition: color 0.2s, border-color 0.2s;
}
.intro a:hover { color: var(--green); border-color: var(--green); }

/* ─── TRACK-RECORD CARD ──────────────────────────────── */
/* Rotating green rim glow (driven by scroll → --glow-angle) */
@property --glow-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.record-glow {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
}

.record-glow::before,
.record-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: 0;
  /* two soft glints — PYRA orange & ARMA blue — travel around the edge */
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    rgba(255,106,26,0)      0deg,
    rgba(255,106,26,0)      76deg,
    rgba(255,150,80,0.40)   94deg,
    rgba(255,230,210,0.90)  102deg,
    rgba(255,150,80,0.40)   110deg,
    rgba(255,106,26,0)      128deg,
    rgba(70,150,255,0)      244deg,
    rgba(110,175,255,0.40)  262deg,
    rgba(224,238,255,0.90)  270deg,
    rgba(110,175,255,0.40)  278deg,
    rgba(70,150,255,0)      296deg,
    rgba(255,106,26,0)      360deg
  );
}

/* restrained halo that follows the glint */
.record-glow::after {
  inset: -4px;
  filter: blur(13px);
  opacity: 0.28;
}

.record-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #4a4b4e 0%, #313234 22%, #1a1b1c 52%, #000000 100%);
  border: none;
  border-radius: var(--radius);
  padding: 30px 26px 26px;
}

.record-signature-img {
  display: block;
  width: 210px;
  max-width: 60%;
  height: auto;
  margin: 6px auto 24px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.7)) drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}

.record-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  padding: 16px 4px;
  border-top: 1px solid var(--border);
}

.record-sublabel {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

.record-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.record-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* ─── STATS ──────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.stat-box {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(255,255,255,0.08), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.012) 42%, rgba(255,255,255,0) 100%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 12px 30px rgba(0,0,0,0.5);
}

.stat-num {
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #989898 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* thin brand-accent divider under the figure */
.stat-num::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  margin: 9px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  opacity: 0.55;
}

.stat-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

/* ─── PROJECT CARDS ──────────────────────────────────── */
.projects {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.projects-title { grid-column: 1 / -1; margin: 0; }

.project-card {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 190px;
  transition: transform 0.2s, border-color 0.2s;
}
.project-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.2); }

.project-media {
  flex: 0 0 46%;
  align-self: stretch;
  position: relative;
  overflow: hidden;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-brand {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.project-brand img { height: 40px; width: auto; }

.project-card--arma {
  background: linear-gradient(110deg, #141b22 0%, #1d2f3f 55%, #2e5573 100%);
}
.project-card--arma .project-media { overflow: visible; background: transparent; }
.project-card--arma .project-media img { object-fit: contain; object-position: left center; }

.project-card--pyra {
  background: linear-gradient(110deg, #14201a 0%, #1d3a2c 55%, #2e6b4d 100%);
}
.project-card--pyra .project-media { overflow: visible; background: transparent; }
.project-card--pyra .project-media img {
  object-fit: contain;
  object-position: left center;
  transform: scale(1.24);
  transform-origin: left center;
}
.project-card--pyra .project-brand { gap: 12px; }
.project-card--pyra .pyra-mark { height: 38px; }
.project-card--pyra .pyra-word-img { height: 25px; width: auto; }

.project-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 20px;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--border);
  color: #e6e6e6;
  backdrop-filter: blur(8px);
}
.project-badge svg { width: 12px; height: 12px; }

.badge-go {
  width: 12px;
  height: 12px;
  transition: transform 0.22s ease;
}
.project-card:hover .badge-go { transform: translate(2px, -2px); }
.project-badge--ks {
  background: rgba(0,0,0,0.5);
  border-color: rgba(17,255,0,0.4);
  padding: 6px 12px;
}
.ks-logo { height: 11px; width: auto; display: block; }

/* ─── CONTACT FORM ───────────────────────────────────── */
.contact-card {
  background: linear-gradient(180deg, #4a4b4e 0%, #313234 22%, #1a1b1c 52%, #000000 100%);
  border: none;
  border-radius: var(--radius);
  padding: 28px 26px;
}

.contact-card .section-heading { margin-bottom: 10px; }
.contact-intro {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 22px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 7px; }

.field label {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.6; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  color: var(--muted);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}
.field select.filled { color: var(--text); }
.field select option { background: #161616; color: var(--text); }

/* Conditional "Which venture?" chooser — revealed when Investment is picked */
.cf-conditional[hidden] { display: none; }
.cf-conditional.show { animation: cfReveal 0.32s cubic-bezier(0.2,0.7,0.2,1); }
@keyframes cfReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.cf-choice { display: flex; gap: 10px; }
.cf-choice-pill {
  flex: 1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.cf-choice-pill input {
  position: absolute; opacity: 0; width: 0; height: 0; margin: 0;
}
.cf-choice-pill:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }
.cf-choice-pill:has(input:checked) {
  border-color: var(--green);
  background: rgba(17,255,0,0.08);
  color: var(--text);
}
.cf-choice-pill:has(input:focus-visible) { border-color: var(--green); }

.contact-submit {
  align-self: flex-start;
  padding: 12px 26px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 9px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.contact-submit:hover  { opacity: 0.85; transform: translateY(-1px); }
.contact-submit:active { transform: translateY(0); }
.contact-submit:disabled { opacity: 0.5; cursor: default; }

.contact-thanks {
  display: none;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--green);
}
.contact-thanks.visible { display: block; }

/* ─── SITE FOOTER ────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px var(--pad);
  max-width: var(--max-w);
  margin: 40px auto 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-domain { font-size: 0.8rem; color: var(--muted); }

.instagram-link {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s;
}
.instagram-link:hover { color: var(--text); }
.instagram-icon { width: 17px; height: 17px; }

.footer-copy { font-size: 0.8rem; color: var(--muted); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --pad: 20px; }

  .hero-wordmark { letter-spacing: 0.08em; }
  .tech-stack { flex-wrap: nowrap; gap: 8px; }
  .tech-logo { height: 22px; border-radius: 5px; }

  .record-row { grid-template-columns: 1fr; gap: 4px; }
  .record-desc { color: rgba(255,255,255,0.5); }

  .field-row { grid-template-columns: 1fr; }

  /* cards keep the desktop banner layout (image left, brand right), one per row */
  .projects { grid-template-columns: 1fr; }
  .project-card { height: 160px; }
  .project-brand img { height: 32px; }
  .project-card--pyra .pyra-mark { height: 30px; }
  .project-card--pyra .pyra-word-img { height: 19px; }
}

/* ═══════════════════════════════════════════════════════
   ARMA / PYRA SUB-PAGE STYLES
   ═══════════════════════════════════════════════════════ */

/* ── Waitlist email form (shared) ── */
.waitlist-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
  max-width: 520px;
}
.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.waitlist-form input[type="email"]::placeholder { color: var(--muted); }
.waitlist-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
}
.waitlist-form button {
  padding: 12px 24px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 9px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}
.waitlist-form button:hover  { opacity: 0.85; transform: translateY(-1px); }
.waitlist-form button:active { transform: translateY(0); }
.waitlist-form button:disabled { opacity: 0.5; cursor: default; }

.thank-you {
  display: none;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--green);
}
.thank-you.visible { display: block; }

/* ── Accent (green) heading ── */
.accent-heading {
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

/* ── Sub-page hero ── */
.page-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 104px var(--pad) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-hero-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 30px;
}
.page-hero-mark { height: 30px; width: auto; }
.page-hero-mark--wide { height: 52px; }
.pyra-lockup-row { display: flex; align-items: center; gap: 13px; }
.pyra-hero-wordmark { height: 26px; width: auto; }
.page-hero-word {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #fff;
  line-height: 1;
}
.page-hero-tagline {
  font-size: 15px;
  font-weight: 400;
  color: #ACACAC;
}
.page-hero-img-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
.page-hero-img {
  width: 100%;
  max-width: 430px;
  height: auto;
  object-fit: contain;
}
.page-hero-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 55%, #000 100%);
  pointer-events: none;
}
.page-hero-img-wrap.no-img-fade::after { display: none; }

/* ARMA hero — the glove emerges from the dark. The image already sits on black,
   so we soft-mask every edge to transparent (no rectangular seam) and float a
   blurred dark halo behind it so it reads as rising out of the background. */
.page-hero-img-wrap.arma-emerge { isolation: isolate; }
.page-hero-img-wrap.arma-emerge::after { display: none; }
.page-hero-img-wrap.arma-emerge::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 78%; height: 86%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 45%, transparent 75%);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
}
.page-hero-img-wrap.arma-emerge .page-hero-img {
  position: relative;
  z-index: 1;
  max-width: 460px;
  /* Two masks intersected: a soft oval that feathers the left/right/bottom
     edges, plus a top-down fade so the cut-off forearm dissolves into the
     dark instead of ending on a hard horizontal line. */
  -webkit-mask-image:
    radial-gradient(ellipse 82% 92% at 50% 52%, #000 40%, rgba(0,0,0,0.5) 72%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 14%, #000 34%);
  -webkit-mask-composite: source-in;
          mask-image:
    radial-gradient(ellipse 82% 92% at 50% 52%, #000 40%, rgba(0,0,0,0.5) 72%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.35) 14%, #000 34%);
          mask-composite: intersect;
}

/* gradient shadow anchored in the bottom-left corner (PYRA hero) */
.pyra-hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 100% 95% at left bottom, #000 0%, #000 18%, rgba(0,0,0,0.78) 40%, rgba(0,0,0,0.4) 60%, transparent 82%);
}

/* ── Content figure (image + badge, frost vignette) ── */
.content-figure {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 26px 0 0;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}
.content-figure img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.figure-frost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 36px  0 60px rgba(0,0,0,0.55),
    inset -36px 0 60px rgba(0,0,0,0.55),
    inset 0 -36px 60px rgba(0,0,0,0.6);
}
.figure-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 20px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(17,255,0,0.4);
  color: var(--green);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.figure-badge svg { width: 12px; height: 12px; }

/* ── Return to top ── */
.return-top-wrap { text-align: center; padding: 22px var(--pad) 8px; }
.return-top {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s;
}
.return-top:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════
   PYRA PAGE COMPONENTS
   ═══════════════════════════════════════════════════════ */

/* ── How It Works accordion ── */
.how-it-works .section-heading { margin-bottom: 24px; }

.accordion-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font);
  text-align: left;
}
.accordion-header { display: flex; flex-direction: column; gap: 5px; }
.step-label { font-size: 0.88rem; font-weight: 500; line-height: 1.35; }
.step-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; font-weight: 300; }

.accordion-arrow {
  width: 17px; height: 17px;
  stroke: var(--muted);
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.35s ease, stroke 0.2s;
}
.accordion-trigger[aria-expanded="true"] .accordion-arrow { transform: rotate(180deg); stroke: var(--text); }
.accordion-trigger:hover .step-label { opacity: 0.85; }

.accordion-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.42s ease; }
.accordion-content.open { grid-template-rows: 1fr; }
.accordion-media { overflow: hidden; padding: 0 22px; }
.accordion-content.open .accordion-media { padding-bottom: 22px; }
.accordion-media img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 16/9;
  background: #1a1a1a;
  display: block;
}

/* ── App section ── */
.app-section { padding-top: 0; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .app-grid { grid-template-columns: 1fr; } }

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.app-card-stack { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.app-label { font-size: 14px; color: var(--green); font-weight: 100; text-align: center; line-height: 18px; }
.app-card-title { font-size: 14px; font-weight: 400; line-height: 18px; text-align: center; }
.app-card-body { font-size: 14px; color: #959595; font-weight: 300; line-height: 18px; text-align: center; }
.app-card-img { width: 100%; border-radius: 8px; object-fit: cover; margin-top: auto; }

.app-card--large { background: #0D0D0D; position: relative; flex: 1; }
.app-card--large::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, #0D0D0D 100%);
  pointer-events: none;
  z-index: 1;
}
.app-card--large .app-card-img {
  margin: 28px 0 -24px 40px;
  margin-right: -24px;
  width: calc(100% - 16px);
  object-fit: contain;
  object-position: right bottom;
  flex: 1;
  min-height: 0;
  transform: scale(1.12);
  transform-origin: right bottom;
}
.app-card--sm { flex: 1; }
.app-card--sm .app-card-img {
  margin: auto -24px -24px;
  width: calc(100% + 48px);
  object-fit: cover;
}
.app-card--sm .app-device-img {
  object-fit: contain;
  object-position: center bottom;
  width: calc(100% + 48px);
  margin: auto -24px -24px;
  transform: translateX(20px);
}

/* ── Intentions UI ── */
.intentions-ui { width: 100%; margin-top: auto; display: flex; flex-direction: column; gap: 5px; }
.intentions-scroll-wrap {
  height: 118px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
}
.intentions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; animation: int-scroll 9s linear infinite; }
@keyframes int-scroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.int-pill {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 8px;
  background: rgba(206,206,206,0.12);
  border-radius: 14px;
  position: relative;
}
.int-icon { width: 13px; height: 13px; flex-shrink: 0; color: #C1C1C1; }
.int-label { font-size: 0.56rem; color: #DBDBDB; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1; }
.int-pill.int-active {
  border: 1.5px solid transparent;
  background:
    rgba(206,206,206,0.12) padding-box,
    conic-gradient(from 0deg, #ff3b30, #ff9500, #ffcc00, #34c759, #5ac8fa, #5e5ce6, #ff375f, #ff3b30) border-box;
  padding: 5.5px 8px;
}
.int-check-dot { position: absolute; width: 5px; height: 5px; background: var(--green); border-radius: 50%; top: 3px; left: 3px; }

/* ── Where to place PYRA ── */
.placement-subheading { font-size: 0.9rem; font-weight: 500; color: var(--text); line-height: 1.75; margin-bottom: 8px; }
.placement-row { display: flex; align-items: flex-start; gap: 40px; margin: 24px 0 40px; }
.placement-text { flex: 1; }
.placement-bullets { display: flex; gap: 48px; flex-shrink: 0; }
.placement-bullets ul { display: flex; flex-direction: column; gap: 6px; }
.placement-bullets li {
  font-size: 0.9rem; font-weight: 400; color: rgba(255,255,255,0.7);
  line-height: 1.75; padding-left: 14px; position: relative;
}
.placement-bullets li::before { content: '•'; position: absolute; left: 0; color: rgba(255,255,255,0.7); }

.placement-gif-wrapper { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 48px rgba(0,0,0,0.6); }
.placement-gif { display: block; width: 100%; object-fit: cover; transition: transform 0.55s ease, filter 0.55s ease; }
.placement-frost {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 42%, rgba(0,0,0,0.6) 72%, rgba(0,0,0,0.93) 100%);
  box-shadow:
    inset 40px 0 56px rgba(0,0,0,0.8),
    inset -40px 0 56px rgba(0,0,0,0.8),
    inset 0 40px 56px rgba(0,0,0,0.5),
    inset 0 -40px 56px rgba(0,0,0,0.85);
}
.placement-gif-wrapper:hover .placement-gif { transform: scale(1.025); filter: brightness(1.08) saturate(1.08); }

/* ── Waitlist footer heading ── */
.wl-heading { font-size: clamp(1.1rem, 3vw, 1.4rem); font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }

@media (max-width: 600px) {
  .placement-row { flex-direction: column; gap: 24px; }
  .placement-bullets { gap: 32px; }
  .app-card--sm .app-card-img { max-height: 120px; }
}

/* ═══════════════════════════════════════════════════════
   WORK WITH US — home card + room + Founder Profile
   ═══════════════════════════════════════════════════════ */

/* ── Home "Work With Us" full-width card ── */
.project-card--work {
  grid-column: 1 / -1;
  height: auto;
  min-height: 150px;
  background: linear-gradient(110deg, #161719 0%, #1f2125 55%, #2a2d33 100%);
  align-items: stretch;
}
.work-card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 26px 28px 48px;
}
.work-card-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}
.work-card-title {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 46ch;
}
.work-card-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 56ch;
}

/* ── Work With Us room ── */
.wwu-promise {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px var(--pad) 0;
}
.wwu-promise .lead {
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
}
.wwu-promise .lead em { color: var(--green); font-style: normal; }

/* ── Premium Apple-keynote hero ── */
.wwu-hero {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 132px var(--pad) 80px;
  text-align: center;
  overflow: hidden;
}
.wwu-hero .hero-twins-wrap { max-width: 660px; margin: 4px auto 4px; }
.wwu-hero .hero-twins { filter: brightness(1.3) contrast(1.05) drop-shadow(0 18px 40px rgba(0,0,0,0.5)); }
.wwu-hero .wwu-hero-tagline { margin-top: 8px; }
.wwu-hero::before {
  content: '';
  position: absolute;
  top: -6%;
  left: 50%;
  width: 760px;
  max-width: 120%;
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at center,
    rgba(45,212,191,0.20) 0%,
    rgba(45,212,191,0.09) 32%,
    transparent 64%);
  pointer-events: none;
  z-index: 0;
}
.wwu-hero > * { position: relative; z-index: 2; }
.wwu-hero .hero-eyebrow { margin-bottom: 14px; }
.wwu-hero-title {
  font-size: clamp(2.6rem, 10vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.wwu-hero-light,
.wwu-hero-bold { display: inline; }
.wwu-hero-light { font-weight: 200; color: #c8c8c8; }
.wwu-hero-bold {
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff 0%, #b8b8b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wwu-hero-tagline {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.pill-btn--solid {
  background: var(--green);
  color: #04201c;
  box-shadow: 0 8px 28px rgba(45,212,191,0.28);
}
.pill-btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(45,212,191,0.4);
}
.pill-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.pill-btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  color: var(--green);
}
@media (max-width: 600px) {
  .wwu-hero { padding: 104px var(--pad) 56px; }
  .hero-cta-row { gap: 10px; }
  .pill-btn { padding: 12px 24px; }
}

/* Founder Profile entry */
.profile-entry {
  position: relative;
  background: linear-gradient(160deg, #12231a 0%, #0f1512 55%, #0c0d0c 100%);
  border: 1px solid rgba(17,255,0,0.18);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
}
.profile-entry::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(17,255,0,0.10), transparent 55%);
}
.profile-entry .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green); font-weight: 500; margin-bottom: 10px;
}
.profile-entry h3 { font-size: clamp(1.3rem,3.4vw,1.7rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.profile-entry .meta { font-size: 0.78rem; color: var(--muted); margin-top: 16px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 13px 24px;
  background: var(--green);
  color: #04210a;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 rgba(17,255,0,0);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(17,255,0,0.25); }
.btn-primary svg { width: 15px; height: 15px; }

/* Template cards */
.template-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .template-grid { grid-template-columns: 1fr; } }

.template-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1c1c1f 0%, #141416 60%, #0f0f11 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  min-height: 230px;
}
.template-card .tpl-tag {
  align-self: flex-start;
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border);
  padding: 4px 9px; border-radius: 20px; margin-bottom: 14px;
}
.template-card h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.template-card .tpl-desc { font-size: 0.85rem; color: rgba(255,255,255,0.62); line-height: 1.6; flex: 1; }

.tpl-price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.tpl-price .now { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.tpl-price .was { font-size: 0.95rem; color: var(--muted); text-decoration: line-through; }
.tpl-founding { font-size: 0.68rem; color: var(--green); margin-top: 5px; letter-spacing: 0.02em; }

.tpl-cta {
  margin-top: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  background: var(--text); color: var(--bg);
  border: none; border-radius: 9px;
  font-family: var(--font); font-size: 0.85rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer; transition: opacity 0.2s, transform 0.15s;
}
.tpl-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.tpl-cta--ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); cursor: default; }
.tpl-cta--ghost:hover { opacity: 1; transform: none; }
.tpl-cta--disabled { background: transparent; color: var(--muted); border: 1px solid var(--border); cursor: not-allowed; pointer-events: none; opacity: 0.6; }
.tpl-cta--disabled:hover { opacity: 0.6; transform: none; }

.template-card--soon { opacity: 0.92; }
.template-card--soon .tpl-tag { color: var(--green); border-color: rgba(17,255,0,0.35); }

.template-card--recommended { border-color: rgba(17,255,0,0.42); box-shadow: 0 0 0 1px rgba(17,255,0,0.12), 0 18px 40px -28px rgba(17,255,0,0.5); }
.tpl-tag--rec { color: #0a0a0a !important; background: var(--green); border-color: var(--green) !important; font-weight: 700; }

/* ── Motley Consulting Services (done-for-you tier on Work With Us) ──
   Accent is var(--green), which is teal on the consulting page. */
.svc-qualify {
  background: rgba(45,212,191,0.06);
  border: 1px solid rgba(45,212,191,0.22);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.83rem; line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 16px 0 26px;
}
.svc-qualify strong { color: var(--green); font-weight: 600; }
.svc-subhead {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: 24px 0 12px;
}
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* ── flip card ── */
.svc-card {
  position: relative; min-height: 344px;
  background: none; border: none; padding: 0;
  perspective: 1400px; cursor: pointer; outline: none;
}
.svc-inner {
  position: relative; width: 100%; height: 100%; min-height: 344px;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-style: preserve-3d;
}
.svc-card.is-flipped .svc-inner { transform: rotateY(180deg); }
.svc-card:focus-visible .svc-inner { box-shadow: 0 0 0 2px var(--green); border-radius: var(--radius); }
/* Hover-capable devices: flip on hover or keyboard focus; the "← back" cue isn't needed. */
@media (hover: hover) {
  .svc-card:hover .svc-inner,
  .svc-card:focus-within .svc-inner { transform: rotateY(180deg); }
  .svc-unflip { display: none; }
}
.svc-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: linear-gradient(180deg, #1c1c1f 0%, #141416 60%, #0f0f11 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px;
}
.svc-back { transform: rotateY(180deg); }

.svc-card .svc-tag {
  align-self: flex-start;
  font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border);
  padding: 4px 9px; border-radius: 20px; margin-bottom: 12px;
}
.svc-card h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.svc-desc { font-size: 0.83rem; color: rgba(255,255,255,0.62); line-height: 1.58; flex: 1; }
.svc-price { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.svc-price .from { font-size: 0.72rem; color: var(--muted); }
.svc-price .amt { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.svc-flip-hint {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 12px; font-size: 0.72rem; color: var(--green);
}
/* Verb adapts to the device: "Hover" on desktop, "Tap" on touch. */
.svc-flip-hint .hover-only { display: none; }
@media (hover: hover) {
  .svc-flip-hint .hover-only { display: inline; }
  .svc-flip-hint .tap-only { display: none; }
}

/* ── back face ── */
.svc-back-h { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.svc-back-body { font-size: 0.81rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.svc-prereq {
  font-size: 0.74rem; line-height: 1.45; color: rgba(255,255,255,0.5);
  border-top: 1px solid var(--border); margin-top: 12px; padding-top: 10px;
}
.svc-prereq span {
  display: block; font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green); margin-bottom: 3px;
}
.svc-buy {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--green); color: #06201b; font-weight: 700; font-size: 0.84rem;
  text-decoration: none; padding: 11px 16px; border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.svc-buy:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(45,212,191,0.8); }
.svc-buy .amt { font-weight: 800; }
.svc-unflip {
  margin-top: 9px; align-self: center; background: none; border: none; cursor: pointer;
  font-size: 0.72rem; color: var(--muted); font-family: inherit; padding: 2px 6px;
}
.svc-unflip:hover { color: rgba(255,255,255,0.8); }

.svc-card--feature .svc-front, .svc-card--feature .svc-back { border-color: rgba(45,212,191,0.42); box-shadow: 0 0 0 1px rgba(45,212,191,0.12), 0 18px 40px -28px rgba(45,212,191,0.5); }
.svc-card--feature .svc-tag { color: #06201b !important; background: var(--green); border-color: var(--green); font-weight: 700; }
.svc-cta-wrap { margin-top: 28px; text-align: center; }
.svc-cta-wrap .tpl-cta { display: inline-flex; }
.svc-cta-wrap .meta { font-size: 0.72rem; color: var(--muted); margin-top: 12px; }

/* ── Consulting overview card (WWU → services.html) ── */
.svc-overview {
  display: block;
  max-width: 660px;
  margin: 8px auto 0;
  border: 1px solid rgba(17,255,0,0.18);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #12231a 0%, #0f1512 55%, #0c0d0c 100%);
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s cubic-bezier(0.2,0.7,0.2,1), border-color 0.28s, box-shadow 0.28s;
}
.svc-overview:hover {
  transform: translateY(-4px);
  border-color: rgba(17,255,0,0.5);
  box-shadow: 0 24px 60px -28px rgba(17,255,0,0.4);
}
.svc-overview-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.svc-overview-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2,0.7,0.2,1);
}
.svc-overview:hover .svc-overview-media img { transform: scale(1.03); }
.svc-overview-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 34px 34px;
}
.svc-overview-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}
.svc-overview-title {
  font-size: 1.5rem;
  line-height: 1.18;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.svc-overview-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}
.svc-overview-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--green);
  color: #05201c;
  font-weight: 600;
  font-size: 0.86rem;
  box-shadow: 0 10px 30px -10px rgba(45,212,191,0.55);
  transition: gap 0.25s, box-shadow 0.28s;
}
.svc-overview:hover .svc-overview-cta {
  gap: 11px;
  box-shadow: 0 14px 40px -10px rgba(45,212,191,0.7);
}
@media (max-width: 760px) {
  .svc-overview-body { padding: 26px 24px 28px; }
  .svc-overview-title { font-size: 1.3rem; }
}

/* ── Services page hero (services.html) ── */
.svc-page-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--pad) 24px;
  text-align: left;
}
.svc-page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 22px;
  transition: color 0.2s, gap 0.2s;
}
.svc-page-back:hover { color: var(--green); gap: 10px; }
.svc-page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 14px;
}
.svc-page-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}
@media (max-width: 600px) {
  .svc-page-hero { padding: 100px var(--pad) 18px; }
}

/* ── Motley Consulting Services — journey menu ── */
.mcs-menu { margin-top: 6px; }
.mcs-summary { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0 0 16px; }
.mcs-summary strong { color: #fff; font-weight: 700; }

/* accordion by journey stage */
.mcs-acc { display: flex; flex-direction: column; gap: 16px; }
.mcs-stage-acc { border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.006)); overflow: hidden; }
.mcs-stage-acc[open] { border-color: rgba(45,212,191,0.32); }
.mcs-stage-sum { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 13px; padding: 15px 16px; user-select: none; }
.mcs-stage-sum::-webkit-details-marker { display: none; }
.mcs-stage-sum:hover { background: rgba(255,255,255,0.02); }
.mcs-stage-num { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #06201b; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mcs-stage-sum-text { display: flex; flex-direction: column; gap: 1px; }
.mcs-stage-sum-title { font-size: 15px; font-weight: 600; color: #fff; }
.mcs-stage-sum-meta { font-size: 11.5px; color: var(--muted); }
.mcs-chev { margin-left: auto; color: var(--muted); flex-shrink: 0; transition: transform .25s ease, color .2s ease; }
.mcs-stage-acc[open] .mcs-chev { transform: rotate(180deg); color: var(--green); }
.mcs-stage-body { padding: 4px 18px 22px; }
.mcs-stage-body .mcs-cat:first-child { margin-top: 4px; }

/* Master "root" — holds the whole build catalog behind one clean toggle */
.mcs-root {
  border: 1px solid rgba(45,212,191,0.34);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(45,212,191,0.07), rgba(255,255,255,0.012));
  overflow: hidden;
}
.mcs-root-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  user-select: none;
}
.mcs-root-sum::-webkit-details-marker { display: none; }
.mcs-root-sum:hover { background: rgba(45,212,191,0.04); }
.mcs-root-mark {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.32);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mcs-root-mark svg { width: 26px; height: 26px; }
.mcs-root-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mcs-root-title { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.mcs-root-meta { font-size: 12.5px; color: var(--muted); }
.mcs-root-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
}
.mcs-root-toggle-label::before { content: attr(data-closed); }
.mcs-root[open] .mcs-root-toggle-label::before { content: attr(data-open); }
.mcs-root-chev { margin-left: 0; color: var(--green); }
.mcs-root[open] .mcs-root-chev { transform: rotate(180deg); }
.mcs-root-body { padding: 6px 18px 22px; }
.mcs-root-body .mcs-summary { margin-top: 6px; }
@media (max-width: 600px) {
  .mcs-root-sum { padding: 16px; gap: 13px; }
  .mcs-root-toggle-label { display: none; }
  .mcs-root-body { padding: 6px 10px 18px; }
}

.mcs-cat { display: flex; align-items: center; gap: 10px; margin: 30px 0 13px; padding-left: 11px; border-left: 3px solid var(--green); }
.mcs-cat-title { font-size: 15px; font-weight: 600; color: #fff; }
.mcs-cat-note { font-size: 11px; color: var(--muted); margin-left: auto; white-space: nowrap; }

.mcs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 11px; }
.mcs-card { display: flex; flex-direction: column; gap: 5px; background: linear-gradient(180deg, #161618, #101012); border: 1px solid var(--border); border-radius: 14px; padding: 13px 15px; text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.mcs-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 12px 32px -18px rgba(45,212,191,0.55); }
.mcs-card--hot { border-left: 2px solid #f0b46a; }
.mcs-card--new { border-left: 2px solid #34d399; }
.mcs-card--anchor { border-left: 2px solid var(--green); }
.mcs-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; padding: 2px 9px; border-radius: 20px; width: fit-content; letter-spacing: .3px; margin-bottom: 1px; }
.mcs-badge--hot { background: rgba(240,180,106,0.14); color: #f0b46a; }
.mcs-badge--new { background: rgba(52,211,153,0.14); color: #34d399; }
.mcs-badge--anchor { background: rgba(45,212,191,0.16); color: var(--green); }
.mcs-name { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.mcs-desc { font-size: 11.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.mcs-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 9px; border-top: 1px solid var(--border); }
.mcs-price { font-size: 12.5px; font-weight: 700; color: #fff; }
.mcs-time { font-size: 11px; color: var(--muted); white-space: nowrap; }

/* ── Feature cards: marquee builds get a full-width, larger treatment ── */
.mcs-card--anchor, .mcs-card--hot {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  padding: 18px 22px;
  border-left-width: 3px;
}
.mcs-card--anchor { background: linear-gradient(108deg, rgba(45,212,191,0.10) 0%, #141416 52%); }
.mcs-card--hot { background: linear-gradient(108deg, rgba(240,180,106,0.10) 0%, #141416 52%); }
.mcs-card--anchor .mcs-badge, .mcs-card--hot .mcs-badge { order: -1; }
.mcs-card--anchor .mcs-name, .mcs-card--hot .mcs-name { font-size: 16.5px; flex-basis: 100%; }
.mcs-card--anchor .mcs-desc, .mcs-card--hot .mcs-desc { font-size: 12.5px; flex: 1 1 60%; min-width: 260px; }
.mcs-card--anchor .mcs-foot, .mcs-card--hot .mcs-foot {
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  flex: 0 0 auto;
  text-align: right;
}
.mcs-card--anchor .mcs-price, .mcs-card--hot .mcs-price { font-size: 17px; }
.mcs-card--anchor .mcs-time, .mcs-card--hot .mcs-time { font-size: 11px; }
@media (max-width: 560px) {
  .mcs-card--anchor, .mcs-card--hot { padding: 15px 16px; }
  .mcs-card--anchor .mcs-foot, .mcs-card--hot .mcs-foot {
    flex-direction: row; align-items: center; justify-content: space-between;
    flex-basis: 100%; margin-top: 6px; padding-top: 9px; border-top: 1px solid var(--border); text-align: left;
  }
}

/* feature cards that carry a proof-artifact image */
.mcs-card--art { flex-wrap: nowrap; align-items: center; gap: 0 20px; padding: 16px; overflow: hidden; }
.mcs-art {
  flex: 0 0 42%; max-width: 250px; width: 100%;
  height: 168px; align-self: center;
  object-fit: contain; object-position: center;
  border-radius: 10px; border: 1px solid var(--border); background: #0b0b0c; padding: 6px;
}
.mcs-card--art .mcs-art-body {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px;
}
@media (max-width: 560px) {
  .mcs-card--art { flex-wrap: wrap; padding: 14px; }
  .mcs-art { flex-basis: 100%; max-width: none; height: 160px; }
}

.mcs-advisory { background: linear-gradient(180deg, #161618, #101012); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.mcs-adv-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.mcs-adv-lead { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mcs-adv-faces { flex: 0 0 auto; width: 112px; height: 72px; object-fit: cover; object-position: center top; border-radius: 12px; border: 1px solid var(--border); background: #0b0b0c; }
.mcs-adv-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.mcs-adv-sub { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.mcs-adv-price { flex-shrink: 0; text-align: right; }
.mcs-adv-rate { font-size: 22px; font-weight: 700; color: #fff; }
.mcs-adv-rate-sub { font-size: 11px; color: var(--muted); white-space: nowrap; }
.mcs-adv-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 7px; }
.mcs-adv-opt { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; }
.mcs-adv-opt-label { font-size: 12px; color: #fff; font-weight: 500; white-space: nowrap; }
.mcs-adv-opt-price { font-size: 12px; color: var(--green); font-weight: 600; white-space: nowrap; }
.mcs-adv-note { font-size: 11px; color: var(--muted); margin-top: 10px; line-height: 1.65; padding-top: 10px; border-top: 1px solid var(--border); }
.mcs-adv-book { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; background: var(--green); color: #06201b; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 10px; text-decoration: none; transition: filter .15s ease; }
.mcs-adv-book:hover { filter: brightness(1.08); }
@media (max-width: 560px) {
  .mcs-cat-note { display: none; }
  .mcs-adv-header { flex-direction: column; }
  .mcs-adv-lead { gap: 12px; }
  .mcs-adv-faces { width: 88px; height: 60px; }
  .mcs-adv-price { text-align: left; }
}

/* ── Work With Us — zones & 3-way ladder ── */
.zone { padding-top: 60px; padding-bottom: 60px; }
#templates.zone, #consulting-services.zone { border-top: 1px solid var(--border); }
.zone-head { margin-bottom: 20px; }
.zone-step { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); background: rgba(45,212,191,0.10); border: 1px solid rgba(45,212,191,0.28); border-radius: 999px; padding: 4px 12px 4px 5px; margin-bottom: 13px; }
.zone-num { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; background: var(--green); color: #06201b; font-size: 0.68rem; font-weight: 700; }
.zone-title { font-size: clamp(1.35rem, 3.5vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.zone-sub { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 60ch; }

.wwu-path { padding-bottom: 8px; }
.wwu-path-h { font-size: clamp(1.2rem, 3vw, 1.45rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.wwu-path-sub { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.wwu-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wwu-path-card { display: flex; flex-direction: column; gap: 7px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 14px; padding: 16px 16px 15px; text-decoration: none; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.wwu-path-card:hover { border-color: var(--green); transform: translateY(-2px); background: rgba(45,212,191,0.04); }
.wwu-path-top { display: flex; align-items: center; gap: 8px; }
.wwu-path-n { font-size: 0.95rem; font-weight: 700; color: var(--green); }
.wwu-path-tier { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,0.05); border-radius: 999px; padding: 3px 9px; }
.wwu-path-card strong { font-size: 1rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.wwu-path-d { font-size: 0.8rem; color: var(--muted); line-height: 1.55; flex: 1; }
.wwu-path-go { font-size: 0.78rem; font-weight: 600; color: var(--green); margin-top: 2px; }
@media (max-width: 640px) { .wwu-path-grid { grid-template-columns: 1fr; } }

/* Founder Profile card — teal accent on the consulting page */
body[data-page="consulting"] .profile-entry { background: linear-gradient(160deg, #0c2420 0%, #0d1614 55%, #0b0d0d 100%); border-color: rgba(45,212,191,0.20); }
body[data-page="consulting"] .profile-entry::after { background: radial-gradient(120% 80% at 100% 0%, rgba(45,212,191,0.10), transparent 55%); }
body[data-page="consulting"] .btn-primary:hover { box-shadow: 0 8px 26px rgba(45,212,191,0.28); }

/* ═══════════════════════════════════════════════════════
   TEMPLATE OVERVIEW PAGES (business-brain / pitch-deck)
   ═══════════════════════════════════════════════════════ */
.tpl-page { max-width: 940px; margin: 0 auto; padding: 96px 22px 40px; }
.tpl-back {
  display: inline-block; margin-bottom: 26px;
  font-size: 0.8rem; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.tpl-back:hover { color: var(--text); }

.tpl-hero { margin-bottom: 54px; }
.tpl-hero .tpl-tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border);
  padding: 4px 9px; border-radius: 20px; margin-bottom: 18px;
}
.tpl-hero h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.tpl-lead { font-size: 1.08rem; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 620px; }
.tpl-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: 0.82rem; color: var(--muted); }
.tpl-hero-meta strong { color: var(--green); font-weight: 600; }

.tpl-section { margin-bottom: 56px; }
.tpl-section > h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.tpl-section-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.tpl-section > h2 + .tpl-deliverables, .tpl-section > h2 + .tpl-method { margin-top: 22px; }

.tpl-deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tpl-deliverables--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 820px) { .tpl-deliverables--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tpl-deliverables, .tpl-deliverables--5 { grid-template-columns: 1fr; } }
.tpl-deliverable {
  background: linear-gradient(180deg, #1a1a1d 0%, #141416 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px;
}
.tpl-deliverable h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 7px; }
.tpl-deliverable p { font-size: 0.83rem; line-height: 1.55; color: rgba(255,255,255,0.6); }
.tpl-five-n { display: block; font-size: 0.72rem; font-weight: 700; color: var(--green); letter-spacing: 0.06em; margin-bottom: 10px; }

.tpl-method { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.tpl-method li { display: flex; gap: 16px; align-items: flex-start; }
.tpl-step-n {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #0a0a0a; font-weight: 700; font-size: 0.85rem;
}
.tpl-method h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.tpl-method p { font-size: 0.86rem; line-height: 1.55; color: rgba(255,255,255,0.62); }

/* Blurred preview */
.tpl-preview { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.tpl-preview-blur { filter: blur(7px); transform: scale(1.02); pointer-events: none; user-select: none; padding: 18px; background: #0c0c0e; }
.tpb-shell { display: grid; grid-template-columns: 190px 1fr; gap: 18px; min-height: 320px; }
@media (max-width: 560px) { .tpb-shell { grid-template-columns: 1fr; } .tpb-toc { display: none; } }
.tpb-toc { background: #141416; border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.tpb-toc-h { font-size: 0.75rem; color: var(--green); letter-spacing: 0.05em; margin-bottom: 12px; text-transform: uppercase; }
.tpb-toc ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.tpb-toc li { font-size: 0.82rem; color: var(--muted); padding-left: 18px; position: relative; }
.tpb-toc li::before { content: "○"; position: absolute; left: 0; }
.tpb-toc li.done { color: rgba(255,255,255,0.7); }
.tpb-toc li.done::before { content: "●"; color: var(--green); }
.tpb-toc li.current { color: var(--text); font-weight: 600; }
.tpb-toc li.current::before { content: "▸"; color: var(--green); }
.tpb-main { background: #141416; border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.tpb-progress { height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; margin-bottom: 18px; overflow: hidden; }
.tpb-progress span { display: block; height: 100%; background: var(--green); }
.tpb-q-eyebrow { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 8px; }
.tpb-q { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.tpb-hint { font-size: 0.84rem; color: var(--muted); margin-bottom: 16px; }
.tpb-input { background: #0e0e10; border: 1px solid var(--border); border-radius: 10px; padding: 14px; font-size: 0.86rem; color: rgba(255,255,255,0.72); line-height: 1.5; min-height: 70px; }
.tpb-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 0.78rem; }
.tpb-assist { color: var(--green); }
.tpb-next { color: var(--text); font-weight: 600; }
.tpl-preview-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: rgba(8,8,10,0.55); color: var(--text);
}
.tpl-preview-lock p { font-size: 0.95rem; font-weight: 600; }

/* Buy block */
.tpl-buy {
  text-align: center; padding: 40px 22px;
  background: linear-gradient(180deg, #16161a 0%, #0f0f11 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.tpl-buy-price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 20px; }
.tpl-buy-price .now { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; }
.tpl-buy-price .was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.tpl-buy-price .tpl-founding { flex-basis: 100%; }
.tpl-cta--lg { padding: 14px 26px; font-size: 0.95rem; }
.tpl-cta.is-gated { opacity: 0.85; }
.tpl-buy-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }

/* Mobile fallback (desktop-only gate) */
.mt-mobile-fallback {
  margin: 18px auto 0; max-width: 420px; text-align: left;
  background: #141416; border: 1px solid rgba(17,255,0,0.3); border-radius: 12px; padding: 18px;
}
.mmf-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.mmf-body { font-size: 0.83rem; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.mmf-form { display: flex; gap: 8px; }
.mmf-form input { flex: 1; background: #0e0e10; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--text); font-family: var(--font); font-size: 0.85rem; }
.mmf-form button { background: var(--green); color: #0a0a0a; border: none; border-radius: 8px; padding: 10px 14px; font-weight: 600; font-size: 0.82rem; cursor: pointer; }
.mmf-note { font-size: 0.78rem; color: var(--green); margin-top: 10px; }

/* ── Business Brain overview — monochrome (black & white) ── */
body[data-page="bb"] { --green: #ffffff; }
body[data-page="bb"] .tpl-tag--rec {
  color: var(--muted) !important;
  background: transparent;
  border-color: var(--border) !important;
  font-weight: 600;
}
body[data-page="bb"] .mt-mobile-fallback { border-color: rgba(255,255,255,0.22); }

/* ═══════════════════════════════════════════════════════
   INTERACTIVE TEMPLATE SHELL (business-brain-app / pitch-deck-app)
   ═══════════════════════════════════════════════════════ */
.shell-body { background: var(--bg); }
.shell-grid { display: grid; grid-template-columns: 250px 1fr; gap: 22px; max-width: 1080px; margin: 0 auto; padding: 40px 22px 60px; align-items: start; }
@media (max-width: 880px) { .shell-grid { grid-template-columns: 1fr; } }

.shell-toc {
  position: sticky; top: 24px;
  background: linear-gradient(180deg, #16161a 0%, #0f0f11 100%);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
}
.shell-toc-back { display: inline-block; font-size: 0.78rem; color: var(--muted); text-decoration: none; margin-bottom: 14px; }
.shell-toc-back:hover { color: var(--text); }
.shell-toc-h { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); margin-bottom: 12px; }
.shell-toc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.shell-toc li { font-size: 0.84rem; color: var(--muted); padding-left: 20px; position: relative; cursor: pointer; transition: color 0.15s; }
.shell-toc li:hover { color: var(--text); }
.shell-toc li::before { content: "○"; position: absolute; left: 0; }
.shell-toc li.done { color: rgba(255,255,255,0.72); }
.shell-toc li.done::before { content: "●"; color: var(--green); }
.shell-toc li.current { color: var(--text); font-weight: 600; }
.shell-toc li.current::before { content: "▸"; color: var(--green); }
.shell-reset { margin-top: 18px; background: none; border: 1px solid var(--border); color: var(--muted); font-family: var(--font); font-size: 0.72rem; padding: 7px 11px; border-radius: 8px; cursor: pointer; }
.shell-reset:hover { color: var(--text); border-color: var(--muted); }

.shell-main {
  background: linear-gradient(180deg, #1a1a1d 0%, #131315 100%);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
}
.shell-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.shell-progress { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.shell-progress span { display: block; height: 100%; background: var(--green); transition: width 0.3s; }
.shell-progress-txt { font-size: 0.74rem; color: var(--muted); white-space: nowrap; }
.shell-saved { font-size: 0.72rem; color: var(--green); opacity: 0; transition: opacity 0.2s; }
.shell-saved.show { opacity: 1; }

.shell-eyebrow { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 10px; }
.shell-q { font-size: 1.35rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 10px; }
.shell-hint { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }
.shell-input {
  width: 100%; min-height: 150px; resize: vertical;
  background: #0e0e10; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; color: var(--text); font-family: var(--font); font-size: 0.92rem; line-height: 1.6;
}
.shell-input:focus { outline: none; border-color: rgba(17,255,0,0.4); }

/* ── voice-first input ── */
.shell-voice { margin-bottom: 4px; }
.shell-voice-lead {
  display: flex; align-items: center; gap: 16px;
  background: #0e0e10; border: 1px solid rgba(17,255,0,0.22); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 12px;
}
.shell-voice.is-recording .shell-voice-lead { border-color: rgba(17,255,0,0.55); background: rgba(17,255,0,0.05); }
.shell-mic {
  position: relative; flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(17,255,0,0.12); border: 1px solid rgba(17,255,0,0.4); color: var(--green);
  transition: background 0.15s ease, transform 0.1s ease;
}
.shell-mic svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.shell-mic:hover { background: rgba(17,255,0,0.2); }
.shell-mic:active { transform: scale(0.95); }
.shell-mic:disabled { opacity: 0.4; cursor: not-allowed; }
.shell-mic-pulse {
  position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--green);
  opacity: 0; pointer-events: none;
}
.shell-voice.is-recording .shell-mic { background: var(--green); color: #04130a; }
.shell-voice.is-recording .shell-mic-pulse { animation: shellMicPulse 1.4s ease-out infinite; }
@keyframes shellMicPulse {
  0% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}
.shell-voice-copy { display: flex; flex-direction: column; gap: 3px; }
.shell-voice-title { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.shell-voice.is-recording .shell-voice-title { color: var(--green); }
.shell-voice-sub { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.shell-voice--type .shell-voice-lead { border-color: var(--border); }

.shell-panels { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.shell-panel { background: #0e0e10; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.shell-panel summary { cursor: pointer; padding: 11px 14px; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.78); list-style: none; }
.shell-panel summary::-webkit-details-marker { display: none; }
.shell-panel summary::before { content: "+ "; color: var(--green); }
.shell-panel[open] summary::before { content: "– "; }
.shell-panel-body { padding: 0 14px 14px; font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.66); }
.shell-panel-body pre { white-space: pre-wrap; background: #141416; border: 1px solid var(--border); border-radius: 8px; padding: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.78); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.shell-assist { margin-top: 14px; }
.shell-assist-btn { background: rgba(17,255,0,0.1); border: 1px solid rgba(17,255,0,0.35); color: var(--green); font-family: var(--font); font-size: 0.8rem; font-weight: 600; padding: 9px 14px; border-radius: 8px; cursor: pointer; }
.shell-assist-btn:hover { background: rgba(17,255,0,0.16); }
.shell-assist-meta { font-size: 0.72rem; color: var(--muted); margin-left: 10px; }
.shell-assist-out { margin-top: 12px; font-size: 0.86rem; line-height: 1.6; color: rgba(255,255,255,0.74); }
.shell-assist-preview { background: #0e0e10; border: 1px dashed rgba(17,255,0,0.3); border-radius: 10px; padding: 14px; margin-top: 12px; }
.shell-assist-lead { display: flex; align-items: center; }
.shell-assist-pitch { margin-top: 9px; font-size: 0.78rem; line-height: 1.55; color: var(--muted); max-width: 60ch; }
.shell-coach-loading { color: var(--green); font-size: 0.85rem; }

/* coach guidance output */
.shell-coach-reflection { font-size: 0.92rem; color: var(--text); line-height: 1.55; margin-bottom: 12px; }
.shell-coach-cards { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.shell-coach-card { background: #0e0e10; border: 1px solid var(--border); border-left: 2px solid rgba(17,255,0,0.5); border-radius: 8px; padding: 11px 13px; }
.shell-coach-card h4 { font-size: 0.8rem; font-weight: 600; color: var(--green); margin-bottom: 4px; }
.shell-coach-card p { font-size: 0.84rem; line-height: 1.55; color: rgba(255,255,255,0.78); }
.shell-coach-followup { font-size: 0.84rem; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.shell-coach-followup strong { color: var(--text); }
.shell-coach-suggested { background: rgba(17,255,0,0.06); border: 1px solid rgba(17,255,0,0.28); border-radius: 10px; padding: 13px; }
.shell-coach-suggested-h { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 6px; }
.shell-coach-suggested-body { font-size: 0.88rem; line-height: 1.55; color: var(--text); margin-bottom: 11px; }
.shell-coach-use { background: var(--green); color: #04130a; border: none; font-family: var(--font); font-size: 0.78rem; font-weight: 700; padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.shell-coach-use:hover { filter: brightness(1.08); }
.shell-coach-use:disabled { background: rgba(17,255,0,0.25); color: rgba(255,255,255,0.7); cursor: default; filter: none; }
.shell-deep { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border); }
.shell-deep-note { font-size: 0.78rem; color: var(--muted); }
.shell-deep-btn { background: transparent; border: 1px solid rgba(17,255,0,0.4); color: var(--green); font-family: var(--font); font-size: 0.76rem; font-weight: 600; padding: 7px 13px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.shell-deep-btn:hover { background: rgba(17,255,0,0.1); }

.shell-nav { display: flex; justify-content: space-between; margin-top: 22px; }
.shell-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--bg); border: none; border-radius: 9px;
  font-family: var(--font); font-size: 0.88rem; font-weight: 600; padding: 11px 20px; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.shell-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.shell-btn--ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.shell-btn--ghost:hover { color: var(--text); transform: none; }
.shell-btn--ghost:disabled { opacity: 0.4; cursor: default; }
.shell-btn--lg { padding: 13px 24px; font-size: 0.95rem; }
.shell-btn--sm { padding: 7px 13px; font-size: 0.76rem; border-radius: 8px; }

.shell-finish .shell-assets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
@media (max-width: 560px) { .shell-finish .shell-assets { grid-template-columns: 1fr; } }
.shell-asset { background: #0e0e10; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.shell-asset-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.shell-asset-head h3 { margin-bottom: 0; }
.shell-asset h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 5px; }
.shell-asset p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.shell-gen-out { margin-top: 14px; }
.shell-doc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.shell-doc-hint { font-size: 0.72rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.shell-doc-hint strong { color: rgba(255,255,255,0.72); font-weight: 600; }
.shell-doc { background: #0c0c0e; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; max-height: 460px; overflow-y: auto; }
.shell-doc h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.shell-doc h3 { font-size: 0.92rem; font-weight: 600; color: var(--green); margin: 16px 0 6px; }
.shell-doc p { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 9px; }
.shell-doc ul { margin: 0 0 9px 18px; }
.shell-doc li { font-size: 0.85rem; line-height: 1.55; color: rgba(255,255,255,0.8); margin-bottom: 4px; }
.shell-doc strong { color: var(--text); }

.shell-mobile { max-width: 440px; margin: 80px auto; text-align: center; padding: 0 22px; }
.shell-mobile h2 { font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.shell-mobile p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }

/* Investment Readiness Score */
.shell-readiness { background: linear-gradient(150deg, rgba(17,255,0,0.05), rgba(255,255,255,0.012)); border: 1px solid rgba(17,255,0,0.22); border-radius: 14px; padding: 20px; margin: 4px 0 22px; }
.shell-readiness-lead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.shell-readiness-lead h3 { font-size: 1rem; font-weight: 600; margin: 0 0 4px; }
.shell-readiness-sub { font-size: 0.8rem; color: var(--muted); line-height: 1.55; max-width: 460px; margin: 0; }
.shell-readiness-out { margin-top: 18px; }
.shell-score-top { display: flex; align-items: center; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.shell-score-ring { --pct: 0; --ring: #11FF00; position: relative; width: 76px; height: 76px; flex: none; border-radius: 50%;
  background: conic-gradient(var(--ring) calc(var(--pct) * 1%), rgba(255,255,255,0.1) 0);
  display: flex; align-items: center; justify-content: center; }
.shell-score-ring::before { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; background: #0c0c0e; }
.shell-score-ring span { position: relative; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.shell-score-top.is-developing .shell-score-ring { --ring: #ff8a3d; }
.shell-score-top.is-promising .shell-score-ring { --ring: #ffd23d; }
.shell-score-top.is-strong .shell-score-ring { --ring: #6ee86e; }
.shell-score-top.is-ready .shell-score-ring { --ring: #11FF00; }
.shell-score-bandname { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); margin: 0 0 4px; font-weight: 600; }
.shell-score-headline { font-size: 0.9rem; line-height: 1.55; color: rgba(255,255,255,0.82); margin: 0; }
.shell-score-dims { display: grid; gap: 14px; margin: 18px 0; }
.shell-score-dim-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; margin-bottom: 5px; }
.shell-score-dim-head strong { color: var(--text); }
.shell-score-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.shell-score-bar > span { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.shell-score-note { font-size: 0.78rem; color: var(--muted); line-height: 1.5; margin: 6px 0 0; }
.shell-score-fix { font-size: 0.78rem; color: rgba(255,255,255,0.72); line-height: 1.5; margin: 4px 0 0; }
.shell-score-fix strong { color: var(--green); font-weight: 600; }
.shell-score-jump { color: var(--green); cursor: pointer; white-space: nowrap; text-decoration: none; }
.shell-score-jump:hover { text-decoration: underline; }
.shell-score-comps, .shell-score-improve { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.shell-score-comps h4, .shell-score-improve h4 { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.shell-score-comps p { font-size: 0.84rem; line-height: 1.55; color: rgba(255,255,255,0.8); margin: 0 0 8px; }
.shell-score-comps strong { color: var(--text); }
.shell-score-improve-item { margin-bottom: 14px; }
.shell-score-improve-item h5 { font-size: 0.88rem; font-weight: 600; margin: 0 0 4px; }
.shell-score-improve-item p { font-size: 0.82rem; line-height: 1.55; color: rgba(255,255,255,0.78); margin: 0; }

/* Founder Profile — name + email gate */
.fp-gate-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; max-width: 380px; }
.fp-gate-form input {
  background: #0e0e10; border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 14px; color: var(--text); font-family: var(--font); font-size: 0.95rem;
}
.fp-gate-form input:focus { outline: none; border-color: rgba(17,255,0,0.4); }
.fp-gate-form .fp-next { margin-top: 4px; cursor: pointer; }
.fp-gate-note { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }

/* Template overview — founder-access entry (appears only when gated) */
.tpl-access { margin-top: 16px; font-size: 0.78rem; color: var(--muted); }
.tpl-access a { color: var(--green); cursor: pointer; }
.tpl-access-form { display: none; gap: 8px; justify-content: center; margin-top: 12px; }
.tpl-access-form.show { display: flex; }
.tpl-access-form input { background: #0e0e10; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--text); font-family: var(--font); font-size: 0.85rem; min-width: 220px; }
.tpl-access-form button { background: var(--green); color: #0a0a0a; border: none; border-radius: 8px; padding: 10px 14px; font-weight: 600; font-size: 0.82rem; cursor: pointer; }

/* ═══════════════════════════════════════════════════════
   FOUNDER PROFILE — assessment engine UI
   ═══════════════════════════════════════════════════════ */
.fp-wrap { max-width: 640px; margin: 0 auto; padding: 96px var(--pad) 60px; min-height: 100vh; }

.fp-progress { height: 3px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.fp-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg,#0bbf00,#11FF00); transition: width 0.3s ease; }
.fp-progress-label { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 34px; }

.fp-module-tag { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); font-weight: 500; margin-bottom: 14px; }
.fp-q { font-size: clamp(1.25rem, 4vw, 1.7rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 6px; }
.fp-q-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 26px; }

.fp-options { display: flex; flex-direction: column; gap: 9px; }
.fp-opt {
  text-align: left; width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text); font-family: var(--font); font-size: 0.92rem;
  cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.fp-opt:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.07); }
.fp-opt.sel { border-color: var(--green); background: rgba(17,255,0,0.10); color: #fff; }

.fp-time-grid { display: flex; flex-direction: column; gap: 16px; }
.fp-field { display: flex; flex-direction: column; gap: 7px; }
.fp-field label { font-size: 0.82rem; color: rgba(255,255,255,0.8); }
.fp-field input[type="time"], .fp-field input[type="number"] {
  padding: 12px 14px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 9px;
  color: var(--text); font-family: var(--font); font-size: 0.95rem;
  outline: none; color-scheme: dark; width: 100%;
}
.fp-field input:focus { border-color: rgba(255,255,255,0.28); }

.fp-nav-row { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.fp-back { background: none; border: none; color: var(--muted); font-family: var(--font); font-size: 0.85rem; cursor: pointer; padding: 6px 0; }
.fp-back:hover { color: var(--text); }
.fp-back:disabled { opacity: 0; cursor: default; }
.fp-next {
  padding: 12px 26px; background: var(--text); color: var(--bg);
  border: none; border-radius: 9px; font-family: var(--font);
  font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: opacity 0.2s, transform 0.15s;
}
.fp-next:hover { opacity: 0.88; transform: translateY(-1px); }
.fp-next:disabled { opacity: 0.35; cursor: default; transform: none; }

/* mini result + intro */
.fp-center { text-align: center; }
.fp-intro-title { font-size: clamp(1.8rem,6vw,2.8rem); font-weight: 200; letter-spacing: 0.06em;
  background: linear-gradient(180deg,#d6d6d6,#5c5c5c); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.fp-mini { padding: 26px 0; }
.fp-mini h4 { color: var(--green); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }

/* report */
.fp-report h2 { font-size: clamp(1.4rem,4vw,1.9rem); font-weight: 500; letter-spacing: -0.02em; }
.fp-headline {
  background: linear-gradient(160deg,#12231a,#0f1512);
  border: 1px solid rgba(17,255,0,0.18); border-radius: var(--radius);
  padding: 26px; margin-bottom: 16px;
}
.fp-headline .k { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.fp-headline .v { font-size: clamp(1.25rem,3.6vw,1.7rem); font-weight: 500; line-height: 1.35; }

.fp-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 14px; }
.fp-block h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.fp-block p { font-size: 0.9rem; color: rgba(255,255,255,0.78); line-height: 1.7; }
.fp-block p + p { margin-top: 10px; }

.fp-bars { display: flex; flex-direction: column; gap: 14px; }
.fp-bar-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.fp-bar-label { font-size: 0.8rem; }
.fp-bar-label .band { display: block; font-size: 0.66rem; color: var(--muted); }
.fp-bar-track { height: 7px; background: rgba(255,255,255,0.08); border-radius: 6px; overflow: hidden; }
.fp-bar-fill { height: 100%; background: linear-gradient(90deg,#0bbf00,#11FF00); border-radius: 6px; }
.fp-bar-line { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-top: 4px; grid-column: 1 / -1; }

.fp-schedule { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.fp-sched-row { display: flex; gap: 12px; font-size: 0.85rem; }
.fp-sched-row .t { color: var(--green); min-width: 130px; font-variant-numeric: tabular-nums; }
.fp-jetlag { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.85rem; color: rgba(255,255,255,0.78); }

.fp-route { background: linear-gradient(160deg,#12231a,#0f1512); border: 1px solid rgba(17,255,0,0.2); }
.fp-route .next-move { font-size: 1.05rem; font-weight: 500; color: #fff; margin-bottom: 6px; }
.fp-credits { font-size: 0.72rem; color: var(--muted); line-height: 1.65; }
.fp-share { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.fp-soon-pill { display:inline-block; font-size:0.66rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); border:1px solid var(--border); padding:3px 9px; border-radius:20px; margin-left:8px; }

/* tabbed dashboard */
.fp-tabs { display:flex; gap:6px; overflow-x:auto; margin:6px 0 16px; padding-bottom:6px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.fp-tabs::-webkit-scrollbar { display:none; }
.fp-tab { flex:0 0 auto; background:transparent; border:1px solid var(--border); color:var(--muted); font-family:var(--font); font-size:0.78rem; letter-spacing:0.01em; padding:9px 15px; border-radius:22px; cursor:pointer; white-space:nowrap; transition:color .18s ease, background .18s ease, border-color .18s ease; }
.fp-tab:hover { color:#fff; border-color:rgba(255,255,255,0.22); }
.fp-tab.active { background:var(--green); border-color:var(--green); color:#000; font-weight:500; }
.fp-panel { display:none; }
.fp-panel.active { display:block; animation:fpFade .3s ease; }
@keyframes fpFade { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
.fp-type-name { font-size:clamp(1.3rem,4.5vw,2rem); font-weight:600; color:#fff; letter-spacing:-0.01em; margin-bottom:4px; }
.fp-type-tag { color:var(--green); font-size:0.82rem; letter-spacing:0.03em; margin-bottom:14px; }
.fp-kv { display:flex; gap:12px; margin-top:12px; font-size:0.86rem; color:rgba(255,255,255,0.78); line-height:1.6; }
.fp-kv .lab { color:var(--green); min-width:84px; flex:0 0 auto; }
.fp-drivebars { display:flex; flex-direction:column; gap:12px; margin:6px 0 16px; }
.fp-personal { border-color:var(--accent,var(--border)); }
.fp-personal h3 { color:var(--accent,var(--muted)); }
.fp-restart-btn { background:none; border:1px solid var(--border); color:var(--muted); font-family:var(--font); font-size:0.85rem; border-radius:24px; padding:0 18px; cursor:pointer; }
.fp-restart-btn:hover { color:#fff; border-color:rgba(255,255,255,0.22); }

/* enriched report — shared bits */
.fp-sub { font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); font-weight:500; margin:22px 0 12px; }
.fp-define { font-size:0.84rem !important; color:rgba(255,255,255,0.82) !important; line-height:1.65; background:rgba(17,255,0,0.05); border-left:2px solid var(--green); border-radius:0 8px 8px 0; padding:11px 14px; margin:0 0 14px !important; }
.fp-define strong { color:#fff; }
.fp-pyra.is-need { border-color:rgba(17,255,0,0.4); }
.fp-tag-mini { display:inline-block; font-size:0.6rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--green); border:1px solid rgba(17,255,0,0.3); padding:2px 7px; border-radius:20px; margin-right:8px; vertical-align:middle; }
.fp-bio { font-size:0.85rem !important; color:rgba(255,255,255,0.72) !important; line-height:1.7; margin-top:14px; }

/* traits — percentile + comparison + deep sections */
.fp-bar-pct { grid-column:1 / -1; font-size:0.7rem; color:var(--green); font-variant-numeric:tabular-nums; margin-top:5px; }
.fp-bar-cmp { grid-column:1 / -1; font-size:0.72rem; color:var(--muted); line-height:1.5; }
.fp-trait-deep { padding:18px 20px; }
.fp-trait-sci, .fp-trait-play { font-size:0.85rem !important; line-height:1.7; margin-top:8px !important; }

/* rhythm — stat grid */
.fp-stat-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin:16px 0 6px; }
.fp-stat { background:rgba(255,255,255,0.03); border:1px solid var(--border); border-radius:10px; padding:12px 14px; }
.fp-stat .n { display:block; font-size:1rem; font-weight:600; color:#fff; font-variant-numeric:tabular-nums; }
.fp-stat .l { display:block; font-size:0.68rem; color:var(--muted); margin-top:3px; line-height:1.4; }

/* DNA — snapshot grid */
.fp-snapshot { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.fp-snap-cell { background:var(--surface); padding:12px 14px; }
.fp-snap-cell .l { display:block; font-size:0.64rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); }
.fp-snap-cell .v { display:block; font-size:0.92rem; color:#fff; margin-top:3px; text-transform:capitalize; }

/* AI — workflow list */
.fp-workflow { margin:4px 0 0; padding-left:0; list-style:none; counter-reset:fpw; }
.fp-workflow li { position:relative; padding-left:34px; font-size:0.86rem; color:rgba(255,255,255,0.78); line-height:1.65; margin-bottom:12px; counter-increment:fpw; }
.fp-workflow li:last-child { margin-bottom:0; }
.fp-workflow li::before { content:counter(fpw); position:absolute; left:0; top:0; width:22px; height:22px; border-radius:50%; background:var(--green); color:#000; font-size:0.72rem; font-weight:700; display:flex; align-items:center; justify-content:center; }

@media (max-width:560px) {
  .fp-stat-grid, .fp-snapshot { grid-template-columns:1fr; }
}

/* ═══════════════════════════════════════════════════════
   WAITLIST MODAL (ARMA / PYRA — once per device)
   ═══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.32);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-card {
  position: relative;
  width: 100%; max-width: 430px;
  border-radius: 26px;
  padding: 36px 30px 30px;
  /* liquid glass — frost the page behind + bump saturation/brightness */
  -webkit-backdrop-filter: blur(34px) saturate(190%) brightness(1.08);
  backdrop-filter: blur(34px) saturate(190%) brightness(1.08);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.26),
    inset 0 0 0 1px rgba(255,255,255,0.05),
    inset 0 -20px 40px rgba(0,0,0,0.22);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.34s cubic-bezier(.2,.7,.3,1);
  overflow: hidden;
}
.modal-overlay.open .modal-card { transform: none; }
/* top-edge specular sheen */
.modal-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 50%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 100%);
}
.modal-card > * { position: relative; z-index: 1; }
.modal-card--pyra {
  background: linear-gradient(160deg, rgba(38,84,52,0.30) 0%, rgba(16,28,20,0.20) 60%, rgba(8,12,9,0.18) 100%);
  border: 1px solid rgba(120,255,150,0.30);
}
.modal-card--arma {
  background: linear-gradient(160deg, rgba(40,72,124,0.32) 0%, rgba(18,28,46,0.20) 60%, rgba(8,11,16,0.18) 100%);
  border: 1px solid rgba(110,178,255,0.34);
}
/* translucent input to complete the glass look */
.modal-card .waitlist-form input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal-card .waitlist-form input::placeholder { color: rgba(255,255,255,0.55); }
.modal-card--arma .waitlist-form input:focus { border-color: rgba(110,178,255,0.7); }
.modal-card--pyra .waitlist-form input:focus { border-color: rgba(120,255,150,0.7); }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 50%; color: var(--muted); cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--text); background: rgba(255,255,255,0.12); }
.modal-close svg { width: 15px; height: 15px; }

.modal-mark { height: 30px; width: auto; margin-bottom: 16px; }
.modal-eyebrow { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.modal-card--pyra .modal-eyebrow { color: var(--green); }
.modal-card--arma .modal-eyebrow { color: #6db2ff; }
.modal-title { font-size: clamp(1.4rem,4.5vw,1.75rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
.modal-body { font-size: 0.9rem; color: rgba(255,255,255,0.66); line-height: 1.6; margin-bottom: 20px; }
.modal-card .waitlist-form { margin-top: 0; max-width: none; }
.modal-card .thank-you.visible { color: var(--green); }
.modal-card--arma .thank-you.visible { color: #6db2ff; }
.modal-fineprint { font-size: 0.7rem; color: var(--muted); margin-top: 14px; }

/* ═══════════════════════════════════════════════════════
   ARMA — HOW IT WORKS (4-step gif gallery, staggered 2-col)
   ═══════════════════════════════════════════════════════ */
.arma-how {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px var(--pad) 28px;
}
.arma-steps {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.arma-step-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.arma-step {
  position: relative;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px 22px;
  text-align: center;
}
.arma-step--bare {
  background: transparent;
  border: none;
  padding: 26px 0 0;
}
.arma-step-num {
  position: absolute;
  top: 20px; left: 18px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.85rem; font-weight: 500;
}
.arma-step--bare .arma-step-num { left: 0; }
.arma-step-kicker {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.arma-step-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}
.arma-step-desc {
  font-size: 0.82rem;
  color: #959595;
  line-height: 1.6;
  max-width: 38ch;
  margin: 0 auto 18px;
}
.arma-step-media {
  border-radius: 12px;
  overflow: hidden;
}
.arma-step-media img,
.arma-step-media video {
  display: block;
  width: 100%;
  height: auto;
}
.arma-step-media--tall img,
.arma-step-media--short img,
.arma-step-media--tall video,
.arma-step-media--short video {
  object-fit: cover;
}
/* phone-scan clip keeps the tall gif from dominating */
.arma-step-media--tall {
  max-width: 300px;
  margin: 0 auto;
}

/* Be The First — text + waitlist block tucked into the right column */
.arma-cta { text-align: left; padding: 6px 4px 0; }
.arma-cta-title {
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  font-weight: 500; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.arma-cta-body {
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
  line-height: 1.75; margin-bottom: 14px;
}
.arma-cta-sub {
  font-size: 0.9rem; color: var(--text); font-weight: 600;
  margin: 22px 0 0;
}

@media (max-width: 760px) {
  /* promote cards to siblings so inline order:1..5 sequences them numerically */
  .arma-steps { flex-direction: column; gap: 18px; }
  .arma-step-col { display: contents; }
  .arma-cta { padding-top: 10px; }
  /* on phones, step 1 gets a card like the others so text + video center the same */
  .arma-step--bare {
    background: #0d0d0d;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 22px 22px;
  }
  .arma-step--bare .arma-step-num { left: 18px; }
  /* full-width media on phones so card 1 matches the other cards */
  .arma-step-media--tall { max-width: none; }
}

/* ─────────────────────────────────────────────────────────────
   APPLICATION PAGE (apply.html) — service intake + 24hr decision
   ───────────────────────────────────────────────────────────── */
.apply-page { max-width: 760px; }

.apply-hero { margin-bottom: 26px; }
.apply-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.apply-title { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 500; letter-spacing: -0.025em; margin-bottom: 12px; }
.apply-lead { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.75; max-width: 60ch; }

.apply-service-chip {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  margin-top: 20px; padding: 13px 16px; border-radius: 12px;
  background: rgba(45,212,191,0.06); border: 1px solid rgba(45,212,191,0.26);
}
.apply-chip-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); width: 100%; }
.apply-chip-name { font-size: 1rem; font-weight: 600; color: #fff; }
.apply-chip-price { font-size: 0.9rem; font-weight: 600; color: var(--green); }

/* steps strip */
.apply-steps { margin-bottom: 30px; }
.apply-steps-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0; margin: 0; }
.apply-step {
  display: flex; flex-direction: column; gap: 9px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 14px 15px;
}
.apply-step-n {
  width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #06201b;
  font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.apply-step div { display: flex; flex-direction: column; gap: 3px; }
.apply-step strong { font-size: 0.85rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.apply-step span:not(.apply-step-n) { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

/* file upload */
.apply-upload { position: relative; }
.apply-upload input[type="file"] {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0);
}
.apply-upload-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 22px 18px; border: 1px dashed var(--border); border-radius: 12px;
  background: rgba(255,255,255,0.02); cursor: pointer; transition: border-color .15s, background .15s;
}
.apply-upload-drop:hover, .apply-upload input:focus + .apply-upload-drop {
  border-color: var(--green); background: rgba(17,255,0,0.04);
}
.apply-upload.is-drag .apply-upload-drop { border-color: var(--green); background: rgba(17,255,0,0.07); }
.apply-upload-icon { color: var(--green); }
.apply-upload-icon svg { width: 26px; height: 26px; display: block; }
.apply-upload-cta { font-size: 0.85rem; font-weight: 600; color: #fff; }
.apply-upload-hint { font-size: 0.74rem; color: var(--muted); line-height: 1.5; }
.apply-upload-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.apply-upload-list[hidden] { display: none; }
.apply-upload-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,0.02);
}
.apply-upload-item-name { font-size: 0.8rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.apply-upload-item-size { font-size: 0.72rem; color: var(--muted); flex-shrink: 0; }
.apply-upload-item-rm {
  flex-shrink: 0; width: 22px; height: 22px; border: none; border-radius: 6px; cursor: pointer;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.apply-upload-item-rm:hover { background: rgba(255,255,255,0.12); color: #fff; }
.apply-upload-error { font-size: 0.76rem; color: #ff6b6b; margin: 8px 0 0; }
.apply-upload-error[hidden] { display: none; }

/* form */
.apply-form { display: flex; flex-direction: column; gap: 22px; }
/* the [hidden] attribute must win over the display rules above */
.apply-form[hidden], .apply-steps[hidden], .apply-done[hidden], .apply-service-chip[hidden] { display: none; }

/* ── multi-step wizard ── */
.apply-progress { display: flex; flex-direction: column; gap: 9px; }
.apply-progress-track {
  height: 5px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden;
}
.apply-progress-fill {
  display: block; height: 100%; width: 25%; border-radius: 999px;
  background: var(--green); box-shadow: 0 0 12px rgba(17,255,0,0.5);
  transition: width .35s cubic-bezier(.4,0,.2,1);
}
.apply-progress-label {
  display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: 0.78rem;
}
.apply-progress-count { color: var(--muted); font-weight: 500; flex-shrink: 0; }
.apply-progress-name { color: #fff; font-weight: 600; letter-spacing: -0.01em; }

.apply-step-panel { display: flex; flex-direction: column; gap: 22px; }
.apply-step-panel[hidden] { display: none; }
.apply-step-panel.is-entering { animation: applyStepIn .28s ease both; }
@keyframes applyStepIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .apply-step-panel.is-entering { animation: none; }
  .apply-progress-fill { transition: none; }
}

.apply-nav { display: flex; align-items: center; gap: 12px; }
.apply-nav .apply-nav-next, .apply-nav .apply-submit { margin-left: auto; }
.apply-nav-back {
  display: inline-flex; align-items: center; gap: 7px; background: none; border: none;
  color: var(--muted); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  padding: 8px 4px; transition: color .15s;
}
.apply-nav-back:hover { color: #fff; }
.apply-nav-back[hidden] { display: none; }
.apply-submit[hidden], .apply-nav-next[hidden] { display: none; }
.apply-fs { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.apply-fs[hidden] { display: none; }
.apply-legend {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); padding: 0 0 4px; border-bottom: 1px solid var(--border); width: 100%; margin-bottom: 4px;
}
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.apply-field { display: flex; flex-direction: column; gap: 6px; }
.apply-field label { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.82); }
.apply-field .req { color: var(--green); }
.apply-field input,
.apply-field select,
.apply-field textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 0.9rem; color: #fff;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 13px; transition: border-color .16s ease, background .16s ease;
}
.apply-field textarea { resize: vertical; line-height: 1.6; }
.apply-field input::placeholder,
.apply-field textarea::placeholder { color: rgba(255,255,255,0.32); }
.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  outline: none; border-color: var(--green); background: rgba(45,212,191,0.04);
}
.apply-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff80' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
.apply-invalid { border-color: #f0726a !important; background: rgba(240,114,106,0.06) !important; }

/* multi-service list */
.apply-services { display: flex; flex-direction: column; gap: 8px; }
.apply-services:empty { display: none; }
.apply-services.apply-invalid { border: 1px dashed #f0726a; border-radius: 10px; padding: 10px; }
.apply-svc-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(45,212,191,0.05); border: 1px solid rgba(45,212,191,0.24);
  border-radius: 10px; padding: 10px 12px;
}
.apply-svc-name { font-size: 0.9rem; font-weight: 600; color: #fff; flex: 1; min-width: 0; }
.apply-svc-price { font-size: 0.82rem; font-weight: 600; color: var(--green); white-space: nowrap; }
.apply-svc-remove {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6);
  font-size: 1.15rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.apply-svc-remove:hover { background: rgba(240,114,106,0.18); color: #f0928a; }
.apply-add-wrap { margin-top: 8px; }
.apply-add-select {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 0.88rem; color: var(--green);
  background: rgba(45,212,191,0.04); border: 1px dashed rgba(45,212,191,0.4); border-radius: 10px;
  padding: 11px 38px 11px 13px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.apply-add-select:focus { outline: none; border-style: solid; border-color: var(--green); }
.apply-add-custom { margin-top: 8px; }
.apply-estimate {
  margin: 12px 0 0; font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px;
}

/* advisory cadence picker (shown only for the 2-on-1 advisory session) */
.apply-cadence-hint { margin: 0 0 4px; font-size: 0.78rem; line-height: 1.55; color: rgba(255,255,255,0.5); }
.apply-cadence { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 4px; }
.apply-cadence.apply-invalid { outline: 1px dashed #f0726a; outline-offset: 5px; border-radius: 10px; background: transparent !important; border: none !important; }
.apply-cad-opt {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 13px; border: 1px solid var(--border); border-radius: 11px;
  background: rgba(255,255,255,0.03); cursor: pointer; min-height: 44px;
  transition: border-color .15s ease, background .15s ease;
}
.apply-cad-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.apply-cad-opt:hover { border-color: rgba(255,255,255,0.2); }
.apply-cad-opt:has(input:checked) { border-color: var(--green); background: rgba(45,212,191,0.08); }
.apply-cad-opt:has(input:focus-visible) { box-shadow: 0 0 0 2px rgba(45,212,191,0.45); }
.apply-cad-main { font-size: 0.85rem; font-weight: 600; color: #fff; white-space: nowrap; }
.apply-cad-price { font-size: 0.78rem; font-weight: 600; color: var(--green); white-space: nowrap; }

.apply-ack {
  display: flex; gap: 11px; align-items: flex-start; cursor: pointer;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px; padding: 15px 16px;
}
.apply-ack input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--green); flex-shrink: 0; cursor: pointer; }
.apply-ack span { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.apply-ack:has(input.apply-invalid) { border-color: #f0726a; }

.apply-error { font-size: 0.82rem; color: #f0928a; margin: -6px 0 0; }
.apply-submit { align-self: flex-start; margin-top: 2px; }
.apply-fineprint { font-size: 0.8rem; color: var(--muted); line-height: 1.7; margin: 2px 0 0; max-width: 64ch; }

/* confirmation */
.apply-done { text-align: center; max-width: 540px; margin: 30px auto 0; }
.apply-done-mark {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,212,191,0.12); border: 1px solid rgba(45,212,191,0.4); color: var(--green);
}
.apply-done h2 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.apply-done > p { font-size: 0.92rem; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 22px; }
.apply-done-next {
  text-align: left; background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 22px;
}
.apply-done-next-h { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
.apply-done-next ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.apply-done-next li { font-size: 0.86rem; color: rgba(255,255,255,0.72); line-height: 1.55; }
.apply-done-actions { display: flex; flex-direction: column; gap: 9px; align-items: center; }
.apply-done-link { font-size: 0.85rem; font-weight: 600; color: var(--green); text-decoration: none; }
.apply-done-link:hover { text-decoration: underline; }

/* Post-application scheduler embed — revealed once SCHEDULER_URL is set. */
.apply-sched[hidden] { display: none; }
.apply-sched {
  margin: 0 0 24px; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; background: rgba(255,255,255,0.02);
}
.apply-sched iframe {
  display: block; width: 100%; height: 680px; border: 0; background: transparent;
}
@media (max-width: 720px) {
  .apply-sched iframe { height: 600px; }
}

@media (max-width: 720px) {
  .apply-steps-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .apply-steps-list { grid-template-columns: 1fr; }
  .apply-row { grid-template-columns: 1fr; }
}
