/* ARTC-inspired Gallagher Cloud landing page
   Built as a standalone Workers/Pages portal.
   Replace images/rail-bg.jpg with your preferred rail background image. */

:root {
  --charcoal: #252324;
  --charcoal-dark: #111214;
  --panel: #2f2d2e;
  --text: #f4f4f4;
  --muted: #bebebe;
  --line: rgba(255, 255, 255, 0.18);
  --gold: #ec7d24;
  --green: #57d64d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Replica", "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--charcoal-dark);
  color: var(--text);
}

.portal-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 34% 66%;
  overflow: hidden;
}

.portal-sidebar {
  background:
    radial-gradient(circle at 10% 78%, rgba(255,255,255,0.04), transparent 30%),
    linear-gradient(180deg, #302e2f 0%, #191a1c 100%);
  padding: clamp(2rem, 4vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.18);
  min-height: 100vh;
}

.artc-mark {
  font-size: clamp(3rem, 5.8vw, 6.5rem);
  line-height: 0.8;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
}

.artc-mark::before,
.artc-mark::after {
  content: "";
  position: absolute;
  left: 0.03em;
  width: 0.58em;
  height: 0.08em;
  background: #fff;
}

.artc-mark::before {
  top: -0.22em;
  left: 1.38em;
}

.artc-mark::after {
  bottom: -0.28em;
}

.gold-rule {
  width: 58px;
  height: 6px;
  background: var(--gold);
  margin: 0 0 2.2rem;
}

.portal-intro {
  margin-bottom: 2rem;
}

.gallagher-logo {
  width: 280px;
  height: auto;
  display: block;
  margin-bottom: 1.2rem;
}

.eyebrow,
.label,
.system-name {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.eyebrow {
  font-size: clamp(1.8rem, 2.3vw, 2.7rem);
  color: #fff;
  line-height: 1;
}

h1 {
  font-size: clamp(1.7rem, 2.1vw, 2.3rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 300;
}

.lead {
  margin-top: 1.4rem;
  max-width: 360px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.45;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 1.8rem 0;
}

.status-row,
.secure-row,
.est-footer {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.status-light {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(87,214,77,0.16);
  flex: 0 0 auto;
}

.status-text {
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.secure-row {
  color: var(--muted);
}

.shield {
  width: 38px;
  height: 44px;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0%, 95% 18%, 85% 78%, 50% 100%, 15% 78%, 5% 18%);
  font-weight: 700;
}

.label {
  font-size: 0.78rem;
  color: #e8e8e8;
  margin-bottom: 0.25rem;
}

.copy {
  color: #ddd;
  line-height: 1.45;
  max-width: 430px;
  font-size: 1.05rem;
}

.launch-button {
  margin-top: 2rem;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: min(100%, 430px);
  padding: 1.25rem 1.6rem;
  background: linear-gradient(90deg, #ec7d24, #ec7d24);
  color: #111;
  text-decoration: none;
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  transition: transform 160ms ease, filter 160ms ease;
}

.launch-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.est-footer {
  margin-top: 3.2rem;
}

.est-logo {
  width: 90px;
  height: auto;
  display: block;
  padding-right: 1.2rem;
  border-right: 1px solid var(--line);
}

.footer-note {
  color: #ffffff;
  font-weight: 700;
  margin-top: 1.4rem;
  letter-spacing: 0.55em;
}

.hero-panel {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.25) 48%, rgba(0,0,0,0.38) 100%),
    url("images/rail-bg.jpg") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 44%, rgba(213,168,79,0.10), transparent 22%),
    linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 7rem);
  max-width: 780px;
}

.hero-content h2 {
  font-size: clamp(4rem, 7.2vw, 8.8rem);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 900;
  text-shadow: 0 8px 24px rgba(0,0,0,0.55);
}

.hero-content h2 span {
  display: block;
}

.small-rule {
  width: 78px;
  height: 7px;
  background: rgba(236,125,36);
  margin: 2.5rem 0;
}

.system-name {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.system-copy {
  color: #f5f5f5;
  font-size: 1.25rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar,
  .hero-content {
    min-height: auto;
  }

  .hero-panel {
    min-height: 60vh;
  }

  .hero-content {
    min-height: 60vh;
  }
}

@media (max-width: 600px) {
  .portal-sidebar {
    padding: 2rem;
  }

  .launch-button {
    font-size: 0.82rem;
  }

  .hero-content h2 {
    font-size: 3.2rem;
  }
}
