:root {
  --dop-primary: #dd4b95;
  --dop-secondary: #f379b6;
  --dop-bg: #0f1117;
  --dop-bg-2: #161922;
  --dop-bg-3: #1d2130;
  --dop-card: #181c28;
  --dop-card-2: #1f2333;
  --dop-overlay: rgba(23, 25, 37, 0.85);
  --dop-text: #f5eef3;
  --dop-text-muted: #a8a3b4;
  --dop-text-on-pink: #ffffff;
  --dop-border: rgba(221, 75, 149, 0.18);
  --dop-border-soft: rgba(255, 255, 255, 0.08);
  --dop-shadow-pink: 0 14px 28px rgba(221, 75, 149, 0.24);
  --dop-shadow-pink-lg: 0 16px 34px rgba(221, 75, 149, 0.3);
  --dop-radius-sm: 12px;
  --dop-radius-md: 14px;
  --dop-font-display: 'Nunito', system-ui, sans-serif;
  --dop-font-body: 'DM Sans', system-ui, sans-serif;
  --dop-dur: .25s;
  --primary: var(--dop-primary);
  --secondary: var(--dop-secondary);
  --text: var(--dop-text);
  --muted: var(--dop-text-muted);
  --border: var(--dop-border);
  --card2: var(--dop-card-2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--dop-bg);
  color: var(--dop-text);
  font-family: var(--dop-font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--dop-font-display); letter-spacing: 0; }
::selection { background: rgba(221, 75, 149, 0.32); color: #fff; }

nav.bar, nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: var(--dop-overlay) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--dop-border-soft) !important;
  padding: 0 !important;
}
nav.bar .inner, nav > .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex !important; align-items: center !important; gap: 11px !important; min-width: 0; }
.brand img, .brand-logo {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 4px 10px rgba(221, 75, 149, 0.45)) !important;
  transition: transform var(--dop-dur) !important;
}
.brand:hover img, .brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.brand .brand-title { width: 100px !important; height: auto !important; filter: none !important; transform: none !important; }
.brand:hover .brand-title { transform: none !important; }
.brand span, .brand-name-text {
  font-family: var(--dop-font-display) !important;
  font-weight: 900 !important;
  font-size: 19px !important;
  letter-spacing: 0 !important;
  color: var(--dop-text) !important;
}
.navlinks, .nav-links { display: flex; gap: 30px; list-style: none; }
.navlinks a, .nav-links a { color: var(--dop-text-muted); font-size: 14px; font-weight: 500; transition: color var(--dop-dur); }
.navlinks a:hover, .nav-links a:hover, .navlinks a[aria-current="page"], .nav-links a[aria-current="page"] { color: var(--dop-text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn-nav, a.nav-cta {
  background: var(--dop-primary) !important;
  color: var(--dop-text-on-pink) !important;
  padding: 11px 18px !important;
  border-radius: var(--dop-radius-sm) !important;
  font-family: var(--dop-font-display) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: var(--dop-shadow-pink) !important;
  border: none !important;
}
.nav-cta .btn-nav:hover, a.nav-cta:hover { box-shadow: var(--dop-shadow-pink-lg) !important; transform: translateY(-1px) !important; }

section { padding: 86px 60px; background: var(--dop-bg); }
.bg2 { background: var(--dop-bg-2); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.hero { padding-top: 92px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
}
h1 {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 70px);
  line-height: 1.02;
  font-weight: 900;
}
h1 span { color: var(--dop-primary); }
.hero p { max-width: 72ch; margin: 0 0 26px; color: var(--dop-text-muted); font-size: 18px; }

.summary-card, .highlight-box, .final-cta, .related-card, .faq-list details {
  background: var(--dop-card);
  border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-md);
}
.summary-card { padding: 28px; }
.summary-card h2 { margin: 0 0 12px; font-size: 28px; }
.summary-card p, .summary-card li { color: var(--dop-text-muted); }
.summary-card ul, .article-copy ul {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}
.summary-card li, .article-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--dop-text-muted);
}
.summary-card li::before, .article-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dop-secondary);
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--text);
  font-family: 'Nunito', 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn-primary { background: var(--dop-primary, var(--primary)); color: #fff; box-shadow: 0 14px 28px rgba(221, 75, 149, 0.24); }
.btn-primary:hover { background: var(--secondary); border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 16px 34px rgba(221, 75, 149, 0.3); }
.btn-secondary { background: rgba(255, 255, 255, 0.03); border-color: var(--border); color: var(--text); }
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); }
.btn:hover { transform: translateY(-1px); opacity: .95; }
.btn:active { transform: translateY(1px); }

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 860px);
  gap: 46px;
  align-items: start;
}
.table-of-contents {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-md);
}
.table-of-contents a { color: var(--dop-text-muted); font-size: 14px; font-weight: 700; }
.table-of-contents a:hover { color: var(--dop-text); }
.article-copy { max-width: 860px; }
.article-copy h2 { margin: 54px 0 16px; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.article-copy h2:first-child { margin-top: 0; }
.article-copy h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; }
.article-copy p { margin: 0; color: var(--dop-text-muted); }
.article-copy p + p { margin-top: 16px; }
.article-copy strong { color: var(--dop-text); }
.highlight-box, .final-cta { padding: 24px; }
.highlight-box { margin-bottom: 24px; border-color: rgba(221, 75, 149, 0.32); background: rgba(221, 75, 149, 0.08); }

