/* ============ TOKENS ============ */
:root {
  --beige: #f0eae0;
  --beige-deep: #e6ddcd;
  --cream: #faf7f1;
  --black: #101010;
  --ink: #1a1a1a;
  --muted: #6f6a60;
  --line: rgba(16, 16, 16, 0.12);
  --radius: 20px;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .plan-price, .step-num {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

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

a { color: inherit; }

::selection { background: var(--black); color: var(--beige); }

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark :focus-visible, .cta :focus-visible, .footer :focus-visible { outline-color: var(--cream); }

/* ============ BRAND / LOGO ============ */
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
}
.brand-footer img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
  text-decoration: none;
  color: var(--black);
  line-height: 1;
}
.wordmark-light { color: var(--cream); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--black);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--cream); }
.btn-dark:hover { background: #2b2b2b; }
.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost:hover { background: rgba(16, 16, 16, 0.06); }
.btn-light { background: var(--cream); color: var(--black); border-color: var(--cream); }
.btn-small { padding: 0.55rem 1.25rem; font-size: 0.9rem; }
.btn-full { display: block; text-align: center; margin-top: auto; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 234, 224, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 1; }

/* ============ HERO ============ */
.hero { overflow: hidden; }
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; font-weight: 900; }
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-phone { position: relative; justify-self: center; }

/* ============ PHONE FRAME ============ */
.phone {
  width: 300px;
  border-radius: 44px;
  border: 8px solid var(--black);
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 30px 60px -20px rgba(16, 16, 16, 0.35);
}
.phone img { width: 100%; }
.phone-dark { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); border-color: #2b2b2b; }

.float-chip {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--black);
  color: var(--cream);
  box-shadow: 0 12px 24px -8px rgba(16, 16, 16, 0.4);
  animation: bob 5s ease-in-out infinite;
}
.chip-rec { top: 36%; left: -3.5rem; display: flex; align-items: center; gap: 0.45rem; }
.chip-ar { bottom: 18%; right: -3rem; animation-delay: -2.5s; }
.rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d4d;
  animation: blink 1.2s steps(2, start) infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blink { to { visibility: hidden; } }

/* ============ TICKER ============ */
.ticker {
  background: var(--black);
  color: var(--beige);
  overflow: hidden;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 22s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track i { font-style: normal; opacity: 0.5; }
@keyframes ticker { to { transform: translateX(-33.333%); } }

/* ============ SECTIONS ============ */
.section { padding: 6.5rem 0; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1.25rem; }
.section-sub { color: var(--muted); max-width: 34rem; font-size: 1.1rem; }

.section-dark { background: var(--black); color: var(--cream); }
.section-dark .eyebrow { color: rgba(250, 247, 241, 0.55); }
.section-dark p { color: rgba(250, 247, 241, 0.72); }

.section-beige { background: var(--beige-deep); }

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.step {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.step-num {
  font-style: italic;
  font-size: 2.4rem;
  color: var(--beige-deep);
  -webkit-text-stroke: 1.5px var(--black);
  margin-bottom: 1.25rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 0.98rem; }
.step-caption { font-size: 0.92rem; margin-bottom: 0.5rem; }
.step-media {
  margin-top: auto;
  padding-top: 1.25rem;
  display: grid;
  place-items: center;
}
.step-media video { max-width: 100%; max-height: 300px; object-fit: contain; }
.step-media video.framed, .step-media img.framed { width: auto; border-radius: 16px; }

/* Recording UI overlay (step 3) */
.rec-frame { position: relative; }
.rec-frame video { display: block; }
.rec-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--black);
  box-shadow: 0 4px 10px rgba(16, 16, 16, 0.2);
  transition: opacity 0.4s ease;
}
.rec-badge .rec-dot { width: 6px; height: 6px; }
.rec-timer { font-variant-numeric: tabular-nums; }
.rec-ring {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  transform: rotate(-90deg);
  transition: opacity 0.4s ease;
}
.rec-ring circle { fill: none; stroke-width: 3; }
.rec-ring .bg { stroke: rgba(250, 247, 241, 0.45); }
.rec-ring .fg {
  stroke: var(--cream);
  stroke-linecap: round;
  stroke-dasharray: 62.83;
  stroke-dashoffset: 0;
}
.rec-caption {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%) translateY(6px);
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--black);
  box-shadow: 0 4px 10px rgba(16, 16, 16, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.rec-caption span { font-weight: 500; font-size: 0.7rem; color: var(--muted); margin-left: 0.25rem; }
.rec-frame.show-caption .rec-caption { opacity: 1; transform: translateX(-50%) translateY(0); }
.rec-frame.show-caption .rec-badge,
.rec-frame.show-caption .rec-ring { opacity: 0; }

/* ============ SPLIT LAYOUTS ============ */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.split-flip .split-copy { order: 2; }
.split-flip .split-phone { order: 1; }
.split-phone { justify-self: center; }
.split-copy > p { font-size: 1.1rem; color: var(--muted); max-width: 32rem; }

.feature-list {
  list-style: none;
  margin-top: 2.25rem;
  display: grid;
  gap: 1.4rem;
}
.feature-list li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1.4rem;
  border-left: 3px solid currentColor;
}
.feature-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.feature-list span { color: var(--muted); font-size: 0.95rem; }
.section-dark .feature-list span { color: rgba(250, 247, 241, 0.65); }
.section-dark .feature-list li { border-left-color: var(--beige); }

