/* Extra styles for the plain-HTML build — behaviors that were inline/React state
   in the original V6 app. The bulk of the styling lives in tw.css (compiled). */

/* Atmospheric background — navy corner glows + fine film-grain overlay, restored
   from the V4 design pass. Sits behind all content (z-index -1, fixed,
   pointer-events none). Uses the site's own --blue-deep var so it stays on
   the locked navy-glow spec. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 6% -4%, rgba(63, 108, 192, 0.18), transparent 60%),
    radial-gradient(ellipse 800px 650px at 96% 104%, rgba(63, 108, 192, 0.13), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Section glows — the V4 navy set, so the light carries down the page instead of
   living only in the two viewport corners. The sections are capped at max-w-6xl,
   so each glow is widened to the full viewport and centred on its section. Same
   z-index -1 layer as the corner glows, still under the film grain. */
.section-glow {
  position: relative;
}
.section-glow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
  pointer-events: none;
}
#regulation.section-glow::before {
  background: radial-gradient(ellipse 45% 60% at 100% 45%, rgba(40, 70, 160, 0.16), transparent 65%);
}
#platform.section-glow::before {
  background: radial-gradient(ellipse 65% 35% at 50% 0%, rgba(40, 70, 160, 0.18), transparent 70%);
}
#use-cases.section-glow::before {
  background:
    radial-gradient(ellipse 55% 45% at 88% 18%, rgba(40, 70, 160, 0.22), transparent 65%),
    radial-gradient(ellipse 50% 40% at 12% 82%, rgba(40, 70, 160, 0.16), transparent 65%);
}
#contact.section-glow::before {
  background: radial-gradient(ellipse 30% 55% at 68% 50%, rgba(40, 70, 160, 0.28), transparent 55%);
}

/* Progressive blur pinned to the bottom of the viewport (markup at the end of
   index.html, layout and masks in tw.css). The compiled tw.css kept only
   -webkit-backdrop-filter, which Chrome, Edge and Firefox ignore, so the blur
   showed in Safari alone. The standard property brings it back everywhere else. */
.bottom-blur > div:nth-child(1) { backdrop-filter: blur(1px); }
.bottom-blur > div:nth-child(2) { backdrop-filter: blur(2.5px); }
.bottom-blur > div:nth-child(3) { backdrop-filter: blur(4px); }
.bottom-blur > div:nth-child(4) { backdrop-filter: blur(7px); }

/* Keyboard focus ring. The browser default here computes to rgb(16,16,16) against
   a near-black page, roughly 1.1:1 — the ring was being drawn and could not be
   seen, so a keyboard user had no position indicator anywhere on the site.
   :focus-visible rather than :focus, so it shows for keyboard navigation and
   never on a mouse click; deleting rings to avoid that click behaviour is what
   breaks keyboard access on most sites. Accent orange measures 7.49:1 on black
   and 6.52:1 over the corner glows, against the 3:1 WCAG 2.4.11 asks of a focus
   indicator. :where() holds specificity at zero so any component can override. */
:where(a, button, summary, input, textarea, select, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
/* These two sit dimmed until hover. Bring a focused one up the same way, so
   position is marked by more than the ring alone. */
.partner-tile:focus-visible {
  opacity: 1;
}
.team-li:focus-visible {
  color: var(--text);
}

/* Sticky nav: transparent at top, frosted once scrolled (toggled by app.js). */
#site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(13, 15, 22, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* Nav links */
.nav-link {
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--text);
}

/* Mobile menu overlay: hidden by default, shown via .open; never on desktop. */
#mobile-menu {
  display: none;
}
#mobile-menu.open {
  display: block;
}
@media (min-width: 1024px) {
  #mobile-menu,
  #mobile-menu.open {
    display: none !important;
  }
}
body.menu-open {
  overflow: hidden;
}

/* Hamburger -> X when open */
.menu-btn span {
  transform-origin: center;
}
.menu-btn.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.menu-btn.open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Team LinkedIn icon hover */
.team-li {
  color: rgba(241, 245, 249, 0.35);
  transition: color 0.15s ease;
}
.team-li:hover {
  color: var(--text);
}

