/* ============================================================
   Preevo — website stylesheet
   Built to Preevo Brand Guidelines v1.0
   Monochrome core. Supporting tints used as ambient surfaces only,
   never mapped one-per-media.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand core */
  --ink:            #000000;
  --paper:          #FFFFFF;
  --mist:           #F5F6F8;

  /* Supporting palette (surfaces / ambient washes) */
  --lavender:       #EDE9FF;
  --soft-blue:      #E8F1FF;
  --mint:           #E6F5EE;
  --sand:           #F8EDE3;

  /* Expression colours, taken from the pitch deck */
  --c-text:         #EDE9FF;
  --c-photo:        #E8F1FF;
  --c-video:        #E6F5EE;
  --c-audio:        #F8EDE3;
  --c-network:      #F4F3EE;
  --c-chat:         #FBE5E7;
  --c-market:       #E9EAEC;

  --c-text-ink:     #6E63B6;
  --c-photo-ink:    #4C7BB5;
  --c-video-ink:    #4E9375;
  --c-audio-ink:    #A9793F;
  --c-network-ink:  #7A7460;
  --c-chat-ink:     #B9636C;
  --c-market-ink:   #6C7076;

  /* Derived neutrals — proposed, not yet official brand tokens */
  --ink-80:         #22262B;
  --ink-65:         #4A4F56;
  --ink-45:         #767C84;
  --ink-30:         #A4AAB2;
  --rule:           #E4E7EB;
  --rule-strong:    #CBD0D6;

  /* Type */
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --fs-xs:    0.8125rem;
  --fs-sm:    0.9375rem;
  --fs-base:  1.0625rem;
  --fs-md:    1.1875rem;
  --fs-lg:    1.4375rem;
  --fs-xl:    1.875rem;
  --fs-2xl:   2.5rem;
  --fs-3xl:   clamp(2.25rem, 5.2vw, 4rem);
  --fs-hero:  clamp(2.5rem, 5.2vw, 3.9rem);

  /* Space */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  --wrap: 1180px;
  --measure: 62ch;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.band { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; overflow: hidden; }
.band--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.band--mist { background: var(--mist); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--rule { border-top: 1px solid var(--rule); }

.lede {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--ink-65);
  max-width: var(--measure);
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  font-size: var(--fs-3xl);
  max-width: 20ch;
  margin-bottom: var(--sp-3);
}
.band--ink .lede { color: #B7BCC3; }

/* Ambient washes — echo the deck's corner fields. Purely atmospheric. */
.wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.wash--tr { top: -14rem; right: -12rem; width: 34rem; height: 34rem; background: var(--lavender); }
.wash--bl { bottom: -16rem; left: -14rem; width: 32rem; height: 32rem; background: var(--soft-blue); }
.wash--mint { top: -18rem; left: 30%; width: 30rem; height: 30rem; background: var(--mint); }
.wash--sand { bottom: -14rem; right: -10rem; width: 28rem; height: 28rem; background: var(--sand); }
.band > .wrap { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--rule); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  height: 84px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.brand-lockup img { height: 34px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.site-nav a {
  text-decoration: none;
  font-size: var(--fs-sm);
  color: var(--ink-65);
  transition: color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-tagline {
  font-size: var(--fs-sm);
  color: var(--ink-45);
  margin-bottom: var(--sp-3);
}

.hero h1 {
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-3);
}
.hero h1 .line { display: block; }
.hero h1 .line--quiet { color: var(--ink-45); }

.hero-sub {
  font-size: var(--fs-md);
  color: var(--ink-65);
  max-width: 46ch;
  margin-bottom: var(--sp-4);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--sp-4); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--ink-80); border-color: var(--ink-80); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.band--ink .btn--line { border-color: var(--paper); color: var(--paper); }
.band--ink .btn--line:hover { background: var(--paper); color: var(--ink); }

/* Mode rail — the product's own switching gesture, used as navigation */
.rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  margin-top: var(--sp-4);
  border-top: 1px solid var(--rule);
  padding-top: 0.9rem;
}
.rail button {
  background: none;
  border: 0;
  padding: 0.4rem 0.7rem 0.55rem;
  cursor: pointer;
  color: var(--ink-45);
  font-size: var(--fs-sm);
  border-bottom: 2px solid transparent;
  border-radius: 2px 2px 0 0;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.rail button:hover { color: var(--ink); }
.rail button[aria-selected="true"],
.rail button.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.hero-descriptor {
  margin-top: 0.9rem;
  min-height: 2.4em;
  font-size: var(--fs-sm);
  color: var(--ink-65);
  max-width: 44ch;
}
.hero-descriptor strong { color: var(--ink); font-weight: 600; }

/* Constellation */
.constellation { width: 100%; height: auto; }
.constellation .link { stroke: var(--rule-strong); stroke-width: 1; }
.constellation .node circle {
  fill: var(--paper);
  stroke: var(--rule-strong);
  stroke-width: 1;
  transition: fill 0.3s var(--ease), stroke 0.3s var(--ease), r 0.3s var(--ease);
}
.constellation .node text {
  font-family: var(--sans);
  font-size: 11px;
  fill: var(--ink-45);
  text-anchor: middle;
  dominant-baseline: central;
  transition: fill 0.3s var(--ease);
}
.constellation .node.is-active circle { fill: var(--ink); stroke: var(--ink); }
.constellation .node.is-active text { fill: var(--paper); }
.constellation .core circle { fill: var(--ink); stroke: var(--ink); }
.constellation .core text { fill: var(--paper); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- Facets (the problem) ---------- */
.facets { display: grid; gap: 0; }
.facet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.facet:last-child { border-bottom: 1px solid var(--rule); }
.facet h3 { font-size: var(--fs-lg); }
.facet p { color: var(--ink-65); max-width: 52ch; }

.statement {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-size: var(--fs-xl);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 30ch;
}

/* ---------- Opportunity ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.shift-list { display: grid; gap: 0; }
.shift {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--sp-2);
  padding-block: 1.1rem;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.shift:last-child { border-bottom: 1px solid var(--rule); }
.shift dt { font-weight: 600; }
.shift dd { margin: 0; color: var(--ink-65); font-size: var(--fs-sm); }

.pullquote {
  border-left: 2px solid var(--ink);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}
.pullquote p {
  font-size: var(--fs-xl);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}
.pullquote span { font-size: var(--fs-sm); color: var(--ink-65); }

/* ---------- Modes viewer ---------- */
.modes-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.modes-rail { margin-top: 0; border-top: 0; padding-top: 0; }

.mode-panel { border-top: 1px solid var(--rule); padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.mode-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: baseline;
  margin-bottom: var(--sp-4);
}
.mode-meta h3 { font-size: var(--fs-2xl); letter-spacing: -0.03em; }
.mode-meta p { color: var(--ink-65); max-width: 56ch; }

.mode-figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.mode-figure img { width: 100%; }
.mode-figure figcaption {
  font-size: var(--fs-xs);
  color: var(--ink-45);
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--rule);
}

.fade-swap { animation: fadeSwap 0.32s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Product commitments ---------- */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.commitments { display: grid; gap: 0; }
.commitment { padding-block: 1.4rem; border-top: 1px solid var(--rule); }
.commitment:last-child { border-bottom: 1px solid var(--rule); }
.commitment h3 { font-size: var(--fs-lg); margin-bottom: 0.4rem; }
.commitment p { color: var(--ink-65); font-size: var(--fs-sm); max-width: 48ch; }

.device-figure { margin: 0; }
.device-figure img {
  border: 1px solid var(--rule);
  border-radius: 14px;
  width: 100%;
}
.device-figure figcaption {
  margin-top: 0.85rem;
  font-size: var(--fs-xs);
  color: var(--ink-45);
}

/* ---------- Trust ---------- */
.band--ink .facet,
.band--ink .commitment { border-color: rgba(255,255,255,0.16); }
.band--ink .facet p,
.band--ink .commitment p { color: #B7BCC3; }
.band--ink .section-head h2 { color: var(--paper); }

.trust-note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 46ch;
}
.trust-note p { color: #D6DAE0; font-size: var(--fs-sm); }
.trust-note p + p { margin-top: 0.75rem; }
.trust-note strong { color: var(--paper); font-weight: 600; }

/* ---------- Empathy ---------- */
.foundation { display: grid; gap: 0; }
.foundation-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.foundation-row:last-child { border-bottom: 1px solid var(--rule); }
.foundation-row dt { font-weight: 600; font-size: var(--fs-lg); }
.foundation-row dd { margin: 0; font-size: var(--fs-md); color: var(--ink-80); max-width: 54ch; }

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--sp-4);
}
.pillar {
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: var(--fs-sm);
  color: var(--ink-65);
}

/* ---------- Value / horizons ---------- */
.cols-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
}
.col-item { border-top: 1px solid var(--rule); padding-top: 1.1rem; }
.col-item h3 { font-size: var(--fs-base); margin-bottom: 0.45rem; }
.col-item p { font-size: var(--fs-sm); color: var(--ink-65); }

