/* ==========================================================================
   Black Venom — "we're updating our website" landing
   Pure HTML + CSS, no build step.
   ========================================================================== */

:root {
  --bg: #000000;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.86);
  --accent: #ec2d14;         /* sampled from the reference mockup */
  --accent-hover: #ff3a1e;
  --on-accent: #000000;

  --measure: 34rem;          /* content column width */
  --radius: 8px;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Layout ------------------------------------------------------------- */

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding:
    clamp(2.5rem, 8vh, 5rem)
    clamp(1.5rem, 6vw, 2rem)
    calc(clamp(2.5rem, 8vh, 5rem) + env(safe-area-inset-bottom));
}

.panel {
  width: 100%;
  max-width: var(--measure);
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* --- Logo --------------------------------------------------------------- */

.logo {
  display: block;
  width: clamp(13.75rem, 52%, 18.75rem);
  height: auto;
  margin: 0 auto clamp(2.25rem, 7vw, 3.25rem);
}

/* --- Copy --------------------------------------------------------------- */

.title {
  margin: 0 0 clamp(1.25rem, 3.5vw, 1.75rem);
  font-size: clamp(1.5rem, 1.15rem + 1.75vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.panel p {
  margin: 0 0 clamp(1.25rem, 3.5vw, 1.75rem);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.1875rem);
  color: var(--ink-soft);
}

.panel strong {
  font-weight: 700;
  color: var(--ink);
}

/* --- Call to action ----------------------------------------------------- */

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 25rem;
  min-height: 3.3125rem;
  margin: clamp(2rem, 6vw, 2.75rem) auto 0;
  padding: 0.875rem 1.75rem;

  background: var(--accent);
  border-radius: var(--radius);

  color: var(--on-accent);
  font-size: clamp(0.875rem, 0.8rem + 0.25vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;

  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0.875rem 2rem rgba(236, 45, 20, 0.35);
  }
}

.cta:active {
  transform: translateY(0);
  box-shadow: none;
}

.cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* --- Motion ------------------------------------------------------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cta:hover { transform: none; }
}

/* --- Small phones ------------------------------------------------------- */

@media (max-width: 26.25rem) {
  .logo { width: min(15rem, 78%); }
  .cta  { max-width: none; }
}

/* --- Landscape phones: keep everything on one screen -------------------- */

@media (max-height: 34rem) and (orientation: landscape) {
  .page { padding-block: 2rem; }
  .logo { width: clamp(11rem, 30%, 14rem); margin-bottom: 1.5rem; }
  .title,
  .panel p { margin-bottom: 0.875rem; }
  .cta { margin-top: 1.5rem; }
}