/* Footer links */
.footer-link {
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-link:hover {
  color: #ffffff;
}

/* The Missing Layer: one grid for the whole section, so the research card sits
   beside the headline instead of under it. The left column carries eyebrow,
   headline, rule and prose; the card starts level with "The Missing Layer" and
   both columns run to about the same depth. Columns live here rather than in
   Tailwind utilities because the card needs two steps: at md an even split keeps
   it wide enough to hold a paper title, and only at lg is there room to give the
   headline the larger share. align-self keeps the card at its natural height
   instead of stretching to the row, and centres it against that column. Below md
   the grid collapses and the card stacks under the prose. */
.missing-layer-grid {
  display: grid;
  gap: 40px;
}
@media (width >= 48rem) {
  .missing-layer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  /* Sticky only in this band. Here the columns are even, so the prose runs
     ~200px taller than the card and there is real travel to hold through while
     the rest of the section scrolls past. Same pattern and offset as
     .lifecycle-terminal. */
  .research-col {
    align-self: start;
    position: sticky;
    top: 96px;
  }
}
/* 5/3, not 3/2: "Connect the governance" sets at 530px once the clamp reaches
   48px, and a 3fr column is a pixel under that at 1024, which drops the headline
   to three lines. The wider share keeps it on the two the <br/> intends while
   still leaving the card room for a paper title. */
@media (width >= 64rem) {
  .missing-layer-grid {
    grid-template-columns: 5fr 3fr;
  }
  /* Static from here up. The wider headline column is barely taller than the
     card, so sticky has almost nothing to travel through and the whole section
     fits on screen anyway: pinning it here only drags the card down away from
     the headline it belongs beside. Centre it and leave it still. */
  .research-col {
    position: static;
    align-self: center;
  }
}

/* Research card paper links. Two stacked btn-outline buttons would out-weigh
   the prose column beside the card, so each paper gets a text link instead. */
.paper-link {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.15s ease;
}
.paper-link:hover {
  color: #fdba74;
}
.paper-link-arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}
.paper-link:hover .paper-link-arrow {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .paper-link,
  .paper-link-arrow {
    transition: none;
  }
  .paper-link:hover .paper-link-arrow {
    transform: none;
  }
}

/* Evaluate Certen row: equal flanking columns keep "Research" (and the dots)
   symmetric around the true center, so the line reads centered against the
   label above it. A plain centered flex row shifts the middle item right
   because "Whitepaper" is wider than "GitHub". */
.evaluate-links {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  column-gap: 18px;
}
.evaluate-links a:first-child {
  justify-self: end;
}
.evaluate-links a:last-child {
  justify-self: start;
}
@media (max-width: 767px) {
  .team-li,
  .evaluate-links .footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .team-li {
    margin: -8px -8px -8px 0;
  }
}
@media (max-width: 360px) {
  .evaluate-links {
    column-gap: 10px;
  }
  #team .v6-card {
    padding-inline: 16px;
  }
}

/* Partner logo row (social proof under the hero).
   All marks are forced to one monochrome near-white so mixed brand assets
   read as a single curated set; dimmed by default, full strength on hover. */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 64px;
  row-gap: 28px;
}
.partner-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.partner-tile:hover {
  opacity: 1;
}
/* Logo sizing follows the standard logo-box method: every mark is scaled inside
   one shared box with object-fit: contain, so whichever dimension binds first
   wins. A wide wordmark hits the width cap, a compact mark hits the height.
   Equal envelope is not equal perceived mass, though, so each logo also carries
   an optical multiplier off its measured ink area (visible pixels, CSS px^2, at
   render size):
     Groom Lake   173   outline mark        baseline, scale 1
     Stabilytics  164   outline mark        baseline, scale 1
     Arkova       522   solid mark          1.07
     eternaX      456   compact bold word   1.04
     Accumulate  1142   wide light word     0.67
   Accumulate is the one that genuinely needed holding back: at parity it ran
   nearly 7x the ink of the outline marks and pulled the eye first. The other two
   were damped further on a first pass (0.89 and 0.93, straight off the ink
   ratios) and read as undersized in review, so they sit slightly above parity
   instead. Ink is the diagnostic here, not the rule: it tells you which logo is
   shouting, and the eye settles the rest. Verified side by side at 1280 before
   landing. Add a new partner by picking the closest class below, then check it
   against the row rather than trusting its own file dimensions. */
