:root {
  --bg: #100f0d;
  --bg-soft: #181614;
  --card: #1f1c18;
  --card-hover: #26221c;
  --line: rgba(201, 169, 98, 0.22);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f3efe6;
  --muted: #a39a8c;
  --gold: #c9a962;
  --gold-soft: rgba(201, 169, 98, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% -10%, rgba(201, 169, 98, 0.09), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

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

header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.meta a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.meta a:hover { text-decoration: underline; }

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

h2 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.lead {
  width: 100%;
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section {
  margin-top: 48px;
}

.section-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(165deg, var(--card) 0%, #1a1713 100%);
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  background: var(--card-hover);
  border-color: var(--line);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.2rem;
  background: var(--gold-soft);
  border: 1px solid var(--line);
}

.tag {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.price-from {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: var(--gold-soft);
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  background: rgba(201, 169, 98, 0.22);
  border-color: var(--gold);
}

.btn-primary {
  background: var(--gold);
  color: #100f0d;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #d4b56e;
  border-color: #d4b56e;
}

.btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.back-link:hover { color: var(--gold); }

.nav-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
}

.nav-anchors a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.nav-anchors a:hover { color: var(--gold); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

th {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.2);
}

tr:last-child td { border-bottom: none; }

td { color: var(--muted); }

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
}

.feature-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.pricing-card {
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--card);
}

.pricing-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  color: var(--text);
}

.pricing-card .price {
  margin: 8px 0 14px;
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
}

.pricing-card .for-whom {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--card);
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.ordered-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.ordered-list li { margin-bottom: 6px; }

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-tag {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.8rem;
  background: var(--card);
}

footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover { text-decoration: underline; }

.error-page {
  text-align: center;
  padding: 80px 0;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--gold);
  opacity: 0.5;
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 20px, 1120px);
    padding-top: 14px;
  }

  .meta {
    gap: 8px 12px;
    font-size: 0.72rem;
  }

  .meta .dot { display: none; }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { justify-content: center; }

  .btn-row { flex-direction: column; }

  .btn-row .btn { width: 100%; }
}
