/* Flowlet — near-black ink, warm-white type, product-first. */

:root {
  --bg: #060605;
  --bg-soft: #0b0b0a;
  --surface: #101010;
  --elevated: #171716;
  --ink: #f4f1ea;
  --text: #ece9e2;
  --text-secondary: #b9b6ae;
  --text-tertiary: #8a877f;
  --border: #232322;
  --border-soft: #1b1b1a;
  --accent: #f4f1ea;
  --radius: 16px;
  --max-w: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(244,241,234,0.055), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }

.site-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(6, 6, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { color: var(--text-tertiary); text-decoration: none; font-size: 15px; transition: color 0.15s ease; }
.site-nav a:hover { color: var(--ink); }
.nav-cta { color: var(--bg) !important; background: var(--ink); padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 14px !important; transition: transform 0.15s ease, opacity 0.15s ease !important; }
.nav-cta:hover { transform: translateY(-1px); opacity: 0.92; }

.hero { max-width: var(--max-w); margin: 0 auto; padding: 84px 28px 96px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--text-tertiary); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 20px; font-weight: 600; }
.hero h1 { font-size: clamp(44px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 750; margin: 0 0 24px; color: var(--ink); }
.lede { max-width: 480px; color: var(--text-secondary); font-size: 18.5px; line-height: 1.7; margin: 0 0 38px; }
.cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #060605; font-weight: 650; font-size: 16.5px; padding: 15px 32px; border-radius: 999px; text-decoration: none; transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease; box-shadow: 0 8px 28px rgba(244, 241, 234, 0.12); }
.btn-primary:hover:not(.is-disabled) { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(244, 241, 234, 0.18); }
.btn-primary:active:not(.is-disabled) { transform: translateY(0); }
.btn-primary.is-disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.btn-large { font-size: 18px; padding: 17px 40px; }
.download-note { margin: 0; font-size: 14px; color: var(--text-tertiary); }
.meta-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; color: var(--text-tertiary); font-size: 13.5px; }
.meta-row li { display: flex; align-items: center; gap: 8px; }
.meta-row li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--text-tertiary); opacity: 0.6; }

/* Watch mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.watch {
  position: relative;
  width: 210px;
  height: 262px;
  background: linear-gradient(160deg, #2a2a28, #131312 60%);
  border-radius: 58px;
  padding: 12px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(244, 241, 234, 0.06), 0 0 90px rgba(244, 241, 234, 0.05);
  transform: perspective(1200px) rotateY(6deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.hero-visual:hover .watch { transform: perspective(1200px) rotateY(2deg) rotateX(0deg); }
.watch-crown {
  position: absolute;
  right: -7px;
  top: 64px;
  width: 7px;
  height: 30px;
  border-radius: 3px;
  background: #2e2e2c;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.12);
}
.watch-button {
  position: absolute;
  right: -4px;
  top: 112px;
  width: 4px;
  height: 44px;
  border-radius: 2px;
  background: #232322;
}
.watch-screen {
  width: 100%;
  height: 100%;
  background: #060605;
  border-radius: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 14px 16px;
  overflow: hidden;
  position: relative;
}
.watch-time { margin: 0; font-size: 13px; font-weight: 600; color: rgba(244,241,234,0.85); letter-spacing: 0.04em; }
.watch-flow-mark { margin-top: 14px; opacity: 0.95; }
.watch-held { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.watch-count { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; }
.watch-sub { margin: 2px 0 0; font-size: 10px; color: var(--text-tertiary); text-align: center; line-height: 1.4; }
.watch-mic {
  margin-top: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(244, 241, 234, 0.18);
}
.watch-hint { margin: 8px 0 0; font-size: 10px; color: var(--text-tertiary); }
.watch-chip {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.section-title { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 48px; text-align: center; }
.how { max-width: var(--max-w); margin: 0 auto; padding: 40px 28px 96px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-step { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 32px 28px; position: relative; transition: transform 0.2s ease, border-color 0.2s ease; }
.how-step:hover { transform: translateY(-3px); border-color: var(--border); }
.how-num { width: 38px; height: 38px; border-radius: 50%; background: var(--elevated); border: 1px solid var(--border); color: var(--ink); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.how-step h3 { font-size: 18px; font-weight: 650; color: var(--ink); margin: 0 0 10px; letter-spacing: -0.01em; }
.how-step p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

.features { max-width: var(--max-w); margin: 0 auto; padding: 24px 28px 104px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 30px 28px; transition: transform 0.2s ease, border-color 0.2s ease; }
.feature:hover { transform: translateY(-3px); border-color: var(--border); }
.feature h3 { font-size: 17px; font-weight: 650; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; }

.download-cta { max-width: var(--max-w); margin: 0 auto; padding: 24px 28px 104px; }
.download-card { background: linear-gradient(180deg, #111110, #0b0b0a); border: 1px solid var(--border); border-radius: 24px; padding: 72px 40px; text-align: center; position: relative; overflow: hidden; }
.download-card::before { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 600px; height: 240px; background: radial-gradient(ellipse at center, rgba(244,241,234,0.08), transparent 65%); pointer-events: none; }
.download-card h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 750; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px; position: relative; }
.download-card > p { color: var(--text-secondary); margin: 0 0 36px; font-size: 17px; position: relative; }
.download-card .btn-primary { position: relative; }
.fine-print { margin: 24px 0 0 !important; font-size: 13.5px !important; color: var(--text-tertiary) !important; }

.faq { max-width: 720px; margin: 0 auto; padding: 24px 28px 110px; }
.faq-list details { border: 1px solid var(--border-soft); border-radius: 14px; padding: 20px 24px; margin-bottom: 12px; background: var(--bg-soft); transition: border-color 0.2s ease; }
.faq-list details:hover { border-color: var(--border); }
.faq-list details[open] { border-color: var(--border); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-tertiary); font-weight: 400; font-size: 22px; line-height: 1; flex-shrink: 0; transition: transform 0.2s ease; }
.faq details[open] summary::after { content: "–"; transform: rotate(0deg); }
.faq details p { margin: 12px 0 4px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

.site-footer { border-top: 1px solid var(--border-soft); padding: 36px 28px 48px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 0; color: var(--text-tertiary); font-size: 14px; }
.footer-inner a { color: var(--text-secondary); text-decoration: none; }
.footer-inner a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 88px; }
  .hero { padding: 64px 24px 80px; }
  .hero-visual { order: -1; }
  .watch { transform: none; }
  .how-grid, .features-grid { grid-template-columns: 1fr; }
  .site-nav a:not(.nav-cta) { display: none; }
  .download-card { padding: 56px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
