:root {
  --red: #c3151c;
  --red-deep: #760a0e;
  --text: #f7f0f0;
  --muted: #d7b9b9;
  --panel: rgba(0, 0, 0, 0.48);
  --line: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.45);
  --gold: #f0c36a;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.5)),
    url('../images/background.jpg') center center / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(199, 21, 28, .22), rgba(0,0,0,.82) 68%);
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 28px;
}

.hero-card {
  position: relative;
  width: min(1080px, 100%);
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.top-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 0 0;
}

.top-headings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 920px;
  align-items: center;
}

.top-headings h4 {
  margin: 0 0 0;
  text-align: left;
}

.top-headings h4:last-child {
  text-align: right;
}

.button-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 920px;
}

.button-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c8c8c8, #a0a0a0);
  box-shadow: 0 10px 22px var(--shadow);
  color: #1a1a1a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: clamp(9px, 1.4vw, 13px);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.button-row a:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

h4 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}

.access-block { text-align: right; }

.login-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c8c8c8, #a0a0a0);
  color: #1a1a1a !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 10px 28px var(--shadow);
}

.brand-mark {
  display: flex;
  justify-content: center;
  margin: clamp(28px, 5vw, 52px) 0 clamp(24px, 4vw, 40px);
}

.logo {
  max-width: min(560px, 88vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.42));
}

.content-wrap {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

h1 {
  margin: 0 auto 28px;
  max-width: 830px;
  font-size: clamp(30px, 4.3vw, 52px);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -.03em;
  text-wrap: balance;
}

p {
  margin: 0 auto 22px;
  max-width: 760px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  color: var(--muted);
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  text-align: left;
}

.inside-grid article {
  padding: 20px;
  background: rgba(0,0,0,.36);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.inside-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.inside-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

footer {
  padding: 6px 20px 14px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
}

@media (max-width: 520px) {
  .top-headings {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .top-headings h4,
  .top-headings h4:last-child {
    text-align: center;
  }

  .button-row {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .page-shell { padding: 14px 14px 10px; }

  .hero-card { min-height: calc(100vh - 24px); }

  .top-bar { gap: 8px; }

  .top-headings {
    gap: 10px;
    max-width: 100%;
  }

  .top-headings h4 { font-size: 10px; }

  .button-row {
    gap: 6px;
    max-width: 100%;
  }

  .button-row a {
    padding: 8px 6px;
    font-size: 9px;
    letter-spacing: .02em;
  }

  .brand-mark { margin-top: 22px; }

  h1 { font-size: clamp(25px, 9vw, 36px); }

  p { font-size: 16px; }

  .inside-grid { grid-template-columns: 1fr; }
}
