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

:root {
  --bg: #ffffff;
  --dark: #111111;
  --muted: #6B6560;
  --accent: #E8E0D5;
  --border: #E5E0DA;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Nunito', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--dark);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--dark); }

.btn {
  background: var(--dark);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity 0.2s;
  display: inline-block;
}

.btn:hover { opacity: 0.8; }

.btn-white {
  background: white;
  color: var(--dark);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 680px;
}

.hero-title em { font-style: italic; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ── FORM ── */
.form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  color: var(--dark);
  transition: border-color 0.2s;
}

.waitlist-form input[type="email"]::placeholder { color: var(--muted); }
.waitlist-form input[type="email"]:focus { border-color: var(--dark); }

.form-success {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  display: none;
}

/* ── APP STORE BADGE ── */
.badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: white;
  padding: 11px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.app-badge:hover { opacity: 0.8; }

.app-badge svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }

.badge-label-small { font-size: 10px; color: rgba(255,255,255,0.6); display: block; line-height: 1; }
.badge-label-large { font-size: 0.9375rem; font-weight: 600; display: block; margin-top: 3px; }

.android-soon { font-size: 0.75rem; color: var(--muted); }

/* ── HERO CARDS ── */
.hero-cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 56px;
  padding-top: 48px;
}

.card-wrapper {
  position: relative;
  flex-shrink: 0;
  margin: 0 -14px;
  opacity: 0;
  animation: fan-in 0.7s ease-out forwards;
}

.card-tag {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
}

.scrapbook-card {
  width: 148px;
  height: 192px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border: 2px solid white;
}

.scrapbook-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes fan-in {
  from { opacity: 0; transform: translateY(40px) rotate(var(--rot)); }
  to   { opacity: 1; transform: translateY(0px)  rotate(var(--rot)); }
}

/* ── SECTIONS ── */
section { padding: 96px 24px; }

.section-inner {
  max-width: 1152px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title em { font-style: italic; }

/* ── MARQUEE ── */
.marquee-section { padding: 80px 0; overflow: hidden; }

.marquee-header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 48px;
}

.marquee-sub {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 12px auto 0;
}

.marquee-rows { display: flex; flex-direction: column; gap: 12px; }

.marquee-row { overflow: hidden; }

.marquee-row:hover .marquee-inner { animation-play-state: paused; }

.marquee-inner {
  display: flex;
  gap: 12px;
  width: max-content;
}

.marquee-inner.go-left  { animation: marquee-left  35s linear infinite; }
.marquee-inner.go-right { animation: marquee-right 35s linear infinite; }

.marquee-img {
  width: 176px;
  height: 176px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

@keyframes marquee-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); }    }

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.how-sub {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
  margin-top: 20px;
}

.steps { display: flex; flex-direction: column; gap: 32px; margin-top: 8px; }

.step { display: flex; gap: 20px; align-items: flex-start; }

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 2px;
}

.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.step p  { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ── WHY CLYC ── */
.why-section { background: #F5F3F0; }

.why-header { text-align: center; margin-bottom: 56px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #C9BFB4;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.feature-card h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 0.8125rem; color: var(--muted); line-height: 1.65; }

/* ── FINAL CTA ── */
.cta-section {
  background: var(--dark);
  text-align: center;
}

.cta-section .section-title { color: white; margin-bottom: 20px; }

.cta-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

.cta-section .waitlist-form input[type="email"] {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: white;
}

.cta-section .waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.cta-section .waitlist-form input[type="email"]:focus { border-color: rgba(255,255,255,0.5); }
.cta-section .btn { background: white; color: var(--dark); }
.cta-section .form-success { color: rgba(255,255,255,0.6); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: white;
  text-decoration: none;
}

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }

/* ── LEGAL PAGES ── */
.legal-main {
  max-width: 672px;
  margin: 0 auto;
  padding: 128px 24px 96px;
}

.legal-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  text-align: center;
  display: block;
}

.legal-title {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 48px;
  display: block;
}

.prose h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 12px;
}

.prose p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose a { color: var(--dark); }

.legal-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

/* ── ABOUT PAGE ── */
.about-main {
  max-width: 672px;
  margin: 0 auto;
  padding: 128px 24px 96px;
}

.about-hero { text-align: center; margin-bottom: 56px; }

.about-hero .section-title { margin: 16px 0 0; }

.prose-body p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ── FAQ PAGE ── */
.faq-main {
  max-width: 672px;
  margin: 0 auto;
  padding: 128px 24px 96px;
}

.faq-hero { text-align: center; margin-bottom: 56px; }
.faq-intro { font-size: 0.875rem; color: var(--muted); margin-top: 12px; }
.faq-intro a { color: var(--dark); }

.faq-list { border-top: 1px solid var(--border); }

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item h2 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.faq-item p  { font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .hero-cards { gap: 0; }
  .card-wrapper { margin: 0 -18px; }
  .scrapbook-card { width: 120px; height: 156px; }
}

@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
}