/* ============ SHARE MOCKUP ============ */
.phone-mock { width: 310px; background: var(--cream); }
.mock-screen {
  background: var(--cream);
  padding: 1rem 1rem 1.5rem;
  font-family: var(--font-body);
}
.mock-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.4rem 0.9rem;
  letter-spacing: 0.02em;
}
.mock-pill { width: 78px; height: 22px; border-radius: 999px; background: var(--black); }
.mock-status span:last-child { font-size: 0.5rem; letter-spacing: 0.15em; opacity: 0.7; }

.mock-profile-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 0.2rem 1rem;
}
.mock-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--black);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
.mock-name { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.mock-meta { font-size: 0.75rem; color: var(--muted); }
.mock-follow {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  border: 1.5px solid var(--black);
  background: transparent;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.mock-tabs {
  display: flex;
  gap: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 0 0.2rem 0.6rem;
  margin-bottom: 0.9rem;
}
.mock-tabs .on {
  color: var(--black);
  position: relative;
}
.mock-tabs .on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.68rem;
  height: 2px;
  background: var(--black);
}

.mock-grid-img {
  width: 100%;
  border-radius: 14px;
}

/* ============ PRICING ============ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(16, 16, 16, 0.25);
}
.plan-featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-featured {
  background: var(--black);
  color: var(--cream);
  border-color: var(--black);
  transform: scale(1.03);
}
.plan-featured .plan-desc, .plan-featured ul { color: rgba(250, 247, 241, 0.7); }
.plan-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.plan-tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.08);
  white-space: nowrap;
}
.plan-featured .plan-tag { background: rgba(250, 247, 241, 0.16); }
.plan-price { font-size: 2.6rem; font-style: italic; }
.plan-price s {
  font-size: 1.15rem;
  font-weight: 500;
  font-style: normal;
  opacity: 0.45;
  margin-right: 0.2rem;
}
.plan-price span {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.6;
}
.plan-desc { margin: 1rem 0 1.25rem; font-size: 0.95rem; color: var(--muted); }
.plan ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.plan ul li::before { content: "— "; opacity: 0.5; }
.plan .btn-ghost { margin-top: auto; }
.pricing-fine {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============ CTA ============ */
.cta { background: var(--black); color: var(--cream); padding: 7rem 1.5rem; }
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 2rem;
}
.cta-logo { width: 130px; border-radius: 28px; }
.cta h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.cta-note { font-size: 0.9rem; color: rgba(250, 247, 241, 0.55); margin-top: -0.75rem; }

/* ============ FOOTER ============ */
.footer { background: var(--black); color: rgba(250, 247, 241, 0.6); border-top: 1px solid rgba(250, 247, 241, 0.12); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer nav { display: flex; gap: 1.5rem; margin-left: auto; }
.footer nav a { text-decoration: none; font-size: 0.9rem; opacity: 0.8; }
.footer nav a:hover { opacity: 1; }
.footer-copy { font-size: 0.8rem; width: 100%; opacity: 0.5; }

/* ============ REVEAL ANIMATION ============ */
/* Hidden state only applies once JS adds the .js class, so the page
   still renders fully without JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .float-chip, .rec-dot { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 3.5rem; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .chip-rec { left: -0.5rem; }
  .chip-ar { right: -0.5rem; }
  .steps, .plans { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split-flip .split-copy { order: 1; }
  .split-flip .split-phone { order: 2; }
  .nav-links { display: none; }
  .section { padding: 4.5rem 0; }
}
