*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  background: #f8fafc;
  color: #1e293b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.static-top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 1px solid #1e293b;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}
.static-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.static-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #ffffff;
}
.static-top-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.static-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.static-nav-link:hover,
.static-nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.static-nav-cta {
  background: #0284c7;
  color: #ffffff;
}
.static-nav-cta:hover {
  background: #0369a1;
  color: #ffffff;
}
.static-footer {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid #1e293b;
}
.static-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.static-footer p {
  margin: 0 0 0.6rem;
}
.static-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.static-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
}
.static-footer-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}
.install-panel[hidden] {
  display: none !important;
}

.support-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
}

/* Hero Section */
.support-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 1.75rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 280px;
}

.hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  svg {
    width: 26px;
    height: 26px;
    color: #ffffff;
  }
}

.hero-text {
  flex: 1;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.version-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-subtitle {
  margin: 0;
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.4;

  strong {
    color: #e2e8f0;
  }
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;

  .btn-icon {
    width: 16px;
    height: 16px;
  }

  &.btn-primary {
    background: #0284c7;
    color: #ffffff;
    border: 1px solid #0284c7;

    &:hover {
      background: #0369a1;
      border-color: #0369a1;
    }
  }

  &.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.2);

    &:hover {
      background: rgba(255, 255, 255, 0.18);
    }
  }

  &.btn-accent {
    background: #0d9488;
    color: #ffffff;
    border: 1px solid #0d9488;

    &:hover {
      background: #0f766e;
      border-color: #0f766e;
    }
  }
}

.runtime-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 600;

  &.badge-word {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
  }

  &.badge-web {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
  }

  .status-dot-active {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  }

  .status-dot-blue {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
  }
}

/* Grid Layout for Cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.support-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  svg {
    width: 22px;
    height: 22px;
  }

  &.contact-icon-box {
    background: #eff6ff;
    color: #2563eb;
  }

  &.env-icon-box {
    background: #f0fdf4;
    color: #16a34a;
  }
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #0f172a;
}

.card-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.email-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.email-link {
  font-size: 1rem;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;

  .copy-icon {
    width: 14px;
    height: 14px;
  }

  &:hover {
    background: #e2e8f0;
  }
}

.contact-value {
  font-size: 0.925rem;
  color: #334155;
  line-height: 1.4;

  &.highlight-note {
    font-size: 0.85rem;
    color: #0369a1;
    background: #f0f9ff;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    border-left: 3px solid #0284c7;
  }
}

.web-link {
  font-size: 0.85rem;
  color: #0284c7;
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

/* Specs List */
.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  gap: 1rem;

  &:last-child {
    border-bottom: none;
  }
}

.spec-name {
  color: #64748b;
  font-weight: 500;
}

.spec-val {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

/* Section Titles */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Guide Section */
.guide-section {
  margin-bottom: 2.5rem;
}

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

.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  }

  .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.4rem;
  }

  p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;

    code {
      background: #f1f5f9;
      padding: 0.15rem 0.35rem;
      border-radius: 4px;
      font-size: 0.825rem;
      color: #0f172a;
    }

    strong {
      color: #0f172a;
    }
  }
}

/* FAQ Section */
.faq-section {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
  transition: background-color 0.2s ease;

  &[open] {
    background: #ffffff;
    border-color: #e2e8f0;

    .chevron-icon {
      transform: rotate(180deg);
    }
  }
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  user-select: none;
  list-style: none;

  &::-webkit-details-marker {
    display: none;
  }

  .chevron-icon {
    width: 18px;
    height: 18px;
    color: #64748b;
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;

  p {
    margin: 0;
  }
}

/* Documentation & Guides Portal */
.guides-portal-card {
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.guides-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.guides-icon-box {
  background: #eff6ff;
  color: #2563eb;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  svg {
    width: 24px;
    height: 24px;
  }
}

.btn-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;

  &:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
  }
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.guide-card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;

  &:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.08);

    .guide-cta {
      color: #1d4ed8;
      text-decoration: underline;
    }
  }
}

.guide-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.guide-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: #0f172a;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;

  &.badge-user {
    background: #e0f2fe;
    color: #0369a1;
  }

  &.badge-billing {
    background: #fef3c7;
    color: #92400e;
  }

  &.badge-dev {
    background: #f1f5f9;
    color: #475569;
  }
}

.guide-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.85rem;
  flex: 1;
}

.guide-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* About Overview & Dual-Mode Cards */
.about-overview-section {
  margin-bottom: 2.5rem;
}

