/* site.css - SINGLE authoritative stylesheet for flopco.in.
   Consolidated 2026-07-12 from the old three-file stack (site.css base,
   comp.css components, /css/style.css scrollbar) into this one file, preserving
   the exact original cascade order:
     1) base layout + nav (was site.css)
     2) gold/dark comp component layer (was comp.css, loaded AFTER = it wins)
     3) themed scrollbar (was /css/style.css tail)
   Linked by absolute path from the cross-subdomain header.php (shared with the
   forum + dev portal), so it stays at /assets/site.css. All url() bases below are
   absolute (/fonts, /assets) so they resolve regardless of where this file lives.
   ASCII only, no em-dashes. */

/* ===================================================================
   1) BASE  (was /assets/site.css)
   =================================================================== */
@font-face{font-family:'Noto Color Emoji';src:url('/fonts/NotoColorEmoji.v2.woff2') format('woff2');font-display:swap;}
:root {
  --bg: #07111f;
  --panel: #0e1d32;
  --ink: #f8fbff;
  --muted: #aab9cf;
  --blue: #38a1ff;
  --green: #35e885;
  --line: rgba(255,255,255,.14);
  --shadow: 0 22px 70px rgba(0,0,0,.32);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Arial, sans-serif,"Noto Color Emoji"; color: var(--ink); background: radial-gradient(circle at top left, #173b6e, var(--bg) 38%, #030711 100%); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(5, 13, 25, .82); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-shell { max-width: none; width: 100%; margin: 0; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--blue)); color: #02101d; font-weight: 900; font-size: 24px; box-shadow: 0 12px 30px rgba(53,232,133,.2); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy small { color: var(--muted); font-size: 12px; }
.nav-menu { display: flex; align-items: center; gap: 5px; }
.nav-menu a, .dropdown-button, .nav-toggle { border: 1px solid transparent; background: transparent; color: var(--ink); padding: 8px 10px; border-radius: 12px; font: inherit; font-size: .93rem; cursor: pointer; }
.nav-menu a:hover, .dropdown-button:hover, .nav-toggle:hover { border-color: var(--line); background: rgba(255,255,255,.08); }
.nav-toggle { display: none; }
.dropdown { position: relative; }
.dropdown-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; background: #0b1728; border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); display: none; }
.dropdown-panel.open, .dropdown:hover .dropdown-panel { display: grid; }
/* Invisible bridge across the 10px gap so moving the mouse from the button to
   the panel does not drop :hover and collapse the menu. */
.dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
/* Collapse the (content-heavy) nav to the hamburger before it can overflow the
   viewport. Nav-only - does NOT touch the hero/cards layout (their breakpoints
   stay where they are). */
@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; left: 18px; right: 18px; top: 72px; padding: 12px; border-radius: 18px; background: #081525; border: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-menu.open { display: flex; }
  .dropdown-panel { position: static; margin-top: 6px; }
  .nav-mlsub { width: 100%; margin: 6px 0 0; }
  .nav-mlsub input[type=email] { flex: 1; width: auto; }
}
.hero { min-height: 86vh; display: grid; align-items: center; padding: 90px 22px 70px; }
.hero-grid, .section { max-width: 1180px; margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: center; }
.eyebrow { color: var(--green); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: 13px; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(42px, 7vw, 78px); letter-spacing: -0.05em; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: 22px; }
.lead, .wide-copy { color: var(--muted); font-size: 20px; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
/* Base .button. Explicit resting background + color and appearance:none so a bare
   <button class="button"> (Buy, explorer Back, "Add to MetaMask") never falls back
   to the native UA control - that native fallback is what flipped pure BLACK on
   hover in an OS dark-mode context and swallowed the label. .primary/.secondary
   (below, in the comp layer) still override these. transform-origin + transition
   give a smooth center scale on hover. */
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 14px; font-weight: 800; border: 1px solid var(--line); cursor: pointer; -webkit-appearance: none; appearance: none; background: rgba(255,255,255,.08); color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, filter .15s ease; transform-origin: center center; }
/* Hover keeps the resting colors and just scales from center. More specific
   .button.primary:hover (comp layer) still wins for primary, so primary keeps its
   own lift. */
.button:hover { transform: scale(1.03); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.hero-card, .info-card, .glass-box { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.045)); border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); }
.card-label { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.metric-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.section { padding: 86px 22px; }
.section-heading { max-width: 780px; margin-bottom: 28px; }
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card p, .section p, .timeline span, .roadmap-grid span { color: var(--muted); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.055); }
.dark { max-width: none; padding-left: calc((100vw - 1180px) / 2 + 22px); padding-right: calc((100vw - 1180px) / 2 + 22px); background: rgba(0,0,0,.25); border-block: 1px solid var(--line); }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.roadmap-grid div { padding: 22px; border-left: 4px solid var(--green); background: rgba(255,255,255,.06); border-radius: 18px; display: grid; gap: 8px; }
.cta { text-align: center; }
.site-footer { max-width: 1180px; margin: 0 auto; padding: 28px 22px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; left: 18px; right: 18px; top: 72px; padding: 12px; border-radius: 18px; background: #081525; border: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-menu.open { display: flex; }
  .dropdown-panel { position: static; margin-top: 6px; }
  .hero-grid, .split, .cards.three, .roadmap-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .timeline li { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 10px; }
}