.partner-tile img {
  --logo-scale: 1;
  height: calc(27px * var(--logo-scale));
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: brightness(0) invert(0.95);
}
/* Wide, light wordmark carrying the company name inside the image. */
.partner-tile img.partner-logo-wordmark {
  --logo-scale: 0.67;
}
/* Compact, heavier wordmark: less width to spend, so it needs holding back. */
.partner-tile img.partner-logo-compact {
  --logo-scale: 1.04;
}
/* Solid filled mark. Reads heavier than an outline mark at the same height. */
.partner-tile img.partner-logo-solid {
  --logo-scale: 1.07;
}
/* Mobile: flex-wrap breaks the tiles into a ragged stack, so pin them to a
   centered two-column grid instead. With five tiles the odd one out would sit in
   column one and read as a mistake, so the fifth spans the full width and centres
   under the block. */
@media (max-width: 767px) {
  .partner-row {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    justify-items: center;
    align-items: center;
    column-gap: 40px;
    row-gap: 30px;
  }
  .partner-row .partner-tile:nth-child(5) {
    grid-column: 1 / -1;
  }
}
/* The logos are normalised by height, not width, so they range from 71px
   (eternaX) to 168px (the Accumulate wordmark). Auto columns size to their own
   content, which made column one 168px and column two 132px: the two rows did
   not line up and eternaX drifted inside an oversized cell. Equal columns fix
   the alignment, and the cap stops them spreading apart on a wider tablet.
   Only above 480px, where a 168px logo still fits an equal column; below that
   the columns would have to crush the wordmark, so auto sizing stays. */
@media (min-width: 481px) and (max-width: 767px) {
  .partner-row {
    grid-template-columns: repeat(2, minmax(min-content, 1fr));
    max-width: 460px;
    margin-inline: auto;
  }
}
/* Five tiles total roughly 654px. With the default 64px gaps that is 910px, which
   clears the 976px of content at 1024 but not the 852px at 900, so the row has to
   wrap somewhere below 1024. Narrowing the gap to 40px keeps all five on one line
   down to about 900 and lets it break to a centered 3+2 below that, which reads as
   deliberate. (Replaces the old four-tile knife-edge rule: four tiles were 513px
   plus three 64px gaps = exactly the 705px available at 768.) */
@media (min-width: 840px) and (max-width: 1023px) {
  .partner-row {
    column-gap: 40px;
  }
}
/* Below about 840 the five tiles (598px measured after optical balancing) plus four 40px gaps no longer
   clear the available width, and plain wrapping strands Arkova alone on a second
   line. Capping the row just under the width of four tiles forces a balanced 3+2
   instead, both rows centred. */
