/* ===================================================================
 * landing.css — the landing page's foundation: reset, theme, the small
 * grid the page actually uses, typography, and shared components.
 * Replaces the old template base/main stylesheets with only what the
 * markup consumes. Pairs with css/fonts.css and css/sections/*.css.
 * ------------------------------------------------------------------- */


/* ===================================================================
 * # reset
 * ------------------------------------------------------------------- */

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 62.5%;
    box-sizing: border-box;
    /* iOS Safari paints the status bar area and overscroll from the root
       background; black makes both read as part of the hero */
    background-color: #000000;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-weight: normal;
    line-height: 1;
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: none;
}

body,
input,
button {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

div, ul, ol, li,
h1, h2, h3, h4, h5, h6,
p {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    font-variant-ligatures: common-ligatures;
    text-rendering: optimizeLegibility;
}

img,
video {
    max-width: 100%;
    height: auto;
    border-style: none;
}

a {
    text-decoration: none;
    line-height: inherit;
    background-color: transparent;
}

a:active,
a:hover {
    outline-width: 0;
}

a img {
    border: none;
}

button {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    overflow: visible;
    text-transform: none;
    -webkit-appearance: button;
}

button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

[hidden] {
    display: none;
}


/* ===================================================================
 * # theme
 * ------------------------------------------------------------------- */

:root {
  --theme-color: #c5b358;   /* Vegas gold — the same gold as the app/board (--xg-gold) */
  /* Shared section TOP padding — pinned to the closing rhythm (the space
     under the copyright at each width): sections open with the same breath
     they close with, instead of a double-height blank slab. */
  --section-pad: 10.2rem;
}
@media only screen and (max-width: 800px) { :root { --section-pad: 9rem; } }
@media only screen and (max-width: 600px) { :root { --section-pad: 6rem; } }
@media only screen and (max-width: 400px) { :root { --section-pad: 3rem; } }

.theme-colored {
  color: var(--theme-color);
}

/* gold hover — add to any control that should turn gold on hover.
   Hover underlines must use currentColor to pick up the gold.
   Hover is gated to devices that actually hover (iOS "sticks" :hover after a
   tap), and focus uses :focus-visible so a tap doesn't leave the control
   gold — only keyboard focus does. */
@media (hover: hover) {
  .gold-hover:hover,
  .gold-hover:hover span,
  .gold-hover:hover i {
    color: var(--theme-color);
  }
}
.gold-hover:focus-visible,
.gold-hover:focus-visible span,
.gold-hover:focus-visible i {
  color: var(--theme-color);
}

.download-button {
  display:         inline-block;
  overflow:        hidden;
  background:      var(--xg-badge) no-repeat;   /* inlined in exchange-ui.css */
  width:           220px;
  height:           60px;
  background-size: contain;
}

@media only screen and (max-width: 1000px) {
  .download-button {
    width: 200px;
  }
}

@media only screen and (max-width: 600px) {
  .download-button {
    width: 160px;
  }
}

/* Compact badge variant: the hamburger sidebar (below the menu list).
   invite.js rewrites its href on /invite/<code> exactly like the hero badge. */
.nav-download {
  width: 186px;
  height: 51px;
  margin-top: 8px;
}

.light-gray {
  background-color: #f1f1f1;
}


/* ===================================================================
 * # base type
 * ------------------------------------------------------------------- */

html {
  font-size: 10px;
  zoom: 1;  /* NYSX: Make all content smaller, except in FireFox */
}
@media only screen and (max-width: 400px) {
  html {
    font-size: 9.411764705882353px;
  }
}

html, body {
  height: 100%;
}

body {
  background: #111111;
  font-family: "metropolis", sans-serif;
  font-size: 1.7rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.765;
  color: #555555;
  padding: 0;
}

a {
  color: var(--theme-color);
  transition: all 0.3s ease-in-out;
}

a:hover,
a:focus,
a:active {
  color: var(--theme-color);
}

a:hover,
a:active {
  outline: 0;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "metropolis", sans-serif;
  font-weight: 600;
  color: #000000;
  font-style: normal;
  text-rendering: optimizeLegibility;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  margin-top: 6rem;
  margin-bottom: 1.8rem;
}

@media only screen and (max-width: 600px) {
  h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    margin-top: 5.1rem;
  }
}

h1, .h1 {
  font-size: 3.6rem;
  line-height: 1.25;
  letter-spacing: -0.1rem;
}

@media only screen and (max-width: 600px) {
  h1, .h1 {
    font-size: 3.3rem;
    letter-spacing: -0.07rem;
  }
}

