@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --ink: #12161f;
  --paper: #f7f5f1;
  --paper-2: #efebe4;
  --line: #ddd6cb;
  --muted: #5f675f;
  --accent: #0f8f78;
  --accent-deep: #0b7260;
  --display: 'Rubik', 'Segoe UI', sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-deep); }
img { max-width: 100%; height: auto; display: block; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 18, 32, 0.92);
  color: #f7f5f1;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.site-bar {
  width: 100%;
  margin: 0;
  min-height: 64px;
  height: 64px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 18px;
  box-sizing: border-box;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.brand span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px 18px;
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
  min-height: 40px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0;
  color: rgba(247,245,241,.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.site-nav a:hover { color: #fff; }
.site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  min-height: 40px;
  flex-shrink: 0;
}
.site-actions .login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: #f7f5f1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}
.site-actions .login-btn:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.site-actions .wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}
.site-actions .wa:hover { background: var(--accent-deep); color: #fff; }
.site-nav-mobile-actions { display: none; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: #f7f5f1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { display: block; }
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 15;
  border: 0;
  background: rgba(8,10,14,.55);
}

.hero {
  padding: 56px 20px 40px;
  background:
    linear-gradient(180deg, rgba(15,143,120,.08) 0%, transparent 70%),
    var(--paper);
}
.hero-inner, .wrap, .site-foot-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero h1, .article h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.lead {
  margin: 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-secondary:hover { background: var(--ink); color: #fff; }

.content {
  padding: 12px 20px 72px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 28px;
  align-items: start;
}
.prose {
  display: grid;
  gap: 14px;
}
.prose h2 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.prose h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 20px;
}
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.65; }
.prose ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.prose p { margin: 0; }

.side-card, .pack-card, .post-card, .faq details {
  border: 1px solid var(--line);
  background: #fff;
}
.side-card {
  padding: 18px;
  position: sticky;
  top: 84px;
  display: grid;
  gap: 10px;
}
.side-card strong {
  font-family: var(--display);
  font-size: 20px;
}
.side-card p { margin: 0; color: var(--muted); font-size: 14px; }
.side-card .price {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.side-card .price small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.packs {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pack-card {
  padding: 18px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.pack-card.featured { border-color: var(--accent); }
.pack-card span { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pack-card strong { font-family: var(--display); font-size: 22px; }
.pack-card em { font-style: normal; font-size: 24px; font-weight: 700; color: var(--accent); }
.pack-card ul { margin: 4px 0 8px; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }

.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { padding: 14px 16px; }
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
}
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.post-card {
  padding: 0 0 16px;
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 8px;
  transition: border-color .2s ease;
}
.post-card:hover { border-color: var(--accent); }
.post-card .thumb {
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  overflow: hidden;
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card > div { padding: 0 14px; display: grid; gap: 6px; }
.post-card small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.post-card strong { font-family: var(--display); font-size: 18px; line-height: 1.25; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; }

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}
.article .meta {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.article .prose { margin-top: 8px; }
.crumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.site-foot {
  min-height: 160px;
  padding: 36px max(28px, calc((100vw - 1124px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px;
  color: #fff;
  background: #0b1220;
}
.site-foot .auth-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.site-foot .auth-brand > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #00bfa6;
  color: #0b1220;
  font-size: 12px;
  font-weight: 700;
}
.site-foot p {
  margin: 8px 0 0;
  color: #747987;
  font-size: 13px;
}
.site-foot .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.site-foot .footer-contact a {
  color: #d8dbe3;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.site-foot .footer-contact a:hover { color: #00bfa6; }
.site-foot .payment-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.site-foot .pay-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: min(100%, 429px);
}
.site-foot .legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  max-width: 560px;
  padding: 0;
}
.site-foot .legal-links a {
  color: rgba(244,247,251,.62);
  font-size: 11px;
  text-decoration: none;
}
.site-foot .legal-links a:hover { color: #7ed9c4; }
.site-foot > small {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid #252833;
  color: #5e6370;
  font-size: 11px;
}

@media (max-width: 900px) {
  .grid-2, .packs, .post-list { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .hero { padding-top: 36px; }
  .site-foot { grid-template-columns: 1fr; padding: 32px 20px; }
  .site-foot .legal-links { justify-content: flex-start; max-width: none; }
  .site-bar {
    position: relative;
    z-index: 25;
    height: 64px;
    padding-inline: 16px;
  }
  .nav-toggle { display: inline-flex; }
  .site-actions { margin-left: auto; }
  .site-actions-desktop { display: none !important; }
  .site-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 24;
    margin: 0;
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 18, 32, 0.98);
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #f7f5f1;
    font-size: 16px;
    font-weight: 600;
    white-space: normal;
  }
  .site-nav-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
  }
  .site-nav-mobile-actions .login-btn,
  .site-nav-mobile-actions .wa {
    width: 100%;
    height: 46px;
    justify-content: center;
  }
  .site-nav-mobile-actions .wa {
    display: inline-flex;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
  }
  .site-nav-mobile-actions .login-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 4px;
    background: rgba(255,255,255,.08);
    color: #f7f5f1;
    font-weight: 600;
    text-decoration: none;
  }
  body.nav-open .nav-backdrop { display: block; }
}
