:root {
  --blue: #3e86f5;
  --blue-deep: #2f6fd6;
  --ink: #17171a;
  --ink-soft: #6e6e76;
  --paper: #f6f6f8;
  --card: #ffffff;
  --line: rgba(23, 23, 26, 0.08);
  --faint: #a2a2aa;
  --night: #0a0a0d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f7;
    --ink-soft: #98989f;
    --paper: #0a0a0d;
    --card: #131318;
    --line: rgba(245, 245, 247, 0.09);
    --faint: #6e6e76;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */

header {
  padding: 96px 24px 64px;
  text-align: center;
}

header .logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(23, 23, 26, 0.12);
  margin-bottom: 30px;
  background: #fff;
}

header h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

header h1 .accent { color: var(--blue); }

header .tagline {
  color: var(--ink-soft);
  margin: 20px auto 0;
  font-size: 1.15rem;
  max-width: 40ch;
}

.badges {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 7px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--card);
}

nav { margin-top: 34px; }

nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 16px;
  padding-bottom: 4px;
  transition: color 0.2s;
}

nav a:hover { color: var(--ink); }
nav a.active { color: var(--blue); }

header.compact { padding: 72px 24px 48px; }
header.compact .logo { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 22px; }
header.compact h1 { font-size: clamp(2rem, 5vw, 2.8rem); }

/* ---------- Layout ---------- */

main {
  max-width: 720px;
  margin: 24px auto 80px;
  padding: 0 20px;
}

main.wide { max-width: 1060px; }

.card {
  background: var(--card);
  border-radius: 24px;
  padding: 48px 44px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 36px rgba(23, 23, 26, 0.05);
}

.card + .card { margin-top: 26px; }

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

section + section h2 { margin-top: 42px; }

p, li { color: var(--ink-soft); }

ul { padding-left: 22px; margin-top: 8px; }
li { margin-bottom: 6px; }

a { color: var(--blue); }

.meta {
  font-size: 0.9rem;
  color: var(--faint);
  margin-bottom: 30px;
}

/* ---------- Landing: screenshots ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 30px auto 0;
  max-width: 1060px;
  padding: 0 20px;
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(23, 23, 26, 0.14);
  transition: transform 0.3s ease;
}

.shots img:hover { transform: translateY(-8px); }

.shots .lift { transform: translateY(30px); }
.shots .lift:hover { transform: translateY(22px); }

@media (max-width: 720px) {
  .shots { grid-template-columns: 1fr; max-width: 380px; }
  .shots .lift { transform: none; }
}

/* ---------- Landing: features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 8px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: 0 8px 26px rgba(23, 23, 26, 0.04);
}

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 21px;
  color: var(--blue);
  background: rgba(62, 134, 245, 0.10);
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.feature p { font-size: 0.92rem; line-height: 1.6; }

.section-title {
  text-align: center;
  margin: 88px 0 32px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: -0.03em;
}

.section-title p { color: var(--faint); margin-top: 6px; }

/* ---------- Statement ---------- */

.statement {
  margin-top: 88px;
  border-radius: 28px;
  padding: 72px 40px;
  text-align: center;
  color: #f5f5f7;
  background: var(--night);
  border: 1px solid rgba(245, 245, 247, 0.08);
}

.statement h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.statement h2 .accent { color: var(--blue); }

.statement p {
  color: #98989f;
  max-width: 46ch;
  margin: 16px auto 0;
}

/* ---------- Buttons ---------- */

.contact-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 15px 32px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s ease;
}

.contact-btn:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* ---------- FAQ ---------- */

details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}

details:last-of-type { border-bottom: none; }

details summary {
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--faint);
  transition: transform 0.2s;
}

details[open] summary::after { transform: rotate(45deg); }

details p { margin-top: 10px; }

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 40px 20px 64px;
  font-size: 0.87rem;
  color: var(--faint);
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

footer a { color: var(--faint); }
