/* BaseGuard site. Same tokens as the app, the admin panel and the Discord (docs/DESIGN_SYSTEM.md). */
:root {
  --bg: #0D0E11; --surface: #16181D; --surface-2: #1C1F25; --surface-3: #23262D;
  --border: #24272E; --border-2: #2E323A;
  --text: #ECEEF1; --muted: #8C929D; --faint: #5B616C;
  --lime: #C8F135; --lime-2: #D6FA52; --lime-dark: #A6CC1F; --lime-tint: #1E2610;
  --red: #FF4D4F; --red-tint: #2D1214; --gold: #E7C46A; --gold-tint: #2A2312;
  --blurple: #5865F2;
  --head: Bahnschrift, "DIN Alternate", "Barlow Semi Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  --wrap: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* headings: condensed caps, like the game HUD */
.h, h1, h2, h3 {
  font-family: var(--head); font-stretch: semi-condensed; font-weight: 700;
  text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; margin: 0;
}
.slant { display: inline-block; transform: skewX(-10deg); }
.eyebrow {
  font: 700 12px/1 var(--head); letter-spacing: .32em; text-transform: uppercase; color: var(--lime);
  margin: 0 0 14px;
}
.lead { color: var(--muted); font-size: 18px; max-width: 58ch; }
.muted { color: var(--muted); }

/* buttons: every button is a verb */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px;
  font: 700 15px/1 var(--body); text-decoration: none; border: 1px solid var(--border-2);
  background: var(--surface-3); color: var(--text); transition: background .12s, border-color .12s, transform .12s;
}
.btn:hover { background: #2B2F37; border-color: #3A3F48; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--lime); color: #0D0E11; border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-2); border-color: var(--lime-2); }
.btn-primary:active { background: var(--lime-dark); }
.btn-discord { background: var(--blurple); border-color: var(--blurple); color: #fff; }
.btn-discord:hover { background: #4752C4; border-color: #4752C4; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10; background: rgba(13, 14, 17, .82);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 30px; height: 32px; }
.brand span { font: 700 22px/1 var(--head); letter-spacing: .02em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); }
.top .btn { padding: 10px 16px; font-size: 14px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; }
.hero::before { /* lime glow + faint diagonal hatching, like the banners */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 420px at 12% 30%, rgba(200, 241, 53, .14), transparent 70%),
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 26px);
}
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.4vw, 84px); }
.hero h1 .slant { color: var(--lime); }
.hero .lead { margin: 22px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

.shot { position: relative; }
.shot .frame {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(200, 241, 53, .05);
}
.alert-pop { /* the Discord alert that pops over the app screenshot */
  position: absolute; right: -14px; bottom: -34px; width: 300px; padding: 14px 16px 14px 18px;
  background: #2B2D31; border-radius: 8px; border-left: 4px solid var(--red);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6); animation: pop .5s .4s cubic-bezier(.2, .8, .2, 1) both;
}
.alert-pop b { display: block; font: 700 15px/1.3 var(--body); }
.alert-pop small { color: #B5BAC1; font-size: 13px; }
.alert-pop .who { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.alert-pop .who img { width: 22px; height: 22px; border-radius: 50%; }
.alert-pop .tag { background: var(--blurple); color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 3px; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* sections */
section { padding: 88px 0; }
.alt { background: #101115; border-block: 1px solid var(--border); }
.head { max-width: 680px; margin-bottom: 44px; }
.head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.head .eyebrow { color: var(--lime); font-size: 12px; margin: 0 0 14px; }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: 14px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px 22px;
}
.card h3 { font-size: 21px; margin: 16px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.ico {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--lime-tint); color: var(--lime);
}
.ico.red { background: var(--red-tint); color: var(--red); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* alert showcase */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(34px, 4.4vw, 52px); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--lime-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23C8F135' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checks b { color: var(--text); }
.embed {
  background: #313338; border-radius: 10px; padding: 18px; border: 1px solid #3F4147;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.embed .msg { display: flex; gap: 14px; }
.embed .msg > img { width: 40px; height: 40px; border-radius: 50%; }
.embed .name { font-weight: 700; font-size: 15px; }
.embed .name .tag { background: var(--blurple); color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 3px; margin-left: 4px; vertical-align: 2px; }
.embed .name time { color: #949BA4; font-weight: 400; font-size: 12px; margin-left: 6px; }
.embed .ping { color: #C9CDFB; background: rgba(88, 101, 242, .3); border-radius: 3px; padding: 0 2px; font-size: 15px; }
.embed .box { margin-top: 6px; background: #2B2D31; border-left: 4px solid var(--red); border-radius: 4px; padding: 12px 16px 16px; }
.embed .box b { display: block; font-size: 16px; margin-bottom: 8px; }
.embed .fields { display: flex; gap: 28px; font-size: 14px; margin-bottom: 12px; }
.embed .fields span { display: block; color: #DBDEE1; font-weight: 700; font-size: 13px; }
.embed .fields em { font-style: normal; color: #B5BAC1; }
.embed .box img { border-radius: 4px; }
.embed .foot { margin-top: 10px; font-size: 12px; color: #949BA4; display: flex; align-items: center; gap: 6px; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: block; font: 700 40px/1 var(--head); color: var(--lime);
  transform: skewX(-10deg); margin-bottom: 14px;
}
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }

/* screenshots */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.gallery img { border-bottom: 1px solid var(--border); }
.gallery figcaption { padding: 16px 20px 18px; color: var(--muted); font-size: 15px; }
.gallery figcaption b { display: block; color: var(--text); font: 700 19px/1.1 var(--head); text-transform: uppercase; margin-bottom: 6px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin-inline: auto; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 28px; display: flex; flex-direction: column;
}
.plan.best { border-color: rgba(231, 196, 106, .55); background: linear-gradient(180deg, #1C1A14, var(--surface) 45%); }
.plan .pill {
  position: absolute; top: 24px; right: 24px; font: 700 11px/1 var(--body); letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 9px; border-radius: 9px; background: var(--gold-tint); color: var(--gold);
}
.plan h3 { font-size: 24px; color: var(--muted); }
.plan.best h3 { color: var(--gold); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 6px; }
.price strong { font: 700 64px/1 var(--head); transform: skewX(-10deg); display: inline-block; }
.price span { color: var(--muted); }
.plan > p { color: var(--muted); margin: 0 0 22px; }
.plan .btn { justify-content: center; margin-top: auto; }
.plan.best .btn-primary { background: var(--gold); border-color: var(--gold); }
.plan.best .btn-primary:hover { background: #F0D283; border-color: #F0D283; }
.included { max-width: 860px; margin: 18px auto 0; }
.included .checks { grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-top: 16px; }
.payinfo { text-align: center; color: var(--muted); margin-top: 26px; font-size: 15px; }

/* faq */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; position: relative; font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; border-color: var(--lime); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* discord band */
.join {
  position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--border-2); padding: 56px;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(200, 241, 53, .16), transparent 70%),
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 26px), var(--surface);
}
.join::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: var(--lime); }
.join h2 { font-size: clamp(34px, 4.4vw, 52px); }
.join p { color: var(--muted); margin: 12px 0 0; max-width: 54ch; }
.join .eyebrow { color: var(--lime); margin: 0 0 14px; }
.join .btn { font-size: 17px; padding: 16px 26px; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 36px 0 44px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .disclaimer { flex-basis: 100%; margin: 0; }

/* responsive */
@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 64px; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .alert-pop { right: 8px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 52px 0 70px; }
  .g3, .steps, .gallery, .plans, .included .checks { grid-template-columns: 1fr; }
  .join { grid-template-columns: 1fr; padding: 36px 26px; }
  .alert-pop { width: 260px; bottom: -48px; }
  .top .btn span { display: none; }
}
@media (max-width: 400px) {
  .top .wrap { gap: 12px; }
  .brand span { font-size: 19px; }
  .top .btn { padding: 9px 12px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 26px 20px; }
  .plan .pill { position: static; align-self: flex-start; margin-bottom: 12px; }
  .price strong { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
