* { box-sizing: border-box; }
body { margin: 0; background: #f5f7fb; color: #18243b; font: 17px/1.8 system-ui, sans-serif; }
main, header, footer { width: min(840px, 100%); margin: auto; padding: 24px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
a { color: #344dc4; text-underline-offset: 4px; }
header img { width: 44px; height: 44px; vertical-align: middle; margin-right: 10px; }
h1 { font-size: clamp(28px, 6vw, 42px); line-height: 1.3; }
h2 { font-size: 23px; margin-top: 32px; }
section { border-top: 1px solid #dce2ed; margin-top: 28px; }
nav a { display: inline-block; padding: 5px 10px 5px 0; }
.button { display: inline-block; background: #344dc4; color: white; padding: 10px 22px; border-radius: 12px; text-decoration: none; }
footer { color: #536179; font-size: 14px; }

.brand-home { background: #101b31; color: #edf0f8; }
.brand-home header, .brand-home main, .brand-home footer { width: min(1160px, 100%); }
.brand-home a { color: #e9d29c; }
.brand-home header { padding-top: 26px; padding-bottom: 26px; }
.brand { display: flex; align-items: center; text-decoration: none; color: #fff !important; gap: 6px; letter-spacing: 2px; }
.brand strong { font-size: 22px; }.brand strong span { font-size: 12px; letter-spacing: 3px; }
.brand-home .button { color: #162035; background: #e8ce91; font-weight: 650; padding: 12px 22px; }
.brand-home header nav { display: flex; align-items: center; gap: 26px; }
.brand-home header nav > a:first-child { text-decoration: none; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; padding: 46px 0 70px; gap: 36px; }
.eyebrow { font-size: 11px; letter-spacing: 2px; color: #d8be83; }
.brand-home h1 { font-size: clamp(36px, 5.5vw, 66px); line-height: 1.25; letter-spacing: -1px; margin: 22px 0; }
.brand-home h1 span { color: #ead5a4; }
.intro { color: #c3ccdf; font-size: 17px; }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.hero-actions > a:last-child { font-size: 14px; }
.network-note { color: #9cabc6; font-size: 12px; margin-top: 24px; }
.hero-art { display: grid; justify-items: center; border: 1px solid #35415b; border-radius: 40px; padding: 22px 22px 32px; background: radial-gradient(ellipse at center, #3b4665 0%, #17243e 65%); }
.hero-art img { width: 100%; max-width: 370px; height: auto; }
.hero-art span { font-size: 10px; letter-spacing: 3px; color: #b2c0d8; }
.brand-home section { border-color: #34415b; padding: 38px 0; margin: 0; }
.brand-home h2 { margin: 14px 0 24px; font-size: clamp(25px, 3vw, 34px); line-height: 1.45; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.features article { border-top: 1px solid #42506b; padding-top: 24px; }
.feature-number { font-size: 11px; letter-spacing: 1px; color: #cbb47e; }
.features h3 { font-size: 20px; }.features p, .home-guide p, .home-notice p { font-size: 15px; color: #c0cbe0; }
.home-guide { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-home .secondary { border: 1px solid #ddc58c; background: transparent; color: #ead5a4; white-space: nowrap; }
.brand-home .home-notice h2 { font-size: 19px; }
.brand-home footer { display: flex; flex-wrap: wrap; gap: 18px; color: #a5b4cf; font-size: 12px; padding-bottom: 36px; }
.brand-home footer span { margin-right: auto; }
@media (max-width: 680px) {
  .brand-home header, .brand-home main, .brand-home footer { padding-left: 20px; padding-right: 20px; }
  .brand-home header nav { gap: 14px; }.brand-home header nav > a:first-child { display: none; }
  .brand-home header .button { padding: 10px 14px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding-top: 20px; gap: 24px; }.hero-art { padding: 12px 20px 24px; }.hero-art img { max-width: 240px; }
  .features { grid-template-columns: 1fr; gap: 20px; }.home-guide { display: block; }.home-guide .button { margin-top: 10px; }
}

/* Versioned original product illustrations keep wallet data out of public imagery. */
.hero > *, .energy-story > * { min-width: 0; }
.hero-product { margin: 0; padding: 0; overflow: hidden; border: 1px solid #35415b; border-radius: 28px; background: #101b31; box-shadow: 0 24px 70px #030a193b; }
.hero-product .hero-product-image { display: block; width: 100%; max-width: none; height: auto; }
.hero-product figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; padding: 0 16px 22px; }
.hero-product figcaption > span { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #42506b; border-radius: 999px; padding: 7px 12px; font-size: 12px; letter-spacing: 0; color: #e1e8f4; background: #1b2942; }
.hero-product .asset-tag img { width: 20px; height: 20px; }
.hero-product .energy-tag { color: #edd49a; }
.energy-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 40px; align-items: center; }
.energy-copy > p:not(.eyebrow) { font-size: 16px; color: #c0cbe0; }
.energy-copy .button { margin-top: 10px; }
.fee-highlight { color: #ead5a4; }
.energy-visual { margin: 0; overflow: hidden; background: #142139; border: 1px solid #35415b; border-radius: 24px; }
.energy-visual > img { display: block; width: 100%; height: auto; }
.energy-visual figcaption { padding: 0 20px 20px; }
.energy-visual ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 18px 0 0; border-top: 1px solid #35415b; list-style: none; }
.energy-visual li { color: #e5ebf5; font-size: 12px; }
.energy-visual li span { display: block; font-size: 11px; color: #dac18b; letter-spacing: 2px; margin-bottom: 4px; }
.energy-story .fee-conditions { grid-column: 1 / -1; margin: 0; max-width: 840px; font-size: 13px; color: #aab8cf; }
.brand-home h2 { text-wrap: balance; }
.guide-energy-visual { margin: 24px 0; max-width: 720px; overflow: hidden; border-radius: 20px; background: #101b31; }
.guide-energy-visual img { display: block; width: 100%; height: auto; }
.guide-energy-visual figcaption { color: #d7e1f3; padding: 14px 20px; font-size: 14px; }
@media (max-width: 800px) {
  .energy-story { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .hero-product { padding: 0; border-radius: 24px; }
  .hero-product .hero-product-image { max-width: none; }
  .hero-product figcaption { padding-bottom: 18px; }
  .energy-visual figcaption { padding: 0 14px 18px; }
  .energy-visual ol { gap: 8px; }
}

.hero-wallet-name, .hero-headline, .hero-pain-points, .hero-solution { display: block; }
.brand-home h1 .hero-wallet-name { color: #edf0f8; }
@media (max-width: 680px) {
  /* Keep the same image behind selectable, accessible HTML advertising copy. */
  .hero { position: relative; isolation: isolate; display: block; min-height: 600px; margin: 0 -20px 30px; padding: 28px 22px 24px; overflow: hidden; background: #0d192f; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgb(9 20 39 / 48%), transparent 90%), linear-gradient(180deg, rgb(13 25 47 / 28%) 0%, transparent 36%, rgb(13 25 47 / 30%) 55%, #0d192f 75%); }
  .hero-copy { display: flex; flex-direction: column; min-height: 548px; }
  .hero .eyebrow { margin: 0; font-size: 10px; letter-spacing: 1.5px; }
  .brand-home .hero h1 { margin: 15px 0 0; font-size: clamp(30px, 8.2vw, 36px); line-height: 1.2; letter-spacing: -.7px; text-shadow: 0 2px 18px #050c19; }
  .brand-home .hero h1 .hero-wallet-name { margin-bottom: 12px; font-size: 19px; line-height: 1.25; letter-spacing: .7px; }
  .brand-home .hero h1 .hero-headline { color: #f2d9a5; }
  .hero .hero-product { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .hero-product .hero-product-image { position: absolute; top: 100px; right: -44px; width: max(440px, 100%); max-width: none; height: auto; }
  .hero-product figcaption { display: none; }
  .hero .intro { margin: auto 0 0; padding-top: 190px; color: #e0e7f4; font-size: 12px; line-height: 1.75; text-shadow: 0 1px 12px #050c19; }
  .hero-pain-points { color: #b6c5df; font-size: 11px; line-height: 1.7; }
  .hero-solution { margin-top: 8px; }
  .hero .intro strong { display: inline-block; margin-top: 10px; font-size: clamp(12px, 3.5vw, 15px); line-height: 1.6; color: #f2d9a5; }
  .hero .hero-actions { gap: 16px; margin-top: 20px; }
  .brand-home .hero .button { padding: 11px 16px; font-size: 13px; min-height: 44px; }
  .hero-actions > a:last-child { font-size: 12px; }
  .hero .network-note { margin: 16px 0 0; color: #9eaec9; font-size: 10px; }
}
@media (max-width: 680px) {
  .brand-home header { gap: 12px; padding: 18px 20px; }
  .brand-home header .brand { gap: 0; letter-spacing: 1px; white-space: nowrap; }
  .brand-home header .brand img { width: 34px; height: 34px; margin-right: 7px; }
  .brand-home header .brand strong { font-size: 18px; }
  .brand-home header .brand strong span { font-size: 9px; letter-spacing: 2px; }
  .brand-home header .button { min-height: 44px; font-size: 12px; padding: 10px 12px; }
}
@media (max-width: 360px) {
  .hero { min-height: 560px; padding: 24px 20px 22px; }
  .hero-copy { min-height: 514px; }
  .hero .intro { padding-top: 160px; }
  .hero-product .hero-product-image { top: 92px; right: -55px; width: 400px; }
}

.brand-home .nav-apk { font-size: 14px; white-space: nowrap; }
.hero-actions .apk-download { font-size: 14px; }
@media (max-width: 680px) {
  .brand-home header .nav-apk { display: none; }
  .hero .hero-actions { gap: 10px; }
  .brand-home .hero-actions .button { padding: 11px 12px; font-size: 12px; white-space: nowrap; }
  .hero .network-note a { color: #d4c49c; }
}
@media (max-width: 680px) {
  .brand-home .hero .hero-actions { gap: 8px; }
  .brand-home .hero .hero-actions .button { padding: 11px 8px; font-size: 12px; }
}

/* Hide the old landing document only after a home-screen app starts its handoff. */
.wallet-pwa-launching body { visibility: hidden; }

/* Brand overview is visible to readers and crawlers on the public home page. */
.home-about p, .home-about ul { color: #c0cbe0; font-size: 15px; }
.home-about h3 { margin-top: 26px; font-size: 20px; }
.home-about ul { padding-left: 22px; }
.home-about li { margin: 10px 0; }
.guide-breadcrumb { font-size: 14px; color: #536179; }