.section-header-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2rem;

  .subheading-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
  }

  .section-main-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.75rem;
  }

  .section-subtext {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;

    strong {
      color: #0f172a;
    }
  }
}

.dual-mode-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.mode-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;

  &.is-current {
    border-color: #0284c7;
    box-shadow: 0 0 0 1px #0284c7, 0 8px 24px rgba(2, 132, 199, 0.08);
  }

  .mode-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .mode-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    svg {
      width: 24px;
      height: 24px;
    }

    &.web-icon-box {
      background: #e0f2fe;
      color: #0284c7;
    }

    &.word-icon-box {
      background: #dcfce7;
      color: #16a34a;
    }
  }

  .mode-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
  }

  .mode-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
  }

  .current-indicator {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: #0284c7;
    color: #ffffff;
  }

  .mode-tagline {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
  }

  .mode-desc {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
    margin: 0 0 1.25rem;
  }

  .mode-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;

    li {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-size: 0.85rem;
      color: #475569;
      line-height: 1.45;

      .check-icon {
        width: 16px;
        height: 16px;
        color: #10b981;
        flex-shrink: 0;
        margin-top: 2px;
      }

      strong {
        color: #1e293b;
      }
    }
  }
}

/* Feature Matrix Section */
.feature-matrix-section {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);

  .section-header {
    margin-bottom: 1.25rem;

    .section-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: #0f172a;
      margin: 0 0 0.25rem;
    }

    .section-subtitle {
      font-size: 0.875rem;
      color: #64748b;
      margin: 0;
    }
  }
}

.table-responsive {
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;

  th, td {
    padding: 0.75rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
  }

  th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }

  tr:hover td {
    background: #f8fafc;
  }

  .col-feature { min-width: 180px; }
  .col-mode { min-width: 200px; }
  .col-notes { min-width: 180px; color: #64748b; font-size: 0.8rem; }

  .status-yes {
    color: #16a34a;
    font-weight: 600;
  }

  .status-no {
    color: #94a3b8;
  }
}

/* Install Guide Section */
.install-guide-section {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.install-header-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;

  .install-badge-row {
    margin-bottom: 0.5rem;

    .install-badge {
      display: inline-block;
      padding: 0.25rem 0.65rem;
      background: #0d9488;
      color: #ffffff;
      font-size: 0.725rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-radius: 6px;
    }
  }

  .install-main-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
  }

  .install-main-desc {
    font-size: 0.925rem;
    color: #334155;
    line-height: 1.55;
    margin: 0 0 1.25rem;
    max-width: 800px;
  }
}

.manifest-download-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);

  .manifest-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;

    .manifest-icon-circle {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: #f0fdfa;
      color: #0d9488;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;

      svg {
        width: 22px;
        height: 22px;
      }
    }

    .manifest-name {
      font-weight: 700;
      font-size: 0.95rem;
      color: #0f172a;
    }

    .manifest-url-label {
      font-size: 0.775rem;
      color: #64748b;
    }
  }

  .manifest-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;

    .btn-manifest-download {
      background: #0d9488;
      color: #ffffff;
      padding: 0.5rem 0.9rem;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      border: 1px solid #0d9488;
      transition: background 0.15s ease;

      &:hover {
        background: #0f766e;
      }
    }

    .btn-manifest-copy {
      background: #f8fafc;
      color: #334155;
      padding: 0.5rem 0.9rem;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 600;
      border: 1px solid #cbd5e1;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: all 0.15s ease;

      &:hover {
        background: #f1f5f9;
        border-color: #94a3b8;
      }
    }
  }
}

.install-tabs-nav {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  padding: 0 1rem;
  gap: 0.5rem;

  .tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;

    svg {
      width: 18px;
      height: 18px;
    }

    &:hover {
      color: #0f172a;
    }

    &.active {
      color: #0284c7;
      border-bottom-color: #0284c7;
      background: #ffffff;
    }

    .badge-recommended {
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      padding: 0.15rem 0.4rem;
      background: #dcfce7;
      color: #16a34a;
      border-radius: 4px;
    }
  }
}

.install-panel {
  padding: 1.75rem 2rem 2.25rem;

  .panel-intro {
    margin-bottom: 1.5rem;

    h3 {
      font-size: 1.15rem;
      font-weight: 700;
      color: #0f172a;
      margin: 0 0 0.25rem;
    }

    p {
      font-size: 0.875rem;
      color: #64748b;
      margin: 0;
    }
  }
}

