:root {
  --ink:     #0A0805;
  --paper:   #F7F2E8;
  --cream:   #EDE7D5;
  --gold:    #B8922A;
  --gold-lt: #D4AA4A;
  --muted:   #6B6358;
  --border:  #D9D2C2;
  --white:   #FDFAF4;
  --purple:  #1C1628;
  --display: 'Bebas Neue', sans-serif;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Outfit', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9998;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247,242,232,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 1.6rem;
  letter-spacing: 0.06em; color: var(--ink);
}
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* HERO */
#hero {
  min-height: 100vh; padding-top: 60px;
  display: grid; grid-template-rows: 1fr auto;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; top: -10%; right: -5%;
  width: 55%; height: 130%;
  background: var(--cream);
  transform: skewX(-4deg); z-index: 0;
}
.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 40px 40px;
  max-width: 1100px; margin: 0 auto; width: 100%;
  gap: 60px;
}
.hero-tag {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  opacity: 0; animation: rise 0.7s ease forwards 0.1s;
}
.hero-tag::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }

/* Logo in hero */
.hero-logo-wrap {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 36px;
  opacity: 0; animation: rise 0.8s ease forwards 0.25s;
}
.hero-logo-img {
  width: 80px; height: 80px; border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  flex-shrink: 0;
}
.hero-logo-text {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hero-logo-text span { color: var(--gold); }

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400; font-style: italic;
  line-height: 1.4; color: var(--muted);
  margin-bottom: 32px;
  opacity: 0; animation: rise 0.8s ease forwards 0.45s;
}
.hero-body {
  font-size: 1.05rem; line-height: 1.8; color: var(--muted);
  max-width: 420px; margin-bottom: 44px;
  opacity: 0; animation: rise 0.8s ease forwards 0.6s;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: rise 0.8s ease forwards 0.75s;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 0.84rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 32px; border-radius: 2px; transition: all 0.2s; cursor: pointer;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #1a1510; text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); text-decoration: none; transform: translateY(-1px); }

/* Hero right - iPhone screenshot showcase */
.hero-right {
  display: flex; justify-content: center; align-items: center;
  position: relative;
  opacity: 0; animation: rise 0.9s ease forwards 0.5s;
}
.hero-phones {
  display: flex; gap: 24px; align-items: flex-end;
}
.hero-phone-wrap {
  position: relative;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.22));
}
.hero-phone-wrap:first-child {
  transform: rotate(-4deg) translateY(20px);
}
.hero-phone-wrap:last-child {
  transform: rotate(3deg) translateY(10px);
}
.hero-phone-wrap img {
  width: 180px; height: auto; border-radius: 24px; display: block;
}

/* TICKER */
.hero-ticker {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0; margin-top: 40px;
  background: var(--cream);
  opacity: 0; animation: rise 0.6s ease forwards 1s;
}
.ticker-track { display: inline-block; animation: ticker 24s linear infinite; }
.ticker-item {
  display: inline-block; font-family: var(--display);
  font-size: 0.95rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); padding: 0 44px;
}
.ticker-item span { color: var(--gold); margin-right: 44px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SHARED */
.rule { height: 1px; background: var(--border); }
.s-label {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 16px; margin-bottom: 60px;
}
.s-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* FEATURES */
#features { padding: 100px 0; }
.features-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 80px;
}
.features-heading {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.15; color: var(--ink);
}
.features-heading em { font-style: italic; color: var(--gold); }
.features-intro { font-size: 1rem; color: var(--muted); line-height: 1.85; }

/* Feature cards with screenshots */
.features-showcase {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: var(--border);
}
.feature-card {
  background: var(--paper); padding: 44px 40px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: start;
  position: relative; transition: background 0.25s;
}
.feature-card:hover { background: var(--white); }
.feature-card.wide {
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 60px 60px;
}
.f-num {
  font-family: var(--display); font-size: 0.78rem;
  letter-spacing: 0.2em; color: var(--gold);
  margin-bottom: 14px;
}
.f-title {
  font-family: var(--serif); font-size: 1.55rem;
  font-weight: 700; line-height: 1.2; color: var(--ink);
  margin-bottom: 14px;
}
.f-body { font-size: 0.97rem; color: var(--muted); line-height: 1.8; }
.f-tag {
  display: inline-block; margin-top: 20px;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.f-tag-pro {
  color: var(--purple); background: var(--gold-lt);
  border-bottom: none; padding: 3px 10px; border-radius: 2px;
  font-weight: 600;
}
.f-screenshot {
  display: flex; justify-content: flex-end; align-items: flex-end;
  padding-top: 8px;
}
/* Device Frame — compositable CSS bezels (swap screenshots freely) */
.device-frame {
  background: var(--purple);
  display: inline-block;
  box-sizing: border-box;
}
.device-frame img { display: block; }
.device-frame.phone {
  padding: 6px 4px;
  border-radius: 32px;
}
.device-frame.tablet {
  padding: 8px 6px;
  border-radius: 20px;
}

.f-screenshot img {
  width: 140px; height: auto; border-radius: 18px;
}
.f-screenshot .device-frame {
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.18));
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}
.feature-card:hover .f-screenshot .device-frame { transform: rotate(0deg) translateY(-4px); }
.f-screenshot.ipad {
  display: flex; gap: 16px;
}
.f-screenshot.ipad .device-frame {
  flex: 1; max-width: 480px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.2));
  transform: none;
  transition: transform 0.3s ease;
}
.f-screenshot.ipad img {
  width: 100%; border-radius: 12px;
}
.feature-card:hover .f-screenshot.ipad .device-frame { transform: translateY(-4px); }

