/* ==========================================================================
   LoopLayer Designs — Coming Soon
   ========================================================================== */

:root {
  --primary: #0F172A;
  --secondary: #2563EB;
  --secondary-dark: #1D4ED8;
  --accent: #F97316;
  --background: #F8FAFC;
  --text: #1E293B;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", "Segoe UI", Roboto, Inter, Arial, sans-serif;

  --gutter: clamp(1.5rem, 5vw, 3rem);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--background);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(249, 115, 22, 0.07), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

.stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 10vh, 7rem) var(--gutter) clamp(2rem, 5vh, 4rem);
}

.content {
  width: 100%;
  max-width: 700px;
  text-align: center;
  animation: arrive 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Badge --------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 clamp(2rem, 5vh, 3rem);
  padding: 0.5rem 1.125rem 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--primary);
  background-color: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

/* Title --------------------------------------------------------------- */

.title {
  margin: 0;
  font-weight: 700;
  color: var(--primary);
}

.brand {
  display: block;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
  font-size: clamp(1.375rem, 3.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--secondary);
}

.headline {
  display: block;
  font-size: clamp(2.75rem, 9vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

/* Supporting copy ----------------------------------------------------- */

.lead {
  max-width: 34em;
  margin: clamp(1.5rem, 4vh, 2.25rem) auto clamp(2.25rem, 6vh, 3.25rem);
  font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: pretty;
}

/* Button -------------------------------------------------------------- */

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.875rem 2.25rem;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #FFFFFF;
  background-color: var(--secondary);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12),
              0 8px 24px -8px rgba(37, 99, 235, 0.55);
  transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.button:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12),
              0 12px 28px -8px rgba(37, 99, 235, 0.6);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

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

.footer {
  padding: 1.5rem var(--gutter) calc(1.75rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text);
}

.footer p {
  margin: 0;
}

.footer p + p {
  color: rgba(30, 41, 59, 0.78);
}

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

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .content {
    animation: none;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}

/* Responsive ---------------------------------------------------------- */

/* Small phones */
@media (max-width: 380px) {
  .button {
    width: 100%;
  }
}

/* Tablet and up */
@media (min-width: 768px) {
  .badge {
    font-size: 0.9375rem;
  }
}

/* Large screens */
@media (min-width: 1440px) {
  .content {
    max-width: 760px;
  }

  .headline {
    font-size: 5.5rem;
  }

  .brand {
    font-size: 2.25rem;
  }

  .lead {
    font-size: 1.4375rem;
  }
}

/* Short landscape viewports */
@media (max-height: 560px) {
  .stage {
    padding-top: 2.5rem;
  }

  .badge {
    margin-bottom: 1.25rem;
  }
}
