:root {
  --ink: #071522;
  --navy: #0e2841;
  --blue: #156082;
  --sky: #d8ecf5;
  --orange: #e97132;
  --paper: #f7f8fb;
  --muted: #657484;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(7, 21, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(21, 96, 130, 0.55), transparent 34rem),
    radial-gradient(circle at 85% 8%, rgba(233, 113, 50, 0.35), transparent 28rem),
    linear-gradient(135deg, #071522 0%, #0e2841 52%, #06111d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

.admin-login-button {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 30;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.admin-login-button:hover,
.admin-login-button:focus-visible {
  background: var(--orange);
  color: var(--white);
  outline: none;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 21, 34, 0.72);
  backdrop-filter: blur(14px);
}

.admin-modal__panel {
  position: relative;
  width: min(100%, 420px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.admin-modal__panel .code-label {
  margin-bottom: 12px;
  color: var(--blue);
}

.admin-modal__panel h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.admin-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 40, 65, 0.08);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(14, 40, 65, 0.22);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.admin-form input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(21, 96, 130, 0.16);
}

.admin-submit {
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.admin-submit:hover,
.admin-submit:focus-visible {
  background: var(--orange);
  outline: none;
}

.admin-status {
  min-height: 1.35em;
  margin: 0;
  color: #b42318;
  font-size: 0.92rem;
  font-weight: 700;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 0 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 190px);
}

.hero__content {
  max-width: 760px;
}

.eyebrow,
.code-label {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 10vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.launch-note {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.preview-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(216, 236, 245, 0.92)),
    var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.preview-card__header {
  display: flex;
  gap: 8px;
  padding: 18px 22px;
  background: rgba(14, 40, 65, 0.92);
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.95;
}

.window-dot:nth-child(2) {
  background: #ffc000;
}

.window-dot:nth-child(3) {
  background: #70ad47;
}

.preview-card .code-label {
  margin: 28px 28px 14px;
  color: var(--blue);
}

.preview-card h2 {
  margin: 0 28px 30px;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.metric-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(14, 40, 65, 0.12);
  border-top: 1px solid rgba(14, 40, 65, 0.12);
}

.metric-grid div {
  min-height: 116px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--blue);
  font-size: 1.05rem;
}

.metric-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.teaser article {
  min-height: 210px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.teaser h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.teaser p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.58;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .page-shell {
    width: min(100% - 28px, 680px);
    padding-top: 34px;
  }

  .hero,
  .teaser {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 16px;
  }
}

@media (max-width: 560px) {
  .admin-login-button {
    top: 12px;
    right: 12px;
  }

  .admin-modal__panel {
    padding: 28px 20px 22px;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5rem);
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid div {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}
