/* A shared type and control system, layered over the existing layouts. */
body.night-theme { font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.night-theme :is(button, input, select, textarea) { font-family: inherit; }
.night-theme :is(h1, h2, h3) { font-family: 'Inter Tight', Inter, Arial, sans-serif; font-weight: 500; }
.night-theme .header { height: 82px; }
.night-theme .header .brand { gap: 10px; }
.night-theme .header .brand span { font-family: Inter, Arial, sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -.8px; }
.night-theme .header .brand img { width: 31px; height: 31px; filter: none; background: #eeeade; border-radius: 7px; padding: 3px; }
.night-theme .header .token-contract { border: 0; background: none; color: #9ca9a4; font-size: 10px; }
.night-theme .header .token-contract b { font-weight: 500; }
.night-theme .header nav.header-actions { gap: 14px; }
.night-theme .header nav.header-actions .quiet { min-height: 40px; border-radius: 7px; padding: 10px 17px; font-size: 12px; font-weight: 500; gap: 12px; }
.night-theme .header nav.header-actions .docs-pill { background: transparent; border-color: transparent; color: #d2d9d4; padding-inline: 9px; }
.night-theme .header nav.header-actions .docs-pill:hover { background: #ffffff08; color: #fff; }
.night-theme .header nav.header-actions .quiet:hover { transform: none; }
.night-theme .header nav.header-actions .docs-pill svg { display: none; }

.landing-page.night-theme .landing-hero { padding-top: 86px; padding-bottom: 80px; }
.night-theme .hero-badge { border: 0; border-radius: 0; background: none; padding: 0; font-size: 12px; font-weight: 400; letter-spacing: .02em; color: #c0cdc6; }
.night-theme .hero-badge i { width: 4px; height: 4px; box-shadow: none; }
.landing-page.night-theme h1 { font-family: 'Inter Tight', Inter, sans-serif; font-size: clamp(52px, 6vw, 80px); font-weight: 500; line-height: 1.02; letter-spacing: -.055em; margin: 27px 0 24px; text-shadow: none; }
.landing-page.night-theme h1 span { color: #b4c7bd; }
.landing-page.night-theme .landing-hero p { font-size: 15px; line-height: 1.65; color: #c0c9c4; }
.hero-actions { gap: 12px; margin-top: 30px; }
.night-theme .button { min-height: 46px; padding: 13px 20px; border-radius: 7px; gap: 24px; font-family: Inter, sans-serif; font-size: 13px; font-weight: 500; line-height: 1.4; box-shadow: none; transition: background .2s, border-color .2s, color .2s; }
.night-theme .button:hover { transform: none; }
.landing-page.night-theme :is(.landing-hero, .final-cta) .solid { background: #eeebdf; border-color: #eeebdf; }
.landing-page.night-theme :is(.landing-hero, .final-cta) .solid:hover { background: #fffdf6; border-color: #fffdf6; }
.landing-page.night-theme .outline { background: #10191965; border-color: #bacdc238; backdrop-filter: none; color: #e4e8df; }
.landing-page.night-theme .outline:hover { border-color: #bacdc270; background: #1d2924; }
.hero-wave::after { background: radial-gradient(ellipse at 50% 34%, #101919e6, #10191999 48%, #10191960 90%), linear-gradient(180deg, #10191950, transparent 35%, #101919a0 80%, #101919); }
.night-theme .route-stage { max-width: 720px; height: 190px; margin-top: 48px; border-radius: 12px; background: #14201de6; border-color: #bdcfc222; box-shadow: none; backdrop-filter: blur(10px); }
.night-theme .stage-top { top: 20px; font-size: 10px; letter-spacing: .02em; }
.night-theme .stage-top > span:last-child, .night-theme .stage-bottom > span { display: none; }
.night-theme .stage-bottom { bottom: 18px; justify-content: flex-end; }
.night-theme .stage-bottom a { font-size: 11px; }
.night-theme .route-end b { font-size: 15px; font-weight: 500; }
.night-theme .route-end small { font-size: 10px; }
.night-theme .route-end > img { width: 34px; height: 34px; }
.night-theme .route-end .network-mark { width: 15px; height: 15px; left: 24px; top: 25px; }
.night-theme .route-wire { width: 64px; margin: 0 22px; background: #a9dccb30; }
.night-theme .route-wire::after { width: 4px; height: 4px; top: -1.5px; box-shadow: none; }
.night-theme .ghost-core { width: 76px; height: 76px; }
.night-theme .ghost-core > img { width: 57px; height: 57px; filter: drop-shadow(0 0 1px #a9ccb0); animation: none; }
.night-theme .ghost-core::before, .night-theme .core-orbit { display: none; }
.night-theme .scroll-cue { letter-spacing: .02em; text-transform: none; font-size: 11px; bottom: 28px; color: #9caaa2; }
.night-theme .scroll-cue span { animation: none; font-size: 13px; }
.scene-tools { bottom: 21px; }
.night-theme .motion-toggle { font-family: Inter, sans-serif; font-size: 10px; border-color: transparent; background: none; color: #a6b1aa; padding: 10px; }

.landing-page.night-theme h2 { font-size: 42px; line-height: 1.12; letter-spacing: -.04em; font-weight: 500; margin: 20px 0; }
.landing-page.night-theme p { font-family: Inter, Arial, sans-serif; }
.landing-page.night-theme .eyebrow { font-family: Inter, sans-serif; font-size: 11px; font-weight: 400; letter-spacing: .02em; color: #777c70; }
.landing-page.night-theme .section-heading p { font-size: 14px; line-height: 1.7; color: #70766b; }
.night-theme .network-section { padding-block: 44px 38px; }
.night-theme .network-row { gap: 44px; margin-block: 24px 16px; }
.night-theme .network-row > div { font-size: 13px; font-weight: 500; }
.night-theme .network-row img { width: 23px; height: 23px; }
.night-theme .network-section > p { font-size: 11px; color: #818679; }
.night-theme .benefits { padding-block: 88px 72px; }
.night-theme .section-heading { margin-bottom: 38px; }
.night-theme .benefit-studio { gap: 16px; }
.night-theme .benefit-studio article { border-radius: 12px; padding: 30px; box-shadow: none; }
.night-theme .benefit-studio article:hover { box-shadow: none; border-color: #d2d2c8; }
.night-theme .benefit-studio .benefit-route { background: #17201a; border-color: #17201a; }
.night-theme .benefit-label { font-size: 10px; letter-spacing: .01em; }
.night-theme .benefit-label > span:last-child:not(:first-child) { display: none; }
.night-theme .benefit-studio h3 { font-family: 'Inter Tight', Inter, sans-serif; font-size: 26px; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.night-theme .benefit-route h3 { font-size: 34px; }
.night-theme .benefit-studio p { font-size: 13px; line-height: 1.75; }
.night-theme .benefit-studio .studio-link { min-height: 40px; border-radius: 6px; padding: 10px 14px; font-size: 12px; gap: 24px; }
.night-theme .transfer-node > small { font-family: Inter, sans-serif; font-size: 8px; letter-spacing: .08em; }
.night-theme .transfer-node.gateway-node { border-radius: 12px; box-shadow: none; }
.night-theme .quote-visual { border-radius: 8px; }
.night-theme .key-halo::after { display: none; }
.night-theme .technology-section { padding-block: 55px 96px; gap: 80px; }
.night-theme .technology-copy p { font-size: 14px; line-height: 1.75; color: #70766b; }
.night-theme .subtle-link { font-size: 12px; color: #71796a; }
.night-theme .proof-demo { border-radius: 12px; }
.night-theme .proof-demo-heading { letter-spacing: .07em; }
.night-theme .route-steps h3 { font-size: 21px; letter-spacing: -.025em; font-weight: 500; }
.night-theme .route-steps p { font-size: 13px; line-height: 1.75; }
.night-theme .faq-list summary { font-size: 14px; padding-block: 22px; }
.night-theme .faq-list p { font-size: 13px; line-height: 1.75; }
.night-theme .final-cta > img { filter: none; animation: none; background: #eeebdf; padding: 8px; border-radius: 12px; width: 56px; height: 56px; }
.night-theme footer .brand span { font-family: Inter, sans-serif; font-size: 18px; letter-spacing: -.5px; font-weight: 600; }
.night-theme footer { font-size: 11px; }

/* Carry typography and controls into the existing app without changing its flow. */
.app-page.night-theme .app-title h1 { font-family: 'Inter Tight', Inter, sans-serif; font-weight: 500; letter-spacing: -.04em; }
.app-page.night-theme .card { border-radius: 14px; box-shadow: none; }
.app-page.night-theme :is(.primary, .address-field input, .asset-select) { border-radius: 7px; }
.app-page.night-theme .primary { font-weight: 500; min-height: 48px; }
.docs-page.night-theme .docs-layout { border-radius: 14px; }
@media(max-width:900px) {
  .night-theme .technology-section { gap: 32px; }
  .landing-page.night-theme h2 { font-size: 36px; }
  .night-theme .benefit-studio article { padding: 24px; }
}
@media(max-width:600px) {
  .night-theme .header { height: 72px; padding-inline: 20px; }
  .night-theme .header .brand span { font-size: 17px; letter-spacing: -.5px; }
  .night-theme .header .brand img { width: 26px; height: 26px; }
  .night-theme .header .brand { gap: 7px; }
  .night-theme .header .header-social { display: none; }
  .night-theme .header nav.header-actions { margin-left: auto; gap: 6px; }
  .night-theme .header nav.header-actions a.quiet { font-size: 11px; padding: 9px 12px; min-height: 38px; }
  .night-theme .header nav.header-actions a.docs-pill { padding-inline: 8px; }
  .night-theme .header nav.header-actions svg { display: none; }
  .landing-page.night-theme .landing-hero { padding-top: 62px; padding-bottom: 74px; }
  .landing-page.night-theme h1 { font-size: clamp(46px, 12vw, 62px); letter-spacing: -.05em; margin: 25px 0 22px; }
  .night-theme .hero-badge { font-size: 11px; }
  .landing-page.night-theme .landing-hero p { font-size: 14px; }
  .night-theme .button { padding: 12px 16px; gap: 15px; font-size: 12px; min-height: 44px; }
  .hero-actions { gap: 10px; }
  .night-theme .route-stage { margin-top: 36px; height: 174px; }
  .night-theme .stage-top { font-size: 9px; top: 17px; }
  .night-theme .stage-bottom { bottom: 15px; }
  .night-theme .stage-bottom a { font-size: 10px; }
  .night-theme .route-end { gap: 7px; }
  .night-theme .route-end > img { width: 25px; height: 25px; }
  .night-theme .route-end b { font-size: 11px; }
  .night-theme .route-end small { font-size: 8px; }
  .night-theme .route-end .network-mark { width: 12px; height: 12px; left: 17px; top: 20px; }
  .night-theme .ghost-core { width: 46px; height: 46px; }
  .night-theme .ghost-core > img { width: 41px; height: 41px; }
  .night-theme .route-wire { width: 20px; margin-inline: 9px; }
  .night-theme .scroll-cue { left: 0; font-size: 10px; bottom: 26px; }
  .scene-tools { bottom: 17px; }
  .night-theme .network-row { gap: 20px 25px; }
  .night-theme .network-row > div { font-size: 12px; }
  .night-theme .network-section { padding-block: 36px; }
  .landing-page.night-theme h2 { font-size: 33px; }
  .night-theme .benefits { padding-block: 64px 40px; }
  .night-theme .benefit-studio h3 { font-size: 26px; }
  .night-theme .benefit-route h3 { font-size: 32px; }
  .night-theme .benefit-studio .benefit-route { min-height: 420px; padding: 24px; }
  .night-theme .technology-section { padding-block: 20px 60px; gap: 26px; }
  .night-theme .technology-copy { text-align: left; }
  .night-theme .route-steps h3 { font-size: 20px; }
  .night-theme .faq-list summary { font-size: 14px; }
  .night-theme .final-cta { padding-block: 64px; }
}
@media(max-width:360px) {
  .night-theme .header { padding-inline: 16px; }
  .night-theme .header .brand span { font-size: 15px; }
  .night-theme .header nav.header-actions a.quiet { padding-inline: 10px; }
  .night-theme .route-wire { width: 12px; margin-inline: 5px; }
  .night-theme .route-end small { font-size: 7px; }
  .night-theme .hero-actions .button { padding-inline: 13px; gap: 12px; }
}
