/* ==========================================================================
   Loacker Group — CVC "Coming soon" landing page
   Static, dependency-free. Design source: Figma "LP Coming soon" (node 1:60).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Colour */
  --color-bg: #ffffff;
  --color-text: #252525;
  --color-accent: #10b981;
  --color-badge-bg: rgba(16, 185, 129, 0.2);
  --color-badge-text: #0f3d3e;

  /* Type */
  --font-sans: "museo-sans", "Helvetica Neue", helvetica, arial, sans-serif;
  --font-size-badge: 14px;
  --font-size-title: 64px;
  --line-height-title: 70px;
  --font-size-lead: 20px;
  --font-size-footer: 16px;

  /* Layout */
  --container-max: 1200px;
  --container-gutter: 24px;
  --hero-gap: 40px;
  --hero-lead-max: 760px;
  --header-offset: 100px;
  --header-height: 100px;
  --hero-padding-top: 78px;
  --logo-width: 201px;
  --footer-padding-bottom: 32px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  /* Prevent iOS Safari from inflating type in landscape. */
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Header — centred wordmark, no nav
   -------------------------------------------------------------------------- */

.site-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  margin-top: var(--header-offset);
  padding-inline: var(--container-gutter);
}

.site-header__logo {
  width: var(--logo-width);
  height: auto;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  padding-top: var(--hero-padding-top);
  padding-inline: var(--container-gutter);
}

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hero-gap);
  width: 100%;
  max-width: var(--container-max);
}

.badge {
  margin: 0;
  padding: 6px 16px;
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  background-color: var(--color-badge-bg);
  color: var(--color-badge-text);
  font-size: var(--font-size-badge);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  /* Figma dev-mode spec: 700 alone renders lighter than the design's badge —
     a 1px black stroke is layered on the fill to match the intended weight. */
  -webkit-text-stroke: 1px #000000;
}

.hero__title {
  margin: 0;
  color: var(--color-text);
  font-size: var(--font-size-title);
  font-weight: 700;
  line-height: var(--line-height-title);
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.hero__title-accent {
  color: var(--color-accent);
}

.hero__lead {
  max-width: var(--hero-lead-max);
  margin: 0;
  font-size: var(--font-size-lead);
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  flex-shrink: 0;
  padding-block: var(--hero-gap) var(--footer-padding-bottom);
  padding-inline: var(--container-gutter);
}

.site-footer__text {
  margin: 0;
  font-size: var(--font-size-footer);
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive — the Figma frame covers desktop (1440px) only; the tablet and
   mobile steps below are derived from it.
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
  :root {
    --font-size-title: 44px;
    --line-height-title: 52px;
    --font-size-lead: 18px;
    --font-size-footer: 15px;
    --logo-width: 180px;
    --header-offset: 80px;
    --header-height: 80px;
    --hero-padding-top: 66px;
  }
}

@media (max-width: 639px) {
  :root {
    --font-size-title: 40px;
    --line-height-title: 52px;
    --font-size-lead: 18px;
    --font-size-footer: 15px;
    --logo-width: 180px;
    --header-offset: 60px;
    --header-height: 80px;
    --hero-padding-top: 56px;
    --container-gutter: 22px;
    --hero-gap: 30px;
    --footer-padding-bottom: 24px;
  }

  /* Let the lead paragraph reflow instead of keeping the design's hard break. */
  .br-lg {
    display: none;
  }
}