@media (min-width: 768px) and (max-width: 839px) {
  .partner-row {
    column-gap: 40px;
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 400px) {
  .partner-row {
    column-gap: 20px;
  }
}
/* Seven tiles (BizFirst AI and Genialt.ai added, founder 2026-09-15). Seven marks on
   one line is a strip; a centred 4 + 3 reads as a block. An eight-column grid with
   every tile spanning two columns lets the second row start one column in, so its
   three tiles sit centred under the four above. Scoped to .seven so the five-tile
   row keeps its own rules until this lands. */
@media (min-width: 768px) {
  .partner-row.seven {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    justify-content: center;
    justify-items: center;
    align-items: center;
    column-gap: 0;
    row-gap: 32px;
    max-width: 760px;
    margin-inline: auto;
  }
  .partner-row.seven .partner-tile {
    grid-column: span 2;
  }
  .partner-row.seven .partner-tile:nth-child(5) {
    grid-column: 2 / span 2;
  }
}
/* Mobile: two columns, so the seventh tile is the odd one out and spans the row
   (the five-tile rule spans the fifth; undo that here). */
@media (max-width: 767px) {
  .partner-row.seven .partner-tile:nth-child(5) {
    grid-column: auto;
  }
  .partner-row.seven .partner-tile:nth-child(7) {
    grid-column: 1 / -1;
  }
}
/* Tall, thin outline mark (the Genialt bulb): at the shared 27px height it is only
   15px wide, so it gets more height to hold parity with the other outline marks. */
.partner-tile img.partner-logo-tall {
  --logo-scale: 1.3;
}

/* Capabilities header: heading keeps its original width; the right-hand subhead
   gets just enough room to stay on one line, wrapping (at the comma) only when
   the viewport is too narrow to fit it. */
@media (min-width: 768px) {
  .cap-header-grid {
    grid-template-columns: 11fr 8fr;
  }
}
.partner-name-band {
  color: rgba(241, 245, 249, 0.95);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Matrix cell hover (was a JS onMouseEnter in React) */
.matrix-cell {
  transition: background-color 0.3s ease;
}
.matrix-cell:hover {
  background: rgba(20, 24, 38, 0.95) !important;
}

/* Mobile section spacing: the compiled tw.css is missing the BASE (mobile)
   padding utilities these sections use (py-20, py-16, pb-20, pt-14) — only the
   md: variants made it into the build, so below 768px sections had zero
   vertical padding and sat on top of each other. Restore the intended values. */
@media (max-width: 767px) {
  #platform,
  #architecture,
  #use-cases,
  #capabilities,
  #works-with,
  #team {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  #missing-layer {
    padding-bottom: 80px;
  }
  #partners {
    padding-top: 56px;
  }
  #pivot {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  /* The full-viewport hero strands a two-line headline in the middle of the
     screen on phones; size it to content instead. Top padding clears the
     fixed 68px header. */
  #top {
    min-height: 0;
    padding-top: 128px;
    padding-bottom: 88px;
  }
}

/* Hero ribbon artwork. Height and vertical anchor live here, not inline, so the
   phone override below can reach them. Desktop values are unchanged. */
.hero-ribbon {
  height: 420px;
  top: 50%;
}
/* The hero clips its overflow, and on a phone it is only ~483px tall against a
   420px ribbon that is also rotated 12 degrees: rotation swings the corners out,
   so the artwork's real vertical extent is about 524px and its top lands near
   y = -20. Clipped at the section edge, that fills the strip behind the fixed
   header and the animation appears to run to the very top of the page. Desktop
   never shows this because a 900px hero leaves the artwork starting near 190px.
   Shrink it and drop its anchor so a band of clear space stays under the nav. */
@media (max-width: 767px) {
  .hero-ribbon {
    height: 190px;
    /* The artwork is 140vw wide, so rotating it 12 degrees swings its corners
       down by width x sin(12), which grows with the viewport: ~113px at 390px
       wide but ~223px at 767px. A percentage anchor cannot absorb that, and the
       top edge slid back under the header at the wide end of this range. Track
       the swing instead: 15vw is half of 140vw x sin(12), and the constant
       covers half the artwork's own height plus clearance below the header. */
    top: calc(180px + 15vw);
  }
}

/* Hero headline size. Lives here rather than inline so a phone-width override
   can reach it. The desktop curve is unchanged. */
.hero-title {
  font-size: clamp(44px, 7.5vw, 92px);
}
/* Below ~520px the 7.5vw term is under the 44px floor, so the floor governs and
   the type stops shrinking while the column keeps narrowing. At 390px wide,
   "The Control Layer" needs 358px of a 327px column and "of Digital Finance"
   needs 353px, so BOTH halves of the deliberate two-line break wrapped again:
   four ragged lines with "Layer" and "Finance" orphaned. Let it keep scaling
   down here. 9.8vw is the widest coefficient that still fits the longer half at
   320px, and it meets the 44px floor right at the breakpoint, so the two curves
   join without a jump. */