h2, .h2 {
  font-size: 3rem;
  line-height: 1.3;
}

h3, .h3 {
  font-size: 2.4rem;
  line-height: 1.25;
}

h4, .h4 {
  font-size: 2.1rem;
  line-height: 1.286;
}

p img {
  margin: 0;
}

p.lead {
  font-family: "metropolis", sans-serif;
  font-size: 2.4rem;
  line-height: 1.75;
  margin-bottom: 3.6rem;
  color: rgba(85, 85, 85, 0.95);
}
@media only screen and (max-width: 1200px) {
  p.lead {
    font-size: 2.2rem;
  }
}
@media only screen and (max-width: 1000px) {
  p.lead {
    font-size: 2.1rem;
  }
}
@media only screen and (max-width: 800px) {
  p.lead {
    font-size: 1.9rem;
  }
}

em, i, strong, b {
  font-size: inherit;
  line-height: inherit;
  font-weight: normal;
}

em, i {
  font-family: "metropolis", sans-serif;
  font-style: italic;
}

strong, b {
  font-family: "metropolis", sans-serif;
  font-style: normal;
  font-weight: 600;
}

small {
  font-size: 1.2rem;
  line-height: inherit;
}

/* Lists: sensible bulleted defaults; components (nav, social, footer)
   reset what they need locally. */
ol {
  list-style: decimal;
}

ul {
  list-style: disc;
}

li {
  display: list-item;
}

ol,
ul {
  margin-left: 1.7rem;
}

ul li {
  padding-left: 0.4rem;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 0.6rem 0 0.6rem 1.7rem;
}

button {
  margin-bottom: 1.2rem;
}

p,
ul,
ol {
  margin-bottom: 3rem;
}


/* ===================================================================
 * # display headings
 * ------------------------------------------------------------------- */

.display-1 {
  font-family:     "metropolis", sans-serif;
  font-weight:     700;
  font-size:       6rem;
  line-height:     1.3;
  color:           #000000;
  letter-spacing:  -0.03rem;
  margin-top:      0;
  margin-bottom:   4.8rem;
}

@media only screen and (max-width: 1400px) {
  .display-1 {
    font-size: 5.6rem;
  }
}
@media only screen and (max-width: 1200px) {
  .display-1 {
    font-size: 5.2rem;
  }
}
@media only screen and (max-width: 950px) {
  .display-1 {
    font-size: 4.6rem;
  }
}
@media only screen and (max-width: 800px) {
  .display-1 {
    font-size: 4.2rem;
    margin-bottom: 4.2rem;
  }
}
@media only screen and (max-width: 700px) {
  .display-1 {
    font-size: 4rem;
  }
}
@media only screen and (max-width: 600px) {
  .display-1 {
    font-size: 3.6rem;
  }
}
@media only screen and (max-width: 500px) {
  .display-1 {
    font-size: 3.3rem;
  }
}
@media only screen and (max-width: 400px) {
  .display-1 {
    font-size: 3rem;
  }
}


/* ===================================================================
 * # grid — only the pieces the page uses:
 *   .row, .col-full, and the services block grid
 *   (.block-1-3 / .block-m-1-2 / .block-tab-full on .col-block items).
 * ------------------------------------------------------------------- */

.row {
    width: 89%;
    max-width: 1200px;
    margin: 0 auto;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

[class*="col-"] {
    float: left;
    padding: 0 20px;
}

.col-full {
    width: 100%;
}

[class*="block-"]:after {
    content: "";
    display: table;
    clear: both;
}

.block-1-3 .col-block {
    width: 33.33333%;
}

.block-1-3 .col-block:nth-child(3n+1) {
    clear: both;
}

@media only screen and (max-width: 1200px) {
    [class*="col-"] {
        padding: 0 15px;
    }
    .block-m-1-2 .col-block {
        width: 50%;
    }
    [class*="block-m-"] .col-block:nth-child(n) {
        clear: none;
    }
    .block-m-1-2 .col-block:nth-child(2n+1) {
        clear: both;
    }
}

@media only screen and (max-width: 800px) {
    .row {
        width: 90%;
    }
    .block-tab-full .col-block {
        width: 100%;
        clear: both;
    }
    [class*="block-tab-"] .col-block:nth-child(n) {
        clear: none;
    }
}

@media only screen and (max-width: 600px) {
    .row {
        width: auto;
        padding-left: 25px;
        padding-right: 25px;
    }
    [class*="col-"] {
        padding: 0 10px;
    }
}

@media only screen and (max-width: 400px) {
    [class*="col-"] {
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
}