/* ===================================================================
   2) COMP LAYER  (was /assets/comp.css) - loaded AFTER base, so it wins.
   Shifts FlopCoin toward the gold/dark "a coin with a purpose" comp.
   =================================================================== */
:root{
  --gold:#f4b53a; --gold2:#ffd97a; --gold-deep:#c9892a;
  --accent: var(--gold);
}

/* Comp backdrop: a 15px-wide vertical strip tiled across X (no Y repeat),
   fading into the solid dark base below its 1462px height. */
body{
  background:#05080f url('/assets/bkg.png?v=2') repeat-x top center;
}

/* ---- Hero -------------------------------------------------------------- */
.hero{ min-height:auto; padding:60px 22px 26px; }
.hero-copy .eyebrow{ color:var(--gold); display:flex; align-items:center; gap:9px; }
.hero-copy .eyebrow::before{ content:""; width:9px; height:9px; border-radius:50%;
  background:var(--gold); box-shadow:0 0 12px var(--gold); }
.hero h1{ font-size:clamp(40px,6vw,74px); letter-spacing:-.04em; }
.hero h1 .g{ background:linear-gradient(180deg,var(--gold2),var(--gold-deep));
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero .real-line{ font-weight:800; font-size:1.05rem; margin:16px 0 0; color:var(--ink); }
.hero .real-line b{ color:var(--gold); }

/* .button.primary / .button.secondary: DEDUP. These selectors were also defined
   in the base layer above; the comp versions here loaded later and won, so the
   base copies were dropped during consolidation. These are the winning rules. */
.button.primary{ background:linear-gradient(135deg,var(--gold2),var(--gold-deep));
  color:#1a1205; border:1px solid rgba(255,217,122,.7);
  box-shadow:0 14px 40px rgba(244,181,58,.32); }
.button.primary:hover{ filter:brightness(1.06); transform:translateY(-1px); }
.button.secondary{ background:rgba(255,255,255,.05); border:1px solid var(--line); color:var(--ink); }

/* Trust badges under the hero CTAs */
.trust-badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.trust-badges .tb{ display:flex; align-items:center; gap:6px; font-size:.72rem; white-space:nowrap;
  color:var(--muted); border:1px solid var(--line); border-radius:11px;
  padding:7px 10px; background:rgba(255,255,255,.03); }
/* Hero trust badges: force a single row on desktop; drop the 4th in the tight
   2-col band so they never wrap; mobile (stacked) keeps wrap as the fallback. */
@media(min-width:1181px){ .trust-badges{ flex-wrap:nowrap; } }
@media(min-width:1181px) and (max-width:1400px){ .trust-badges .tb:nth-child(4){ display:none; } }
.trust-badges .tb b{ color:var(--ink); font-weight:700; }
.trust-badges .tb .d{ width:8px; height:8px; border-radius:50%; background:var(--gold);
  box-shadow:0 0 9px var(--gold); flex:0 0 8px; }
/* linked badges: keep the chip look, no underline, gentle gold hover */
a.tb{ text-decoration:none; transition:border-color .15s, background .15s; }
a.tb:hover{ border-color:var(--gold); background:rgba(245,200,90,.08); }
/* under the calendar (right column): 2x2 grid so Real Utility / AI Work drop to
   the second row instead of overflowing into the QR. */
.hf-badges{ display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-top:6px; }
.hf-badges .tb{ font-size:.68rem; padding:6px 8px; gap:5px; }
@media(min-width:1181px) and (max-width:1400px){ .hf-badges .tb:nth-child(4){ display:flex; } }

/* Hero example-job card -> gold accented */
.hero-card{ background:linear-gradient(180deg,rgba(244,181,58,.07),rgba(255,255,255,.03));
  border:1px solid rgba(244,181,58,.28); }
.hero-card .card-label{ color:var(--gold); }
.hero-card .metric-row strong{ color:var(--gold2); }

/* Hero headline image (purpose.png) sized to the comp's ~36% of canvas width */
.hero-headline{ margin:0 0 16px; line-height:0; }
.hero-headline img{ display:block; width:clamp(300px,36vw,500px); max-width:100%; height:auto; }

/* Hero ecosystem diagram (right column). Bigger, and pulled UP by TOP-ALIGNING
   the grid (align-items:start) instead of a brittle negative-top offset. */
.hero-grid{ grid-template-columns:minmax(300px,1fr) minmax(0,800px); align-items:start; gap:30px; }
.hero-ecosystem{ display:flex; justify-content:center; align-self:start; }
/* cap at the asset's native width (577px) so the diagram is never upscaled */
.hero-ecosystem img{ width:100%; max-width:560px; height:auto; border-radius:18px;
  filter:drop-shadow(0 22px 64px rgba(244,181,58,.18)); }

/* ---- Stats row -------------------------------------------------------- */
.stats-row{ max-width:1180px; margin:6px auto 0; padding:0 22px;
  display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.stat-card{ background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
  border:1px solid var(--line); border-radius:16px; padding:15px 16px 12px; }
.stat-card .lab{ color:var(--muted); font-size:.68rem; letter-spacing:.09em; text-transform:uppercase; }
.stat-card .val{ font-size:1.7rem; font-weight:800; margin:5px 0 1px; line-height:1; }
.stat-card .delta{ font-size:.78rem; font-weight:800; color:#35e885; }
.stat-card .spark{ display:block; width:100%; height:32px; margin-top:9px; }
@media(max-width:900px){ .stats-row{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .stats-row{ grid-template-columns:1fr; } }

/* ---- Getting Started cards -------------------------------------------- */
.getting-started{ max-width:1180px; margin:66px auto 12px; padding:0 22px; text-align:center; }
.getting-started .gs-eyebrow{ color:var(--gold); font-weight:800; letter-spacing:.16em;
  text-transform:uppercase; font-size:13px; margin:0 0 6px; }
.getting-started .gs-title{ font-size:clamp(30px,4vw,46px); margin:0; letter-spacing:-.02em; }
.getting-started .gs-sub{ color:var(--muted); margin:8px 0 30px; }
.gs-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.gs-card{ position:relative; display:block; border-radius:18px; overflow:hidden; text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease; }
.gs-img{ display:block; width:100%; height:auto; }
.gs-card:hover{ transform:translateY(-4px); box-shadow:0 18px 46px rgba(0,0,0,.55); }
/* Text sits in the panel art's white middle zone (not the bottom, which had the
   leftover button pill). Absolute-positioned so it lands on the white. */
.gs-body{ position:absolute; top:41%; left:0; right:0; padding:0 20px; text-align:left; }
.gs-body .gs-h{ display:block; color:#15213b; font-weight:800; font-size:1.0rem; line-height:1.22; }
.gs-body .gs-p{ display:block; color:#5a6678; font-size:.8rem; margin:6px 0 12px; }
.gs-btn{ display:flex; width:100%; box-sizing:border-box; align-items:center; justify-content:center; gap:8px;
  background:linear-gradient(135deg,var(--gold2),var(--gold-deep)); color:#1a1205;
  font-weight:800; font-size:.78rem; letter-spacing:.05em; text-transform:uppercase;
  border-radius:9px; padding:10px 14px; }
@media(max-width:900px){ .gs-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .gs-grid{ grid-template-columns:1fr; } }

/* ---- Content pages (legal, contact, DB-backed pages) ------------------ */
.content-narrow{ max-width:760px; margin:0 auto; }
.page.legal-page{ max-width:860px; margin:0 auto; padding:40px 22px 70px; }
.page.legal-page h1{ font-size:2rem; margin:0 0 .4em; }
.page.legal-page h2{ font-size:1.3rem; margin:1.6em 0 .4em; border-bottom:1px solid var(--line); padding-bottom:.2em; }
.page.legal-page h3{ font-size:1.05rem; margin:1.1em 0 .3em; }
.page.legal-page p, .page.legal-page li{ color:var(--muted); line-height:1.75; }
.page.legal-page a{ color:var(--gold2); }
.page.legal-page ul{ margin:.4em 0 .9em; padding-left:1.4em; }
.page.legal-page strong{ color:var(--ink); }
.page.legal-page blockquote, .page.legal-page .callout{ border-left:3px solid var(--gold);
  background:rgba(244,181,58,.08); padding:14px 18px; border-radius:0 10px 10px 0; margin:18px 0; }

/* Content forms (contact + subscribe) */
.flop-form{ display:grid; gap:14px; max-width:560px; }
.flop-form label{ display:block; font-size:.78rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.flop-form input, .flop-form textarea{ width:100%; margin-top:6px; padding:11px 13px; border-radius:9px;
  border:1px solid var(--line); background:rgba(255,255,255,.05); color:var(--ink); font:inherit; }
.flop-form textarea{ min-height:150px; resize:vertical; }
.flop-form .button{ justify-self:start; margin-top:4px; }
.form-msg{ padding:12px 14px; border-radius:9px; margin:0 0 16px; font-size:.95rem; }
.form-msg.ok{ background:rgba(53,232,133,.14); border:1px solid rgba(53,232,133,.5); color:var(--ink); }
.form-msg.err{ background:rgba(224,70,70,.16); border:1px solid #e04646; color:#ffd9d9; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* FAQ page */
.section.faq-page{ max-width:820px; }
.faq-page h1{ margin:0 0 .5em; }
.faq-item{ border-top:1px solid var(--line); padding:22px 0; }
.faq-q{ font-size:1.15rem; margin:0 0 8px; color:var(--ink); }
.faq-a{ color:var(--muted); line-height:1.75; }
.faq-a a{ color:var(--gold2); }

/* ===================================================================
   3) THEMED SCROLLBAR  (was the tail of /css/style.css)
   =================================================================== */
* { scrollbar-width: thin; scrollbar-color: #38a1ff #07111f; }
::-webkit-scrollbar { width: 13px; height: 13px; }
::-webkit-scrollbar-track { background: #07111f; }
::-webkit-scrollbar-thumb { background: #38a1ff; border-radius: 7px; border: 2px solid #07111f; }
::-webkit-scrollbar-thumb:hover { background: #35e885; }
::-webkit-scrollbar-corner { background: #07111f; }
