@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light dark;
  --paper: #f2f4f1;
  --surface: #ffffff;
  --ink: #15201b;
  --muted: #66716b;
  --line: #dfe5e1;
  --emerald: #167a59;
  --emerald-soft: #e1f1e9;
  --night: #0f1411;
  --night-soft: #19211d;
  --orange: #ff9418;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(19, 36, 29, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--emerald) 68%, white);
  outline-offset: 4px;
}

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -0.04em; }
.brand img { width: 30px; height: 30px; display: block; }
.brand-dot { width: 5px; height: 5px; margin: 13px 0 0 -8px; border-radius: 50%; background: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--emerald);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); background: #116b4d; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--surface); border-color: #c9d2cd; }

.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); }

.hero { padding: clamp(72px, 10vw, 132px) 0 clamp(74px, 10vw, 126px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(42px, 7vw, 96px); }

.eyebrow { margin: 0 0 22px; color: var(--emerald); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(48px, 7.2vw, 92px); line-height: .98; letter-spacing: -.062em; font-weight: 800; }
.hero-copy { max-width: 650px; margin-bottom: 34px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art {
  position: relative;
  min-height: 540px;
  border-radius: 40px;
  background: var(--night);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image: radial-gradient(circle, #89aa9b 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(140deg, #000, transparent 72%);
}

.mark-watermark { position: absolute; width: 68%; right: -7%; bottom: -5%; opacity: .11; filter: brightness(0) invert(1); }
.network-line { position: absolute; height: 1px; transform-origin: 0 50%; background: linear-gradient(90deg, transparent, rgba(53,184,135,.8), transparent); }
.line-a { width: 64%; left: 20%; top: 34%; transform: rotate(17deg); }
.line-b { width: 65%; left: 14%; top: 61%; transform: rotate(-19deg); }
.line-c { width: 48%; left: 42%; top: 51%; transform: rotate(74deg); }

.coin {
  position: absolute;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  background: rgba(255,255,255,.07);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  font-size: 18px;
  font-weight: 800;
}

.coin small { display: block; color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: .1em; }
.coin.btc { left: 12%; top: 14%; }
.coin.bch { right: 11%; top: 27%; }
.coin.ltc { left: 22%; bottom: 13%; }
.coin.doge { right: 16%; bottom: 15%; }
.core { position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 34px; background: #15231d; border: 1px solid rgba(53,184,135,.36); box-shadow: 0 0 0 18px rgba(53,184,135,.05), 0 24px 64px rgba(0,0,0,.4); }
.core img { width: 74px; height: 74px; }

.section { padding: clamp(78px, 10vw, 128px) 0; }
.section.white { background: var(--surface); }
.section.dark { background: var(--night); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section h2 { margin-bottom: 20px; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.048em; }
.section-intro { color: var(--muted); font-size: 19px; line-height: 1.66; }
.dark .section-intro { color: #9aa59f; }

.coin-grid, .feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.network-card, .feature-card { border: 1px solid var(--line); border-radius: 24px; background: var(--paper); padding: 26px; }
.network-symbol { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 15px; background: var(--emerald-soft); color: var(--emerald); font-size: 19px; font-weight: 800; }
.network-card h3, .feature-card h3 { margin-bottom: 8px; font-size: 18px; letter-spacing: -.025em; }
.network-card p, .feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card { min-height: 230px; background: var(--night-soft); border-color: #2a342f; }
.feature-number { color: var(--emerald); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.feature-card h3 { margin-top: 56px; color: #fff; font-size: 23px; }
.feature-card p { color: #98a39d; }

.privacy-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.privacy-copy, .backup-copy { padding: clamp(32px, 5vw, 58px); border-radius: 32px; }
.privacy-copy { background: var(--emerald); color: #fff; }
.backup-copy { border: 1px solid var(--line); background: var(--surface); }
.privacy-panel h3 { margin-bottom: 16px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; }
.privacy-panel p { margin-bottom: 0; font-size: 16px; line-height: 1.7; }
.privacy-copy p { color: rgba(255,255,255,.75); }
.backup-copy p { color: var(--muted); }

.cta { padding: clamp(80px, 11vw, 144px) 0; text-align: center; }
.cta h2 { max-width: 820px; margin-inline: auto; }
.cta p { max-width: 620px; margin: 0 auto 32px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.cta .actions { justify-content: center; }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-copy { max-width: 310px; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-title { margin-bottom: 15px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }

.legal-hero { padding: clamp(70px, 9vw, 116px) 0 58px; }
.legal-hero h1 { font-size: clamp(44px, 6.6vw, 76px); }
.legal-summary { max-width: 760px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(36px, 8vw, 100px); align-items: start; padding-bottom: 110px; }
.legal-nav { position: sticky; top: 100px; display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.legal-nav strong { color: var(--ink); margin-bottom: 8px; }
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.legal h2 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -.025em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #4f5b55; font-size: 15px; line-height: 1.75; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--emerald); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin-bottom: 34px; padding: 18px 20px; border-radius: 18px; background: var(--emerald-soft); color: #245f4a; }
.contact-card { margin-top: 22px; padding: 22px; border-radius: 18px; background: var(--paper); }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1411;
    --surface: #151c18;
    --ink: #f3f6f4;
    --muted: #9ca8a1;
    --line: #2a342f;
    --emerald: #35b887;
    --emerald-soft: #173a2e;
    --night: #090d0b;
    --night-soft: #141b17;
    --shadow: 0 30px 80px rgba(0, 0, 0, .42);
  }
  .button:hover { background: #40c893; }
  .button.secondary:hover { border-color: #46534c; }
  .legal p, .legal li { color: #b1bbb5; }
  .legal-note { color: #bcebd7; }
}

@media (max-width: 920px) {
  .hero-grid, .privacy-panel { grid-template-columns: 1fr; }
  .hero-art { min-height: 500px; }
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 190px; }
  .feature-card h3 { margin-top: 40px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-links { display: none; position: absolute; inset: 70px 14px auto; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); align-items: stretch; }
  .nav-links.open { display: grid; }
  .nav-links .button { margin-top: 4px; }
  .menu-button { display: inline-grid; place-items: center; }
  h1 { font-size: clamp(45px, 15vw, 70px); }
  .hero { padding-top: 58px; }
  .hero-art { min-height: 430px; border-radius: 28px; }
  .coin { width: 72px; height: 72px; border-radius: 22px; }
  .core { width: 96px; height: 96px; border-radius: 28px; }
  .core img { width: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .legal-nav strong { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .coin-grid { grid-template-columns: 1fr; }
  .actions { display: grid; }
  .button { width: 100%; }
  .hero-art { min-height: 390px; }
  .coin.btc { left: 7%; top: 10%; }
  .coin.bch { right: 7%; top: 22%; }
  .coin.ltc { left: 12%; bottom: 10%; }
  .coin.doge { right: 10%; bottom: 8%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
