:root {
  --bg: #16161c;
  --bg-soft: #1c1c24;
  --bg-elev: #24242e;
  --bg-card: #2a2a36;
  --gold: #ffb300;
  --gold-bright: #ffd166;
  --gold-soft: rgba(255, 179, 0, 0.14);
  --gold-line: rgba(255, 179, 0, 0.45);
  --text: #f7f5f0;
  --muted: rgba(247, 245, 240, 0.72);
  --muted-2: rgba(247, 245, 240, 0.45);
  --line: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --radius-lg: 24px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1100px;
  --wide: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #1a1200;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

/* —— Reveal animations —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-media img,
  .hero-inner,
  .hero-line,
  .btn,
  .feature-card,
  .step,
  .showcase-frame {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(1.25);
  background: rgba(22, 22, 28, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(22, 22, 28, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}
.nav {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.logo-wordmark {
  height: 20px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta {
  margin-left: 6px !important;
  background: var(--gold) !important;
  color: #1a1200 !important;
}
.nav-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* —— Hero (app-site style) —— */
.hero {
  position: relative;
  padding: 36px 20px 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(255, 179, 0, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 179, 0, 0.06), transparent 50%),
    linear-gradient(180deg, #1a1a22 0%, var(--bg) 100%);
}
.hero-media {
  display: none;
}
.hero-veil {
  display: none;
}
.hero-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero {
    padding: 56px 24px 48px;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
  .hero-grid-solo {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}
.hero-simple {
  padding-bottom: 40px;
}
.hero-grid-solo .hero-inner {
  text-align: left;
}
.hero-grid-solo .hero h1,
.hero-grid-solo h1 {
  max-width: 14ch;
}

.feature-grid-text {
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .feature-grid-text {
    grid-template-columns: 1fr 1fr;
  }
}
.feature-card.feature-text .feature-copy {
  padding: 26px 24px 28px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.cta-band-plain {
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-soft));
  border: 1px solid var(--gold-line);
}
.cta-band-plain .cta-band-inner {
  text-align: center;
}
.hero-inner {
  position: relative;
  z-index: 2;
  animation: rise 0.9s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: rise 0.8s 0.05s var(--ease) both;
}
.brand-hero {
  display: none;
}
.hero-tag {
  display: none;
}
.hero-line {
  display: none;
}
.hero h1 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.5vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 12ch;
}
.hero-copy {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  max-width: 38ch;
  line-height: 1.6;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.95s 0.12s var(--ease) both;
}
.hero-trust {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 600;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.6);
}

.hero-visual {
  position: relative;
  animation: floatIn 1.1s 0.15s var(--ease) both;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(36px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.hero-visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  position: relative;
}
.hero-visual-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 6s ease;
}
.hero-visual:hover .hero-visual-frame img {
  transform: scale(1.04);
}
.hero-visual-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255, 179, 0, 0.22), transparent 65%);
  pointer-events: none;
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), filter 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--gold);
  color: #1a1200;
  box-shadow: 0 10px 28px rgba(255, 179, 0, 0.28);
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(255, 179, 0, 0.36);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn[aria-disabled="true"],
.btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  box-shadow: none;
}

/* —— How it works —— */
.how {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 28px 20px 56px;
}
.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 36px;
}
.section-label {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-head h2,
.moments-head h2,
.page-hero h1,
.section h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-head p,
.moments-head p,
.page-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-inline: auto;
}
.steps {
  display: grid;
  gap: 14px;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
.step {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.step strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Showcase —— */
.showcase {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 8px 20px 56px;
}
.showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease);
}
.showcase-frame:hover {
  transform: translateY(-4px);
}
.showcase-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.showcase-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 22px 20px;
  background: linear-gradient(transparent, rgba(22, 22, 28, 0.92));
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* —— Features / moments —— */
.moments {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 12px 20px 64px;
}
.moments-head {
  margin-bottom: 28px;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 32px;
}
.moments-head h2,
.moments-head p {
  max-width: none;
}
.feature-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .feature-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
  }
  .feature-card.feature-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 8px;
  }
}
.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow);
}
.feature-card .feature-copy {
  padding: 22px 22px 8px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}
.feature-card .feature-media {
  margin: 14px 14px 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.feature-card .feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.feature-card:hover .feature-media img {
  transform: scale(1.05);
}

.moment-row { display: none; }

/* —— CTA —— */
.cta-band {
  position: relative;
  margin: 0 20px 48px;
  max-width: var(--max);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background: var(--bg-elev);
}
.cta-band-bg {
  position: absolute;
  inset: 0;
}
.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.cta-band-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(36, 36, 46, 0.95), rgba(26, 26, 34, 0.82));
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 52px);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin-inline: auto;
  max-width: 18ch;
}
.cta-band p {
  margin: 12px auto 0;
  color: var(--muted);
  max-width: 40ch;
}
.cta-band .hero-actions {
  margin-top: 22px;
  justify-content: center;
}

.note-band {
  margin: 0 20px 72px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.note-band h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.note-band p {
  color: var(--muted);
  max-width: 58ch;
  font-size: 0.95rem;
}
.note-band a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Inner pages —— */
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px 24px;
}
.page-hero .eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 20px 80px;
}
.support-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
@media (min-width: 720px) {
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.support-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.support-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.support-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.support-card p {
  color: var(--muted);
  font-size: 0.95rem;
}
.support-card a.link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.9rem;
}
.faq {
  margin-top: 44px;
}
.faq h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}
.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 56ch;
}

.about-split {
  display: grid;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}
@media (min-width: 860px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
  box-shadow: var(--shadow);
}
.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.about-points {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .about-points {
    grid-template-columns: 1fr 1fr;
  }
}
.about-points article {
  padding: 18px 18px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.about-points article:hover {
  border-color: var(--gold-line);
  transform: translateX(4px);
}
.about-points article h3 {
  font-size: 1.02rem;
  font-weight: 700;
}
.about-points article p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* —— Legal —— */
.legal-hero {
  padding: 48px 20px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.legal-hero .eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-hero h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.02em;
}
.legal-meta {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.86rem;
}
.legal-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px 80px;
}
.legal-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
  min-height: 260px;
}
.legal-content {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(247, 245, 240, 0.9);
}
.legal-status {
  color: var(--muted);
  font-size: 0.92rem;
}
.legal-status.error {
  color: #ff8a95;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 20px 28px;
  background: #121218;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}
.footer-copy {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.88rem;
  max-width: 34ch;
}
.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover {
  color: var(--gold-bright);
  transform: translateX(3px);
}
.footer-bottom {
  max-width: var(--wide);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
}

/* —— Mobile nav —— */
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    margin: 0;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    gap: 4px;
  }
  .nav-links.is-open {
    display: flex;
    animation: rise 0.35s var(--ease) both;
  }
  .nav-links a {
    padding: 14px 16px;
    border-radius: 12px;
  }
  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
  }
  .logo-wordmark {
    height: 18px;
  }
  .showcase-frame img {
    aspect-ratio: 16 / 11;
  }
  .hero h1 {
    max-width: 14ch;
  }
}