.horizon-track { display: grid; gap: 0; margin-top: var(--sp-2); }
.horizon {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) auto;
  gap: var(--sp-2);
  align-items: baseline;
  padding-block: 1.15rem;
  border-top: 1px solid var(--rule);
}
.horizon:last-child { border-bottom: 1px solid var(--rule); }
.horizon dt { font-weight: 600; }
.horizon dd { margin: 0; color: var(--ink-65); font-size: var(--fs-sm); }
.horizon .stage {
  font-size: var(--fs-xs);
  color: var(--ink-45);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  white-space: nowrap;
}
.horizon .stage.now { color: var(--ink); border-color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.contact-list { display: grid; gap: 0; }
.contact-row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: var(--sp-2);
  padding-block: 1rem;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.contact-row:last-child { border-bottom: 1px solid var(--rule); }
.contact-row dt { color: var(--ink-45); font-size: var(--fs-sm); }
.contact-row dd { margin: 0; }
.contact-row a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.contact-row a:hover { border-bottom-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 5rem) var(--sp-5);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.footer-top img { height: 30px; width: auto; }
.footer-top p { color: #B7BCC3; font-size: var(--fs-sm); margin-top: 0.75rem; }

.footer-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  padding-block: var(--sp-4);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  color: #8A9099;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: #8A9099;
}
.footer-bottom a { color: #B7BCC3; text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- Investors page ---------- */
.ask-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3rem);
}
.ask-card .amount {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-block: 0.75rem;
  font-weight: 600;
}
.ask-card .label { font-size: var(--fs-xs); letter-spacing: 0.14em; color: #8A9099; }
.ask-card .note { color: #B7BCC3; font-size: var(--fs-sm); margin-top: var(--sp-2); }

.use-list { display: grid; gap: 0; }
.use-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--sp-2);
  padding-block: 1.15rem;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.use-row:last-child { border-bottom: 1px solid var(--rule); }
.use-row .pct { font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.02em; }
.use-row h3 { font-size: var(--fs-base); margin-bottom: 0.3rem; }
.use-row p { font-size: var(--fs-sm); color: var(--ink-65); }

.confidential {
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--ink-65);
  max-width: 60ch;
}

/* ---------- Reveal (one orchestrated entrance, hero only) ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.is-ready .reveal {
  animation: rise 0.7s var(--ease) forwards;
}
.is-ready .reveal:nth-child(1) { animation-delay: 0.02s; }
.is-ready .reveal:nth-child(2) { animation-delay: 0.09s; }
.is-ready .reveal:nth-child(3) { animation-delay: 0.16s; }
.is-ready .reveal:nth-child(4) { animation-delay: 0.23s; }
.is-ready .reveal:nth-child(5) { animation-delay: 0.30s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: 1fr; }
  .device-figure { max-width: 420px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }

  /* Mode rail behaves like the app's media bar: one scrollable row */
  .rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: calc(-1 * clamp(1.25rem, 5vw, 2.5rem));
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail button { white-space: nowrap; }

  /* Board visuals stay legible: pan horizontally instead of shrinking to nothing */
  .mode-figure picture {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mode-figure img { min-width: 700px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2) clamp(1.25rem, 5vw, 2.5rem) var(--sp-3);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding-block: 0.75rem; border-bottom: 1px solid var(--rule); }
  .site-nav .nav-cta { border: 1px solid var(--ink); margin-top: var(--sp-2); justify-content: center; }

  .split, .contact-grid { grid-template-columns: 1fr; }
  .facet, .mode-meta { grid-template-columns: 1fr; gap: 0.5rem; }
  .shift, .foundation-row, .horizon, .contact-row, .use-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .horizon .stage { justify-self: start; }
}

