/* Crypto hero typography and phone layout. */

#alfred-site[data-palette] main .am-title {
  font-size:clamp(3.2rem,8.2vw,7.15rem);
}
#alfred-site[data-palette] main .am-subtitle {
  font-size:clamp(34px,3.55vw,48px) !important;
  margin-bottom:0 !important;
  padding-inline-start:.115em;
}
#alfred-site .am-hero-copy > .alfred-live-presence {
  --alp-scale:1.065;
  margin-top:clamp(23px,2vw,29px);
}
#alfred-site .am-hero-copy > .alfred-live-presence .alp-compose {
  border-radius:999px;
  border-color:rgba(68,43,34,.15);
  background:linear-gradient(165deg,rgba(255,255,245,.26),rgba(255,255,245,.07));
  box-shadow:inset 0 1px 0 rgba(255,255,245,.25),0 8px 16px -13px rgba(68,43,34,.28);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
#alfred-site .am-hero-copy .alp-copy strong { font-weight:650; }
#alfred-site .am-hero-copy .alp-tagline { color:var(--alp-ink); }
#alfred-site[data-black-ink] .am-hero-copy {
  color:#111 !important;
}
#alfred-site[data-black-ink] :is(.am-title,.am-subtitle,.am-sb-crypto,.am-sb-via,.am-hline-sub,.am-aw) {
  color:#111 !important;
}
#alfred-site[data-black-ink] .am-hero-copy > .alfred-live-presence {
  --alp-ink:#111;
  --alp-muted:#303030;
}
#alfred-site #am-live-support:not(.is-reminder-mode) .alp-compose,
#alfred-site #am-live-support.has-channel .alp-compose {
  min-height:72px;
  zoom:var(--alp-scale);
}
#alfred-site #am-live-support.has-channel { width:min(100%,calc(344px * var(--alp-scale))); }
@media (width <= 680px) {
  #alfred-site #am-live-support:not(.is-reminder-mode) .alp-compose,
  #alfred-site #am-live-support.has-channel .alp-compose {
    min-height:64px;
  }
}
#alfred-site .am-hero-copy > .alfred-live-presence:not(.is-reminder-mode):not(.has-channel) .alp-compose {
  padding-inline:13px 10px;
}
@media (701px <= width <= 800px), (width <= 350px) {
  #alfred-site .am-hero-copy > .alfred-live-presence { --alp-scale:1.02; }
  #alfred-site .am-hero-copy > .alfred-live-presence:not(.is-reminder-mode):not(.has-channel) .alp-compose {
    padding-inline:9px 7px;
  }
}
.site-translated #alfred-site #am-live-support:not(.has-channel):not(.is-reminder-mode) {
  width:fit-content !important;
}

