:root {
  --bg: #eefaf8;
  --ink: #1f2430;
  --muted: #737b8c;
  --line: #cdeee8;
  --brand: #0d9488;
  --brand-dark: #0b7f75;
  --card: #ffffff;
  --good: #cbf003;
  --accent: #d5f5ef;
  --shadow: 0 18px 48px rgba(39, 44, 72, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ecfbf8 0%, #f7fcfb 34%, #eefaf8 100%);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.page {
  max-width: 1380px;
  margin: 0 auto;
  padding: 22px 20px 60px;
  overflow-x: hidden;
}

/* ── Nav ── */
.top-nav {
  position: relative;
  z-index: 100;
  margin: 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 24px; letter-spacing: -0.04em; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #3b4358; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ── Buttons ── */
.btn {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-primary { background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%); color: #fff; }
.btn-primary:hover { opacity: 0.92; }

/* ── Sections ── */
.section {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px;
}
.section h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.section h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.section h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}
.section p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

/* ── Feature list ── */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}
.feature-list .check {
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Comparison table ── */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 400px;
}
.compare-table th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.compare-table td:nth-child(2) {
  text-align: center;
  color: var(--brand);
  font-weight: 500;
}
.compare-table td:nth-child(3) {
  text-align: center;
  color: var(--muted);
}

/* ── Steps ── */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  margin-bottom: 24px;
}
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.steps-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
.steps-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Related links ── */
.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.related-list a {
  display: block;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s;
}
.related-list a:hover { border-color: var(--brand); color: var(--brand); }

/* ── Card grid (listings) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
}
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }
.card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ── Pricing grid ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 32px 28px;
  text-align: center;
}
.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.12);
}
.pricing-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pricing-card .price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.pricing-card .price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.pricing-card .price-note { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}
.pricing-card li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid #f0f2f5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-card li .check { color: var(--brand); font-weight: 700; }

/* ── FAQ ── */
.faq-section { max-width: 860px; margin: 0 auto; padding: 40px 24px; }
.faq-section h3 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--card);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}
.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after {
  content: "\2212";
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Footer ── */
footer {
  margin-top: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid #e5e9fc;
  background: #fff;
  padding: 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 14px;
}
.footer-title { font-weight: 700; margin-bottom: 12px; }
.footer-link { display: block; color: #6f7891; margin-bottom: 10px; font-size: 14px; }
.footer-link:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid #eceffd;
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: #757f98;
  font-size: 13px;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--brand); }

/* ── Contact form ── */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: var(--card);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--brand); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Changelog ── */
.timeline { max-width: 680px; margin: 0 auto; }
.timeline-entry {
  position: relative;
  padding-left: 32px;
  margin-bottom: 36px;
  border-left: 2px solid var(--line);
}
.timeline-entry::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}
.timeline-entry .date {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 6px;
}
.timeline-entry h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.timeline-entry p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .top-nav { margin: 0; padding: 10px 12px; border-radius: 0; }
  .section { padding: 28px 16px; }
  .faq-section { padding: 28px 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
