body {
  background:
    radial-gradient(circle at 85% -10%, color-mix(in srgb, var(--accent-strong) 16%, transparent), transparent 50%),
    radial-gradient(circle at 0% 60%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 45%),
    var(--bg);
  min-height: 100vh;
}
nav.top {
  max-width: 1160px; margin: 0 auto; padding: 22px 24px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.home-link { font-size: 0.7rem; color: var(--muted); text-decoration: none; transition: color 0.18s; }
.home-link:hover { color: var(--accent-strong); }

.hero {
  max-width: 1160px; margin: 0 auto; padding: 56px 24px 72px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.eyebrow { font-size: 0.68rem; color: var(--accent-strong); display: inline-block; margin-bottom: 18px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.02; margin: 0 0 20px; letter-spacing: 0.003em;
  animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both;
}
.lede { font-size: 1.06rem; line-height: 1.6; color: var(--text-2); max-width: 36em; margin: 0 0 28px; animation: rise 0.9s 0.1s cubic-bezier(.2,.7,.2,1) both; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; animation: rise 0.9s 0.2s cubic-bezier(.2,.7,.2,1) both; }
.btn.big { padding: 13px 22px; font-size: 1rem; }
.btn.big span[aria-hidden] { transition: transform 0.2s ease; }
.btn.big:hover span[aria-hidden] { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; font-size: 0.66rem; color: var(--muted); animation: rise 0.9s 0.3s both; }
.chips span { border: 1px dashed var(--border-fade); padding: 4px 9px; border-radius: 999px; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* hero mock of the app */
.hero-art {
  position: relative; display: grid; grid-template-columns: 170px 1fr;
  border: 1px solid var(--border-fade); border-radius: 18px; overflow: hidden;
  background: var(--paper-2); box-shadow: var(--shadow);
  animation: rise 1s 0.15s cubic-bezier(.2,.7,.2,1) both, float 7s 1.2s ease-in-out infinite;
  min-height: 380px;
}
@keyframes float { 50% { transform: translateY(-8px); } }
.mock-sidebar { padding: 14px 10px; border-right: 1px solid var(--border-fade); font-size: 0.74rem; display: flex; flex-direction: column; gap: 4px; }
.mock-new { font-size: 0.62rem; border: 1px solid var(--border-fade); border-radius: 8px; padding: 7px 8px; margin-bottom: 8px; background: var(--paper); }
.mock-item { padding: 6px 8px; border-radius: 7px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-item .n { font-size: 0.6rem; color: var(--muted); margin-right: 4px; }
.mock-item.active { background: var(--hover); color: var(--fg); }
.mock-item.child { padding-left: 20px; border-left: 1px solid var(--border-fade); margin-left: 10px; border-radius: 0 7px 7px 0; }
.mock-page {
  margin: 18px; padding: 20px 20px 18px; background: var(--paper); border-radius: 6px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.mock-meta { font-size: 0.58rem; color: var(--muted); }
.mock-title { font-size: 1.45rem; line-height: 1.1; }
.mock-src { display: flex; align-items: center; gap: 8px; font-size: 0.58rem; color: var(--muted); border: 1px solid var(--border-fade); border-radius: 8px; padding: 6px 8px 6px 6px; }
.mock-src .thumb { width: 34px; height: 24px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); }
.mock-line { display: block; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--fg) 12%, transparent); }
.w90 { width: 90%; } .w75 { width: 75%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; }
.mock-page > .mock-line { width: auto; align-self: stretch; }
.mock-page > .mock-line.w75 { margin-right: 25%; }
.mock-check { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 0.7rem; }
.mock-check .mock-line { flex: 0 0 auto; }
.mock-check { opacity: 0; animation: rise 0.5s both; }
.mock-check:nth-of-type(1) { animation-delay: 1.1s; }
.mock-check:nth-of-type(2) { animation-delay: 1.5s; }
.mock-check:nth-of-type(3) { animation-delay: 1.9s; }
.mock-typing { display: flex; gap: 4px; margin-top: 4px; }
.mock-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong); animation: blink 1.2s infinite; }
.mock-typing span:nth-child(2) { animation-delay: 0.2s; }
.mock-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.2; } 40% { opacity: 1; } }

main { max-width: 1160px; margin: 0 auto; padding: 0 24px 80px; }
section h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 24px; line-height: 1.05; }
.steps { padding: 48px 0; border-top: 1px solid var(--border-fade); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--paper); border: 1px solid var(--border-fade); border-radius: 14px; padding: 20px; }
.steps li:nth-child(2) { transition-delay: 0.08s; }
.steps li:nth-child(3) { transition-delay: 0.16s; }
.steps li:nth-child(4) { transition-delay: 0.24s; }
.step-n { font-size: 0.7rem; color: var(--accent-strong); }
.steps h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin: 10px 0 8px; }
.steps p { margin: 0; color: var(--text-2); line-height: 1.55; font-size: 0.93rem; }

.get { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding: 56px 0; border-top: 1px solid var(--border-fade); }
.get p { color: var(--text-2); margin: 0; }
.get ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.get li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--border-fade); flex-wrap: wrap; }
.get li b { font-weight: 600; }
.get li span { color: var(--muted); font-size: 0.92rem; }

.final { text-align: center; padding: 64px 0 20px; border-top: 1px solid var(--border-fade); }
.fine { max-width: 40em; margin: 28px auto 0; font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  .get { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  nav.top, .hero, main { padding-left: 16px; padding-right: 16px; }
  .hero-art { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .steps ol { grid-template-columns: 1fr; }
}
