:root {
  color-scheme: light;

  /* === BASE COLORS === */
  --spyellow: #FFEB00;
  --spgray:  #B4BBB3;
  --spblue:   #67A7DC;
  --spmint:   #6ED3B5;
  --spred:    #cf4520;

  /* === SPYELLOW === */
  --spyellow-2: #E6D400;
  --spyellow-3: #CCBC00;
  --spyellow-4: #B3A500;
  --spyellow-5: #998D00;

  --spyellow-light-2: #FFED1A;
  --spyellow-light-3: #FFEF33;
  --spyellow-light-4: #FFF14D;
  --spyellow-light-5: #FFF366;

  /* === SPGREEN === */
  --spgreen-2: #A2A9A1;
  --spgreen-3: #909791;
  --spgreen-4: #7E857F;
  --spgreen-5: #6C736E;

  --spgreen-light-2: #BDC3BC;
  --spgreen-light-3: #C7CDC6;
  --spgreen-light-4: #D0D6D0;
  --spgreen-light-5: #DAE0DA;

  /* === SPBLUE === */
  --spblue-2: #5C96C6;
  --spblue-3: #5285B0;
  --spblue-4: #47759A;
  --spblue-5: #3D6484;

  --spblue-light-2: #78B1E1;
  --spblue-light-3: #89BBE6;
  --spblue-light-4: #9AC5EB;
  --spblue-light-5: #ABD0F0;

  /* === SPMINT === */
  --spmint-2: #63BEA4;
  --spmint-3: #58A996;
  --spmint-4: #4D9488;
  --spmint-5: #427F79;

  --spmint-light-2: #7EDAC1;
  --spmint-light-3: #8FE0CA;
  --spmint-light-4: #A0E6D3;
  --spmint-light-5: #B2ECDD;

  /* === SPRED === */
  --spred-2: #B63E1D;
  --spred-3: #9E371A;
  --spred-4: #862F16;
  --spred-5: #6E2713;

  --spred-light-2: #D75C3B;
  --spred-light-3: #DF7357;
  --spred-light-4: #E78A73;
  --spred-light-5: #EFA18F;

  --spgreen: #4BA832;

  /* === NEUTRALS === */
  --bg: #f4f2ef;
  --text: #111;
  --muted-text: #666;
  --border: rgba(0,0,0,.08);
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --spyellow: #FFEB00;
    --spgreen:  #9FA7A1;
    --spblue:   #6BAFE6;
    --spmint:   #6ED3B5;
    --bg: #0f1115;
    --text: #e9eaee;
    --muted-text: #aaa;
    --border: rgba(255,255,255,.12);
  }
} */

html { color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Plus Jakarta Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Plus Jakarta Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* Core Layout */
main   { max-width: 2000px; margin: 24px auto; }
.container { max-width:1100px; margin:0 auto; }


/* Alerts */

.alert {
  display: block;
  padding: 12px 16px;
  margin: 16px auto;
  max-width: 720px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  word-break: break-word;
}

.alert::before {
  content: none;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 999px;
  flex: 0 0 10px;
  background: currentColor;
  opacity: 0.75;
}

.alert-success {
  color: #0f5132;
  background: #d1e7dd;
  border-color: rgba(15, 81, 50, 0.18);
}

.alert-error {
  color: var(--spred-3);
  background: var(--spred-light-5);
  border-color: rgba(132, 32, 41, 0.18);
}

.alert-info {
  color: #084298;
  background: #cfe2ff;
  border-color: rgba(8, 66, 152, 0.18);
}

.alert-warn {
  color: #664d03;
  background: #fff3cd;
  border-color: rgba(102, 77, 3, 0.18);
}

@media (max-width: 600px) {
  .alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
  }
}

/* END Alerts */

/*   Footer  */

footer { border-top: 1px solid var(--border); font-size: .9rem; color: var(--muted-text); padding:16px 20px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 20px;
  padding: 8px 0 18px;
}
.footer-h {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: .98rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin: 6px 0; }
.footer-list a { color: inherit; text-decoration: none; opacity: .9; }
.footer-list a:hover { text-decoration: underline; opacity: 1; }

.footer-bottom {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials .social {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  opacity: .9;
}
.footer-socials .social:hover { opacity: 1; background: rgba(0,0,0,.05); }

@media (max-width: 420px) {
  .footer-grid { font-size: .7rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-color-scheme: dark) {
  .footer-bottom { border-top-color: rgba(255,255,255,.12); }
  .footer-socials .social:hover { background: rgba(255,255,255,.05); }
}

@media (max-width: 900px) {
  .footer-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 170px));
    justify-content: center;
    column-gap: 48px;
    row-gap: 18px;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
}

/*   END Footer  */

/* INSTALL BANNER */

/* INSTALL BANNER */

.gp-install-banner[hidden],
.gp-install-modal[hidden] {
  display: none !important;
}

.gp-install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 34px rgba(0,0,0,0.18);

  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.gp-install-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.gp-install-icon {
  flex: 0 0 auto;
}

.gp-install-icon--shortcut {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gp-install-icon--shortcut img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.gp-install-icon--modal {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.gp-install-icon--modal img {
  width: 32px;
  height: 32px;
}

.gp-install-text {
  min-width: 0;
  flex: 1 1 auto;
}

.gp-install-title {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
  color: #111;
}

.gp-install-sub {
  margin-top: 2px;
  font-size: 0.76rem;
  line-height: 1.25;
  color: rgba(0,0,0,0.62);
}

.gp-install-btn {
  flex: 0 0 auto;
  border: 0;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.gp-install-btn:hover {
  opacity: 0.92;
}

.gp-install-close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: rgba(0,0,0,0.55);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
}

.gp-install-close:hover {
  background: rgba(0,0,0,0.05);
}

.gp-install-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.gp-install-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
}

.gp-install-modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92vw, 430px);
  max-height: 86vh;
  overflow: auto;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  padding: 18px 16px 16px;
}

.gp-install-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.65);
  font-size: 1rem;
  cursor: pointer;
}

.gp-install-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 36px;
}

.gp-install-modal-copy h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.15;
  color: #111;
}

.gp-install-modal-copy p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.3;
  color: rgba(0,0,0,0.62);
}

.gp-install-steps {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
}

.gp-install-step {
  color: #111;
}

.gp-install-step-line {
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 700;
  color: #111;
}

.gp-install-step-line i {
  font-size: 1.05rem;
  vertical-align: -2px;
}

.gp-install-step-line--with-image {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gp-install-inline-icon--img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

body.gp-install-modal-open {
  overflow: hidden;
}

@media (min-width: 721px) {
  .gp-install-banner {
    max-width: 420px;
    left: 50%;
    right: auto;
    transform: translate(-50%, 120%);
  }

  .gp-install-banner.show {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 420px) {
  .gp-install-banner {
    gap: 10px;
    padding: 11px 12px;
  }

  .gp-install-title {
    font-size: 0.88rem;
  }

  .gp-install-sub {
    font-size: 0.72rem;
  }

  .gp-install-btn {
    padding: 8px 10px;
    font-size: 0.74rem;
  }

  .gp-install-modal-card {
    width: min(94vw, 430px);
    padding: 16px 14px 14px;
  }

  .gp-install-step-line {
    font-size: 0.88rem;
  }
}