:root {
  --ink: #14161a;
  --ink-2: #4a5058;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --accent: #c62828;
  --accent-dark: #a51e1e;
  --radius: 12px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: #fff; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-sm { padding: 8px 15px; font-size: 15px; }
.btn-lg { padding: 15px 26px; font-size: 17px; }

/* hero */
.hero { padding: 64px 0 0; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fdf0f0;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; }
.hero .muted { color: var(--ink-2); }
.lede {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 19px;
  color: var(--ink-2);
}
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}
.cta-note { font-size: 14px; color: #7c828c; }

/* screenshot frame */
.shot {
  margin: 56px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(20, 22, 26, .25);
  text-align: left;
  background: #fff;
}
.shot img { display: block; width: 100%; height: auto; }
.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d8dbe0; }
.shot-bar em {
  margin-left: 12px;
  font-style: normal;
  font-size: 13px;
  color: #8b919b;
}
.shot-body { padding: 24px; }

.grid-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card p { font-size: 14px; font-weight: 600; margin-top: 10px; }
.card span { font-size: 13px; color: #8b919b; }
.card .thumb {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: linear-gradient(135deg, #e9ecf1, #dfe3ea);
}
.hidden-card { opacity: .38; }
.hidden-card .thumb {
  background: repeating-linear-gradient(45deg, #eef0f4, #eef0f4 8px, #e4e7ed 8px, #e4e7ed 16px);
}

/* features */
.features { padding: 104px 0 0; }
.features h2, .how h2, .faq h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature-grid h3 { font-size: 17px; font-weight: 650; margin-bottom: 9px; }
.feature-grid p { font-size: 15px; color: var(--ink-2); }

/* steps */
.how { padding: 104px 0 0; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.steps .num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 16px;
}
.steps h3 { font-size: 17px; font-weight: 650; margin-bottom: 7px; }
.steps p { font-size: 15px; color: var(--ink-2); }

/* faq */
.faq { padding: 104px 0 0; }
.faq-list { border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #9aa0aa;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 20px; color: var(--ink-2); font-size: 15px; max-width: 62ch; }

/* closer */
.closer {
  margin-top: 104px;
  padding: 88px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
}
.closer h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  max-width: 620px;
  margin: 0 auto 30px;
}

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-inner nav { display: flex; gap: 20px; margin-right: auto; }
.footer-inner nav a { text-decoration: none; }
.footer-inner nav a:hover { color: var(--ink); }
.footer-inner small { color: #8b919b; }

@media (max-width: 860px) {
  .feature-grid, .steps, .grid-demo { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 40px; }
  .feature-grid, .steps, .grid-demo { grid-template-columns: 1fr; }
  .features, .how, .faq { padding-top: 72px; }
  .closer { margin-top: 72px; padding: 64px 0; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f4f7;
    --ink-2: #a6adb8;
    --line: #262a31;
    --bg: #0e1013;
    --bg-2: #15181d;
  }
  .eyebrow { background: #2a1414; color: #ff6b6b; }
  .shot { background: #15181d; }
  .card .thumb { background: linear-gradient(135deg, #22262d, #1b1f25); }
  .hidden-card .thumb {
    background: repeating-linear-gradient(45deg, #1a1e24, #1a1e24 8px, #21262d 8px, #21262d 16px);
  }
  .steps .num { background: #f2f4f7; color: #0e1013; }
  .shot { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); }
}