@media (max-width: 520px) {
  .cols-4 { grid-template-columns: 1fr; }
  .footer-domains { letter-spacing: 0.1em; }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wash, .nav-toggle { display: none !important; }
  body { color: #000; }
}

/* ============================================================
   PITCH-DECK ALIGNMENT LAYER
   Expression colours, deck-style section markers and soft cards.
   ============================================================ */

/* ---------- Investor pill under the header ---------- */
.hero-pill-row {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.investor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: var(--lavender);
  color: var(--ink-80);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.investor-pill:hover { border-color: var(--ink); }
.investor-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
}

/* ---------- Deck-style section marker ---------- */
.band { --marker-tint: var(--mist); }
.section-marker {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-block;
  padding: 0.55rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 12px;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--ink-45);
  text-transform: uppercase;
}
.band--ink .section-marker { background: var(--ink); border-color: rgba(255,255,255,0.2); color: #8A9099; }
.section-marker::before {
  content: "";
  position: absolute;
  top: -5.5rem;
  right: -5.5rem;
  width: 11rem; height: 11rem;
  border-radius: 50%;
  background: var(--marker-tint);
  z-index: -1;
}

/* ---------- Deck-style soft cards ---------- */
.facet, .commitment {
  position: relative;
}
.card-soft {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16,20,26,0.05);
}

/* ---------- Expression colour application ---------- */
.rail button {
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
}
.rail button[aria-selected="true"],
.rail button.is-active {
  background: var(--tint, transparent);
  border-bottom-color: var(--tint-ink, var(--ink));
  color: var(--ink);
}
.rail button[data-exp="text"]    { --tint: var(--c-text);    --tint-ink: var(--c-text-ink); }
.rail button[data-exp="photo"]   { --tint: var(--c-photo);   --tint-ink: var(--c-photo-ink); }
.rail button[data-exp="video"]   { --tint: var(--c-video);   --tint-ink: var(--c-video-ink); }
.rail button[data-exp="audio"]   { --tint: var(--c-audio);   --tint-ink: var(--c-audio-ink); }
.rail button[data-exp="network"] { --tint: var(--c-network); --tint-ink: var(--c-network-ink); }
.rail button[data-exp="chat"]    { --tint: var(--c-chat);    --tint-ink: var(--c-chat-ink); }
.rail button[data-exp="market"]  { --tint: var(--c-market);  --tint-ink: var(--c-market-ink); }

.constellation .node circle { fill: var(--paper); }
.constellation .node[data-exp="text"] circle    { fill: var(--c-text); }
.constellation .node[data-exp="photo"] circle   { fill: var(--c-photo); }
.constellation .node[data-exp="video"] circle   { fill: var(--c-video); }
.constellation .node[data-exp="audio"] circle   { fill: var(--c-audio); }
.constellation .node[data-exp="network"] circle { fill: var(--c-network); }
.constellation .node[data-exp="chat"] circle    { fill: var(--c-chat); }
.constellation .node[data-exp="market"] circle  { fill: var(--c-market); }
.constellation .node text { fill: var(--ink-65); }
.constellation .node.is-active circle { fill: var(--ink); stroke: var(--ink); }
.constellation .node.is-active text { fill: var(--paper); }

/* Expression cards, mirroring the deck's solution slide */
.exp-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.exp-card {
  border-radius: 14px;
  padding: 1rem 1.1rem 1.2rem;
  border: 1px solid rgba(16,20,26,0.06);
  box-shadow: 0 8px 20px rgba(16,20,26,0.05);
  min-height: 6.25rem;
}
.exp-card h3 { font-size: var(--fs-base); margin-bottom: 0.25rem; }
.exp-card p { font-size: var(--fs-sm); color: var(--ink-65); }
.exp-card[data-exp="text"]    { background: var(--c-text); }
.exp-card[data-exp="photo"]   { background: var(--c-photo); }
.exp-card[data-exp="video"]   { background: var(--c-video); }
.exp-card[data-exp="audio"]   { background: var(--c-audio); }
.exp-card[data-exp="network"] { background: var(--c-network); }
.exp-card[data-exp="chat"]    { background: var(--c-chat); }
.exp-card[data-exp="market"]  { background: var(--c-market); }

/* Expression panel tinting */
.mode-panel { transition: background 0.35s var(--ease); }
.exp-surface {
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--exp-tint, var(--mist));
  transition: background 0.35s var(--ease);
}

/* ============================================================
   PHONE VISUALISATION SYSTEM
   Rendered in the browser. No screenshots.
   ============================================================ */
.pv-wrap { margin-top: var(--sp-3); }

.pv-board {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.25rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.pv-board::-webkit-scrollbar { height: 6px; }
.pv-board::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 3px; }

.pv-step { flex: 0 0 254px; scroll-snap-align: start; }
.pv-caption { margin-top: 0.9rem; }
.pv-caption .n {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--ink-45);
  display: block;
  margin-bottom: 0.15rem;
}
.pv-caption h4 { font-size: 0.8125rem; letter-spacing: 0; margin-bottom: 0.3rem; }
.pv-caption p { font-size: 0.75rem; line-height: 1.45; color: var(--ink-65); }

.pv-journey-label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--ink-45);
  border-top: 1px solid var(--rule);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.pv-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--ink-45);
  border-top: 1px solid var(--rule);
  padding-top: 0.75rem;
}

/* ---------- The device ---------- */
.pv-phone {
  width: 254px;
  height: 551px;
  border-radius: 40px;
  background: #000;
  padding: 6px;
  box-shadow: 0 16px 34px rgba(16,20,26,0.16), 0 2px 6px rgba(16,20,26,0.10);
  position: relative;
}
.pv-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #FFF;
  display: flex;
  flex-direction: column;
  font-size: 9px;
  line-height: 1.38;
  color: #101418;
  position: relative;
}
.pv-screen.dark { background: #0A0A0B; color: #F2F3F5; }
.pv-island {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 19px;
  background: #000;
  border-radius: 12px;
  z-index: 6;
}

/* ---------- Screen chrome ---------- */
.s-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 15px 3px;
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.01em;
  flex: 0 0 auto;
}
.s-sig { display: inline-flex; align-items: flex-end; gap: 3px; }
.s-sig i { display: block; width: 2px; background: currentColor; border-radius: 1px; opacity: 0.9; }
.s-sig i:nth-child(1) { height: 3px; }
.s-sig i:nth-child(2) { height: 5px; }
.s-sig i:nth-child(3) { height: 7px; }
.s-batt { width: 15px; height: 7.5px; border: 1px solid currentColor; border-radius: 2.5px; position: relative; opacity: 0.9; }
.s-batt::after { content:""; position:absolute; inset:1px; background: currentColor; border-radius: 1px; }

