/* Eurion Wallet site: the app's tokens (handoff/tokens.json) on the web. Light first, dark mirrors it. */
:root {
  --bg: #f6f6f6;
  --surface: #ffffff;
  --ink: #01040b;
  --ink2: #5f626b;
  --ink3: #9a9da5;
  --line: rgba(1, 4, 11, 0.07);
  --ring: rgba(1, 4, 11, 0.05);
  --blue: #3e83f9;
  --blue-text: #2563d9;
  --tint: #eaf2ff;
  --shadow: 0 30px 60px -30px rgba(1, 4, 11, 0.35);
  --glow-a: rgba(62, 131, 249, 0.3);
  --glow-b: rgba(120, 214, 214, 0.34);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c11;
    --surface: #141821;
    --ink: #f2f4f8;
    --ink2: #9aa1ae;
    --ink3: #5f6673;
    --line: rgba(255, 255, 255, 0.07);
    --ring: rgba(255, 255, 255, 0.06);
    --blue-text: #7aaafc;
    --tint: rgba(62, 131, 249, 0.16);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
    --glow-a: rgba(62, 131, 249, 0.22);
    --glow-b: rgba(120, 214, 214, 0.16);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font:
    400 16px/1.55 Inter,
    system-ui,
    -apple-system,
    sans-serif;
  overflow-x: hidden;
}
a {
  color: var(--blue-text);
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
.num {
  font-family: Montserrat, Inter, sans-serif;
  letter-spacing: -0.02em;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font:
    600 22px Montserrat,
    sans-serif;
  letter-spacing: -0.4px;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.brand b {
  color: var(--blue-text);
  font-weight: 600;
}
.top nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}
.top nav a {
  color: var(--ink2);
  font-weight: 500;
}

.hero {
  position: relative;
  padding: 56px 0 24px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -120px -20% auto;
  height: 560px;
  z-index: -1;
  background:
    radial-gradient(34% 42% at 38% 50%, var(--glow-a), transparent 70%),
    radial-gradient(28% 34% at 64% 44%, var(--glow-b), transparent 70%);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--ring);
  color: var(--ink2);
  font-size: 14px;
  font-weight: 500;
}
.hero h1 {
  margin: 22px auto 0;
  max-width: 760px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 600;
}
.hero p {
  margin: 20px auto 0;
  max-width: 560px;
  color: var(--ink2);
  font-size: clamp(17px, 2.2vw, 20px);
}
.cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 26px;
  border-radius: 27px;
  font:
    600 17px Inter,
    sans-serif;
  color: #fff;
  background: linear-gradient(160deg, #5b97fb, #2b67d9);
  box-shadow:
    0 14px 28px -14px rgba(36, 89, 196, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}
.btn.ghost {
  color: var(--ink);
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--ring),
    0 6px 16px -12px rgba(1, 4, 11, 0.3);
}

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(12px, 3vw, 36px);
  margin: 56px 0 24px;
}
.phone {
  width: clamp(150px, 26vw, 290px);
  aspect-ratio: 390 / 844;
  border-radius: clamp(26px, 4.4vw, 46px);
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    var(--shadow),
    0 0 0 1px var(--ring);
}
.phone img {
  width: 100%;
  height: 100%;
  display: block;
}
.phone.side {
  transform: translateY(32px) scale(0.92);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 64px 0;
}
.card {
  background: var(--surface);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 0 0 1px var(--ring);
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--blue-text);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 19px;
  font-weight: 600;
}
.card p {
  margin-top: 6px;
  color: var(--ink2);
  font-size: 15px;
}

.how {
  padding: 8px 0 72px;
  text-align: center;
}
.how h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
}
.how .lead {
  margin: 12px auto 0;
  max-width: 560px;
  color: var(--ink2);
}
.example {
  margin: 28px auto 0;
  max-width: 420px;
  text-align: left;
  background: var(--surface);
  border-radius: 24px;
  padding: 6px 20px;
  box-shadow: 0 0 0 1px var(--ring);
}
.example div {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 15px;
}
.example div + div {
  border-top: 1px solid var(--line);
}
.example span {
  color: var(--ink2);
}
.example .total span {
  color: var(--ink);
  font-weight: 600;
}
.example .total b {
  color: var(--blue-text);
  font-size: 17px;
}
.example b {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  color: var(--ink2);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
footer a {
  color: var(--ink2);
  font-weight: 500;
}

/* Legal pages */
.doc {
  width: min(760px, 100% - 32px);
  margin: 24px auto 72px;
}
.doc h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 600;
}
.doc .meta {
  color: var(--ink2);
  margin-top: 8px;
  font-size: 15px;
}
.doc h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 36px;
}
.doc p,
.doc li {
  color: var(--ink);
  margin-top: 12px;
}
.doc ul {
  padding-left: 22px;
}
.doc .note {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--tint);
  font-size: 15px;
}

@media (max-width: 640px) {
  .top nav {
    display: none;
  }
  .phone.side {
    display: none;
  }
  .phone {
    width: min(300px, 78vw);
  }
  .hero {
    padding-top: 32px;
  }
}
