:root {
  --accent: #4f46e5;
  --accent-dark: #3b34c2;
  --bg: #f8f9fb;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
  padding: 3rem 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.brand img {
  width: 36px;
  height: 36px;
}

nav {
  position: relative;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--muted);
  font-weight: 500;
}

.nav-list a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
  background: transparent;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  display: grid;
  gap: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
}

.card {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 20px 45px -35px rgba(79, 70, 229, 0.35);
}

.download-form {
  display: grid;
  gap: 1rem;
}

.input-group {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}

.input-group input[type="text"] {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f4f5fb;
  font-size: 0.95rem;
}

.primary-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.primary-btn:hover {
  background: var(--accent-dark);
}

.status {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
}

.status.loading {
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent);
}

.status.error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.results {
  margin-top: 2rem;
  display: none;
  gap: 1.5rem;
}

.results.active {
  display: grid;
}

.result-meta {
  display: grid;
  gap: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.stats div {
  padding: 0.85rem;
  border-radius: 0.85rem;
  background: #f3f4ff;
  text-align: center;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.download-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.1rem;
  border-radius: 0.85rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.download-links a.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.ghost-btn {
  background: transparent;
  border: 1 dashed var(--accent);
  color: var(--accent);
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.section {
  padding: 3rem 0;
}

.section h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: 0 15px 30px -25px rgba(0, 0, 0, 0.25);
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.faq {
  border-top: 1px solid var(--border);
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 16px 30px -26px rgba(15, 23, 42, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #cbd5f5;
  box-shadow: 0 20px 32px -26px rgba(15, 23, 42, 0.3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: #4b5563;
}

.faq-updated {
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}

.seo-text {
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer {
  background: #1b1b1e;
  border-top: 1px solid var(--border);
  color: #cfcfcf;
}

.site-footer .container {
  padding: 1.5rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand img {
  max-height: 24px;
  width: auto;
}

.footer-brand strong {
  font-size: 14px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-col h4 {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(207, 207, 207, 0.85);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 12.5px;
  color: rgba(207, 207, 207, 0.7);
}

.footer-bottom p {
  line-height: 1.7;
  margin: 6px 0;
}

.site-footer ul li a {
  font-size: 13px;
  color: rgba(207, 207, 207, 0.8);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: none;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.site-footer ul li a:hover {
  color: rgba(207, 207, 207, 0.95);
  text-decoration: underline;
  text-decoration-color: rgba(207, 207, 207, 0.6);
}

.main-content h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.main-content p.lead {
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.article {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 2rem;
  margin-top: 2rem;
}

.main-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 0;
}

.main-content.blog-index {
  max-width: 1200px;
}

.main-content.blog-index h1 {
  text-align: center;
}

.main-content.blog-index .lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.main-content h2 {
  margin: 2.2rem 0 0.9rem;
  font-size: 1.6rem;
}

.main-content h3 {
  margin: 1.6rem 0 0.75rem;
  font-size: 1.2rem;
}

.main-content p {
  line-height: 1.85;
  margin: 0 0 1.15rem;
  color: #1f2937;
}

.main-content ul,
.main-content ol {
  margin: 0 0 1.3rem 1.25rem;
  padding: 0;
  color: #1f2937;
}

.main-content li {
  margin-bottom: 0.55rem;
  line-height: 1.7;
}

.legal-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 18px 35px -28px rgba(15, 23, 42, 0.25);
}

.legal-section h2 {
  border-top: 1px solid #eee;
  padding-top: 1.4rem;
}

.legal-section h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article-container {
  max-width: 720px;
  margin: 0 auto;
}

.article-container h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.article-container h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.6rem;
}

.article-container h3 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.25rem;
}

.article-container p {
  line-height: 1.85;
  margin: 0 0 1.2rem;
  color: #1f2937;
}

.article-container ul,
.article-container ol {
  margin: 0 0 1.4rem 1.25rem;
  padding: 0;
  color: #1f2937;
}

.article-container li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-breadcrumb {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.article-breadcrumb a {
  color: inherit;
}

.article-meta {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1.8rem;
}

.article-divider {
  margin: 2.5rem 0 1.5rem;
  border: none;
  border-top: 1px solid #e5e7eb;
}

.related-articles h2 {
  margin-top: 0;
}

.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.related-articles li {
  margin-bottom: 0.75rem;
}

.related-articles a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  color: #111827;
  box-shadow: 0 12px 24px -20px rgba(15, 23, 42, 0.2);
}

.related-articles a:hover {
  border-color: #cbd5f5;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  padding: 1.6rem 1.7rem;
  box-shadow: 0 18px 35px -28px rgba(15, 23, 42, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -24px rgba(15, 23, 42, 0.35);
}

.blog-card time {
  font-size: 0.85rem;
  color: #6b7280;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 700;
  color: #111827;
}

.blog-card h2 a {
  color: inherit;
}

.blog-card p {
  margin: 0;
  line-height: 1.7;
  color: #4b5563;
}

.read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--accent);
}

.read-more::after {
  content: "→";
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   SIMPLE CONTACT BOX (NEW)
=========================== */

.contact-box-simple {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: 0 18px 35px -28px rgba(15, 23, 42, 0.25);
}

.contact-email {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  margin: 1.2rem 0;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.contact-box-simple hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.contact-list {
  margin: 1rem 0 2rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.contact-list li {
  margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 120%;
    right: 0;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    display: none;
    min-width: 200px;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.75rem;
  }


  .container {
    padding: 2.5rem 0;
  }

  .site-footer .container {
    padding: 1.5rem 0;
  }
}