@media (max-width: 520px) {
  .hero-title {
    font-size: clamp(30px, 9.8vw, 44px);
  }
}

/* Testnet status banner: sits just below the hero, pulled up into its empty
   bottom space. The pull-up scales with viewport height so the band floats
   clear of the fold edge on tall screens and never clips on short ones; on
   mobile it simply flows after the hero. */
.testnet-band {
  margin-top: clamp(-170px, calc(50px - 18vh), -64px);
  margin-bottom: 48px;
}
@media (max-width: 767px) {
  .testnet-band {
    margin-top: -16px;
    margin-bottom: 40px;
  }
}
.testnet-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  padding: 16px 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(13, 15, 22, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.testnet-banner-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  white-space: nowrap;
}
.testnet-banner-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.12);
}
.testnet-banner-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
}
.testnet-banner-stat {
  font-size: 13px;
  color: rgba(241, 245, 249, 0.6);
  white-space: nowrap;
}
.testnet-banner-stat strong {
  color: rgba(241, 245, 249, 0.92);
  font-weight: 600;
}
.testnet-banner-dot {
  color: rgba(63, 108, 192, 0.7);
}
.testnet-banner-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.testnet-banner-link:hover {
  color: #ffffff;
}
/* One spread row only when the whole banner fits; below that everything
   centers as stacked rows instead of stranding the link on the right. */
@media (min-width: 1024px) {
  .testnet-banner {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  /* Stats claim the space between label and link and center in it, so the
     row reads balanced instead of left-heavy with a stranded link. */
  .testnet-banner-stats {
    flex: 1;
    justify-content: center;
  }
  .testnet-banner-link {
    margin-left: auto;
  }
}
@media (max-width: 767px) {
  .testnet-banner-sep {
    display: none;
  }
  .testnet-banner,
  .testnet-banner-stats {
    justify-content: flex-start;
  }
}
/* Once the stats no longer fit on one line, stack them cleanly instead of
   letting the bullets strand at the end of a line. */
@media (max-width: 540px) {
  .testnet-banner-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .testnet-banner-dot {
    display: none;
  }
  /* Stacked, the banner is five lines in one box. The row gap between its three
     parts was 12px against a 6px gap inside the stats, too close to read as a
     grouping, so label / stats / action ran together as one loose list. Widen
     the gap between the groups and keep the one inside them tight.
     The banner itself has to stack here too. Once the stats run vertically, a
     wrapping row still fits the label beside them at ~430-540px, which left the
     label floating half-way down the box against a column of stats. */
  .testnet-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px 20px;
  }
}

/* How It Works — vertical 5-step lifecycle: numbered badges down a connecting
   rail, terminal example alongside on desktop. */
.lifecycle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.lifecycle-terminal pre {
  overflow-x: auto;
}
@media (min-width: 1024px) {
  .lifecycle-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 64px;
  }
}
.lifecycle-v {
  display: flex;
  flex-direction: column;
}
.lifecycle-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding-bottom: 36px;
}
.lifecycle-step:last-child {
  padding-bottom: 0;
}
.lifecycle-step::before {
  content: "";
  position: absolute;
  left: 21.5px;
  top: 48px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.35), rgba(63, 108, 192, 0.3));
}
.lifecycle-step:last-child::before {
  display: none;
}
.lifecycle-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: rgba(13, 15, 22, 0.8);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}
@media (min-width: 1024px) {
  .lifecycle-terminal {
    position: sticky;
    top: 96px;
  }
}
/* Steps alone (terminal example cut, founder 2026-09-15: the site is marketing):
   one centred column instead of the steps-plus-terminal pair. */
@media (min-width: 1024px) {
  .lifecycle-layout.single {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
  }
}

/* Team grid: center the last two cards on desktop only.
   Below md the grid is single-column, so these offsets must NOT apply
   (an unconditional grid-column-start forced horizontal overflow on mobile). */
@media (min-width: 768px) {
  .team-shift-3 {
    grid-column-start: 3;
  }
  .team-shift-7 {
    grid-column-start: 7;
  }
}