.choice-grid, .use-case-grid, .related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.choice-grid article, .use-case-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-md);
}
.use-case-grid { margin-top: 24px; }
.use-case-grid p { font-size: 15px; }

.table-wrap {
  width: 100%;
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-md);
}
table { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--dop-card); }
th, td { padding: 16px; border-bottom: 1px solid var(--dop-border-soft); text-align: left; vertical-align: top; }
th {
  color: var(--dop-text);
  font-family: var(--dop-font-display);
  font-size: 14px;
  font-weight: 900;
  background: var(--dop-bg-3);
}
td { color: var(--dop-text-muted); font-size: 15px; }
tbody tr:last-child td { border-bottom: none; }

.faq-list { display: grid; gap: 14px; margin-top: 20px; }
.faq-list details { padding: 20px 22px; }
.faq-list summary {
  color: var(--dop-text);
  font-family: var(--dop-font-display);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}
.faq-list details p { margin-top: 12px; }
.final-cta { margin-top: 26px; }
.final-cta h3 { margin-top: 0; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-card { padding: 24px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.related-card:hover { border-color: rgba(221, 75, 149, 0.4); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.related-card h2 { margin: 0 0 10px; font-size: 24px; }
.related-card p { margin: 0 0 16px; color: var(--dop-text-muted); }
.related-card a { color: var(--dop-primary); font-family: var(--dop-font-display); font-weight: 900; }

footer.site, footer {
  background: var(--dop-bg-2) !important;
  border-top: 1px solid var(--dop-border-soft) !important;
  padding: 56px 60px 36px !important;
  display: block !important;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; }
.foot-brand p { color: var(--dop-text-muted); font-size: 14px; margin: 14px 0 0; max-width: 260px; line-height: 1.6; }
.foot-col h4 {
  font-family: var(--dop-font-display) !important;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: var(--dop-text);
}
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--dop-text-muted); font-size: 14px; transition: color var(--dop-dur); }
.foot-col a:hover { color: var(--dop-text); }
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--dop-border-soft);
  color: var(--dop-text-muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  nav.bar .inner, nav > .inner { padding: 12px 22px !important; }
  .navlinks, nav .nav-links { display: none; }
  section { padding: 64px 24px; }
  .hero { padding-top: 70px; }
  .hero-grid, .article-layout, .choice-grid, .use-case-grid, .related-grid { grid-template-columns: 1fr; }
  .table-of-contents { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer.site, footer { padding: 40px 22px 28px !important; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  section { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .actions, .actions .btn { width: 100%; }
  .summary-card, .highlight-box, .final-cta, .related-card, .faq-list details, .choice-grid article, .use-case-grid article { padding: 20px; }
  .table-of-contents { grid-template-columns: 1fr; }
  .article-copy h2 { font-size: 30px; }
  .article-copy h3 { font-size: 23px; }
  .foot-grid { grid-template-columns: 1fr; }
}