.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;

  .step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .step-content {
    flex: 1;

    h4 {
      font-size: 0.95rem;
      font-weight: 700;
      color: #0f172a;
      margin: 0 0 0.25rem;
    }

    p {
      font-size: 0.85rem;
      color: #475569;
      line-height: 1.5;
      margin: 0;
    }

    .step-note {
      margin-top: 0.35rem;
      font-size: 0.8rem;
      color: #64748b;
    }

    .text-link {
      color: #0284c7;
      text-decoration: underline;
      font-weight: 600;
    }

    .substep-list {
      margin: 0.4rem 0 0 1.15rem;
      padding: 0;
      font-size: 0.85rem;
      color: #475569;
      line-height: 1.5;

      li {
        margin-bottom: 0.25rem;
      }
    }
  }
}

.code-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  margin: 0.4rem 0;
  font-family: monospace;
  font-size: 0.825rem;
  color: #0f172a;
  word-break: break-all;
}

.policy-page {
  min-height: 100%;
  background: #f8fafc;
}

/* ── Hero ── */
.policy-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0284c7 100%);
  color: white;
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;

  .hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    margin-bottom: 1rem;

    svg {
      width: 28px;
      height: 28px;
      stroke: white;
    }
  }

  h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    letter-spacing: -0.5px;
  }

  .hero-sub {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 0.5rem;
  }

  .hero-updated {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
  }
}

/* ── Content wrapper ── */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.policy-intro {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;

  p { margin: 0; }
  strong { color: #0f172a; }
}

/* ── Sections ── */
.policy-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;

  h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #e2e8f0;
  }

  .section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #0284c7;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
  }

  h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin: 1rem 0 0.5rem;
  }

  p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 0.75rem;

    &:last-child { margin-bottom: 0; }
  }

  ul {
    margin: 0 0 0.75rem;
    padding-left: 1.25rem;

    li {
      font-size: 0.875rem;
      color: #475569;
      line-height: 1.6;
      margin-bottom: 0.4rem;
    }
  }

  a {
    color: #0284c7;
    text-decoration: none;

    &:hover { text-decoration: underline; }
  }

  code {
    font-family: monospace;
    font-size: 0.8rem;
    background: #f1f5f9;
    padding: 0.1em 0.4em;
    border-radius: 4px;
    color: #0f172a;
  }
}

.subsection {
  &:not(:first-child) { margin-top: 1rem; }
}

/* ── Highlight boxes ── */
.highlight-box {
  display: flex;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  margin: 0.75rem 0;
  font-size: 0.875rem;
  line-height: 1.6;

  svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
  }

  div {
    color: #475569;

    strong { display: block; margin-bottom: 0.25rem; }
  }

  &.no-collect {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;

    svg { stroke: #16a34a; }
    div strong { color: #166534; }
  }

  &.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;

    svg { stroke: #2563eb; }
    div { color: #1e40af; }
  }

  &.warning-box {
    background: #fffbeb;
    border: 1px solid #fde68a;

    svg { stroke: #d97706; }
    div strong { color: #92400e; }
    div { color: #78350f; }
  }
}

/* ── Third-party table ── */
.third-party-table {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin: 0.75rem 0;
  font-size: 0.8rem;

  .tp-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1.5fr;
    gap: 0;

    span, a {
      padding: 0.6rem 0.875rem;
      border-bottom: 1px solid #f1f5f9;
      color: #475569;
      display: block;
      word-break: break-word;
    }

    a {
      color: #0284c7;
      text-decoration: none;

      &:hover { text-decoration: underline; }
    }

    &.tp-header {
      background: #f8fafc;

      span {
        font-weight: 700;
        color: #0f172a;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }
    }

    &:last-child span,
    &:last-child a { border-bottom: none; }
  }
}

/* ── Contact ── */
.policy-contact {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;

  h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
  }

  p {
    font-size: 0.875rem;
    color: #475569;
    margin: 0 0 1rem;
  }
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem 1.25rem;

  .contact-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0284c7;
    border-radius: 8px;
    flex-shrink: 0;

    svg {
      width: 20px;
      height: 20px;
      stroke: white;
    }
  }

  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    strong {
      font-size: 0.875rem;
      font-weight: 700;
      color: #0f172a;
    }

    a {
      font-size: 0.875rem;
      color: #0284c7;
      text-decoration: none;

      &:hover { text-decoration: underline; }
    }

    span {
      font-size: 0.775rem;
      color: #94a3b8;
    }
  }
}