/* Features — "And more" compact list */
.features-more { margin-top: 60px; text-align: center; }
.features-more-label {
  font-family: var(--serif); font-size: 1.1rem;
  font-weight: 400; font-style: italic; color: var(--muted);
  margin-bottom: 24px;
}
.features-more-list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
}
.features-more-list span {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink); background: var(--cream);
  padding: 8px 18px; border-radius: 100px;
  white-space: nowrap;
}
.features-more-list .pro-pill {
  background: var(--purple); color: var(--paper);
}
.features-more-list .pro-pill em {
  font-style: normal; font-size: 0.65rem;
  font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-lt);
  margin-left: 6px;
}
.features-more-list .more-pill {
  background: transparent; color: var(--muted);
  border: 1.5px dashed var(--border);
  font-style: italic;
}

/* MANIFESTO */
#manifesto {
  background: var(--purple); padding: 100px 0;
  position: relative; overflow: hidden;
}
#manifesto::before {
  content: 'DANCE';
  position: absolute; font-family: var(--display); font-size: 28vw;
  color: rgba(255,255,255,0.025);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none; letter-spacing: 0.05em;
}
.manifesto-inner { position: relative; z-index: 1; max-width: 800px; }
.manifesto-heading {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400; font-style: italic; line-height: 1.2;
  color: var(--paper); margin-bottom: 40px;
}
.manifesto-heading strong { font-style: normal; font-weight: 700; color: var(--gold-lt); }
.manifesto-body { font-size: 1.05rem; color: rgba(247,242,232,0.62); line-height: 1.85; max-width: 580px; }
.manifesto-body p + p { margin-top: 18px; }

/* STATS */
#stats { padding: 80px 0; background: var(--cream); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }
.stat { padding: 52px 44px; border-right: 1px solid var(--border); position: relative; }
.stat:last-child { border-right: none; }
.stat-accent { position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--gold); }
.stat-val { font-family: var(--display); font-size: 5rem; line-height: 1; color: var(--ink); letter-spacing: 0.02em; margin-bottom: 12px; }
.stat-label { font-size: 0.84rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* SUPPORT */
#support { padding: 100px 0; }
.support-layout { display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start; }
.support-sidebar h2 { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; line-height: 1.15; color: var(--ink); margin-bottom: 20px; }
.support-sidebar p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.email-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink); border-bottom: 2px solid var(--gold);
  padding-bottom: 3px; transition: color 0.2s;
}
.email-link:hover { color: var(--gold); text-decoration: none; }
.faq { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary {
  padding: 22px 0; font-family: var(--serif); font-size: 1.08rem;
  font-weight: 400; color: var(--ink); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; user-select: none; transition: color 0.2s;
}
summary:hover { color: var(--gold); }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; font-family: var(--sans); font-size: 1.4rem;
  font-weight: 300; color: var(--gold); flex-shrink: 0; transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(45deg); }
details .ans { font-size: 1rem; color: var(--muted); line-height: 1.82; padding-bottom: 22px; max-width: 640px; }

/* PRIVACY */
#privacy { padding: 100px 0; background: var(--cream); }
.privacy-top { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.privacy-sticky { position: sticky; top: 80px; }
.privacy-sticky h2 { font-family: var(--display); font-size: 3.5rem; letter-spacing: 0.04em; color: var(--ink); line-height: 1; margin-bottom: 12px; }
.privacy-sticky .updated { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.privacy-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.privacy-nav a { font-size: 0.84rem; color: var(--muted); letter-spacing: 0.04em; transition: color 0.2s; }
.privacy-nav a:hover { color: var(--gold); text-decoration: none; }
.p-section { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--border); }
.p-section:last-child { border-bottom: none; }
.p-section h3 { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.p-section h4 { font-family: var(--sans); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 26px 0 10px; }
.p-section p, .p-section ul { font-size: 1rem; color: var(--muted); line-height: 1.85; }
.p-section ul { padding-left: 20px; }
.p-section li { margin-bottom: 7px; }
.p-section p + p { margin-top: 14px; }

/* FOOTER */
footer { background: var(--ink); padding: 60px 40px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-logo img { width: 36px; height: 36px; border-radius: 9px; opacity: 0.9; }
.footer-logo-text { font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.06em; color: var(--paper); }
.footer-logo-text span { color: var(--gold-lt); }
.footer-links { display: flex; gap: 28px; justify-content: center; }
.footer-links a { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,242,232,0.45); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-lt); text-decoration: none; }
.footer-copy { font-size: 0.77rem; letter-spacing: 0.06em; color: rgba(247,242,232,0.28); text-align: right; line-height: 1.6; }

/* ANIMATIONS */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; padding: 60px 22px 0; gap: 48px; }
  .hero-right { order: -1; }
  .hero-phones { justify-content: center; }
  .hero-phone-wrap img { width: 140px; }
  #hero::before { display: none; }
  .features-header { grid-template-columns: 1fr; gap: 28px; }
  .features-showcase { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card.wide { grid-template-columns: 1fr; padding: 44px 32px; }
  .f-screenshot img { width: 120px; }
  .f-screenshot.ipad { flex-direction: column; }
  .f-screenshot.ipad img { max-width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .support-layout { grid-template-columns: 1fr; gap: 52px; }
  .privacy-top { grid-template-columns: 1fr; gap: 48px; }
  .privacy-sticky { position: static; }
  .privacy-nav { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-copy { text-align: left; }
  nav { padding: 0 22px; }
  .nav-links { display: none; }
  .wrap { padding: 0 22px; }
  footer { padding: 48px 22px; }
}
