/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #0b0b0b;

  /* Midnight blue base + subtle herringbone texture */
  background-color: #191970;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.055) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.055) 75%, rgba(255,255,255,0.055)),
    linear-gradient(-45deg, rgba(0,0,0,0.07) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.07) 75%, rgba(0,0,0,0.07));
  background-size: 56px 56px;
  background-position: 0 0, 28px 28px;

  display: flex;
  flex-direction: column;
}

/* Centering container */
.wrap {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem;
}

/* The main panel */
.panel {
  width: min(60vw, 900px);
  height: min(60vh, 520px);
  background: aliceblue;
  border-radius: 22px;

  /* Blue-grey drop shadow */
  box-shadow:
    0 22px 60px rgba(77, 105, 125, 0.55),
    0 6px 18px rgba(40, 70, 90, 0.35);

  display: grid;
  place-content: center;
  text-align: center;

  padding: 2.5rem;
}

/* Progressive scaling for headings */
.panel h1 {
  margin: 0 0 0.6rem;
  font-weight: 700;
  line-height: 1.08;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #000;
}

.subheading {
  margin: 0;
  font-weight: 300; /* lighter than h1 */
  line-height: 1.25;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  color: #0b0b0b;
}

/* Footer 1em above bottom */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 1em;

  text-align: center;
  font-size: 1rem;
  color: aliceblue;
  padding: 0 1rem;
}
