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

:root {
  --text:         #f5f5f7;
  --accent:       #ff2d55;
  --accent-blue:  #0a84ff;
  --muted:        #8e8e93;
  --glass:        rgba(255,255,255,0.07);
  --glass-mid:    rgba(255,255,255,0.11);
  --glass-border: rgba(255,255,255,0.13);
  --font: -apple-system, "SF Pro Display", "SF Pro Text", BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 55% 45% at 12% 65%, rgba(255,45,85,.13) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 35%, rgba(10,132,255,.13) 0%, transparent 65%),
    #000;
  min-height: 100vh;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: .5rem 1.25rem;
  border-radius: .5rem;
  font-size: .875rem;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; }

/* ── Main layout ── */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

/* ── Hero ── */
.hero {
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.app-icon {
  width: min(148px, 38vw);
  height: min(148px, 38vw);
  border-radius: 22%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.1),
    0 8px 40px rgba(255,45,85,.30),
    0 0 80px rgba(10,132,255,.20),
    0 2px 8px rgba(0,0,0,.7);
  opacity: 0;
  transform: translateY(16px);
  animation: reveal .6s cubic-bezier(.34,1.56,.64,1) forwards;
}

.app-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  animation: reveal .5s ease .1s forwards;
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--text);
  opacity: 0;
  animation: reveal .5s ease .18s forwards;
}

.hero h1 .brand {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  opacity: 0;
  animation: reveal .5s ease .26s forwards;
}

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

/* ── Glass page card (all subpages) ── */
.glass-page {
  max-width: 640px;
  width: 100%;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: left;
  margin: 1.5rem auto;
}

.glass-page.narrow { max-width: 560px; }

@media (max-width: 600px) {
  .glass-page { padding: 2rem 1.25rem; border-radius: 16px; }
}

/* ── Subpage typography ── */
.glass-page h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: .5rem;
  color: var(--text);
}

.glass-page .updated {
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.glass-page h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.75rem 0 .5rem;
  color: var(--text);
}

.glass-page h3 {
  font-size: .9375rem;
  font-weight: 600;
  margin: 1.25rem 0 .375rem;
  color: var(--text);
}

.glass-page p,
.glass-page li,
.glass-page address {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--muted);
  font-style: normal;
}

.glass-page ul {
  padding-left: 1.25rem;
  margin-top: .25rem;
}

.glass-page a { color: var(--accent-blue); }
.glass-page a:hover { text-decoration: underline; }

.glass-page .intro {
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: var(--accent-blue);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  transition: opacity .15s;
}
.back-link:hover { opacity: .7; text-decoration: none; }

/* ── Support form ── */
.field {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin-bottom: 1.25rem;
}

.field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.field-required { color: var(--accent); }

.field input[type="email"],
.field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: .625rem;
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.field input[type="email"]::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.28); }

.field input[type="email"]:focus,
.field textarea:focus {
  border-color: rgba(255,45,85,.55);
  box-shadow: 0 0 0 3px rgba(255,45,85,.15);
}

.field textarea { resize: vertical; min-height: 130px; }

.privacy-box {
  background: rgba(255,45,85,.07);
  border: 1px solid rgba(255,45,85,.22);
  border-radius: .625rem;
  padding: 1rem 1.125rem;
  margin-bottom: 1.5rem;
}

.privacy-box label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
}

.privacy-box input[type="checkbox"] {
  margin-top: .2rem;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.privacy-box a { color: var(--accent-blue); }

.btn-submit {
  width: 100%;
  padding: .875rem 1.75rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  color: #fff;
  border: none;
  border-radius: .625rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  transition: opacity .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(255,45,85,.25);
}
.btn-submit:hover { opacity: .9; box-shadow: 0 4px 32px rgba(255,45,85,.4); }

/* ── 404 page ── */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 3rem 1.5rem;
  text-align: center;
  gap: 1.25rem;
}

.error-code {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .45;
  line-height: 1;
}

.error-page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}

.error-page p { color: var(--muted); font-size: .9375rem; }

.btn-home {
  margin-top: .5rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  border: 1px solid var(--glass-border);
  border-radius: .625rem;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 600;
  min-height: 44px;
  transition: background .15s, box-shadow .15s;
}
.btn-home:hover { background: var(--glass-mid); box-shadow: 0 4px 20px rgba(10,132,255,.2); }

