/* Nova Website Stylesheet — Nova Design System 1.1 Foundation */

:root {
  --paper: #f4f8fc;
  --ink: #142b3a;
  --muted: #4c6473;
  --line: #cbd8e4;
  --accent: #08766e;
  --accent-hover: #065e58;
  --navy: #002a48;
  --orange: #08766e;
  --recording: #b4233c;
  --gutter: clamp(20px, 4vw, 64px);
  --nova-font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --nova-font-heading: Alexandria, system-ui, sans-serif;
}

:root[data-theme="dark"] {
  --paper: #10151b;
  --ink: #e8edea;
  --muted: #a0aaa9;
  --line: #33434a;
  --accent: #8ae2c7;
  --accent-hover: #b3f1de;
  --navy: #182127;
  --orange: #8ae2c7;
  --recording: #f6b49e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.8 "IBM Plex Sans Arabic", system-ui, sans-serif;
  padding-bottom: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

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

h1, h2, h3, .wordmark, .step-number {
  font-family: Alexandria, sans-serif;
}

h1, h2, h3, p {
  margin: 0;
}

h1 {
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 750;
  line-height: 1.32;
  letter-spacing: -0.035em;
}

:dir(rtl) h1 {
  letter-spacing: 0;
  line-height: 1.45;
}

h2 {
  font-size: clamp(28px, 3.5vw, 45px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.025em;
}

:dir(rtl) h2 {
  letter-spacing: 0;
  line-height: 1.5;
}

h3 {
  font-size: 23px;
  line-height: 1.6;
  font-weight: 650;
}

bdi {
  unicode-bidi: isolate;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.skip {
  position: absolute;
  top: -80px;
  inset-inline-start: 20px;
  z-index: 20;
  background: white;
  padding: 10px;
}

.skip:focus {
  top: 10px;
}

.wrap {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Nova Site Header Styles */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}

.brand:hover .brand-mark {
  transform: scale(1.05);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.wordmark {
  font-size: 23px;
  letter-spacing: -0.5px;
  font-weight: 800;
  font-family: "Alexandria", sans-serif;
}

html[lang="ar"] .wordmark {
  letter-spacing: 0;
  font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
}

.release-note {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0 8px;
  color: var(--muted);
}

.header-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.primary-navigation a, .language-toggle, .theme-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle, .theme-toggle {
  border: 0;
  background: transparent;
  padding: 0 10px;
  font-size: 14px;
  cursor: pointer;
}

.theme-toggle {
  font-size: 18px;
  padding: 0 8px;
}

.header-download {
  min-height: 40px;
  padding: 5px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-download:hover {
  border-color: var(--accent);
}

/* Nova Hero Section Styles */
.hero {
  padding-block: 62px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 35%;
  z-index: -1;
  background-image: linear-gradient(#002a4806 1px, transparent 1px), linear-gradient(90deg, #002a4806 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(#000, transparent);
}

:root[data-theme="dark"] .hero::before {
  background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
}

.hero-copy {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: '';
  height: 2px;
  width: 24px;
  background: var(--orange);
}

.hero-copy .eyebrow {
  justify-content: center;
}

.accent {
  color: var(--accent);
}

.intro {
  font-size: 19px;
  color: var(--muted);
  max-width: 670px;
  margin: 22px auto 0;
  line-height: 1.9;
}

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 25px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

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

.button-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--accent);
}

.button-text {
  border-color: transparent;
  padding-inline: 12px;
}

.button-text span:last-child {
  font-size: 20px;
}

.availability {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}

/* Nova Product Frame Styles */
.product-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 56px #071c3410;
}

:root[data-theme="dark"] .product-frame {
  background: var(--navy);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 11px 19px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.frame-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.frame-top strong {
  font-weight: 600;
  color: var(--ink);
}

.frame-tabs {
  display: flex;
  gap: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px;
}

.frame-tab {
  border: none;
  background: transparent;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.frame-tab.active {
  background: var(--accent);
  color: white;
}

.capture {
  display: block;
  background: #e6eef5;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

:root[data-theme="dark"] .capture {
  background: #111a22;
}

.capture img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.capture-link {
  display: block;
  position: relative;
  text-decoration: none;
  cursor: zoom-in;
  width: 100%;
  height: 100%;
}

.zoom-badge {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  background: rgba(16, 21, 27, 0.85);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.capture-link:hover .zoom-badge {
  opacity: 1;
  transform: translateY(-2px);
}

.product-frame figcaption {
  padding: 11px 19px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* Specs & Comparison Table Styles (SEO / GEO / AEO) */
.specs-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-top: 24px;
}

:root[data-theme="dark"] .specs-table-wrapper {
  background: var(--navy);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: 14px;
  min-width: 600px;
}

.specs-table th,
.specs-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}

.specs-table thead th {
  background: var(--paper);
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
}

.specs-table tbody tr:last-child th,
.specs-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 25%;
}

.specs-table .highlight-val {
  color: var(--accent);
  font-weight: 600;
  background: rgba(8, 118, 110, 0.05);
}

:root[data-theme="dark"] .specs-table .highlight-val {
  background: rgba(138, 226, 199, 0.08);
}



/* Nova Audience Grid Styles */
.section {
  padding-block: 100px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}

.section-heading p {
  color: var(--muted);
  max-width: 400px;
  font-size: 17px;
  padding-top: 8px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

:dir(rtl) .section-label {
  letter-spacing: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.audience {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}

.audience-tag {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.audience p {
  color: var(--muted);
  margin: 15px 0 22px;
  max-width: 490px;
}

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

.examples span {
  font-size: 13px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.audience .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin-top: 15px;
}

.audience .text-link:hover span:last-child {
  transform: translateX(-4px);
}

:dir(ltr) .audience .text-link:hover span:last-child {
  transform: translateX(4px);
}

/* Nova Workflow Styles (UI/UX Pro Max Redesign) */
.workflow-section {
  background: radial-gradient(circle at 50% 0%, rgba(8, 118, 110, 0.18) 0%, transparent 65%), var(--navy);
  color: #f8fafc;
  padding-block: 90px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.workflow-section .section-heading {
  margin-bottom: 50px;
}

.workflow-section .section-heading h2 {
  color: #ffffff;
}

.workflow-section .section-heading p {
  color: #94a3b8;
  max-width: 580px;
}

.workflow-section .section-label {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.workflow-grid-wrapper {
  position: relative;
}

.workflow-connector-line {
  display: none;
}

@media (min-width: 960px) {
  .workflow-connector-line {
    display: block;
    position: absolute;
    top: 52px;
    inset-inline-start: 12%;
    inset-inline-end: 12%;
    height: 2px;
    background: linear-gradient(90deg, rgba(138, 226, 199, 0.15) 0%, rgba(138, 226, 199, 0.5) 50%, rgba(138, 226, 199, 0.15) 100%);
    z-index: 1;
    pointer-events: none;
  }
}

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.workflow-card {
  background: rgba(18, 25, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 30px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.workflow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 226, 199, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 24px rgba(8, 118, 110, 0.18);
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.step-badge {
  font-family: Alexandria, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(138, 226, 199, 0.1);
  border: 1px solid rgba(138, 226, 199, 0.25);
  border-radius: 20px;
  padding: 4px 12px;
  letter-spacing: 0.5px;
}

.step-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.workflow-card:hover .step-icon-bubble {
  transform: scale(1.08);
  background: rgba(8, 118, 110, 0.25);
  border-color: var(--accent);
}

.step-icon-bubble img {
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.workflow-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 12px;
}

.workflow-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #94a3b8;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Micro-UI Components inside Cards */
.step-micro-ui {
  background: rgba(11, 16, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: auto;
  font-size: 12px;
}

.mock-secret-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-indicator-dot.success {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.mock-key-code {
  font-family: monospace;
  color: #64748b;
  font-size: 11px;
  direction: ltr;
  letter-spacing: 1px;
}

.mock-pill {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
}

.mock-shortcut-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.kbd-cluster {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  direction: ltr;
}

.kbd-cluster kbd {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-family: monospace;
  box-shadow: 0 2px 0 #0f172a;
}

.kbd-sep {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.mock-listening-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 11px;
}

.listening-wave {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.8);
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.mock-result-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.result-check {
  color: #22c55e;
  font-weight: 800;
  font-size: 13px;
}

.result-sample-text {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 12px;
}

.mock-action-chip {
  background: rgba(8, 118, 110, 0.25);
  color: var(--accent);
  border: 1px solid rgba(138, 226, 199, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .workflow-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Nova FAQ Accordion Styles */
.details-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.details-layout > div > p {
  color: var(--muted);
  margin-top: 18px;
  max-width: 410px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding-block: 17px;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
  font-family: Alexandria, sans-serif;
}

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

.faq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 14px;
  padding-inline-end: 24px;
}

/* Nova Download Banner Styles */
.download-section {
  padding-block: 0 90px;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 50px;
}

.download-inner p {
  color: var(--muted);
  margin-top: 14px;
  max-width: 590px;
}

.download-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.download-actions small {
  color: var(--muted);
  font-size: 12px;
}

.unavailable-note {
  font-size: 13px;
  color: var(--muted);
}

/* Nova Footer Styles */
.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-block: 22px 35px;
  border-top: 1px solid var(--line);
}

.footer-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  color: var(--muted);
  font-size: 12px;
  padding-top: 14px;
}

/* Nova Responsive Breakpoints */
@media (min-width: 1500px) {
  .wrap {
    max-width: 1440px;
  }
}

@media (max-width: 900px) {
  .primary-navigation {
    display: none;
  }

  .hero {
    padding-top: 35px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .section {
    padding-block: 70px;
  }

  .details-layout {
    gap: 40px;
  }

  .steps {
    gap: 25px;
  }

  .download-inner {
    gap: 25px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    max-width: 560px;
    margin-top: 14px;
  }

  .audience-grid {
    gap: 35px;
  }

  .site-header {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 80px;
    padding-block: 15px;
    gap: 10px;
  }

  .wordmark {
    font-size: 20px;
  }

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

  .release-note {
    display: none;
  }

  .language-toggle {
    font-size: 12px;
    padding-inline: 8px;
  }

  .hero-copy {
    text-align: start;
  }

  .hero-copy .eyebrow, .actions {
    justify-content: flex-start;
  }

  h1 {
    font-size: 40px;
  }

  .intro {
    font-size: 17px;
    margin-top: 18px;
  }

  .actions {
    gap: 8px;
    margin-top: 23px;
  }

  .button {
    padding-inline: 18px;
  }

  .availability {
    font-size: 11px;
  }

  .frame-top {
    padding: 10px 12px;
    font-size: 10px;
  }

  .product-frame figcaption {
    font-size: 11px;
    padding: 8px 12px;
  }

  .section {
    padding-block: 58px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 21px;
  }

  .audience-grid, .steps, .details-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .audience p {
    margin-top: 10px;
  }

  .workflow-section {
    padding-block: 55px;
  }

  .steps li {
    padding-top: 17px;
  }

  .step-number {
    margin-bottom: 9px;
  }

  .details-layout {
    gap: 28px;
  }

  .download-inner {
    display: block;
    padding-block: 35px;
  }

  .download-actions {
    align-items: flex-start;
    margin-top: 25px;
  }

  .download-section {
    padding-bottom: 45px;
  }

  .site-footer {
    display: block;
    padding-block: 10px 25px;
  }

  .footer-links {
    gap: 5px 18px;
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Nova Platform Download Ledger Styles */
.page-hero {
  padding-block: 64px 42px;
}

.page-hero .section-label {
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.45;
  max-width: 960px;
  font-weight: 750;
}

.page-lead {
  color: var(--muted);
  max-width: 850px;
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.85;
}

.version {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}

.download-ledger {
  border-top: 2px solid var(--ink);
  margin-bottom: 24px;
}

.download-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}

.download-row h2 {
  font-size: 24px;
  margin: 0;
}

.download-row-os {
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}

.download-glyph svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.download-row-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.download-chips {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.download-chip {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 10px;
  color: var(--muted);
  background: #fff;
}

:root[data-theme="dark"] .download-chip {
  background: var(--navy);
}

.download-row-hint {
  color: var(--muted);
  max-width: 730px;
  font-size: 15px;
  line-height: 1.85;
}

.download-row-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.download-platforms-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

.architecture-help {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.architecture-help summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  font-family: Alexandria, sans-serif;
  list-style: none;
}

.architecture-help summary::-webkit-details-marker {
  display: none;
}

.architecture-help p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.next-guide {
  padding-block: 55px 75px;
  max-width: 850px;
}

.next-guide h2 {
  font-size: 31px;
  margin-bottom: 14px;
}

.next-guide p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .download-row {
    grid-template-columns: 180px 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding-block: 38px 30px;
  }

  .page-lead {
    font-size: 17px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .download-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 25px;
  }

  .download-row-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .download-row-actions .button {
    width: 100%;
  }
}

[hidden] {
  display: none !important;
}

/* Installation & Thank-You Guides */
.chip-accent {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
  font-weight: 600;
}

:root[data-theme="dark"] .chip-accent {
  color: #0b1a14 !important;
}

.chip-soon {
  background: var(--line) !important;
  color: var(--muted) !important;
  font-weight: 600;
}

.button-disabled,
.button[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
  background: var(--line);
  color: var(--muted);
  border-color: var(--line);
  pointer-events: none;
}

/* Platform tabs on thank you page */
.platform-tabs {
  display: flex;
  gap: 8px;
  margin-block: 10px 24px;
  flex-wrap: wrap;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

:root[data-theme="dark"] .platform-tab {
  background: var(--navy);
}

.platform-tab:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.platform-tab.active,
[data-active-platform="windows"] .platform-tab[data-platform="windows"],
[data-active-platform="ubuntu"] .platform-tab[data-platform="ubuntu"],
[data-active-platform="fedora"] .platform-tab[data-platform="fedora"],
[data-active-platform="linux"] .platform-tab[data-platform="linux"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

:root[data-theme="dark"] .platform-tab.active,
:root[data-theme="dark"][data-active-platform="windows"] .platform-tab[data-platform="windows"],
:root[data-theme="dark"][data-active-platform="ubuntu"] .platform-tab[data-platform="ubuntu"],
:root[data-theme="dark"][data-active-platform="fedora"] .platform-tab[data-platform="fedora"],
:root[data-theme="dark"][data-active-platform="linux"] .platform-tab[data-platform="linux"] {
  color: #0b1a14;
}

/* Visibility rules for platform content */
[data-platform-content] {
  display: none;
}

[data-active-platform="windows"] [data-platform-content="windows"],
[data-active-platform="ubuntu"] [data-platform-content="ubuntu"],
[data-active-platform="fedora"] [data-platform-content="fedora"],
[data-active-platform="linux"] [data-platform-content="linux"] {
  display: block;
}

.thankyou-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  margin-block: 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

:root[data-theme="dark"] /* Platform tabs on thank you page */
.platform-tabs {
  display: flex;
  gap: 8px;
  margin-block: 10px 24px;
  flex-wrap: wrap;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

:root[data-theme="dark"] .platform-tab {
  background: var(--navy);
}

.platform-tab:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.platform-tab.active,
[data-active-platform="windows"] .platform-tab[data-platform="windows"],
[data-active-platform="ubuntu"] .platform-tab[data-platform="ubuntu"],
[data-active-platform="fedora"] .platform-tab[data-platform="fedora"],
[data-active-platform="linux"] .platform-tab[data-platform="linux"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

:root[data-theme="dark"] .platform-tab.active,
:root[data-theme="dark"][data-active-platform="windows"] .platform-tab[data-platform="windows"],
:root[data-theme="dark"][data-active-platform="ubuntu"] .platform-tab[data-platform="ubuntu"],
:root[data-theme="dark"][data-active-platform="fedora"] .platform-tab[data-platform="fedora"],
:root[data-theme="dark"][data-active-platform="linux"] .platform-tab[data-platform="linux"] {
  color: #0b1a14;
}

/* Visibility rules for platform content */
[data-platform-content] {
  display: none;
}

[data-active-platform="windows"] [data-platform-content="windows"],
[data-active-platform="ubuntu"] [data-platform-content="ubuntu"],
[data-active-platform="fedora"] [data-platform-content="fedora"],
[data-active-platform="linux"] [data-platform-content="linux"] {
  display: block;
}

.thankyou-box {
  background: var(--navy);
}

.thankyou-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-check-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 118, 110, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

:root[data-theme="dark"] .status-check-icon {
  background: rgba(138, 226, 199, 0.15);
}

.thankyou-status-text h2 {
  font-size: 22px;
  margin-bottom: 4px;
}

.thankyou-status-text p {
  color: var(--muted);
  font-size: 15px;
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checksum-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
}

.install-guide-section {
  padding-bottom: 60px;
}

.install-guide-section h2.guide-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.install-guide-section p.guide-lead {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 30px;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.install-step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.15s ease;
}

:root[data-theme="dark"] .install-step-card {
  background: var(--navy);
}

.install-step-card:hover {
  border-color: var(--accent);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}

.step-content p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
  margin: 0;
}

.step-content p + p {
  margin-top: 8px;
}

.code-terminal {
  background: #0d1217;
  color: #e6edf3;
  border-radius: 8px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: "IBM Plex Sans Arabic", monospace, sans-serif;
  font-size: 13.5px;
  direction: ltr;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 14px;
}

.code-terminal code {
  user-select: all;
  white-space: pre-wrap;
  word-break: break-all;
  color: #58a6ff;
}

.copy-button {
  background: rgba(255, 255, 255, 0.12);
  color: #f0f6fc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.copy-button:hover {
  background: var(--accent);
  color: #0b1a14;
  border-color: var(--accent);
}

.step-alert {
  background: var(--paper);
  border-inline-start: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

:dir(rtl) .step-alert {
  border-radius: 6px 0 0 6px;
}

/* Nova Activation & Setup Styles */
.activation-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 65px;
  padding-bottom: 70px;
}

.activation-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.activation-steps li {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.activation-steps h2 {
  font-size: 25px;
  margin-bottom: 10px;
}

.activation-steps p,
.start-aside p {
  color: var(--muted);
  line-height: 1.8;
}

.step-number {
  font-family: "Alexandria", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.example-task {
  border-inline-start: 4px solid var(--accent);
  background: #fff;
  border: 1px solid var(--line);
  border-inline-start-width: 4px;
  border-inline-start-color: var(--accent);
  padding: 18px 20px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  border-radius: 4px;
}

:root[data-theme="dark"] .example-task {
  background: var(--navy);
}

.start-aside .product-frame {
  margin: 0 0 30px;
}

.start-aside h3 {
  font-size: 20px;
  margin: 25px 0 14px;
}

.start-aside .text-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  text-decoration: none;
}

.thanks-download-status,
.thanks-download-hint {
  font-size: 14px;
  margin-top: 20px;
  line-height: 1.7;
  color: var(--muted);
}

.thanks-retry {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.thanks-retry p {
  font-size: 13px;
  margin-bottom: 12px;
}

.thanks-retry svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.thanks-retry .button {
  gap: 10px;
}

@media (max-width: 900px) {
  .activation-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.nav-back-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Support & Issue Reporting Layout (Nova Direct Issue Reporting Layout)
   ========================================================================== */

.support-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.2fr;
  gap: 70px;
  padding-bottom: 80px;
}

.support-guide {
  max-width: 350px;
}

.support-guide h2 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.support-guide p {
  color: var(--muted);
  margin-block: 18px;
  line-height: 1.8;
}

.form-panel {
  border-top: 2px solid var(--ink);
  padding-top: 25px;
  max-width: 690px;
}

:root[data-theme="dark"] .form-panel {
  border-top: 2px solid var(--line);
}

.interest-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.field span {
  display: block;
}

.field input,
.field textarea,
.download-row input {
  width: 100%;
  font: 400 16px/1.7 "IBM Plex Sans Arabic", system-ui, sans-serif;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .download-row input {
  background: var(--navy);
  border-color: var(--line);
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field input[type="file"] {
  font-size: 13px;
  padding: 8px;
}

.field input:focus-visible,
.field textarea:focus-visible,
.download-interest input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.form-status {
  color: var(--accent);
}

.submit-button {
  border: 0;
  align-self: flex-start;
  min-height: 48px;
  padding: 10px 28px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

:root[data-theme="dark"] .submit-button {
  background: var(--accent);
  color: #112720;
}

.submit-button:hover {
  background: var(--accent-hover);
}

.form-panel [data-report-success] {
  padding-block: 30px;
  animation: fadeIn 0.3s ease;
}

.form-panel [data-report-success] h2 {
  font-size: 28px;
  color: var(--accent);
}

.form-panel [data-report-success] p {
  margin-top: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.form-panel [data-report-failure] {
  padding: 18px;
  border-radius: 6px;
  background: rgba(180, 35, 60, 0.1);
  border: 1px solid var(--recording);
  color: var(--ink);
  margin-bottom: 20px;
}

/* ==========================================================================
   Policy Layout (Nova Legal & Transparency Policy Layout)
   ========================================================================== */

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 75px;
  padding-bottom: 80px;
}

.policy-nav nav {
  position: sticky;
  top: 30px;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

:root[data-theme="dark"] .policy-nav nav {
  border-top: 2px solid var(--line);
}

.policy-nav a {
  display: block;
  font-size: 14px;
  min-height: 44px;
  padding-block: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.policy-nav a:hover,
.policy-nav a.active {
  color: var(--accent);
  font-weight: 600;
}

.policy-body {
  max-width: 800px;
  min-width: 0;
  color: var(--muted);
  line-height: 1.85;
}

.policy-body h2 {
  font-size: 26px;
  line-height: 1.5;
  color: var(--ink);
  margin-block: 38px 16px;
  scroll-margin-top: 40px;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body p {
  margin-block: 16px;
}

.policy-body a {
  color: var(--accent);
  text-decoration: underline;
}

.policy-body ul,
.policy-body ol {
  padding-inline-start: 24px;
  margin-block: 16px;
}

.policy-body li {
  margin-block: 10px;
}

.policy-body code,
.policy-body bdi,
.policy-body [dir="ltr"] {
  overflow-wrap: anywhere;
}

.policy-body code {
  background: var(--navy);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: monospace;
}

.policy-body .notice-box {
  background: white;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  border-radius: 6px;
  padding: 18px 20px;
  margin-block: 22px;
  color: var(--ink);
}

:root[data-theme="dark"] .policy-body .notice-box {
  background: var(--navy);
}

/* ==========================================================================
   Documentation Layout (Nova Documentation Layout)
   ========================================================================== */

.docs-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 220px;
  gap: 40px;
  padding-bottom: 80px;
}

.docs-sidebar {
  position: sticky;
  top: 30px;
  align-self: start;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  border-inline-end: 1px solid var(--line);
  padding-inline-end: 24px;
}

.docs-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docs-nav-group-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 6px;
}

.docs-nav-group-title:first-child {
  margin-top: 0;
}

.docs-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.docs-link:hover {
  background: rgba(8, 118, 110, 0.08);
  color: var(--accent);
}

:root[data-theme="dark"] .docs-link:hover {
  background: rgba(138, 226, 199, 0.1);
}

.docs-link.active {
  background: rgba(8, 118, 110, 0.12);
  color: var(--accent);
  font-weight: 600;
}

:root[data-theme="dark"] .docs-link.active {
  background: rgba(138, 226, 199, 0.16);
  color: var(--accent);
}

.docs-content {
  max-width: 820px;
  min-width: 0;
  line-height: 1.85;
  color: var(--muted);
}

.docs-content h1 {
  font-size: clamp(32px, 3.8vw, 44px);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 14px;
}

.docs-content h2 {
  font-size: 24px;
  color: var(--ink);
  margin-block: 36px 16px;
  scroll-margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.docs-content h3 {
  font-size: 19px;
  color: var(--ink);
  margin-block: 24px 10px;
}

.docs-content p {
  margin-block: 14px;
}

.docs-content a {
  color: var(--accent);
  text-decoration: underline;
}

.docs-content ul,
.docs-content ol {
  padding-inline-start: 24px;
  margin-block: 16px;
}

.docs-content li {
  margin-block: 8px;
}

.docs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-block: 28px;
}

.docs-card {
  display: block;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

:root[data-theme="dark"] .docs-card {
  background: var(--navy);
}

.docs-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.docs-card h3 {
  margin: 0 0 6px 0;
  font-size: 17px;
  color: var(--ink);
}

.docs-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.kbd-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 12px;
  font-family: monospace;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--line);
  margin-inline: 3px;
}

.code-box {
  background: #0d1318;
  color: #e8edea;
  border-radius: 8px;
  padding: 16px 20px;
  margin-block: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  direction: ltr;
  text-align: start;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.code-box code {
  background: none;
  color: inherit;
  padding: 0;
}

.docs-toc {
  position: sticky;
  top: 30px;
  align-self: start;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  font-size: 13px;
}

.docs-toc h4 {
  margin: 0 0 12px 0;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.docs-toc nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-toc a {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.15s ease;
}

.docs-toc a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Responsive Adaptations for Public & Support & Docs
   ========================================================================== */

@media (max-width: 1000px) {
  .docs-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .docs-toc {
    display: none;
  }
  .support-layout {
    gap: 40px;
  }
  .policy-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 24px;
    max-height: none;
  }
  .support-layout,
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .support-guide,
  .policy-nav nav {
    position: static;
    max-width: none;
  }
  .policy-nav nav {
    border-top: 0;
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
  .policy-nav a {
    min-height: auto;
    padding-block: 4px;
  }
}


