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

:root {
  --c-start:   #F5896A;
  --c-end:     #E55040;
  --white:     #FFFFFF;
  --w70:       rgba(255,255,255,.70);
  --w50:       rgba(255,255,255,.50);
  --w20:       rgba(255,255,255,.20);
  --w12:       rgba(255,255,255,.12);
  --font:      'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease:      cubic-bezier(.16,1,.3,1);
  --radius-lg: 16px;
}

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

body {
  font-family: var(--font);
  background: linear-gradient(160deg, var(--c-start) 0%, var(--c-end) 100%);
  background-attachment: fixed;
  min-height: 100dvh;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1.25rem;
  background: var(--white);
  color: var(--c-end);
  font-weight: 700;
  font-size: .875rem;
  border-radius: 0 0 10px 10px;
  z-index: 1000;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Nav ── */
nav {
  position: fixed;
  inset: 0 0 auto;
  padding: 1.375rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(229,80,64,.25) 0%, transparent 100%);
}

.nav-logo {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

/* ── Main hero ── */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100dvh;
  padding: 4rem 1.5rem 2.5rem;
  gap: 0;
}

.hero { width: 100%; max-width: 380px; }

.app-icon {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin: 0 auto 2.25rem;
  box-shadow:
    0 24px 64px rgba(0,0,0,.22),
    0 0 0 1px rgba(255,255,255,.18);
}

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--w70);
  margin-bottom: .875rem;
}

h1 {
  font-size: clamp(2.25rem, 9vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 1.125rem;
}

.hero-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 1.25rem 0;
  display: block;
}

.subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--w70);
  max-width: 28ch;
  margin: 0 auto 2.75rem;
}

/* ── Form ── */
.waitlist-form { width: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.email-input {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--w20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  min-height: 54px;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.email-input::placeholder { color: var(--w50); }
.email-input:focus {
  background: rgba(255,255,255,.28);
  box-shadow: 0 0 0 2px var(--white);
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--c-end);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 54px;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), opacity .15s;
}
.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.submit-btn:active:not(:disabled) { transform: translateY(0); }
.submit-btn:disabled { opacity: .65; cursor: default; }
.submit-btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.privacy-note {
  margin-top: .9375rem;
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--w70);
}
.privacy-note a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Success ── */
.success-msg {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--w12);
  border: 1px solid rgba(255,255,255,.2);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
}

/* ── Footer ── */
footer {
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin-bottom: .625rem;
}

.footer-legal a,
.footer-link-btn {
  color: var(--w70);
  font-size: .8125rem;
  font-family: var(--font);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .15s;
}
.footer-legal a:hover,
.footer-link-btn:hover { color: var(--white); }
.footer-legal a:focus-visible,
.footer-link-btn:focus-visible { outline: 2px solid var(--white); border-radius: 4px; outline-offset: 2px; }

.footer-brand {
  font-size: .8125rem;
  color: var(--w50);
  line-height: 1.5;
}
.footer-brand a { color: var(--w70); text-decoration: underline; text-underline-offset: 2px; }
.footer-brand a:hover { color: var(--white); }

/* ── Cookie banner ── */
#cookie-banner {
  position: fixed;
  inset: auto 0 0;
  padding: 1.125rem 1.5rem;
  background: rgba(210,60,40,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.18);
  z-index: 500;
  display: none;
}

.cookie-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.cookie-text {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--white);
}
.cookie-text a { color: var(--white); font-weight: 600; }

.cookie-btns { display: flex; gap: .5rem; }

.cookie-accept {
  flex: 1;
  padding: .6875rem 1rem;
  background: var(--white);
  color: var(--c-end);
  border: none;
  border-radius: 12px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  transition: opacity .15s;
}
.cookie-accept:hover { opacity: .9; }

.cookie-decline {
  padding: .6875rem 1rem;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.38);
  border-radius: 12px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: border-color .15s;
}
.cookie-decline:hover { border-color: var(--white); }

/* ── Subpages ── */
.page-wrap {
  max-width: 660px;
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
  text-align: left;
}

.page-wrap h1 {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 2.5rem;
}

.page-wrap h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 2.25rem 0 .5rem;
  color: var(--white);
}

.page-wrap p,
.page-wrap li {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--w70);
}

.page-wrap a { color: var(--white); }
.page-wrap ul { padding-left: 1.25rem; margin-top: .5rem; }
.page-wrap li { margin-bottom: .4rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: var(--w70);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color .15s;
  min-height: 44px;
}
.back-link:hover { color: var(--white); }

/* ── Animations ── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp .65s var(--ease) forwards;
  }
  .fade-up:nth-child(1) { animation-delay:   0ms; }
  .fade-up:nth-child(2) { animation-delay:  50ms; }
  .fade-up:nth-child(3) { animation-delay: 100ms; }
  .fade-up:nth-child(4) { animation-delay: 150ms; }
  .fade-up:nth-child(5) { animation-delay: 200ms; }
  .fade-up:nth-child(6) { animation-delay: 250ms; }

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

/* ── Desktop ── */
@media (min-width: 768px) {
  .app-icon  { width: 104px; height: 104px; }
  h1         { font-size: 3.5rem; }
  .subtitle  { font-size: 1.125rem; max-width: 30ch; }
  .hero      { max-width: 420px; }
}
