:root {
  --red: #df1f2f;
  --blue: #0b65d8;
  --blue-deep: #061735;
  --black: #06070a;
  --ink: #10131a;
  --paper: #f6f7fb;
  --muted: #687083;
  --line: rgba(255, 255, 255, 0.2);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
}

.is-hidden {
  display: none;
}

.login-screen {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 28px;
}

.skyline-backdrop,
.hero-media {
  background-image: linear-gradient(rgba(2, 6, 14, 0.2), rgba(2, 6, 14, 0.2)), url("assets/dallas-skyline.png");
  background-position: center;
  background-size: cover;
}

.skyline-backdrop {
  position: absolute;
  inset: 0;
  transform: scale(1.02);
}

.login-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(11, 101, 216, 0.15), transparent 32%),
    linear-gradient(105deg, rgba(6, 7, 10, 0.92), rgba(6, 7, 10, 0.48) 52%, rgba(6, 7, 10, 0.78));
}

.login-panel {
  position: relative;
  width: min(100%, 440px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: white;
  background: rgba(6, 7, 10, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-panel h1,
.hero h2,
.section-heading h2,
.split-band h2 {
  margin: 0;
  line-height: 1.02;
}

.login-panel h1 {
  max-width: 11ch;
  font-size: clamp(2.75rem, 8vw, 5rem);
}

.login-copy {
  margin: 18px 0 28px;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.6;
}

.login-form label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.password-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 14px;
  outline: none;
}

.password-row input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 101, 216, 0.26);
}

.password-row button,
.ghost-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--red);
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.password-row button:hover,
.ghost-button:hover {
  background: #f33445;
}

.hint {
  min-height: 22px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.hint.error {
  color: #ffb5bd;
}

.home-screen {
  min-height: 100vh;
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 64px);
  color: white;
  background: rgba(6, 7, 10, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--black) 58%, var(--blue));
  font-size: 0.8rem;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 34px);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-header nav a:hover {
  color: white;
}

.ghost-button {
  min-height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0 14px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 72px));
  align-items: end;
  overflow: hidden;
  color: white;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.12), rgba(6, 7, 10, 0.88)),
    linear-gradient(90deg, rgba(6, 7, 10, 0.78), rgba(6, 7, 10, 0.24));
}

.hero-content {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(64px, 12vh, 120px);
}

.hero h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 9vw, 7rem);
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.content-band,
.split-band {
  padding: clamp(54px, 9vw, 100px) clamp(18px, 5vw, 64px);
}

.section-heading {
  display: grid;
  gap: 8px;
  width: min(1120px, 100%);
  margin: 0 auto 26px;
}

.section-heading h2,
.split-band h2 {
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.feature-card {
  min-height: 230px;
  border-radius: 8px;
  padding: 24px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 16px 38px rgba(16, 19, 26, 0.12);
}

.red-card {
  background: linear-gradient(145deg, #f03647, #8c0712);
}

.blue-card {
  background: linear-gradient(145deg, #217df0, #082b67);
}

.black-card {
  background: linear-gradient(145deg, #282d38, #06070a);
}

.card-label {
  width: fit-content;
  margin-bottom: 38px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.64);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card h3,
.calendar-list h3 {
  margin: 0;
  font-size: 1.25rem;
}

.feature-card p,
.split-band p,
.calendar-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  color: white;
  background: var(--black);
}

.split-band h2 {
  color: white;
}

.split-band p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
}

.memory-stack {
  display: grid;
  gap: 12px;
}

.memory-stack span {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(223, 31, 47, 0.25), transparent 40%),
    rgba(255, 255, 255, 0.06);
  padding: 18px 20px;
  font-weight: 800;
}

.calendar-band {
  background:
    linear-gradient(90deg, rgba(11, 101, 216, 0.08), transparent 45%),
    var(--paper);
}

.calendar-list {
  display: grid;
  gap: 12px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.calendar-list article {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.calendar-list time {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--blue-deep);
  font-weight: 900;
}

.calendar-list p {
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-block: 12px;
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .update-grid,
  .split-band {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  .login-screen {
    place-items: end center;
    padding: 18px;
  }

  .login-panel {
    padding: 24px;
  }

  .password-row {
    grid-template-columns: 1fr;
  }

  .password-row button {
    width: 100%;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .calendar-list article {
    grid-template-columns: 1fr;
  }

  .calendar-list time {
    width: 92px;
  }
}
