/* Public homepage: fluid layout shared by web and app webviews. */
:root { --muted: #b3bfd2; --muted-2: #9caac0; --line: rgba(173,199,231,.14); --radius-lg: 24px; }
html { scroll-padding-top: 100px; }
body { background: radial-gradient(ellipse at 80% 0, #142941 0, transparent 35%), #080e1b; }
button { font-family: inherit; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid #84e4ce; outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100000; padding: 12px 18px; background: #84e4ce; color: #080e1b; border-radius: 10px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.container { width: min(1240px, calc(100% - 64px)); }
.nav { gap: 20px; padding: 18px 0; position: relative; }
.brand { flex-shrink: 0; gap: 10px; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-name { letter-spacing: -.025em; }
.brand-tag { font-size: .7rem; }
.nav-links { gap: 16px; }
.mobile-nav-action, .mobile-app-bar { display: none; }
.nav-links a { font-size: .8rem; }
.nav-cta { gap: 8px; flex-shrink: 0; }
.nav-cta .btn { padding: 0 12px; font-size: .8rem; }
.btn { min-height: 44px; height: auto; padding-block: 11px; white-space: normal; text-align: center; line-height: 1.35; }
.btn-lg { min-height: 52px; padding-block: 14px; }
.btn-primary { background: #88e5cf; color: #09211e; box-shadow: 0 5px 24px rgba(88,209,179,.12); }
.btn-primary:hover { background: #acf3e1; }
.btn-ghost { background: rgba(255,255,255,.035); }
.hero { padding: clamp(48px, 7vw, 106px) 0 30px; }
.hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(28px, 5vw, 72px); }
.hero-grid > *, .civic-spotlight-card > *, .grid-3 > *, .module-grid > *, .footer-grid > *, .roadmap > * { min-width: 0; }
h1 { font-size: clamp(2.5rem, 4.8vw, 4.15rem); letter-spacing: -.055em; line-height: 1.07; margin: 24px 0; text-wrap: balance; }
h1 .accent { background-image: linear-gradient(110deg,#99eeda,#7abaf7); }
.lead { font-size: clamp(1rem,1.3vw,1.12rem); line-height: 1.8; }
.eyebrow { font-size: .69rem; letter-spacing: .1em; line-height: 1.5; max-width: 100%; }
.hero-meta { padding-top: 24px; border-top: 1px solid var(--line); gap: 32px; }
.meta-item .num { font-size: 1.3rem; }
.meta-item .label { font-size: .67rem; }
.token-card { padding: 24px; background: linear-gradient(145deg, #15263d, #0d182a); border-color: #324963; box-shadow: 0 24px 70px #0005; }
.token-art { height: 210px; position: relative; display: grid; place-items: center; margin: -4px 0 28px; isolation: isolate; }
.token-art::before { content: ''; position: absolute; width: 240px; height: 190px; max-width: 100%; background: radial-gradient(ellipse, #60d6c12b, transparent 68%); }
.token-art img { width: 142px; height: 142px; object-fit: contain; border-radius: 32px; transform: rotate(-8deg); filter: drop-shadow(0 16px 24px #0008); }
.orbit { position: absolute; border: 1px solid #91ddcf32; width: 240px; height: 170px; max-width: 100%; border-radius: 50%; transform: rotate(-25deg); }
.orbit-two { width: 290px; height: 190px; transform: rotate(25deg); border-color: #91bedd22; }
.art-label { position: absolute; bottom: 0; font-size: .6rem; letter-spacing: .2em; color: #b7d3e7; }
.token-head { gap: 12px; flex-wrap: wrap; }
.token-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
.token-stat { background: #101d30; padding: 16px; }
.token-stat .val { font-size: 1rem; }
.token-foot { flex-wrap: wrap; font-size: .78rem; }
.trust-strip { margin-top: 56px; padding: 24px 0; }
.trust-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.trust-item { font-size: .78rem; }
.trust-icon { flex-shrink: 0; }
.civic-spotlight { padding: 32px 0; }
.civic-spotlight-card { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); padding: clamp(24px,4vw,48px); gap: 36px; background: linear-gradient(135deg,#13243b,#0c1728); }
.civic-spotlight-card .copy h2 { font-size: clamp(1.8rem,3vw,2.6rem); letter-spacing: -.04em; }
.civic-spotlight-card .copy p { font-size: .96rem; }
.civic-tier-rail { grid-template-columns: repeat(5,minmax(0,1fr)); }
.civic-tier { min-width: 0; padding-inline: 0; }
.civic-tier .name { font-size: .62rem; letter-spacing: 0; overflow-wrap: anywhere; }
.civic-tier .rule { font-size: .64rem; }
.civic-spotlight-actions .btn { font-size: .88rem; }
section.block { padding: 76px 0; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.9rem,3.5vw,2.8rem); letter-spacing: -.04em; }
.section-head p { line-height: 1.75; }
.grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.card, .module, .phase { background: linear-gradient(135deg,#14203599,#0c152599); padding: 28px; border-color: var(--line); }
.card-icon { background: #7de6cc12; border-color: #7de6cc25; color: #88e5cf; }
.card:hover, .module:hover { border-color: #78d3bf55; }
.phase.active { border-color: #78d3bf66; }
.module-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.module .meta { flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; }
.explore-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.explore-tabs button { cursor: pointer; color: var(--muted); border: 1px solid var(--line); background: #ffffff04; border-radius: 999px; padding: 12px 20px; min-height: 44px; font-size: .9rem; }
.explore-tabs button[aria-selected=true] { background: #88e5cf; border-color: #88e5cf; color: #09211e; }
.explore-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px; border: 1px solid #365066; border-radius: 24px; background: radial-gradient(ellipse at 100% 50%,#3c8e7b22,transparent 65%),#101e30; }
.explore-panel > div { max-width: 680px; min-width: 0; }
.explore-kicker { color: #88e5cf; font-size: .7rem; letter-spacing: .12em; }
.explore-panel h3 { font-size: clamp(1.4rem,2vw,1.8rem); margin: 10px 0; }
.explore-panel p { color: var(--muted); margin-bottom: 0; line-height: 1.75; }
.explore-panel .btn { flex-shrink: 0; }
.cta { padding: clamp(28px,5vw,64px); background: radial-gradient(ellipse at 50% 0,#34696044,transparent 75%),#111e30; }
.cta h2 { letter-spacing: -.04em; }
.footer-grid { grid-template-columns: minmax(0,1.5fr) repeat(3,minmax(0,1fr)); }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; }
.social { width: 44px; height: 44px; }
.arrived { animation: arrive .5s ease both; }
@keyframes arrive { from { transform: translateY(12px); opacity: .65; } to { transform: none; opacity: 1; } }
#bv-entry-prompt { overflow-y: auto; }
#bv-entry-prompt .card { max-height: calc(100dvh - 36px); overflow-y: auto; }
@media (max-width:1200px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 1px); padding: 18px; background: #0e192b; border: 1px solid #34455e; border-radius: 0 0 18px 18px; max-height: calc(100dvh - 100px); overflow-y: auto; box-shadow: 0 20px 40px #0005; }
  .nav-links.open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
  .nav-links a { padding: 12px; font-size: .95rem; min-height: 44px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
}
@media (max-width:1000px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 28px; }
  .civic-spotlight-card { grid-template-columns: minmax(0,1fr); }
  .grid-3, .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .container { width: calc(100% - 40px); }
  .mobile-app-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0 12px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
  .mobile-app-bar .btn { min-height: 44px; padding: 10px 14px; color: #88e5cf; flex-shrink: 0; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .hero-copy { max-width: 620px; }
  h1 { font-size: clamp(2.45rem,7.5vw,3.7rem); }
  .token-card { max-width: 560px; width: 100%; }
  .token-art { height: 170px; }
  .token-art img { width: 118px; height: 118px; }
  .orbit { height: 135px; } .orbit-two { height: 155px; }
  .trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nav-links .mobile-nav-action { display: inline-flex; align-items: center; padding: 12px; min-height: 44px; color: #88e5cf; background: none; border: none; font-size: .95rem; text-align: left; cursor: pointer; }
  .nav-cta > .btn { display: none; }
  .nav-cta > .btn-primary { display: inline-flex; min-height: 44px; padding: 10px 12px; font-size: .8rem; }
  .nav-cta .btn-primary .btn-label-long { display: none; }
  .nav-cta .btn-primary .btn-label-short { display: inline; }
  .brand-name { font-size: .95rem; }
  .brand-tag { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .nav { gap: 10px; padding: 14px 0; }
  .nav-cta { gap: 6px; }
  .grid-3, .module-grid, .roadmap { grid-template-columns: minmax(0,1fr); }
  .explore-panel { flex-direction: column; align-items: flex-start; padding: 24px; gap: 24px; }
  section.block { padding: 48px 0; }
  .hero { padding-top: 44px; }
  .footer-grid { gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width:480px) {
  .container { width: calc(100% - 32px); }
  .brand { gap: 7px; }
  .brand-name { font-size: .87rem; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-cta > .btn-primary { font-size: .75rem; padding-inline: 10px; }
  .menu-toggle { width: 40px; padding: 8px; }
  .hero-actions, .cta-actions, .civic-spotlight-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn, .civic-spotlight-actions .btn { width: 100%; }
  .hero-meta { gap: 22px; }
  .token-card { padding: 20px; }
  .token-stat { padding: 14px 10px; }
  .token-stat .val { font-size: .92rem; }
  .civic-spotlight-card { padding: 24px 18px; gap: 26px; }
  .civic-tier-rail { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 6px; }
  .civic-tier-rail::after { display: none; }
  .civic-tier .name { font-size: .7rem; }
  .civic-tier .rule { font-size: .68rem; }
  .civic-spotlight-stats { gap: 10px; }
  .civic-spotlight-stats .stat { padding: 12px; }
  .civic-spotlight-stats .stat .num { font-size: 1.15rem; }
  .civic-spotlight-stats .stat .lab { font-size: .66rem; letter-spacing: .02em; }
  .trust-item { font-size: .73rem; gap: 8px; }
  .card, .module, .phase { padding: 24px; }
  .explore-tabs { gap: 6px; }
  .explore-tabs button { padding-inline: 13px; font-size: .8rem; }
  .explore-panel .btn { width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width:300px) {
  .nav-cta > .btn-primary { display: none; }
  .nav-links.open { grid-template-columns: minmax(0,1fr); }
  .hero-meta { gap: 16px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
