/* 1 Percent Pool — static site styles */

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;

  --text: #393939;
  --text-muted: #666;
  --heading: #313131;
  --overlay: rgba(38, 39, 50, 0.6);
  --border: #dcdcdc;

  --red: #fc5f45;
  --red-dark: #f34123;
  --green: #38c695;
  --green-dark: #00ba78;
  --purple: #b27cf5;
  --orange: #feb960;
  --lime: #bdcb07;
  --lime-dark: #a5b106;
  --faq: #1f8fc7;
  --faq-open: #2e9e57;
  --link: #0366d6;

  --container: 1140px;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.3;
  font-weight: 500;
}

p {
  margin: 0 0 1em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  overflow-wrap: anywhere;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.narrow {
  max-width: 900px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 8px 16px;
  background: #fff;
  color: var(--text);
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  text-decoration: none;
  line-height: 1.25;
}
.brand img {
  width: 48px;
  height: 48px;
}
.brand-name {
  display: block;
  font-size: 18px;
  font-weight: 500;
}
.brand-tagline {
  display: block;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 8px 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }
  .site-nav.open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
  }
  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }
}

/* ---------- Photo-background bands ---------- */

.band-dark {
  position: relative;
  color: #fff;
  background: #262732 url("../img/bg-mobile.jpg") center top / cover no-repeat;
  isolation: isolate;
}
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--overlay);
}
@media (min-width: 900px) {
  .band-dark {
    background-image: url("../img/bg.jpg");
  }
}
/* Parallax only where it is smooth (not iOS/touch) */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .band-dark {
    background-attachment: fixed;
  }
}

.band-dark h2,
.band-dark h3,
.band-dark h4 {
  color: #fff;
}

.section {
  padding: 80px 0;
  text-align: center;
}
.section h3 {
  font-size: 20px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 120px 0 100px;
  text-align: center;
}
.hero h1 {
  margin-bottom: 0.7em;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.4;
}
.hero p {
  margin-bottom: 1.6em;
}
.hero .gap {
  margin-top: 2.8em;
}
.hero u {
  text-underline-offset: 3px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 48px;
}

.btn {
  display: inline-block;
  padding: 0 32px;
  border: 0;
  border-radius: 30px;
  color: #fff;
  font: 500 16px/50px var(--font-body);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-lime {
  background: var(--lime);
}
.btn-lime:hover {
  background: var(--lime-dark);
}
.btn-green {
  background: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
}
.btn-red {
  background: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
}

/* ---------- How to stake ---------- */

.stake {
  color: var(--text-muted);
}
.stake h2 {
  color: var(--text-muted);
  font-size: 20px;
}
.stake strong,
.stake b {
  color: #555;
}
.stake img {
  margin: 8px auto 24px;
}
.stake .img-small {
  width: 100px;
}
.stake .img-wide {
  width: 1024px;
}
.stake .img-tall {
  width: 300px;
}

/* ---------- Quick facts ---------- */

.facts h2 {
  font-size: 20px;
}
.facts h2.underline {
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 2em;
}
.facts ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fact;
}
.facts li {
  counter-increment: fact;
  margin-bottom: 0.9em;
}
.facts li::before {
  content: counter(fact) ". ";
  font-weight: 600;
}

.params {
  padding-top: 160px;
}
.params h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 1.8em 0 0.6em;
}
.facts .example {
  margin-top: 140px;
}

/* ---------- Saturation ---------- */

.saturation {
  padding: 24px 0 50px;
  color: #7a7a7a;
}
.saturation svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  color: #7a7a7a;
}
.saturation h2 {
  color: #7a7a7a;
  font-size: 20px;
  font-weight: 600;
}

/* ---------- Stats ---------- */

.stats {
  padding: 150px 0 120px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat img {
  margin: 0 auto 15px;
}
.stat h3 {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 30px;
}
.stat p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}
.stat a {
  color: inherit;
}
.stat .dot {
  width: 20px;
  height: 20px;
  margin: 36px auto 0;
}

@media (max-width: 900px) {
  .stats {
    padding: 80px 0 60px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 56px;
  }
}

/* ---------- Why us ---------- */

.why {
  padding: 100px 0 60px;
}
.section-title {
  margin: 0 0 0.4em;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.section-sub {
  margin-bottom: 60px;
  color: #616161;
  font-size: 18px;
  text-align: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.feature-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.feature-head img {
  flex: none;
  width: auto;
  height: 40px;
}
.feature h3 {
  margin: 0;
  color: var(--heading);
  font-size: 18px;
  line-height: 26px;
}
.feature p {
  margin: 0;
  color: #616161;
  line-height: 27px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-head {
    margin-bottom: 12px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  padding: 40px 0 100px;
}
.faq-list {
  border: 1px solid var(--border);
}
.faq details + details {
  border-top: 1px solid var(--border);
}
.faq summary {
  position: relative;
  display: block;
  padding: 14px 20px 14px 48px;
  color: var(--faq);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 13px;
  height: 3px;
  margin-top: -1.5px;
  background: currentColor;
  transition: transform 0.2s;
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] > summary {
  color: var(--faq-open);
  border-bottom: 1px solid var(--border);
}
.faq details[open] > summary::after {
  transform: rotate(0deg);
}
.faq summary:hover {
  color: var(--faq-open);
}
.faq-body {
  padding: 18px 20px 6px;
  color: var(--text-muted);
}
.faq-body b,
.faq-body strong {
  color: #555;
}

/* ---------- Contact ---------- */

.contact {
  padding: 100px 0 150px;
  text-align: center;
}
.contact .section-title {
  color: #fff;
}
.contact .section-sub {
  margin-bottom: 40px;
  color: #fff;
}
.contact a {
  color: #8cc3ff;
}

.contact .email {
  margin-top: 36px;
}
.contact .email a {
  color: #fff;
  text-transform: none;
}

.color-strip {
  display: flex;
  height: 3px;
}
.color-strip span {
  flex: 1;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 24px 0;
  background: #14171c;
  color: #aaa;
  font-size: 14px;
  text-align: center;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: #ddd;
}

/* ---------- Article page (guide) ---------- */

.article {
  padding: 60px 0 80px;
  color: var(--text);
}
.article h1 {
  font-size: 32px;
  font-weight: 600;
}
.article h2 {
  margin-top: 1.6em;
  font-size: 24px;
  font-weight: 600;
}
.article h3 {
  margin-top: 1.4em;
  font-size: 19px;
  font-weight: 600;
}
.article ol {
  padding-left: 1.4em;
}
.article li {
  margin-bottom: 0.8em;
}

/* ---------- Responsive type ---------- */

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }
  .hero {
    padding: 75px 0;
  }
  .hero h1 {
    font-size: 37px;
    line-height: 1.43;
  }
  .buttons {
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
  }
  .section {
    padding: 60px 0;
  }
  .params {
    padding-top: 80px;
  }
  .facts .example {
    margin-top: 80px;
  }
  .section-title {
    font-size: 31px;
  }
  .why {
    padding-top: 70px;
  }
  .contact {
    padding: 70px 0 100px;
  }
  .article h1 {
    font-size: 26px;
  }
}
