/* StakeFlow Foundation - maintenance page (static) */

@font-face{
  font-family: "GalanoGrotesqueAlt-Regular";
  src: local("GalanoGrotesqueAlt-Regular");
  font-display: swap;
}
@font-face{
  font-family: "GalanoGrotesqueAlt-Medium";
  src: local("GalanoGrotesqueAlt-Medium");
  font-display: swap;
}
@font-face{
  font-family: "GalanoGrotesqueAltDEMO-Bold";
  src: local("GalanoGrotesqueAltDEMO-Bold");
  font-display: swap;
}

:root{
  --bg: #0b0b0b;
  --panel: #191919;
  --dash: #4C4C4C;
  --white: #FFFFFF;
  --muted: #797979;
  --icon: #707070;
  --brand: #3B82F6;

  --w: 512px;
  --tag-h: 59px;
  --card-h: 339px;
  --radius: 8px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  overflow-x: hidden;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(1200px 700px at 50% 35%, rgba(255,255,255,0.06), rgba(255,255,255,0) 60%),
    radial-gradient(900px 600px at 50% 55%, rgba(0,0,0,0.45), rgba(0,0,0,0) 70%),
    linear-gradient(180deg, #0b0b0b 0%, #0a0a0a 100%);
  display: grid;
  place-items: center;
}

.page{
  width: 100%;
  padding: 28px 16px;
}

.stack{
  width: min(var(--w), 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px; /* 389 - 315 - 59 = 15 */
}

.tag{
  height: var(--tag-h);
  background: var(--panel);
  border: 1px dashed var(--dash);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
}

.tag__brand{
  font-family: "GalanoGrotesqueAltDEMO-Bold", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 20px;
  line-height: 139.62%;
  color: var(--brand);
}

.tag__name{
  font-family: "GalanoGrotesqueAlt-Medium", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 20px;
  line-height: 139.62%;
  color: var(--white);
}

.card{
  height: var(--card-h);
  background: var(--panel);
  border: 1px dashed var(--dash);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card__top{
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding-top: 18px;
}

.icon svg{
  display: block;
}

.divider{
  width: 100%;
  border-top: 1px dashed var(--dash);
}

.card__bottom{
  padding: 20px 26px 22px 26px;
  text-align: left;           /* per Figma: left edge */
  display: grid;
  gap: 10px;
}

.headline{
  margin: 0;
  font-family: "GalanoGrotesqueAlt-Medium", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 20px;
  line-height: 139.62%;
  color: var(--white);
  text-align: left;
}

.subhead{
  margin: 0;
  font-family: "GalanoGrotesqueAlt-Regular", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 20px;
  line-height: 139.62%;
  color: var(--muted);
  text-align: left;
}

/* Mobile adaptation */
@media (max-width: 560px){
  :root{
    --w: 100%;
    --tag-h: 56px;
    --card-h: auto;
  }

  .page{
    padding: 24px 16px;
  }

  .stack{
    width: 100%;
    max-width: 100%; /* keep it centered and prevent weird stretching */
    margin-inline: auto;
  }

  .tag{
    width: 100%;
    height: auto;
    min-height: 56px;
    padding: 10px 14px;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .tag__brand,
  .tag__name{
    font-size: 15px;
    white-space: normal;
  }

  .card{
    width: 100%;
    min-height: 300px;
  }

  .card__top{
    padding-top: 18px;
    min-height: 170px;
  }

  .card__bottom{
    padding: 18px 16px 18px 16px;
    text-align: left;
  }

  .headline{
    font-size: 16px;
  }

  .subhead{
    font-size: 16px;
  }
}