/* BingeBucks marketing site */
:root {
  --ink: #102018;
  --ink-soft: #2a3d32;
  --paper: #eef3ec;
  --paper-deep: #e2ebe0;
  --lime: #c6f000;
  --lime-deep: #9fc400;
  --forest: #1b4d3e;
  --mist: rgba(16, 32, 24, 0.08);
  --text: #102018;
  --muted: #5a6f63;
  --danger: #c44b4b;
  --max: 1120px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
  color: #f4f7f2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}

.btn-lime:hover {
  background: #d4ff33;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(16, 32, 24, 0.22);
  color: var(--ink);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ——— Landing hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f4f7f2;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 16, 0.35) 0%, rgba(10, 22, 16, 0.15) 35%, rgba(10, 22, 16, 0.78) 72%, rgba(10, 22, 16, 0.92) 100%),
    radial-gradient(ellipse at 20% 10%, rgba(198, 240, 0, 0.18), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 7.5rem 0 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 0 0 1.1rem;
  max-width: 10ch;
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.9s var(--ease) 0.15s forwards;
}

.hero-line {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.9s var(--ease) 0.32s forwards;
}

.hero-support {
  margin: 0.85rem 0 0;
  max-width: 36ch;
  color: rgba(244, 247, 242, 0.78);
  font-size: 1.02rem;
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.9s var(--ease) 0.45s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.9s var(--ease) 0.58s forwards;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

/* ——— Sections ——— */
.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0;
}

.section-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
}

.section-copy {
  margin: 1rem 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.flow {
  display: grid;
  gap: 2rem;
  margin-top: 2.75rem;
}

@media (min-width: 800px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.flow-step {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.flow-step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
}

.band {
  background:
    linear-gradient(135deg, #16382d 0%, #0f241c 48%, #1a4635 100%);
  color: #f2f7ef;
  overflow: hidden;
  position: relative;
}

.band::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(198, 240, 0, 0.22), transparent 65%);
  pointer-events: none;
}

.band-inner {
  position: relative;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .band-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

.band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 16ch;
}

.band p {
  margin: 0.85rem 0 0;
  max-width: 38ch;
  color: rgba(242, 247, 239, 0.78);
}

.band-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  border-top: 1px solid var(--mist);
  background: var(--paper-deep);
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ——— Legal pages ——— */
.legal-top {
  background:
    linear-gradient(180deg, #dfeadf 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--mist);
}

.legal-top .site-header {
  position: relative;
  color: var(--ink);
}

.legal-hero {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 2.75rem;
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.legal-hero p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.legal-body {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.legal-body h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-body a {
  color: var(--forest);
  font-weight: 700;
}

/* ——— 404 ——— */
.page-404 {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(198, 240, 0, 0.16), transparent 42%),
    radial-gradient(ellipse at 90% 30%, rgba(27, 77, 62, 0.1), transparent 45%),
    linear-gradient(180deg, #e4ede2 0%, var(--paper) 40%, var(--paper-deep) 100%);
}

.page-404 .legal-top {
  background: transparent;
  border-bottom: none;
}

.not-found {
  flex: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.not-found-code {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(27, 77, 62, 0.14);
}

.not-found-title {
  margin: -0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--ink);
}

.not-found-line {
  margin: 1.1rem 0 0;
  max-width: 24ch;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
}

.not-found-copy {
  margin: 0.75rem 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.not-found-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ——— Account deletion ——— */
.deletion-body .deletion-form {
  margin: 2rem 0 1.5rem;
  display: grid;
  gap: 1.1rem;
  max-width: 420px;
}

.deletion-body .label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest);
}

.deletion-body .field {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid rgba(16, 32, 24, 0.16);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}

.deletion-body .field:focus {
  outline: 2px solid rgba(198, 240, 0, 0.65);
  outline-offset: 1px;
  border-color: var(--lime-deep);
}

.deletion-body textarea.field {
  resize: vertical;
  min-height: 6rem;
}

.deletion-hint {
  margin: 0;
  color: var(--danger);
  font-size: 0.92rem;
  font-weight: 600;
}

.deletion-footnote {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .nav-links .hide-sm {
    display: none;
  }

  .hero-content {
    padding-top: 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img {
    transform: none;
  }

  .hero-brand,
  .hero-line,
  .hero-support,
  .hero-ctas,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