/* ── Footer ── */
footer {
  background: rgba(14,14,16,0.85);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: .8rem;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .15s;
}
.footer-links a:hover,
.footer-links a:focus { color: var(--accent-blue); text-decoration: underline; }

.footer-copy { color: var(--muted); font-size: .75rem; line-height: 1.7; }
.footer-copy a { color: var(--accent-blue); text-decoration: none; font-weight: 500; }
.footer-copy a:hover { text-decoration: underline; }

/* ── Cookie banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(14,14,16,0.92);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 9998;
  box-shadow: 0 -4px 40px rgba(0,0,0,.7);
  font-size: .875rem;
}

#cookie-banner[hidden] { display: none; }

#cookie-banner p { flex: 1; min-width: 200px; color: var(--text); line-height: 1.5; }
#cookie-banner a { color: var(--accent-blue); }

.cookie-actions { display: flex; gap: .75rem; }

.btn-cookie {
  padding: .625rem 1.25rem;
  border-radius: .5rem;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 500;
  min-width: 44px;
  min-height: 44px;
  transition: opacity .15s;
}
.btn-cookie:hover { opacity: .85; }

.btn-accept { background: var(--accent-blue); color: #fff; }
.btn-close  { background: rgba(255,255,255,.09); color: var(--text); border: 1px solid var(--glass-border); }

/* ── Global focus ── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Hero redesign ── */
.hero {
  gap: 0;
  padding-top: 3rem;
  padding-bottom: 0;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero .app-icon {
  width: min(100px, 26vw);
  height: min(100px, 26vw);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: .22em;
  margin-bottom: .5rem;
  line-height: 1.1;
}

.hero-sub {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1.25rem;
  animation: reveal .5s ease .18s forwards;
  opacity: 0;
}

.hero-tagline {
  font-size: .9375rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto 2rem;
  animation: reveal .5s ease .26s forwards;
  opacity: 0;
}

.mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  opacity: 0;
  animation: reveal .7s ease .35s forwards;
}

.mockup-img {
  width: 100%;
  display: block;
}

.mockup-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}

/* ── Content sections ── */
.content-section {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: left;
}

.section-label {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.section-body {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.section-divider {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
}

/* ── Steps ── */
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  padding: 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: .875rem 1rem;
}

.step-item p {
  font-size: .875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Stats ── */
.stats-row {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}

.stat-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.125rem .875rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: .6875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* ── Privacy card ── */
.privacy-card {
  background: rgba(10,132,255,0.08);
  border: 1px solid rgba(10,132,255,0.2);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
}

.lock-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: .75rem;
}

.privacy-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: .625rem;
  color: var(--text);
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.privacy-list li {
  font-size: .8125rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: .625rem;
  line-height: 1.4;
}

.privacy-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-blue);
  flex-shrink: 0;
}

/* ── Twist card ── */
.twist-card {
  background: rgba(255,45,85,0.07);
  border: 1px solid rgba(255,45,85,0.18);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
}

.twist-card .section-title { margin-bottom: .75rem; }

.twist-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.twist-pill {
  background: rgba(255,45,85,0.12);
  border: 1px solid rgba(255,45,85,0.25);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .75rem;
  color: rgba(255,255,255,0.65);
}

/* ── Stages ── */
.stage-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.stage-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.stage-item p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.stage-item strong { color: var(--text); }

.stage-arrow {
  color: var(--accent);
  font-weight: 800;
  font-size: .875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── No social grid ── */
.no-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
  margin-top: 1.25rem;
}

.no-social-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1rem .875rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.no-social-icon { font-size: 1.375rem; }

.no-social-item p {
  font-size: .8125rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.4;
}

/* ── Bottom CTA ── */
.cta-section {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-section h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

.cta-section p {
  font-size: .875rem;
  color: var(--muted);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s, box-shadow .15s;
  box-shadow: 0 4px 24px rgba(255,45,85,0.25);
}

.btn-cta:hover { opacity: .9; box-shadow: 0 4px 32px rgba(255,45,85,0.4); }
