:root {
  --ink: #222;
  --fire: #ff5900;
  --cloud: #ddd;
  --white: #fff;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

.stripes-wrap {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.stripes-wrap--br {
  width: clamp(14rem, 32vmax, 32rem);
  height: clamp(14rem, 32vmax, 32rem);
  right: clamp(-3rem, -4vmax, -1rem);
  bottom: clamp(-6rem, -8vmax, -3rem);
}

.stripes-wrap--tl {
  width: clamp(7rem, 16vmax, 16rem);
  height: clamp(7rem, 16vmax, 16rem);
  left: clamp(-2rem, -3vmax, -1rem);
  top: clamp(-3rem, -5vmax, -2rem);
  opacity: 0.85;
}

.stripes {
  display: block;
  width: 100%;
  height: 100%;
}


.page > main,
.page > footer { position: relative; z-index: 1; }

.page__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 56rem;
  margin: 0 auto;
}

.logo {
  width: clamp(140px, 18vw, 220px);
  height: auto;
  display: block;
}

.headline {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.headline .accent { color: var(--fire); }

.subtext {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--cloud);
}

.cta {
  position: relative;
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: 3px solid var(--fire);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s ease;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fire);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.cta:hover::before,
.cta:focus-visible::before { transform: translateX(0); }

.cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 89, 0, 0.35);
}

.page__footer {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  font-size: 0.9375rem;
  color: var(--cloud);
}

.page__footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid var(--fire);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}

.page__footer a:hover { color: var(--fire); }

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

.page__main > * {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(.2, .8, .2, 1) forwards;
}

.page__main > *:nth-child(1) { animation-delay: 0ms; }
.page__main > *:nth-child(2) { animation-delay: 150ms; }
.page__main > *:nth-child(3) { animation-delay: 300ms; }
.page__main > *:nth-child(4) { animation-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .page__main > * { opacity: 1; transform: none; }
  .blob { animation: none !important; }
}
