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

:root {
  --orange:    #E8663A;
  --bg:        #FAF0E6;
  --bg-card:   #FFFFFF;
  --text:      #1A0A00;
  --muted:     rgba(26,10,0,.52);
  --border:    rgba(26,10,0,.10);
  --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: var(--bg);
  min-height: 100dvh;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1.25rem;
  background: var(--orange);
  color: #fff;
  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: sticky;
  top: 0;
  padding: 1.125rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

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

/* ── Main ── */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem 2.5rem;
}

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

.app-icon {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin: 0 auto 1.75rem;
  box-shadow: 0 8px 32px rgba(232,102,58,.30);
}

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

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

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

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

/* ── Slideshow ── */
.slideshow {
  width: 100%;
  overflow: hidden;
  margin: .5rem 0 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.slides-track {
  display: flex;
  transition: transform .4s var(--ease);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.slide img {
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.slides-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: .875rem 0 1.75rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s var(--ease);
  min-height: unset;
}

.dot.active {
  background: var(--orange);
  width: 22px;
  border-radius: 4px;
}

.dot:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ── 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: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  min-height: 54px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.email-input::placeholder { color: var(--muted); }
.email-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,102,58,.12);
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--orange);
  color: #fff;
  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(232,102,58,.35);
}
.submit-btn:active:not(:disabled) { transform: translateY(0); }
.submit-btn:disabled { opacity: .55; cursor: default; }
.submit-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

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

/* ── Success ── */
.success-msg {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(232,102,58,.08);
  border: 1px solid rgba(232,102,58,.20);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

/* ── Footer ── */
footer {
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.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(--muted);
  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(--text); }
.footer-legal a:focus-visible,
.footer-link-btn:focus-visible { outline: 2px solid var(--orange); border-radius: 4px; outline-offset: 2px; }

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

/* ── Cookie banner ── */
#cookie-banner {
  position: fixed;
  inset: auto 0 0;
  padding: 1.125rem 1.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(26,10,0,.08);
  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(--text);
}
.cookie-text a { color: var(--orange); font-weight: 600; }

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

.cookie-accept {
  flex: 1;
  padding: .6875rem 1rem;
  background: var(--orange);
  color: #fff;
  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: .88; }

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

/* ── Subpages ── */
.page-wrap {
  max-width: 660px;
  margin: 0 auto;
  padding: 3rem 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;
  color: var(--text);
}

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

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

.page-wrap a { color: var(--orange); }
.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(--muted);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color .15s;
  min-height: 44px;
}
.back-link:hover { color: var(--text); }

.page-wrap h3 {
  font-size: .9375rem;
  font-weight: 700;
  margin: 1.5rem 0 .35rem;
  color: var(--text);
}

.highlight-box {
  background: rgba(232,102,58,.06);
  border-left: 3px solid var(--orange);
  padding: 1rem 1.25rem;
  margin: .75rem 0 1.25rem;
  border-radius: 0 8px 8px 0;
  font-size: .9375rem;
  color: var(--muted);
}

.provider-card {
  background: rgba(26,10,0,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: .75rem 0 1rem;
}
.provider-card p { margin-bottom: .25rem; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: .75rem 0 1.25rem;
  font-size: .9375rem;
}
.price-table th {
  background: rgba(26,10,0,.06);
  padding: .6rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--border);
}
.price-table td {
  padding: .6rem 1rem;
  border: 1px solid var(--border);
  color: var(--muted);
}
.price-table tr:nth-child(even) td { background: rgba(26,10,0,.03); }

/* ── 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:  80ms; }
  .fade-up:nth-child(3) { animation-delay: 160ms; }
  .fade-up:nth-child(4) { animation-delay: 240ms; }
  .fade-up:nth-child(5) { animation-delay: 320ms; }
  .fade-up:nth-child(6) { animation-delay: 400ms; }
  .fade-up:nth-child(7) { animation-delay: 480ms; }

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

/* ── Desktop ── */
@media (min-width: 768px) {
  .app-icon { width: 96px; height: 96px; border-radius: 22px; }
  h1        { font-size: 3.5rem; }
  .subtitle { font-size: 1.0625rem; max-width: 30ch; }
  .hero     { max-width: 420px; }
  .slide img { max-height: 65vh; }
}

/* ── Support form ── */
.form-group { margin-bottom: .75rem; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .4rem;
}

textarea.email-input {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
  padding-top: .875rem;
}

select.email-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='rgba(26,10,0,.4)' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}

select.email-input option {
  background: var(--bg);
  color: var(--text);
}

.disclaimer-box {
  background: rgba(232,102,58,.06);
  border-left: 3px solid rgba(232,102,58,.35);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--muted);
}

.disclaimer-box strong {
  color: var(--text);
  display: block;
  margin-bottom: .375rem;
  font-size: .9375rem;
}

.disclaimer-box a { color: var(--orange); }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .875rem;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: .125rem;
  accent-color: var(--orange);
  cursor: pointer;
}

.checkbox-row a { color: var(--orange); }

.support-success-msg {
  display: none;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(232,102,58,.08);
  border: 1px solid rgba(232,102,58,.20);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
  text-align: center;
}