@media (max-width:680px) {
  #alfred-site .am-header {
    position:relative !important;
    z-index:50 !important;
    background:#050605 !important;
  }

  #alfred-site .am-header-inner {
    width:calc(100% - 32px) !important;
    min-height:0 !important;
    padding:15px 0 11px !important;
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:13px 12px !important;
  }

  #alfred-site .am-header .am-logo {
    order:1 !important;
    margin:0 0 8px !important;
    padding:0 !important;
    flex:0 0 auto !important;
  }

  #alfred-site .am-header .am-logo .am-authentic-wordmark {
    width:96px !important;
  }

  #alfred-site .am-header .am-logo .am-logo-tagline {
    top:calc(100% + 3px) !important;
    font-size:8.5px !important;
    color:rgba(239,228,210,.66) !important;
  }

  #alfred-site .am-menu-toggle { display:none !important; }

  #alfred-site .am-header-actions {
    order:2 !important;
    position:relative !important;
    z-index:3 !important;
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    margin-left:auto !important;
  }

  #alfred-site .am-login-link,
  #alfred-site .am-lang-summary {
    min-height:31px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1px solid rgba(255,255,255,.16) !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.055) !important;
    color:#fffaf0 !important;
    text-decoration:none !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
  }

  #alfred-site .am-login-link {
    padding:0 11px !important;
    font:600 11.5px/1 "DM Sans",Arial,sans-serif !important;
    letter-spacing:.02em !important;
  }

  #alfred-site .am-header-divider { display:none !important; }
  #alfred-site .am-lang-picker { position:relative !important; color:#fffaf0 !important; }
  #alfred-site .am-lang-summary {
    width:34px !important;
    padding:0 !important;
    list-style:none !important;
    cursor:pointer !important;
  }
  #alfred-site .am-lang-summary::-webkit-details-marker { display:none !important; }
  #alfred-site .am-sel-flag { font-size:16px !important; }
  #alfred-site .am-lang-dropdown {
    position:absolute !important;
    top:41px !important;
    right:0 !important;
    z-index:200 !important;
    min-width:174px !important;
    padding:7px !important;
    border:1px solid rgba(255,255,255,.13) !important;
    border-radius:14px !important;
    background:rgba(13,15,13,.96) !important;
    box-shadow:0 18px 40px rgba(0,0,0,.4) !important;
    backdrop-filter:blur(18px) !important;
    -webkit-backdrop-filter:blur(18px) !important;
  }
  #alfred-site .am-lang-option {
    width:100% !important;
    min-height:40px !important;
    padding:8px 10px !important;
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    border:0 !important;
    border-radius:9px !important;
    background:transparent !important;
    color:rgba(255,250,240,.82) !important;
    font:500 13px/1.2 "DM Sans",Arial,sans-serif !important;
    text-align:left !important;
  }
  #alfred-site .am-lang-option:active { background:rgba(255,255,255,.09) !important; }

  #alfred-site #am-navigation,
  #alfred-site #am-navigation[hidden] {
    order:3 !important;
    position:static !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 0 1px !important;
    display:flex !important;
    flex-flow:row nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:0 !important;
    overflow-x:auto !important;
    overscroll-behavior-x:contain !important;
    scrollbar-width:none !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    color:#fffaf0 !important;
  }
  #alfred-site #am-navigation::-webkit-scrollbar { display:none !important; }
  #alfred-site #am-navigation .am-nav-link {
    flex:0 0 auto !important;
    min-height:36px !important;
    padding:0 8px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:rgba(255,250,240,.64) !important;
    font:500 11px/1 "DM Sans",Arial,sans-serif !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
    text-decoration:none !important;
    opacity:1 !important;
    transform:none !important;
  }
  #alfred-site #am-navigation .am-nav-link::after { content:none !important; }
  #alfred-site #am-navigation .am-nav-link[aria-current="page"] {
    background:transparent !important;
    color:#fffaf0 !important;
    font-weight:750 !important;
    box-shadow:none !important;
  }
  #alfred-site #am-navigation .am-nav-icon,
  #alfred-site #am-navigation .am-nav-link[aria-current="page"] .am-nav-icon {
    display:none !important;
  }

  #alfred-site main .am-hero-grid {
    width:calc(100% - 32px) !important;
    display:block !important;
    padding:34px 0 52px !important;
  }
  #alfred-site main .am-hero-copy { padding:0 !important; min-width:0; }
  #alfred-site[data-palette] main .am-title {
    max-width:100% !important;
    line-height:.88 !important;
    letter-spacing:-.073em !important;
  }
  html:not(.site-translated) #alfred-site[data-palette] main .am-title {
    font-size:clamp(46px,calc(15.1vw + .7px),67px) !important;
  }
  #alfred-site[data-palette] main .am-subtitle {
    margin-top:12px !important;
    font-size:clamp(31px,9.05vw,42px) !important;
    line-height:1.04 !important;
    padding-inline-start:.075em;
  }
  #alfred-site .alfred-live-presence .alp-actions { column-gap:7px !important; margin-top:9px !important; }
  #alfred-site .alfred-live-presence .alp-actions::before { height:11px !important; }
  #alfred-site a.alp-action,
  #alfred-site button.alp-action { font-size:11.5px !important; }
  #alfred-site .am-exchange-depth .am-metrics-stage {
    padding-top:54px !important;
  }
  #alfred-site .am-metrics-stage .st-stat {
    min-height:78px !important;
    padding:8px 2px !important;
    gap:6px !important;
    justify-content:center !important;
  }
  #alfred-site .am-metrics-stage .st-number { font-size:clamp(22px,6.8vw,28px) !important; }
  #alfred-site .am-metrics-stage .st-prefix { font-size:.42em !important; }
  #alfred-site .am-metrics-stage .st-scale { font-size:.45em !important; }
  #alfred-site .am-metrics-stage .st-unit { font-size:.24em !important; margin-left:.12em !important; }
  #alfred-site .am-metrics-stage .st-caption {
    max-width:76px !important;
    font-size:7.5px !important;
    line-height:1.25 !important;
  }
}

@media (max-width:360px) {
  #alfred-site .am-header-inner,
  #alfred-site main .am-hero-grid { width:calc(100% - 26px) !important; }
  #alfred-site .am-header .am-logo .am-authentic-wordmark { width:88px !important; }
  #alfred-site .am-login-link { padding-inline:11px !important; }
}
