:root {
  --background: #0b0e0d;
  --foreground: #f3f7f5;
  --card: #131916;
  --card-foreground: #f3f7f5;
  --popover: #131916;
  --primary: #20d9aa;
  --primary-foreground: #06291f;
  --brand: #20d9aa;
  --ring: #20d9aa;
  --teal: #20d9aa;
  --muted-foreground: #9baaa3;
}
html { scroll-behavior: smooth; }
body { font-family: Inter, Arial, sans-serif; }
[hidden] { display: none !important; }
.hero-section { background: transparent; }
.hero-layout { align-items: start; padding-top: 24px; gap: 24px; grid-template-areas: "intro" "calculator" "support"; }
.hero-copy { grid-area: intro; min-width: 0; }
.hero-support { grid-area: support; min-width: 0; }
.hero-layout > .calculator-layout { grid-area: calculator; }
.hero-title { width: 100%; margin: 18px 0 0; font-size: clamp(2.2rem, 9.5vw, 3.625rem); font-weight: 800; line-height: 1.04; letter-spacing: -.05em; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
.hero-title-lead, .hero-title-accent { display: block; }
.hero-title-lead { color: var(--foreground); }
.hero-title-accent { color: var(--brand); margin-top: 4px; }
.hero-description { width: 100%; max-width: 36rem; margin: 20px 0 0; color: var(--muted-foreground); font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.hero-payment-methods { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 18px; }
.hero-payment-method { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 12px; border: 1px solid #20d9aa40; border-radius: 12px; background: #20d9aa10; color: var(--brand); font-size: 13px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.hero-payment-method svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 22px; }
.hero-stat { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 14px 12px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); }
.hero-stat dt { order: 2; color: var(--muted-foreground); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.hero-stat dd { order: 1; color: var(--foreground); font-size: 25px; font-weight: 800; line-height: 1.15; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.hero-stat-bonus dd { color: var(--brand); }
.hero-support .hero-trust-points { margin-top: 0; }
header nav a, header a[data-telegram] { font-weight: 650; }
.header-inner { height: 56px; }
header .eurivo-tail { font-weight: 750; }
@media (min-width: 1024px) {
  .hero-layout { padding-top: 28px; column-gap: 48px; grid-template-areas: "intro calculator" "support calculator"; }
  .hero-title { font-size: clamp(3rem, 4.25vw, 3.625rem); }
  .hero-description { font-size: 17px; }
}
.eurivo-brand-link, .eurivo-brand-lockup { display: inline-flex; align-items: center; flex-shrink: 0; }
.eurivo-brand { display: inline-flex; align-items: center; gap: 0; white-space: nowrap; font-size: 32px; line-height: 1; user-select: none; }
.eurivo-initial { display: block; width: 1.04em; height: 1.04em; object-fit: contain; flex-shrink: 0; margin-right: -.065em; }
.eurivo-tail { display: block; font-weight: 650; letter-spacing: -.055em; line-height: 1; color: #e7eeea; background: linear-gradient(175deg, #ffffff 10%, #c3cdc8 52%, #f5f9f7 64%, #b4c9be 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
footer .eurivo-brand { font-size: 32px; }
.language-control { display: flex; align-items: center; gap: 6px; height: 36px; border: 1px solid var(--border); background: #ffffff05; border-radius: 10px; padding: 0 9px; color: var(--muted-foreground); }
.language-control svg { width: 15px; height: 15px; flex-shrink: 0; }
.language-control select { width: 53px; border: 0; outline: 0; background: transparent; color: var(--foreground); font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; }
.language-control option { background: var(--card); color: var(--foreground); }
.language-control:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
.eurivo-mobile-nav { border-top: 1px solid var(--border); padding: 8px 16px 16px; background: var(--background); }
.eurivo-mobile-nav a { display: block; padding: 10px 12px; font-size: 15px; border-radius: 8px; }
.eurivo-mobile-nav a:hover { background: #ffffff08; }
.exchange-card { position: relative; border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: 0 25px 80px -35px #20d9aa22; }
.exchange-card::before { content: ""; position: absolute; height: 1px; inset: -1px 32px auto; background: linear-gradient(90deg, transparent, #20d9aa88, transparent); }
.calculator-title { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 650; letter-spacing: -.5px; }
.direction-tabs { display: flex; gap: 8px; margin: 18px 0 20px; }
.direction-tabs button { flex: 1; min-width: 0; min-height: 46px; padding: 10px; border: 1px solid var(--border); border-radius: 24px; color: var(--muted-foreground); font-size: 14px; font-weight: 650; line-height: 1.4; transition: background .15s, color .15s; }
.direction-tabs button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--primary-foreground); font-weight: 750; }
.amounts { position: relative; display: flex; flex-direction: column; gap: 8px; }
.amount-box { background: #0b0e0d66; border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.amount-label { color: var(--muted-foreground); font-size: 12px; font-weight: 500; }
.amount-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.amount-value { min-width: 0; flex: 1; font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
input.amount-value { background: transparent; color: var(--foreground); outline: none; width: 0; border: 0; }
input.amount-value:focus { box-shadow: 0 2px 0 -1px var(--brand); }
#receive-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.currency-select { color: var(--foreground); border: 1px solid var(--border); border-radius: 12px; background: var(--background); padding: 0 12px; height: 48px; font-size: 14px; outline: none; }
.currency-select { width: 100px; flex-shrink: 0; }
select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
select option { background: var(--card); }
.swap-button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--card); color: var(--muted-foreground); z-index: 1; transition: color .15s, border-color .15s; }
.swap-button:hover { color: var(--brand); border-color: var(--brand); }
.swap-button svg { width: 16px; height: 16px; }
.rate-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 12px; font-size: 11px; color: var(--muted-foreground); margin: 12px 2px 0; }
.rate-number { color: var(--foreground); font-weight: 500; }
.rate-type { margin-left: 7px; opacity: .8; }
.rate-time { display: inline-flex; align-items: center; gap: 4px; }
.rate-time svg { width: 12px; height: 12px; }
.rate-stale { color: #d9ad62; }
.bonus-breakdown { margin-top: 12px; border: 1px solid #20d9aa40; border-radius: 12px; padding: 12px 16px; background: #20d9aa0c; font-size: 13px; }
.bonus-breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.bonus-breakdown dt { min-width: 0; color: var(--muted-foreground); }
.bonus-breakdown dd { min-width: 0; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.bonus-breakdown .rate-summary { margin-bottom: 3px; padding-bottom: 7px; border-bottom: 1px solid #20d9aa22; }
.rate-summary dd { font-weight: 600; }
.bonus-breakdown .total-row { border-top: 1px solid #20d9aa33; margin-top: 5px; padding-top: 7px; font-weight: 600; }
.bonus-amount { color: var(--brand); font-weight: 650; }
.bonus-badge { display: inline-block; color: var(--brand); border: 1px solid #20d9aa66; background: #20d9aa20; border-radius: 5px; padding: 2px 5px; font-size: 11px; font-weight: 600; margin-left: 5px; }
.commission-amount { color: #efb56c; font-weight: 650; }
.commission-badge { color: #efb56c; border-color: #efb56c66; background: #efb56c18; }
.calculator-layout { min-width: 0; }
.exchange-telegram { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 72px; padding: 18px 24px; margin-top: 20px; border: 1px solid #6ab8ff55; border-radius: 20px; background: linear-gradient(110deg, #2ab9ef 0%, #257ced 47%, #214cda 100%); color: #fff; text-align: center; font-size: 18px; line-height: 1.4; font-weight: 800; box-shadow: 0 14px 34px -12px #2477ff99, inset 0 1px 0 #ffffff20; transition: filter .15s, box-shadow .15s, transform .15s; }
.exchange-telegram:hover { filter: brightness(1.1); box-shadow: 0 16px 40px -10px #2477ffaa, inset 0 1px 0 #ffffff20; transform: translateY(-1px); }
.exchange-telegram:focus-visible { outline-color: #70caff; }
.telegram-cta-icon { width: 21px; height: 21px; flex-shrink: 0; }
.telegram-cta-note { margin-top: 12px; color: var(--muted-foreground); text-align: center; font-size: 12px; line-height: 1.6; }
.exchange-note { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-top: 12px; color: var(--muted-foreground); text-align: center; font-size: 11px; line-height: 1.5; }
.exchange-note svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 1px; }
.amount-error { color: #ff9295; font-size: 12px; margin: 8px 2px 0; }
#contact-notice { position: fixed; bottom: 85px; right: 20px; width: min(380px, calc(100% - 40px)); border: 1px solid #20d9aa44; border-radius: 14px; background: #14221def; box-shadow: 0 10px 40px #0008; color: var(--foreground); padding: 16px 20px; font-size: 13px; line-height: 1.6; z-index: 70; backdrop-filter: blur(16px); }
.noscript-notice { padding: 20px; text-align: center; background: var(--card); }
@media (max-width: 767px) {
  header .eurivo-brand { font-size: 28px; }
  .hero-support .hero-actions { display: none; }
  .language-control { height: 34px; padding: 0 7px; }
  .language-control select { width: 48px; }
  .exchange-card { padding: 20px; }
  .direction-tabs button { font-size: 13px; }
  .amount-value { font-size: 24px; }
  .currency-select { width: 92px; }
  .exchange-telegram { min-height: 64px; font-size: 16px; padding: 16px 18px; border-radius: 18px; }
  .bonus-breakdown { padding: 10px 12px; font-size: 12px; }
  #contact-notice { bottom: 88px; right: 16px; }
}
@media (max-width: 479px) {
  .header-telegram-label { display: none; }
  .header-telegram-link { width: 36px; padding-inline: 0; flex-shrink: 0; }
}
@media (max-width: 359px) {
  .hero-stat { padding: 12px 9px; border-radius: 16px; }
  .hero-stat dt { font-size: 11px; }
  .hero-stat dd { font-size: 22px; }
  .hero-payment-method { padding: 8px 10px; font-size: 12px; }
}
@media (min-width: 768px) { .eurivo-mobile-nav { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Native accessible language picker, with a clean two-letter display. */
.language-control { position: relative; min-width: 75px; gap: 7px; }
.language-control select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
#language-code { color: var(--foreground); font-size: 12px; font-weight: 500; }
.language-control::after { content: ""; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-top: -3px; }
@media (max-width: 359px) {
  header .eurivo-brand { font-size: 25px; }
  header .language-control { min-width: 67px; gap: 5px; }
  header a[target="_blank"] { padding-inline: 8px; font-size: 12px; }
}

/* Reference landing messages, integrated into Eurivo's existing dark palette. */
.hero-availability { max-width: 100%; padding: 6px 12px; font-size: 12px; font-weight: 750; letter-spacing: .035em; line-height: 1.4; }
.hero-trust-points { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--foreground); }
.hero-trust-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust-points svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand); }
.cash-safety-notice { display: flex; align-items: flex-start; gap: 12px; width: 100%; max-width: 36rem; margin-top: 22px; padding: 17px 18px; border: 1px solid #e5a04e45; border-left: 4px solid #e5a04e; border-radius: 15px; background: #e5a04e08; color: var(--foreground); }
.cash-safety-notice svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: #e5a04e; }
.cash-safety-notice p { margin: 0; font-size: 14px; line-height: 1.65; font-weight: 550; }
.final-rate-note { margin-top: 7px; }
.calculator-cash-notice { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 12px; border: 1px solid #e5a04e40; border-radius: 10px; background: #e5a04e08; font-size: 12px; line-height: 1.6; }
.calculator-cash-notice svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: #e5a04e; }
@media (max-width: 767px) {
  .hero-trust-points { gap: 10px 16px; font-size: 12px; }
  .cash-safety-notice { padding: 14px; }
  .cash-safety-notice p { font-size: 13px; }
}
