:root {
  --brand: #2980FE;
  --brand-dark: #1767D6;
  --brand-soft: #EAF3FF;
  --ice: #F5F8FD;
  --gray: #F7F9FC;
  --white: #FFFFFF;
  --ink: #172033;
  --text: #465266;
  --muted: #718096;
  --line: #DCE6F2;
  --footer: #10233F;
  --shadow: 0 18px 45px rgba(25, 72, 126, .10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shell: min(1180px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif; line-height: 1.75; overflow-x: hidden; }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 999; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--white); transition: top .2s ease; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid rgba(220,230,242,.86); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); }
.header-shell { width: var(--shell); min-height: 76px; margin: 0 auto; display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img { width: 162px; max-height: 48px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 1.3vw, 22px); white-space: nowrap; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 76px; font-size: 14px; font-weight: 700; color: #31405a; }
.nav-link::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); transform: translateX(-50%); transition: width .2s ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: var(--brand-dark); }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { width: 24px; }
.nav-cluster { position: relative; }
.mega-menu { position: absolute; top: calc(100% - 4px); left: 50%; width: 600px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); display: grid; grid-template-columns: 170px 1fr; gap: 20px; opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-cluster:hover .mega-menu, .nav-cluster:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-intro { padding: 18px; border-radius: 16px; color: var(--white); background: linear-gradient(145deg, var(--brand), var(--brand-dark)); }
.mega-intro span { display: block; font-size: 17px; font-weight: 800; }
.mega-intro p { margin: 8px 0 0; font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.82); white-space: normal; }
.mega-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mega-links a { padding: 12px 13px; border-radius: 13px; white-space: normal; transition: background .18s ease, transform .18s ease; }
.mega-links a:hover, .mega-links a:focus-visible { background: var(--brand-soft); transform: translateY(-1px); }
.mega-links strong, .mega-links small { display: block; }
.mega-links strong { font-size: 14px; color: var(--ink); }
.mega-links small { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.download-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--brand); border-radius: 999px; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); font-weight: 800; box-shadow: 0 12px 24px rgba(41,128,254,.22); transition: transform .18s ease, box-shadow .18s ease; }
.download-btn:hover, .download-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(41,128,254,.28); }
.header-download { min-height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.icon-button, .menu-button, .drawer-close { border: 0; cursor: pointer; }
.more-wrap { position: relative; }
.icon-button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-content: center; gap: 3px; background: var(--ice); }
.icon-button span { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.more-menu { position: absolute; right: 0; top: calc(100% + 12px); width: 180px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.more-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.more-menu a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.more-menu a:hover, .more-menu a:focus-visible { background: var(--brand-soft); color: var(--brand-dark); }
.menu-button { display: none; min-width: 48px; height: 48px; border-radius: 14px; background: var(--ice); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.menu-button span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }
.menu-button b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.drawer-overlay { position: fixed; inset: 0; z-index: 89; background: rgba(12,31,56,.48); opacity: 0; transition: opacity .22s ease; }
.mobile-drawer { position: fixed; z-index: 90; top: 0; right: 0; width: min(420px, 92vw); height: 100dvh; display: flex; flex-direction: column; background: var(--white); box-shadow: -20px 0 50px rgba(17,42,74,.2); transform: translateX(105%); transition: transform .22s ease; }
.drawer-open .drawer-overlay { opacity: 1; }
.drawer-open .mobile-drawer { transform: translateX(0); }
.drawer-head { min-height: 76px; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.drawer-head .brand img { width: 152px; }
.drawer-close { width: 46px; height: 46px; border-radius: 50%; background: var(--ice); font-size: 28px; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px 28px; }
.drawer-home, .drawer-body summary, .drawer-body details a { min-height: 48px; display: flex; align-items: center; }
.drawer-home { padding: 0 4px; font-weight: 800; border-bottom: 1px solid var(--line); }
.drawer-body details { border-bottom: 1px solid var(--line); }
.drawer-body summary { cursor: pointer; list-style: none; font-weight: 800; }
.drawer-body summary::-webkit-details-marker { display: none; }
.drawer-body summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--brand); }
.drawer-body details[open] summary::after { content: "−"; }
.drawer-body details div { display: grid; grid-template-columns: repeat(2, 1fr); padding: 0 0 12px; gap: 6px; }
.drawer-body details a { padding: 0 10px; border-radius: 10px; background: var(--ice); font-size: 14px; font-weight: 700; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot .download-btn { width: 100%; }
main { overflow: clip; }
.section { padding: 96px 0; }
.section.compact { padding: 72px 0; }
.section-shell { width: var(--shell); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--brand-dark); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--brand); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.025em; }
h1 { margin-bottom: 22px; font-size: clamp(40px, 6vw, 72px); }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4.2vw, 48px); }
h3 { margin-bottom: 12px; font-size: 21px; }
p { color: var(--text); }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.85; }
.hero { position: relative; min-height: 690px; padding: 86px 0 70px; background: radial-gradient(circle at 80% 20%, rgba(41,128,254,.18), transparent 36%), linear-gradient(180deg, #fff 0%, #f6faff 100%); }
.hero::before { content: ""; position: absolute; left: -100px; top: 100px; width: 260px; height: 260px; border: 1px solid rgba(41,128,254,.16); border-radius: 50%; }
.hero-grid { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { max-width: 720px; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.secondary-btn, .text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 800; }
.light-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--white); color: var(--brand-dark); font-weight: 800; }
.light-btn:hover, .light-btn:focus-visible { transform: translateY(-2px); }
.secondary-btn { padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); }
.secondary-btn:hover, .secondary-btn:focus-visible { border-color: var(--brand); color: var(--brand-dark); }
.text-link { color: var(--brand-dark); }
.text-link::after { content: "→"; margin-left: 8px; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(4px); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-tags span, .soft-tag { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid rgba(41,128,254,.15); border-radius: 999px; background: rgba(255,255,255,.75); color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 45px 15px 35px 40px; border-radius: 48% 52% 42% 58% / 58% 42% 58% 42%; background: linear-gradient(145deg, #ddebff, #f8fbff); box-shadow: inset 0 0 0 1px rgba(41,128,254,.1); }
.hero-visual > img { position: relative; z-index: 2; max-height: 510px; object-fit: contain; filter: drop-shadow(0 28px 32px rgba(28,73,128,.18)); }
.float-note { position: absolute; z-index: 3; max-width: 176px; padding: 12px 14px; border: 1px solid rgba(220,230,242,.9); border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: 0 14px 30px rgba(26,67,116,.1); font-size: 13px; font-weight: 800; }
.float-note.one { left: 0; top: 22%; }.float-note.two { right: 0; top: 39%; }.float-note.three { left: 8%; bottom: 10%; }
.capability-strip { position: relative; z-index: 4; width: var(--shell); margin: -30px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.capability-item { padding: 26px 24px; }
.capability-item + .capability-item { border-left: 1px solid var(--line); }
.capability-item strong { display: block; margin-bottom: 7px; font-size: 17px; }
.capability-item p { margin: 0; font-size: 14px; line-height: 1.7; }
.categories { background: var(--white); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.category-card::after { content: attr(data-index); position: absolute; right: 20px; bottom: -14px; color: rgba(41,128,254,.08); font-size: 82px; font-weight: 900; line-height: 1; }
.category-card:hover { transform: translateY(-4px); border-color: rgba(41,128,254,.38); box-shadow: var(--shadow); }
.category-card.featured { grid-column: span 2; color: var(--white); background: linear-gradient(140deg, var(--brand), var(--brand-dark)); border-color: transparent; }
.category-card.featured p, .category-card.featured .text-link { color: rgba(255,255,255,.86); }
.category-card.wide { grid-column: span 2; background: var(--brand-soft); }
.category-card p { min-height: 82px; }
.category-card .text-link { position: relative; z-index: 2; font-size: 14px; }
.blue-panel { background: linear-gradient(135deg, #e9f3ff 0%, #f7fbff 55%, #eef6ff 100%); }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.feature-grid.reverse { grid-template-columns: 1.1fr .9fr; }
.feature-grid.reverse .feature-visual { order: 2; }
.feature-visual { min-height: 460px; padding: 30px; border-radius: var(--radius-xl); background: rgba(255,255,255,.72); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(220,230,242,.9); }
.feature-visual img { max-height: 430px; object-fit: contain; }
.content-panel { padding: clamp(26px, 4vw, 46px); border: 1px solid rgba(220,230,242,.9); border-radius: var(--radius-xl); background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-list li { position: relative; padding: 14px 14px 14px 42px; border-radius: 14px; background: var(--ice); color: var(--text); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--white); font-size: 12px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.topic-panel { position: relative; padding: 40px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--white); overflow: hidden; }
.topic-panel.offset { margin-top: 48px; background: var(--brand-soft); }
.topic-panel ul, .info-card ul, .inner-panel ul { margin: 20px 0 0; padding-left: 20px; color: var(--text); }
.topic-panel li, .info-card li, .inner-panel li { margin: 7px 0; }
.dapp-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.dapp-card { padding: 42px; border-radius: var(--radius-xl); overflow: hidden; }
.dapp-card.primary { min-height: 500px; background: linear-gradient(145deg, #f5f9ff, #e8f2ff); display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 30px; }
.dapp-card.primary img { max-height: 360px; object-fit: contain; }
.dapp-card.secondary { margin-top: 80px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.security-band { background: linear-gradient(125deg, #10233f 0%, #173a6b 55%, #1b5fb5 100%); color: var(--white); }
.security-band p, .security-band li { color: rgba(255,255,255,.82); }
.security-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.security-callout { padding: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-xl); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.security-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.security-list li { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.08); }
.swap-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; align-items: center; }
.swap-intro { padding: 34px; border-radius: var(--radius-xl); background: var(--brand-soft); }
.swap-intro img { max-height: 300px; margin: 0 auto 24px; object-fit: contain; }
.preflight { counter-reset: preflight; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.preflight div { position: relative; min-height: 96px; padding: 20px 18px 18px 54px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.preflight div::before { counter-increment: preflight; content: counter(preflight); position: absolute; left: 16px; top: 17px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--white); font-size: 12px; font-weight: 900; }
.pathway { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.path-step { position: relative; padding: 24px 20px; border-top: 3px solid var(--brand); border-radius: 0 0 18px 18px; background: var(--ice); }
.path-step span { display: block; margin-bottom: 16px; color: var(--brand); font-size: 28px; font-weight: 900; }
.path-step p { font-size: 14px; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ecosystem-card { padding: 42px; border-radius: var(--radius-xl); background: var(--ice); border: 1px solid var(--line); }
.ecosystem-card:last-child { background: linear-gradient(145deg, var(--brand), var(--brand-dark)); color: var(--white); }
.ecosystem-card:last-child p, .ecosystem-card:last-child li, .ecosystem-card:last-child .text-link { color: rgba(255,255,255,.84); }
.timeline { position: relative; margin-left: 10px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: start; padding: 0 0 28px; }
.timeline-item::before { content: ""; position: absolute; left: -33px; top: 7px; width: 14px; height: 14px; border: 4px solid var(--white); border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 1px var(--line); }
.timeline-item time { color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.timeline-item h3 { margin-bottom: 6px; font-size: 18px; }
.timeline-item p { margin: 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.review-card:nth-child(2), .review-card:nth-child(5) { transform: translateY(18px); background: var(--brand-soft); }
.review-card p { margin-bottom: 18px; }
.review-card span { color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.faq-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > button { width: 100%; min-height: 72px; padding: 18px 54px 18px 4px; border: 0; background: transparent; text-align: left; font-weight: 800; cursor: pointer; position: relative; }
.faq-item > button::after { content: "+"; position: absolute; right: 8px; top: 50%; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); transform: translateY(-50%); font-size: 21px; }
.faq-item.is-open > button::after { content: "−"; }
.faq-answer { padding: 0 54px 24px 4px; }
.faq-answer p { margin: 0; }
.download-cta { position: relative; padding: 64px; border-radius: 32px; text-align: center; color: var(--white); background: linear-gradient(135deg, var(--brand), #195ec8); overflow: hidden; }
.download-cta::before, .download-cta::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.download-cta::before { width: 260px; height: 260px; left: -110px; top: -140px; }.download-cta::after { width: 330px; height: 330px; right: -170px; bottom: -210px; }
.download-cta p { max-width: 700px; margin: 0 auto 24px; color: rgba(255,255,255,.84); }
.download-cta .download-btn { position: relative; z-index: 2; background: var(--white); color: var(--brand-dark); border-color: var(--white); }
.inner-hero { position: relative; padding: 92px 0 70px; background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%); }
.inner-hero::after { content: ""; position: absolute; right: -100px; top: 20px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(41,128,254,.15), rgba(41,128,254,0) 68%); }
.inner-hero-grid { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 52px; align-items: center; }
.inner-hero h1 { font-size: clamp(40px, 5vw, 64px); }
.inner-hero-copy { position: relative; z-index: 2; }
.inner-hero-visual { min-height: 360px; padding: 28px; border-radius: var(--radius-xl); background: rgba(255,255,255,.82); box-shadow: var(--shadow); display: grid; place-items: center; }
.inner-hero-visual.no-image { align-content: center; background: linear-gradient(145deg, var(--brand-soft), #fff); }
.inner-hero-visual img { max-height: 340px; object-fit: contain; }
.inner-hero-visual .hero-facts { display: grid; gap: 12px; width: 100%; }
.hero-fact { padding: 18px 20px; border: 1px solid rgba(41,128,254,.14); border-radius: 16px; background: rgba(255,255,255,.76); }
.hero-fact strong { display: block; margin-bottom: 4px; }
.inner-section { padding: 84px 0; }
.inner-section.alt { background: var(--ice); }
.inner-grid { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.inner-grid.reverse { grid-template-columns: 1.15fr .85fr; }
.inner-grid.reverse > :first-child { order: 2; }
.inner-title { position: sticky; top: 112px; }
.inner-title p { max-width: 420px; }
.inner-content { display: grid; gap: 18px; }
.inner-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.inner-panel.featured { color: var(--white); background: linear-gradient(145deg, var(--brand), var(--brand-dark)); border-color: transparent; }
.inner-panel.featured p, .inner-panel.featured li, .inner-panel.featured .text-link { color: rgba(255,255,255,.84); }
.info-grid { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.info-card:nth-child(2) { background: var(--brand-soft); }
.info-card .number { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 12px; background: var(--brand); color: var(--white); font-weight: 900; }
.compare-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.compare-table th, .compare-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { color: var(--brand-dark); background: var(--brand-soft); }
.compare-table tr:last-child td { border-bottom: 0; }
.notice { padding: 24px 26px; border-left: 4px solid var(--brand); border-radius: 0 16px 16px 0; background: var(--brand-soft); }
.notice strong { display: block; margin-bottom: 6px; }
.site-footer { color: var(--white); background: var(--footer); }
.footer-main { width: var(--shell); margin: 0 auto; padding: 70px 0 52px; display: grid; grid-template-columns: 1.55fr repeat(4, 1fr); gap: 36px; }
.footer-brand img { width: 164px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 330px; margin: 22px 0; color: rgba(255,255,255,.68); font-size: 14px; }
.footer-download { min-height: 44px; padding: 0 20px; }
.footer-column h2 { margin-bottom: 18px; font-size: 15px; color: var(--white); }
.footer-column a { display: block; padding: 5px 0; color: rgba(255,255,255,.68); font-size: 14px; }
.footer-column a:hover, .footer-column a:focus-visible { color: var(--white); }
.footer-bottom { width: var(--shell); margin: 0 auto; padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.55); font-size: 13px; }
@media (max-width: 1120px) {
  .header-shell { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 12px; }
  .brand img { width: 148px; }
  .desktop-nav { gap: 10px; }
  .nav-link { font-size: 13px; }
  .header-download { padding: 0 14px; }
  .more-wrap { display: none; }
  .pathway { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --shell: min(100% - 32px, 760px); }
  .header-shell { min-height: 70px; grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .header-actions { justify-content: flex-end; }
  .menu-button { display: flex; }
  .hero { min-height: auto; padding-top: 68px; }
  .hero-grid, .inner-hero-grid, .feature-grid, .feature-grid.reverse, .security-grid, .swap-layout, .inner-grid, .inner-grid.reverse { grid-template-columns: 1fr; }
  .feature-grid.reverse .feature-visual, .inner-grid.reverse > :first-child { order: initial; }
  .hero-visual { min-height: 440px; }
  .capability-strip { grid-template-columns: repeat(2, 1fr); margin-top: -18px; }
  .capability-item + .capability-item { border-left: 0; }
  .capability-item:nth-child(even) { border-left: 1px solid var(--line); }
  .capability-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card.featured, .category-card.wide { grid-column: span 2; }
  .split-grid, .dapp-layout, .ecosystem-grid { grid-template-columns: 1fr; }
  .topic-panel.offset, .dapp-card.secondary { margin-top: 0; }
  .dapp-card.primary { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card:nth-child(2), .review-card:nth-child(5) { transform: none; }
  .inner-title { position: static; }
  .inner-hero-visual { min-height: 320px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 680px) {
  :root { --shell: calc(100% - 24px); }
  .header-shell { min-height: 64px; }
  .brand img { width: 132px; max-height: 42px; }
  .header-download { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .menu-button { width: 44px; height: 44px; min-width: 44px; }
  .section { padding: 72px 0; }.section.compact { padding: 56px 0; }
  .hero { padding: 54px 0 56px; }
  h1 { font-size: clamp(38px, 12vw, 52px); }
  h2 { font-size: clamp(29px, 9vw, 40px); }
  .hero-actions, .button-row { display: grid; grid-template-columns: 1fr; }
  .hero-actions > *, .button-row > * { width: 100%; }
  .hero-tags { gap: 8px; }
  .hero-visual { min-height: 390px; margin-top: 10px; }
  .hero-visual > img { max-height: 360px; }
  .float-note { max-width: 145px; font-size: 11px; padding: 10px 11px; }
  .float-note.one { left: 2%; top: 16%; }.float-note.two { right: 1%; top: 45%; }.float-note.three { left: 4%; bottom: 8%; }
  .capability-strip { grid-template-columns: 1fr; border-radius: 20px; }
  .capability-item:nth-child(even) { border-left: 0; }
  .capability-item + .capability-item { border-top: 1px solid var(--line); }
  .category-grid { grid-template-columns: 1fr; }
  .category-card.featured, .category-card.wide { grid-column: span 1; }
  .category-card { min-height: 0; }
  .category-card p { min-height: 0; }
  .feature-visual { min-height: 330px; padding: 22px; }
  .feature-visual img { max-height: 300px; }
  .content-panel, .topic-panel, .dapp-card, .ecosystem-card, .inner-panel, .info-card { padding: 26px 22px; }
  .check-list, .security-list, .preflight, .info-grid { grid-template-columns: 1fr; }
  .dapp-card.primary { grid-template-columns: 1fr; }
  .dapp-card.primary img { max-height: 260px; }
  .pathway { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 7px; }
  .timeline-item .text-link { justify-content: flex-start; }
  .review-grid { grid-template-columns: 1fr; }
  .download-cta { padding: 44px 22px; border-radius: 26px; }
  .inner-hero { padding: 66px 0 52px; }
  .inner-hero-grid { gap: 30px; }
  .inner-hero-visual { min-height: 250px; }
  .inner-section { padding: 66px 0; }
  .compare-table { display: block; overflow-x: auto; }
  .footer-main { grid-template-columns: 1fr; padding-top: 54px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