/* 2026-09-16 value pass: Roboto body / Geist titles, rotating partner band, team photos,
   testnet strip in Contact, enforcement-networks panel, orange reduction lived in the
   markup. Moved here from the preview build's inline style block. */
body { font-family: Roboto, -apple-system, BlinkMacSystemFont, sans-serif; }
.lifecycle-num { font-family: "Roboto Mono", monospace; }
/* 32. arrows between INTENT / AUTHORITY / EXECUTION (founder asked 9/16 late; his call keep or drop) */
.flow-col { gap: 0; }
.flow-connector { position: relative; width: 2px; height: 26px; margin: 0 auto; background: linear-gradient(rgba(249,115,22,0.15), rgba(249,115,22,0.7)); }
.flow-connector::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 8px; height: 8px; border-right: 2px solid rgba(249,115,22,0.8); border-bottom: 2px solid rgba(249,115,22,0.8); transform: translateX(-50%) rotate(45deg); }
/* founder 9/16: titles back to Geist, body stays Roboto */
h1, h2, .font-title { font-family: Geist, -apple-system, BlinkMacSystemFont, sans-serif; }
/* 17. enforcement section as one panel with dividers, not a second card grid */
.pen-panel { border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; background: linear-gradient(180deg, rgba(15,27,50,0.5), rgba(13,15,22,0.65)); }
.pen-items { display: grid; }
.pen-item { position: relative; padding: 30px 28px 32px; }
.pen-num { position: absolute; top: 22px; right: 24px; font-family: "Roboto Mono", monospace; font-size: 11px; letter-spacing: 1px; color: rgba(120,176,248,0.55); }
.pen-item + .pen-item { border-top: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 768px) { .pen-items { grid-template-columns: 1fr 1fr; } .pen-item + .pen-item { border-top: 0; } .pen-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.08); } .pen-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); } }
@media (min-width: 1024px) { .pen-items { grid-template-columns: repeat(4, 1fr); } .pen-item:nth-child(n+3) { border-top: 0; } .pen-item + .pen-item { border-left: 1px solid rgba(255,255,255,0.08); } }
/* 1. partner row takes the strip's old pull-up into the hero's bottom space */
.partners-after-hero { margin-top: clamp(-170px, calc(50px - 18vh), -64px); }
@media (max-width: 767px) { .partners-after-hero { margin-top: -16px; } }
/* 1. strip in Contact: centred, no link, sits under the buttons */
.testnet-banner.in-contact { display: inline-flex; max-width: 100%; justify-content: center; text-align: left; }
.testnet-banner.in-contact .testnet-banner-stats { flex: 0 1 auto; }
/* 7. rotating partner band (founder 2026-09-16): one continuous strip, two copies
   of the tile set so the loop is seamless, pauses on hover, static wrapped row
   for readers who ask for reduced motion */
.partner-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.partner-marquee-track { display: flex; width: max-content; animation: partner-scroll 52s linear infinite; }
.partner-set { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; }
.partner-marquee:hover .partner-marquee-track { animation-play-state: paused; }
@keyframes partner-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .partner-marquee { -webkit-mask-image: none; mask-image: none; }
  .partner-marquee-track { animation: none; width: auto; justify-content: center; }
  .partner-set { flex-wrap: wrap; justify-content: center; padding-right: 0; row-gap: 28px; column-gap: 48px; }
  .partner-set[aria-hidden="true"] { display: none; }
}
/* 8. team headshots (founder 2026-09-16): the deck's circular grayscale photos, ring baked in */
.team-photo { width: 56px; height: 56px; flex: none; border-radius: 999px; object-fit: cover; }
@media (max-width: 767px) { .team-photo { width: 52px; height: 52px; } }
/* 768-1023: three cards across, so the photo sits above the name block instead of beside it */
@media (min-width: 768px) and (max-width: 1023px) { .team-photo-row { flex-direction: column; gap: 12px; } .team-photo-row > .min-w-0 { width: 100%; } }
