/* Delanote — лендинг. Палитра повторяет тему приложения. */
:root {
  --bg:        #1f2128;
  --bg-alt:    #23262f;
  --panel:     #262933;
  --border:    #343845;
  --text:      #e8eaf0;
  --dim:       #9aa0ae;
  --accent:    #6cc070;
  --accent-bg: #2f4434;
  --accent-tx: #bfe8c3;
  --radius:    14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(31, 33, 40, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: 32px; height: 60px; }
.logo { font-size: 20px; font-weight: 700; }
.logo::before { content: "● "; color: var(--accent); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 10px 20px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel); color: var(--text);
  text-decoration: none; font-size: 15px; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent-bg); border-color: var(--accent); color: var(--accent-tx); }
.btn-primary:hover { background: var(--accent); color: #14231a; }
.btn-small { padding: 7px 14px; font-size: 14px; }
.btn-big { padding: 14px 30px; font-size: 17px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.15; margin-bottom: 18px; }
.lead { color: var(--dim); font-size: 18px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--dim); font-size: 14px; }
.hero-shot img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: 30px; margin-bottom: 32px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p, .card li { color: var(--dim); font-size: 15px; }
.badge-pro {
  display: inline-block; padding: 1px 8px; margin-left: 6px;
  border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--accent-bg); color: var(--accent-tx);
  border: 1px solid var(--accent); vertical-align: middle;
}

/* ---------- screenshots ---------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shots figure { text-align: center; }
.shots img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--panel);
}
.shots figcaption { margin-top: 10px; color: var(--dim); font-size: 14px; }

/* ---------- pricing ---------- */
.pricing .price-card { display: flex; flex-direction: column; position: relative; }
.price { font-size: 34px; font-weight: 700; margin: 6px 0 16px; }
.price .per { font-size: 16px; color: var(--dim); font-weight: 500; }
.price-card ul { list-style: none; margin-bottom: 22px; flex: 1; }
.price-card li { padding: 5px 0 5px 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-card li.off { opacity: .55; }
.price-card li.off::before { content: "✕"; color: var(--dim); }
.price-card .btn { text-align: center; }
.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ribbon {
  position: absolute; top: -13px; right: 18px;
  background: var(--accent); color: #14231a;
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
}
.pricing-note { margin-top: 22px; color: var(--dim); font-size: 14px; }

/* ---------- FAQ ---------- */
details {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; font-size: 16px; }
details p { margin-top: 10px; color: var(--dim); }

/* ---------- final CTA ---------- */
.cta-final { text-align: center; }
.cta-final p { color: var(--dim); margin: 10px 0 26px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-row { display: flex; justify-content: space-between; color: var(--dim); font-size: 14px; }
.footer-row a { color: var(--dim); }

/* ---------- legal documents ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: 28px; margin-bottom: 6px; }
.doc .doc-meta { color: var(--dim); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 19px; margin: 30px 0 10px; }
.doc p, .doc li { color: #c9cdd6; font-size: 15px; margin-bottom: 8px; }
.doc ul, .doc ol { padding-left: 24px; }
.doc .todo-fill {
  color: var(--accent-tx); background: var(--accent-bg);
  border: 1px solid var(--accent); border-radius: 6px; padding: 1px 7px;
  font-weight: 600; white-space: nowrap;
}
.doc .doc-note {
  margin-top: 36px; padding: 14px 18px; border: 1px dashed var(--border);
  border-radius: var(--radius); color: var(--dim); font-size: 14px;
}

/* ---------- adaptive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .nav { display: none; }
}