.s-appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 13px 7px;
  flex: 0 0 auto;
}
.s-brand { display: inline-flex; align-items: center; }
.s-logo { height: 11px; width: auto; display: block; }
.s-logo.dark-only { display: none; }
.dark .s-logo.light-only { display: none; }
.dark .s-logo.dark-only { display: block; }
.s-icons { display: inline-flex; gap: 10px; opacity: 0.78; }
.s-icons svg { width: 13px; height: 13px; }

.s-tabs {
  display: flex; gap: 4px;
  justify-content: space-between;
  padding: 0 11px 6px;
  font-size: 7.6px;
  letter-spacing: -0.01em;
  color: #7A8089;
  border-bottom: 1px solid #ECEEF1;
  flex: 0 0 auto;
}
.dark .s-tabs { border-bottom-color: #23252A; color: #8B9099; }
.s-tabs span { padding-bottom: 4px; border-bottom: 1.5px solid transparent; white-space: nowrap; }
.s-tabs span.on { color: inherit; font-weight: 700; border-bottom-color: currentColor; }

.s-body { flex: 1 1 auto; overflow: hidden; padding: 8px 13px 4px; }
.s-body.flush { padding: 0; }

.s-nav {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 20px 4px;
  border-top: 1px solid #ECEEF1;
}
.dark .s-nav { border-top-color: #23252A; }
.s-nav svg { width: 15px; height: 15px; opacity: 0.58; }
.s-nav .plus {
  width: 23px; height: 23px; border-radius: 50%;
  background: #000; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.s-nav .plus svg { width: 11px; height: 11px; opacity: 1; }
.s-home { height: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.s-home::after { content: ""; width: 74px; height: 3px; border-radius: 2px; background: #0B0B0B; opacity: 0.85; }
.dark .s-home::after { background: #E9EAEC; }

/* ---------- Screen content blocks ---------- */
.s-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 13px 8px; flex: 0 0 auto; }
.s-bar .t { font-weight: 700; font-size: 10px; }
.s-bar .l, .s-bar .r { font-size: 8.5px; color: #4A4F56; }
.s-bar .pill { background: #000; color: #fff; padding: 3px 9px; border-radius: 999px; font-size: 8px; font-weight: 600; }

.s-post { padding: 7px 0; border-bottom: 1px solid #F0F2F4; }
.s-post:last-child { border-bottom: 0; }
.s-who { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.s-av { width: 17px; height: 17px; border-radius: 50%; background: linear-gradient(135deg,#D8DCE3,#B9BFC8); flex: 0 0 auto; }
.s-av.sq { border-radius: 4px; }
.s-name { font-weight: 700; font-size: 8.5px; }
.s-meta { color: #868C95; font-size: 7.5px; }
.s-txt { font-size: 8.5px; }
.s-img {
  border-radius: 7px; margin-top: 5px;
  background: linear-gradient(150deg,#E7EBF1,#CFD6DF 55%,#DDE3EA);
  height: 62px;
}
.s-acts { display: flex; gap: 12px; margin-top: 5px; color: #868C95; font-size: 7.5px; align-items: center; }
.s-acts svg { width: 9px; height: 9px; }
.s-acts span { display: inline-flex; align-items: center; gap: 3px; }

.s-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.s-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.s-tile {
  border-radius: 7px; padding: 7px 8px; min-height: 52px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(150deg,#E9EDF2,#D5DBE3);
}
.s-tile b { font-size: 8.5px; }
.s-tile em { font-style: normal; font-size: 7px; color: #5C626B; }
.s-ph { border-radius: 7px; background: linear-gradient(150deg,#E7EBF1,#CFD6DF); aspect-ratio: 1/1; }

.s-sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff; border-radius: 14px 14px 0 0;
  padding: 11px 13px 14px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.10);
  z-index: 4;
}
.dark .s-sheet { background: #141518; }
.s-scrim { position: absolute; inset: 0; background: rgba(20,24,30,0.34); z-index: 3; }
.s-sheet h5 { font-size: 11px; font-weight: 700; margin: 0 0 7px; letter-spacing: -0.01em; }

.s-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #F1F3F5; }
.s-row:last-child { border-bottom: 0; }
.dark .s-row { border-bottom-color: #24262B; }
.s-row .ico {
  width: 19px; height: 19px; border-radius: 5px; flex: 0 0 auto;
  background: #F2F4F7; display: inline-flex; align-items: center; justify-content: center;
}
.dark .s-row .ico { background: #212328; }
.s-row .ico svg { width: 10px; height: 10px; opacity: 0.7; }
.s-row .tt { flex: 1 1 auto; min-width: 0; }
.s-row .tt b { display: block; font-size: 8.5px; font-weight: 600; }
.s-row .tt em { font-style: normal; display: block; font-size: 7.5px; color: #868C95; }
.s-row .rt { font-size: 7.5px; color: #868C95; white-space: nowrap; }
.s-row.sel { background: #F5F6F8; border-radius: 8px; padding-inline: 6px; }
.dark .s-row.sel { background: rgba(255,255,255,0.09); }
.s-chev { width: 7px; height: 7px; border-right: 1.2px solid #A8AEB6; border-top: 1.2px solid #A8AEB6; transform: rotate(45deg); flex: 0 0 auto; }

.s-tog { width: 22px; height: 12.5px; border-radius: 999px; background: #D7DBE1; position: relative; flex: 0 0 auto; }
.s-tog::after { content:""; position:absolute; top:1.5px; left:1.5px; width:9.5px; height:9.5px; border-radius:50%; background:#fff; }
.s-tog.on { background: #101418; }
.s-tog.on::after { left: auto; right: 1.5px; }

.s-field { margin-bottom: 7px; }
.s-field label { display: block; font-size: 7.5px; color: #868C95; margin-bottom: 2.5px; }
.s-field .box {
  border: 1px solid #E3E6EA; border-radius: 6px;
  padding: 5px 7px; font-size: 8.5px; min-height: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.s-field .box.tall { align-items: flex-start; min-height: 38px; }

.s-btn {
  display: block; text-align: center; border-radius: 999px;
  padding: 7px; font-size: 9px; font-weight: 600;
  background: #101418; color: #fff; margin-top: 8px;
}
.s-btn.ghost { background: transparent; color: #101418; border: 1px solid #D3D7DD; }
.s-btn.blue { background: #2F6FD0; }
.s-btn.green { background: #2E9166; }
.s-btn.sq { border-radius: 8px; }

.s-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.s-chip {
  border: 1px solid #E1E4E9; border-radius: 999px;
  padding: 3px 8px; font-size: 7.5px; color: #4A4F56;
}
.s-chip.on { background: #101418; color: #fff; border-color: #101418; }

.s-note {
  border-radius: 8px; padding: 9px 10px; font-size: 9px; font-weight: 600;
  line-height: 1.35; margin-top: 6px;
  background: linear-gradient(140deg,#EDE9FF,#E8F1FF);
}
.s-banner {
  background: #E6F5EE; color: #2C6B4F; border-radius: 7px;
  padding: 5px 8px; font-size: 8px; margin-bottom: 7px;
  display: flex; align-items: center; gap: 5px;
}
.s-search {
  border: 1px solid #E3E6EA; border-radius: 999px;
  padding: 4px 9px; font-size: 8px; color: #868C95;
  display: flex; align-items: center; gap: 5px; margin-bottom: 7px;
}
.s-search svg { width: 9px; height: 9px; opacity: 0.6; }

.s-stats { display: flex; gap: 6px; margin-bottom: 8px; }
.s-stat { flex: 1; border: 1px solid #E9ECEF; border-radius: 8px; padding: 6px 4px; text-align: center; }
.s-stat b { display: block; font-size: 10px; }
.s-stat em { font-style: normal; font-size: 7px; color: #868C95; }

.s-wave { display: flex; align-items: center; gap: 1.5px; height: 26px; margin: 6px 0; }
.s-wave i { display: block; flex: 1; background: #B9BFC8; border-radius: 1px; }
.s-wave.on i { background: #7B6FC4; }

.s-kbd { background: #D3D6DC; padding: 5px 4px 4px; flex: 0 0 auto; }
.s-kbd .kr { display: flex; gap: 3px; justify-content: center; margin-bottom: 3px; }
.s-kbd .kr b {
  flex: 1; background: #fff; border-radius: 3px; text-align: center;
  font-size: 8px; font-weight: 500; padding: 4px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.s-kbd .kr b.wide { flex: 3; }

.s-cam { flex: 1; background: linear-gradient(170deg,#7E8894,#3F4752 60%,#2A2F36); position: relative; }
.s-rec {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 42px; border-radius: 50%; background: #E5484D;
  border: 3px solid rgba(255,255,255,0.85);
}
.s-camtools {
  position: absolute; right: 9px; top: 26px;
  display: flex; flex-direction: column; gap: 9px; align-items: center;
  color: #fff; font-size: 6.5px; text-align: center;
}
.s-camtools span { display: block; }
.s-camtools .cb { width: 17px; height: 17px; border-radius: 50%; background: rgba(255,255,255,0.22); margin: 0 auto 2px; }

.s-side {
  position: absolute; right: 9px; bottom: 58px;
  display: flex; flex-direction: column; gap: 11px; align-items: center;
  color: #fff; font-size: 7px; z-index: 2; text-align: center;
}
.s-side .cb { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.2); margin: 0 auto 2px; }
.s-overlay {
  position: absolute; left: 12px; right: 56px; bottom: 56px; z-index: 2; color: #fff;
}
.s-overlay .big { font-size: 12px; font-weight: 700; line-height: 1.15; margin-bottom: 5px; }

.s-price { font-weight: 700; font-size: 10px; }
.s-strike { color: #868C95; text-decoration: line-through; font-size: 7.5px; }
.s-track { display: flex; flex-direction: column; gap: 0; }
.s-track .st { display: flex; gap: 7px; align-items: flex-start; padding-bottom: 8px; position: relative; }
.s-track .st::before {
  content: ""; position: absolute; left: 4px; top: 11px; bottom: 0; width: 1px; background: #E3E6EA;
}
.s-track .st:last-child::before { display: none; }
.s-track .dot { width: 9px; height: 9px; border-radius: 50%; background: #E3E6EA; flex: 0 0 auto; margin-top: 2px; z-index: 1; }
.s-track .dot.done { background: #2E9166; }
.s-track .dot.now { background: #2F6FD0; }

.s-ok {
  width: 34px; height: 34px; border-radius: 50%; background: #2E9166;
  display: flex; align-items: center; justify-content: center; margin: 8px auto 7px;
  color: #fff; font-size: 15px;
}

/* ---------- Responsive for the boards ---------- */
@media (max-width: 820px) {
  
  .exp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-board {
    margin-inline: calc(-1 * clamp(1.25rem, 5vw, 2.5rem));
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  }
  .section-marker { position: static; border-radius: 0; border: 0; padding: 0 0 1rem; background: transparent; display: block; }
  .section-marker::before { display: none; }
}
@media (max-width: 520px) {
  .exp-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER ILLUSTRATION
   ============================================================ */
.site-footer { position: relative; overflow: hidden; padding-bottom: 0; }
.site-footer > .wrap { position: relative; z-index: 2; }
.footer-art {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  margin-top: -3.5rem;
  pointer-events: none;
}
.footer-art .ln { fill: none; stroke: #FFFFFF; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.footer-art .ln-soft { stroke-opacity: 0.28; }
.footer-art .ln-mid { stroke-opacity: 0.5; }
.footer-art .ln-strong { stroke-opacity: 0.85; }
.footer-art .nd { stroke: #FFFFFF; stroke-width: 1; fill: #0B0B0B; }
.footer-art text {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  fill: #FFFFFF;
  fill-opacity: 0.75;
  text-anchor: middle;
}
.footer-bottom { position: relative; z-index: 2; }

/* ============================================================
   ILLUSTRATED IMAGERY FOR THE PHONE VISUALISATIONS
   Scenes are drawn in CSS. No photographs are loaded.
   ============================================================ */
.im { position: relative; overflow: hidden; border-radius: 7px; background: #D9E0E8; display: block; }
.im > i, .im > b { position: absolute; display: block; }

/* Sunrise peaks */
.im-peak { background: linear-gradient(180deg,#F9C79E,#F8DFC6 40%,#DCE6EE 100%); }
.im-peak > i { width: 22%; aspect-ratio: 1; border-radius: 50%; background: #FFEBCB; left: 60%; top: 12%; }
.im-peak > b { left: 0; right: 0; bottom: 0; height: 66%;
  background: linear-gradient(180deg,#66758A,#2C343E);
  clip-path: polygon(0 100%,0 58%,16% 24%,32% 54%,50% 10%,70% 48%,85% 28%,100% 60%,100% 100%); }

/* Dusk peaks, pastel */
.im-dusk { background: linear-gradient(180deg,#E7D2F0,#F7D8DE 45%,#CFD9EE 100%); }
.im-dusk > i { width: 20%; aspect-ratio: 1; border-radius: 50%; background: #FFF1F6; left: 16%; top: 16%; }
.im-dusk > b { left: 0; right: 0; bottom: 0; height: 54%;
  background: linear-gradient(180deg,#A192C8,#5C5380);
  clip-path: polygon(0 100%,0 62%,22% 22%,44% 60%,62% 24%,84% 56%,100% 34%,100% 100%); }

/* Coastal sunset */
.im-coast { background: linear-gradient(180deg,#F7B98B,#FBDABE 38%,#84A9C6 39%,#3F627D 100%); }
.im-coast > i { width: 17%; aspect-ratio: 1; border-radius: 50%; background: #FFF1D8; left: 58%; top: 19%; }
.im-coast > b { left: 0; bottom: 0; width: 48%; height: 54%; background: #2B3944;
  clip-path: polygon(0 100%,0 34%,30% 6%,64% 42%,100% 100%); }

/* City at dusk */
.im-city { background: linear-gradient(180deg,#2C3D56,#4E6684 52%,#F0A87A 100%); }
.im-city > i { left: 0; right: 0; bottom: 0; height: 64%; background: #1A2634;
  clip-path: polygon(0 100%,0 55%,8% 55%,8% 28%,18% 28%,18% 62%,28% 62%,28% 16%,38% 16%,38% 48%,50% 48%,50% 24%,60% 24%,60% 58%,72% 58%,72% 32%,84% 32%,84% 50%,92% 50%,92% 20%,100% 20%,100% 100%); }

/* Palm coast */
.im-palm { background: linear-gradient(180deg,#F6A96F,#FBD6A8 52%,#A96F45 100%); }
.im-palm > i { width: 24%; aspect-ratio: 1; border-radius: 50%; background: #FFE6B8; left: 38%; top: 22%; }
.im-palm > b { left: 0; right: 0; bottom: 0; height: 26%; background: #4E3423; }

/* Greenery */
.im-leaf { background: radial-gradient(120% 90% at 30% 18%,#84C494,#2F6B45 68%,#1E4A31); }
.im-leaf > i { width: 58%; height: 72%; left: 21%; top: 12%; border-radius: 62% 8% 62% 8%; background: rgba(255,255,255,0.16); }

/* Portrait, light */
.im-portrait { background: linear-gradient(180deg,#E9DED5,#C9B7A8); }
.im-portrait > i { width: 32%; aspect-ratio: 1; border-radius: 50%; background: #8C6C56; left: 34%; top: 16%; }
.im-portrait > b { left: 20%; right: 20%; bottom: 0; height: 46%; border-radius: 42% 42% 0 0; background: #43515F; }

/* Portrait, dark */
.im-portrait-dark { background: linear-gradient(180deg,#2C333B,#12161B); }
.im-portrait-dark > i { width: 32%; aspect-ratio: 1; border-radius: 50%; background: #6C7480; left: 34%; top: 16%; }
.im-portrait-dark > b { left: 20%; right: 20%; bottom: 0; height: 46%; border-radius: 42% 42% 0 0; background: #1C222A; }

/* Glass architecture */
.im-glass { background: linear-gradient(135deg,#C3D6E8,#7E9AB8); }
.im-glass > i { inset: 0; background: repeating-linear-gradient(118deg,rgba(255,255,255,0.34) 0 5%,transparent 5% 12%); }
.im-glass > b { left: 6%; top: 10%; width: 42%; height: 84%; background: rgba(28,48,68,0.32); }

/* Tech product */
.im-tech { background: linear-gradient(180deg,#F3F5F8,#DCE1E7); }
.im-tech > i { left: 16%; right: 16%; top: 26%; height: 40%; border-radius: 3px 3px 0 0; background: linear-gradient(180deg,#5C646E,#383E46); }
.im-tech > b { left: 9%; right: 9%; top: 66%; height: 8%; border-radius: 0 0 4px 4px; background: #99A2AC; }

/* Book */
.im-book { background: linear-gradient(180deg,#2B2B2E,#101012); }
.im-book > i { left: 22%; right: 22%; top: 20%; height: 60%; background: #191A1D; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); }
.im-book > b { left: 30%; right: 30%; top: 40%; height: 7%; background: rgba(255,255,255,0.78); }

/* Microphone */
.im-mic { background: radial-gradient(90% 80% at 50% 18%,#4E5762,#171B20); }
.im-mic > i { width: 22%; height: 42%; left: 39%; top: 16%; border-radius: 999px; background: #BAC2CC; }
.im-mic > b { left: 45%; right: 45%; top: 58%; height: 28%; background: #89919B; }

/* Headphones */
.im-head { background: radial-gradient(90% 80% at 50% 22%,#404853,#14181D); }
.im-head > i { left: 24%; right: 24%; top: 20%; height: 38%; border: 3px solid #C4CBD3; border-bottom: 0; border-radius: 999px 999px 0 0; }
.im-head > b { left: 22%; right: 22%; top: 52%; height: 26%; border-radius: 4px;
  background: linear-gradient(90deg,#C4CBD3 0 22%,transparent 22% 78%,#C4CBD3 78% 100%); }

/* Moon */
.im-moon { background: radial-gradient(120% 100% at 70% 26%,#3A414A,#0B0D10); }
.im-moon > i { width: 54%; aspect-ratio: 1; border-radius: 50%; left: 23%; top: 15%;
  background: radial-gradient(70% 70% at 34% 32%,#DBE0E6,#79818A); }

/* Meditation */
.im-medit { background: linear-gradient(180deg,#93BACB,#2E4A5C); }
.im-medit > i { width: 19%; aspect-ratio: 1; border-radius: 50%; left: 40.5%; top: 22%; background: #16242E; }
.im-medit > b { left: 26%; right: 26%; top: 44%; height: 36%; border-radius: 52% 52% 18% 18%; background: #16242E; }

/* Coffee */
.im-coffee { background: linear-gradient(180deg,#F0E8DF,#D6C8BA); }
.im-coffee > i { width: 46%; aspect-ratio: 1; border-radius: 50%; left: 27%; top: 22%; background: #FFF; box-shadow: inset 0 0 0 2px #C9BCAE; }
.im-coffee > b { width: 26%; aspect-ratio: 1; border-radius: 50%; left: 37%; top: 32%; background: #4A3527; }

/* Plant */
.im-plant { background: linear-gradient(180deg,#F5F2ED,#E1DBD1); }
.im-plant > i { left: 37%; right: 37%; bottom: 10%; height: 28%; border-radius: 0 0 40% 40%; background: #C9A98A; }
.im-plant > b { left: 25%; right: 25%; top: 14%; height: 54%; border-radius: 52% 52% 28% 28%; background: #5E8F62; }

/* Backpack */
.im-pack { background: linear-gradient(180deg,#F1F1F3,#DDDEE2); }
.im-pack > i { left: 29%; right: 29%; top: 26%; bottom: 12%; border-radius: 9px; background: #3B424A; }
.im-pack > b { left: 40%; right: 40%; top: 15%; height: 16%; border: 2px solid #3B424A; border-bottom: 0; border-radius: 999px 999px 0 0; }

/* Mug */
.im-mug { background: linear-gradient(180deg,#F3EFE9,#DFD8CE); }
.im-mug > i { left: 31%; right: 37%; top: 32%; bottom: 22%; border-radius: 3px 3px 8px 8px; background: #B6AEA3; }
.im-mug > b { right: 25%; top: 42%; width: 12%; height: 24%; border: 2px solid #B6AEA3; border-left: 0; border-radius: 0 999px 999px 0; }

/* Team */
.im-team { background: linear-gradient(180deg,#EAE4DD,#C6BCB1); }
.im-team > i { left: 12%; top: 32%; width: 22%; height: 48%; border-radius: 42% 42% 0 0; background: #58626E; }
.im-team > b { left: 42%; right: 12%; top: 26%; bottom: 0; border-radius: 34% 34% 0 0; background: #7A8492; }

/* Map */
.im-map { background: #EDF1F4; }
.im-map > i { inset: 0; background:
  repeating-linear-gradient(45deg,#DFE6EC 0 6px,transparent 6px 20px),
  repeating-linear-gradient(-45deg,#DFE6EC 0 6px,transparent 6px 24px); }
.im-map > b { left: 12%; right: 18%; top: 54%; height: 2.5px; border-radius: 2px; background: #2F6FD0; }

/* Road */
.im-road { background: linear-gradient(180deg,#CBD6DF,#7D8B98); }
.im-road > i { left: 0; right: 0; bottom: 0; height: 72%;
  background: linear-gradient(180deg,#9AA6B2,#48535F);
  clip-path: polygon(39% 0,61% 0,100% 100%,0 100%); }

/* Desk */
.im-desk { background: linear-gradient(180deg,#EFEAE4,#D6CEC4); }
.im-desk > i { left: 17%; right: 24%; top: 28%; height: 38%; border-radius: 2px; background: #41474F; }
.im-desk > b { right: 8%; top: 50%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: #F6F3EF; box-shadow: inset 0 0 0 2px #C4BCB2; }

/* Paper and pencil */
.im-paper { background: linear-gradient(180deg,#F6F2EA,#E4DDD1); }
.im-paper > i { left: 15%; right: 15%; top: 22%; height: 56%; background: #FFF; box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.im-paper > b { left: 24%; width: 52%; top: 42%; height: 1.5px; background: #C9C1B4;
  box-shadow: 0 7px 0 #C9C1B4, 0 14px 0 #C9C1B4; }

/* Speech bubbles */
.im-bubble { background: linear-gradient(180deg,#EEF0F3,#D8DCE3); }
.im-bubble > i { left: 13%; top: 22%; width: 46%; height: 32%; border-radius: 8px; background: #FFF; }
.im-bubble > b { right: 13%; top: 46%; width: 42%; height: 30%; border-radius: 8px; background: #2F6FD0; }

/* Shopping */
.im-shop { background: linear-gradient(180deg,#F0EDE9,#DAD4CD); }
.im-shop > i { left: 29%; right: 29%; top: 32%; bottom: 14%; border-radius: 3px; background: #8C8177; }
.im-shop > b { left: 40%; right: 40%; top: 21%; height: 14%; border: 2px solid #8C8177; border-bottom: 0; border-radius: 999px 999px 0 0; }

/* Skater */
.im-skate { background: linear-gradient(180deg,#CFDCE6,#8FA0AF); }
.im-skate > i { width: 16%; aspect-ratio: 1; border-radius: 50%; left: 42%; top: 20%; background: #2E3740; }
.im-skate > b { left: 26%; right: 26%; bottom: 20%; height: 5%; border-radius: 3px; background: #2E3740; }

/* ---------- Photo helpers ---------- */
.s-img.im, .s-ph.im, .s-tile .im { border-radius: 7px; }
.s-ph { aspect-ratio: 1/1; }

.s-tile.img { background: none; padding: 0; overflow: hidden; position: relative; }
.s-tile.img > .im { position: absolute; inset: 0; border-radius: 0; }
.s-tile.img .cap {
  position: relative; z-index: 2; width: 100%;
  padding: 14px 8px 7px;
  background: linear-gradient(180deg,rgba(10,12,15,0),rgba(10,12,15,0.68));
}
.s-tile.img .cap b { color: #fff; display: block; }
.s-tile.img .cap em { color: rgba(255,255,255,0.82); font-style: normal; font-size: 7px; }

.s-card-img { position: relative; border-radius: 8px; overflow: hidden; margin-top: 6px; display: flex; align-items: stretch; }
.s-card-img > .im { position: absolute; inset: 0; border-radius: 0; }
.s-card-img .t {
  position: relative; z-index: 2; padding: 9px 10px;
  font-size: 9.5px; font-weight: 700; line-height: 1.22; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  width: 100%;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(90deg,
    rgba(8,11,16,0.66) 0%, rgba(8,11,16,0.42) 55%, rgba(8,11,16,0.06) 100%);
}
.s-card-img .t em { display: block; font-style: normal; font-weight: 500; font-size: 7.5px; opacity: 0.9; margin-top: 2px; }

/* ---------- Avatars with a face ---------- */
.s-av { position: relative; overflow: hidden; background: linear-gradient(160deg,#E9DED5,#C2AF9F); }
.s-av::before { content: ""; position: absolute; left: 27%; top: 15%; width: 46%; height: 46%; border-radius: 50%; background: rgba(20,26,34,0.32); }
.s-av::after  { content: ""; position: absolute; left: 13%; right: 13%; bottom: -8%; height: 46%; border-radius: 50% 50% 0 0; background: rgba(20,26,34,0.32); }
.s-av.a1 { background: linear-gradient(160deg,#EFDCCA,#CAA98A); }
.s-av.a2 { background: linear-gradient(160deg,#DAE3ED,#9DB0C4); }
.s-av.a3 { background: linear-gradient(160deg,#EBDDE7,#BFA6BC); }
.s-av.a4 { background: linear-gradient(160deg,#DFE9DD,#A3BCA6); }
.s-av.a5 { background: linear-gradient(160deg,#F1E3D4,#D6B191); }
.s-av.a6 { background: linear-gradient(160deg,#DDDEE7,#ABAEC2); }
.s-av.sq { border-radius: 4px; }
.s-av.sq::before, .s-av.sq::after { display: none; }
.s-av.sq { background: linear-gradient(150deg,#D5DAE2,#AEB6C1); }

.s-avwrap { position: relative; display: inline-flex; flex: 0 0 auto; }
.s-online { position: absolute; right: -1px; bottom: -1px; width: 6px; height: 6px; border-radius: 50%; background: #2E9166; box-shadow: 0 0 0 1.2px #fff; }
.s-unread { background: #2F6FD0; color: #fff; border-radius: 999px; min-width: 11px; height: 11px; padding: 0 3px; font-size: 6.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.s-badge { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #2F6FD0; color: #fff; font-size: 6.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1.2px #fff; z-index: 2; }
.s-badge.hollow { background: rgba(255,255,255,0.35); box-shadow: inset 0 0 0 1.2px #fff; }
.s-verify { display: inline-flex; width: 8px; height: 8px; border-radius: 50%; background: #2F6FD0; color: #fff; align-items: center; justify-content: center; font-size: 5.5px; margin-left: 2px; vertical-align: middle; }
.s-sel { position: relative; }
.s-x { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: #101418; color: #fff; font-size: 7px; line-height: 10px; text-align: center; }


/* ============================================================
   MOBILE CORRECTIONS
   ============================================================ */
@media (max-width: 1000px) {
  /* 1. The constellation was forcing its own intrinsic width and
        overflowing the column. Contain it and centre it. */
  .hero-grid > * { min-width: 0; }
  .hero-visual {
    width: 100%;
    max-width: min(100%, 420px);
    margin-inline: auto;
  }
  .constellation { width: 100%; max-width: 100%; display: block; margin-inline: auto; }
}

@media (max-width: 820px) {
  /* 3. Section markers sit outside .wrap, so they need their own
        horizontal padding once they stop being absolutely positioned. */
  .section-marker {
    padding: 0 clamp(1.25rem, 5vw, 2.5rem) 1.1rem;
    width: 100%;
  }

  /* 3. Headlines centred on mobile, with room to breathe. */
  .section-head { text-align: center; }
  .section-head h2 { max-width: 100%; margin-inline: auto; }
  /* Headlines centre; running copy stays left so it remains easy to read. */
  .section-head .lede { text-align: left; margin-inline: auto; }
  .section-marker { text-align: center; }
  .hero-pill-row { margin-bottom: 1.75rem; }

  /* 2. Primary actions stack, one above the other. */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* 2. The expression rail scrolls cleanly through to Market. */
  .rail {
    scroll-padding-inline: clamp(1.25rem, 5vw, 2.5rem);
    padding-right: 2.75rem;
  }
  .modes-rail { padding-block: 0.25rem 0; }

  /* 4. Breathing room around the app visualisations and their copy. */
  .exp-surface { padding: 1.1rem 0.9rem 1.35rem; }
  .pv-board {
    margin-inline: 0;
    padding-inline: 0;
    padding-right: 1.25rem;
    gap: 1.25rem;
  }
  .pv-step { flex-basis: 236px; }
  .pv-caption { padding-right: 0.5rem; }
  .pv-disclaimer { padding-right: 0.5rem; }

  /* 5. The footer illustration no longer runs under the contact line. */
  .footer-art { margin-top: 1.25rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }
}


/* ---------- Working MVP callout · added with /investor-mvp/ ---------- */
.mvp-callout {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.mvp-callout h3 { font-size: var(--fs-xl); margin-bottom: 0.5rem; }
.mvp-callout p { color: var(--ink-60); max-width: 60ch; }
.mvp-callout .btn { flex: 0 0 auto; }
@media (max-width: 760px) {
  .mvp-callout { flex-direction: column; align-items: flex-start; }
  .mvp-callout .btn { width: 100%; justify-content: center; }
}


/* Nav gained a Demo link; keep every label on one line and tighten the gap
   so the header still sits on a single row. */
.site-nav { gap: clamp(0.85rem, 1.9vw, 1.6rem); }
.site-nav a { white-space: nowrap; }


/* The wordmark is replaced by the P mark everywhere. The mark is square, so it
   needs its own height rather than inheriting the wordmark's. */
.brand-lockup .brand-mark { height: 34px; width: auto; display: block; }
.site-footer .brand-mark { height: 38px; width: auto; display: block; }
@media (max-width: 760px) { .brand-lockup .brand-mark { height: 30px; } }
