/* ============================================================
   1. Tokens
   ------------------------------------------------------------ */
:root {
  /* Brand */
  --c-blue:        #1A5FA8;
  --c-blue-bg:     #E6F1FB;
  --c-blue-border: #B5D4F4;
  --c-teal:        #0F6E56;
  --c-teal-bg:     #E1F5EE;
  --c-teal-border: #9FE1CB;

  /* Neutrals */
  --c-text:       #1a1a1a;
  --c-text-muted: #5a5a5a;
  --c-border:     #e5e5e5;
  --c-bg:         #ffffff;
  --c-bg-soft:    #f0f4f8;

  /* Dark sections */
  --c-dark:         #0F2137;
  --c-dark-text:    #ffffff;
  --c-dark-muted:   rgba(255,255,255,0.65);
  --c-dark-border:  rgba(255,255,255,0.12);

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  /* Radius */
  --radius-card:   11px;
  --radius-button: 6px;

  /* Layout */
  --nav-height: 56px;
  --container-max: 1100px;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
}

/* Skip-to-content link (a11y) */
.c-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 200;
  padding: var(--s-3) var(--s-4);
  background: var(--c-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-button);
  text-decoration: none;
}
.c-skip-link:focus {
  position: fixed;
  top: var(--s-3);
  left: var(--s-3);
  width: auto;
  height: auto;
}

/* ============================================================
   2. Reset + base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
hr { border: 0; border-top: 0.5px solid var(--c-border); margin: var(--s-6) 0; }

/* ============================================================
   3. Typography utilities
   ------------------------------------------------------------ */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  font-weight: 500;
}
.h-1, .h-2, .h-3 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
.h-1 { font-size: 40px; }
.h-2 { font-size: 28px; }
.h-3 { font-size: 20px; }
.lead { font-size: 17px; line-height: 1.55; color: var(--c-text); }
.muted { color: var(--c-text-muted); }
.small { font-size: 13px; }

/* Make heading tags inherit utility look by default */
h1 { font-size: 40px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 var(--s-4); }
h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 var(--s-4); }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 var(--s-3); }
p  { margin: 0 0 var(--s-4); }

/* ============================================================
   4. Layout primitives
   ------------------------------------------------------------ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.section { padding: var(--s-8) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark {
  background: var(--c-dark);
  color: var(--c-dark-text);
}
.section--dark .eyebrow { color: var(--c-dark-muted); }
.section--dark .muted,
.section--dark .c-section-head p { color: var(--c-dark-muted); }
.section--dark a { color: var(--c-blue-border); }
.section--dark a:hover { color: #fff; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split  { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
  .h-1 { font-size: 32px; }
  h1 { font-size: 32px; }
  .section { padding: var(--s-7) 0; }
}

/* ============================================================
   5. Components — added in later tasks
   ------------------------------------------------------------ */

/* Nav -------------------------------------------------------- */
.c-nav {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  background: var(--c-bg);
  border-bottom: 0.5px solid var(--c-border);
  z-index: 100;
}
.c-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.c-nav__brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--c-text);
  font-weight: 500;
}
.c-nav__brand:hover { text-decoration: none; }
.c-nav__logo {
  height: 36px;        /* landscape logo; width auto-scales (~2.95:1 aspect) */
  width: auto;
  display: block;
}

.c-nav__menu ul {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.c-nav__item > a,
.c-nav__dropdown > summary {
  display: inline-block;
  padding: 18px 0;
  color: var(--c-text);
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  list-style: none;
}
.c-nav__dropdown > summary::-webkit-details-marker { display: none; }
.c-nav__item:hover > a,
.c-nav__dropdown:hover > summary {
  color: var(--c-blue);
}
.c-nav__item.is-active > a {
  color: var(--c-blue);
  border-bottom-color: var(--c-blue);
}
.c-nav__caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
}
.c-nav__dropdown {
  position: relative;
}
.c-nav__submenu {
  display: block;   /* override .c-nav__menu ul { display: flex } */
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--c-bg);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: var(--s-2) 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.c-nav__submenu li a {
  display: block;
  padding: var(--s-2) var(--s-4);
  color: var(--c-text);
  font-size: 14px;
  white-space: nowrap;   /* keep each product name on one line */
}
.c-nav__submenu li a:hover {
  background: var(--c-bg-soft);
  color: var(--c-blue);
  text-decoration: none;
}

/* Hamburger toggle — hidden on desktop */
.c-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s-2);
  flex-direction: column;
  gap: 4px;
}
.c-nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 200ms ease;
}
/* Animate bars into X when open */
.c-nav.is-open .c-nav__toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.c-nav.is-open .c-nav__toggle-bar:nth-child(2) { opacity: 0; }
.c-nav.is-open .c-nav__toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .c-nav { height: auto; min-height: var(--nav-height); }
  .c-nav__inner { flex-wrap: wrap; }
  .c-nav__toggle { display: flex; order: 2; }
  .c-nav__menu {
    display: none;
    order: 4;
    width: 100%;
    padding-bottom: var(--s-4);
    border-top: 0.5px solid var(--c-border);
    margin-top: var(--s-2);
  }
  .c-nav.is-open .c-nav__menu { display: block; }
  .c-nav__menu ul {
    flex-direction: column;
    gap: 0;
  }
  .c-nav__item > a,
  .c-nav__dropdown > summary {
    padding: var(--s-3) 0;
  }
  .c-nav__submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding-left: var(--s-4);
  }
  .c-nav__logo { height: 30px; }
  /* Keep Support CTA in the top bar row */
  .c-button--pill { order: 3; margin-left: auto; }
}

/* Button ----------------------------------------------------- */
.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-button);
  background: var(--c-bg);
  color: var(--c-text);
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.c-button:hover { background: var(--c-bg-soft); text-decoration: none; }
.c-button--primary {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: #fff;
}
.c-button--primary:hover {
  background: #154f8e;   /* slightly darker blue */
  border-color: #154f8e;
  color: #fff;
}
.c-button--teal {
  background: var(--c-teal);
  border-color: var(--c-teal);
  color: #fff;
}
.c-button--teal:hover {
  background: #0a5a45;
  border-color: #0a5a45;
  color: #fff;
}
.c-button--pill { border-radius: 999px; padding: 7px 16px; }

/* Footer ----------------------------------------------------- */
.c-footer {
  border-top: none;
  background: var(--c-dark);
  color: var(--c-dark-muted);
  padding: var(--s-7) 0 var(--s-5);
  margin-top: 0;
}
.c-footer__cols { gap: var(--s-7); }
.c-footer .eyebrow { margin-bottom: var(--s-3); color: var(--c-dark-muted); }
.c-footer p.small { margin-bottom: var(--s-3); }
.c-footer .muted { color: var(--c-dark-muted); }
.c-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}
.c-footer__list li { margin-bottom: var(--s-2); }
.c-footer__list a { color: rgba(255,255,255,0.8); }
.c-footer__list a:hover { color: #fff; }
.c-footer a { color: rgba(255,255,255,0.8); }
.c-footer a:hover { color: #fff; text-decoration: none; }
.c-footer__bottom {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 0.5px solid var(--c-dark-border);
  color: var(--c-dark-muted);
}

/* Main + prose ----------------------------------------------- */
.c-main { min-height: calc(100vh - var(--nav-height)); }
.c-prose h2 { margin-top: var(--s-6); }
.c-prose h3 { margin-top: var(--s-5); }
.c-prose ul, .c-prose ol { padding-left: var(--s-5); }
.c-prose li { margin-bottom: var(--s-2); }
.c-prose a { text-decoration: underline; }

/* List (used by /software/ hub and other list pages) --------- */
.c-list {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
}
.c-list li { margin-bottom: var(--s-2); font-size: 15px; }
.c-list a { color: var(--c-blue); }

/* Hero ------------------------------------------------------- */
.c-hero {
  padding: var(--s-8) 0 var(--s-7);
  background: var(--c-dark);
  color: var(--c-dark-text);
}
.c-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
.c-hero__text { min-width: 0; }
.c-hero__eyebrow { margin-bottom: var(--s-3); color: var(--c-dark-muted); }
.c-hero__headline {
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 var(--s-4);
}
.c-hero__highlight { color: var(--c-blue); }
.c-hero__subhead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-dark-muted);
  margin: 0 0 var(--s-5);
}
.c-hero__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-5); }
.c-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.c-hero__visual {
  border: 0.5px solid var(--c-dark-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.c-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .c-hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .c-hero__headline { font-size: 40px; }
  .c-hero { padding: var(--s-7) 0 var(--s-6); }
}

/* Badges ----------------------------------------------------- */
.c-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border: 0.5px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-bg-soft);
  color: var(--c-text-muted);
}
.c-hero .c-badge {
  background: rgba(255,255,255,0.08);
  border-color: var(--c-dark-border);
  color: var(--c-dark-muted);
}

/* Software cards (home grid) --------------------------------- */
.c-software-grid { gap: var(--s-5); }
.c-product-card {
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: var(--s-6);
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
}
.c-product-card--blue { border-color: var(--c-blue-border); background: var(--c-blue-bg); }
.c-product-card--teal { border-color: var(--c-teal-border); background: var(--c-teal-bg); }
.c-product-card__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.c-product-card__icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.c-product-card--blue .c-product-card__icon { background: var(--c-blue); }
.c-product-card--teal .c-product-card__icon { background: var(--c-teal); }
.c-product-card__icon img { width: 26px; height: 26px; display: block; }
.c-product-card__title { font-size: 22px; font-weight: 500; margin: 0; }
.c-product-card__pill {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  color: var(--c-text-muted);
  margin-left: auto;
}
.c-product-card__desc { color: var(--c-text); margin-bottom: var(--s-4); }
.c-product-card__screenshot {
  border: 0.5px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  margin-bottom: var(--s-4);
  overflow: hidden;
}
.c-product-card__screenshot img { display: block; width: 100%; height: auto; }
.c-product-card__footer {
  display: flex;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 0.5px solid var(--c-border);
  font-size: 13px;
}
.c-product-card__footer a { color: var(--c-text); }
.c-product-card--blue .c-product-card__footer a:hover { color: var(--c-blue); }
.c-product-card--teal .c-product-card__footer a:hover { color: var(--c-teal); }
.c-product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-3);
}

/* Services grid ---------------------------------------------- */
.c-service {
  padding: var(--s-5);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  background: var(--c-bg);
}
.c-service__title { font-size: 17px; font-weight: 500; margin: 0 0 var(--s-2); }
.c-service__body { color: var(--c-text-muted); font-size: 14px; margin: 0; }

/* About strip + stats ---------------------------------------- */
.c-about-strip { gap: var(--s-7); align-items: center; }
.c-about-strip__text h2 { margin-bottom: var(--s-3); }
.c-about-strip__text p { color: var(--c-text-muted); font-size: 15px; }
.section--dark .c-about-strip__text p { color: var(--c-dark-muted); }
.c-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.c-stat {
  padding: var(--s-4);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  background: var(--c-bg);
}
.section--dark .c-stat {
  background: rgba(255,255,255,0.06);
  border-color: var(--c-dark-border);
}
.c-stat__value { font-size: 28px; font-weight: 500; color: var(--c-blue); margin: 0; line-height: 1.15; }
.section--dark .c-stat__value { color: var(--c-blue-border); }
.c-stat__value--text { font-size: 16px; line-height: 1.3; }
.c-stat__label { font-size: 12px; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.section--dark .c-stat__label { color: var(--c-dark-muted); }

/* Section headers (used on home + software pages) ------------ */
.c-section-head { margin-bottom: var(--s-6); max-width: 720px; }
.c-section-head .eyebrow { margin-bottom: var(--s-2); }
.c-section-head h2 { margin: 0 0 var(--s-2); }
.c-section-head p { color: var(--c-text-muted); margin: 0; }

/* Breadcrumb ------------------------------------------------- */
.c-breadcrumb {
  font-size: 13px;
  color: var(--c-text-muted);
  padding: var(--s-4) 0 0;
}
.c-breadcrumb a { color: var(--c-text-muted); }
.c-breadcrumb a:hover { color: var(--c-blue); }

/* Software hero (product) ------------------------------------ */
.c-product-hero { padding: var(--s-6) 0 var(--s-7); }
.c-product-hero--blue { background: var(--c-blue-bg); }
.c-product-hero--teal { background: var(--c-teal-bg); }
.c-product-hero__grid { gap: var(--s-7); align-items: center; }
.c-product-hero__eyebrow { margin-bottom: var(--s-3); }
.c-product-hero__title-row { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-3); flex-wrap: wrap; }
.c-product-hero h1 { margin: 0; font-size: 40px; }
.c-product-hero__version {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--c-blue-bg);
  color: var(--c-blue);
  border: 0.5px solid var(--c-blue-border);
}
.c-product-hero--teal .c-product-hero__version { background: var(--c-teal-bg); color: var(--c-teal); border-color: var(--c-teal-border); }
.c-product-hero__desc { color: var(--c-text-muted); font-size: 16px; margin-bottom: var(--s-5); }
.c-product-hero__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.c-product-hero__screenshot {
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
}
.c-product-hero__screenshot img { display: block; width: 100%; height: auto; }

/* Sub-tab bar ------------------------------------------------ */
.c-tabs {
  border-top: 0.5px solid var(--c-border);
  border-bottom: 0.5px solid var(--c-border);
  background: var(--c-bg);
}
.c-tabs__inner {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
  overflow-x: auto;
}
.c-tabs__inner a {
  display: inline-block;
  padding: var(--s-3) 0;
  color: var(--c-text-muted);
  font-size: 13px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.c-tabs__inner a:hover { color: var(--c-blue); text-decoration: none; }
.c-tabs__inner a.is-active { color: var(--c-blue); border-bottom-color: var(--c-blue); }
.c-tabs--teal .c-tabs__inner a:hover,
.c-tabs--teal .c-tabs__inner a.is-active { color: var(--c-teal); border-bottom-color: var(--c-teal); }

/* Screenshot grid -------------------------------------------- */
.c-shot {
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.c-shot__img { width: 100%; height: auto; display: block; background: var(--c-bg-soft); }
.c-shot__caption { padding: var(--s-3); font-size: 13px; color: var(--c-text-muted); }

/* Feature grid ----------------------------------------------- */
.c-feature {
  padding: var(--s-5);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  background: var(--c-bg);
}
.c-feature__title { font-size: 16px; font-weight: 500; margin: 0 0 var(--s-2); }
.c-feature__body { color: var(--c-text-muted); font-size: 14px; margin: 0; }

/* Download cards (per-OS) ------------------------------------ */
.c-download-card {
  padding: var(--s-5);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.c-download-card__os { font-size: 18px; font-weight: 500; margin: 0; }
.c-download-card__label { font-size: 13px; color: var(--c-text-muted); }
.c-download-card__reqs { font-size: 12px; color: var(--c-text-muted); margin-top: auto; padding-top: var(--s-3); border-top: 0.5px solid var(--c-border); }
.c-download-card__buttons { display: flex; gap: var(--s-2); }
.c-download-card .c-button { align-self: flex-start; }   /* don't stretch to full card width */

/* Comparison page (H5Studio vs HDFView) ---------------------- */
.c-strengths { margin-top: var(--s-7); }
.c-strengths__title {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 var(--s-4);
}
.c-strength {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 0.5px solid var(--c-teal-border);
  border-radius: var(--radius-card);
  background: var(--c-teal-bg);
}
.c-strength__check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-teal); color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
}
.c-strength__title { font-size: 15px; font-weight: 500; margin: 0 0 4px; color: var(--c-teal); }
.c-strength__body  { font-size: 14px; margin: 0; color: var(--c-text); }

.c-cmp { margin-top: var(--s-8); }
.c-cmp__title {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 var(--s-4);
}
.c-cmp__section-title {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  margin: var(--s-6) 0 var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 0.5px solid var(--c-border);
}
.c-cmp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.c-cmp-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
}
.c-cmp-table th, .c-cmp-table td {
  text-align: left;
  padding: var(--s-3) var(--s-2);
  border-bottom: 0.5px solid var(--c-border);
  vertical-align: top;
}
.c-cmp-table th {
  font-weight: 500;
  color: var(--c-text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.c-cmp-table td.c-cmp-table__status,
.c-cmp-table th.c-cmp-table__status {
  text-align: center;
  width: 110px;
}
.c-cmp-table__note {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: 2px;
}
.c-cmp-cell {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 500;
  border: 0.5px solid transparent;
}
.c-cmp-cell--yes     { background: var(--c-teal-bg); color: var(--c-teal); border-color: var(--c-teal-border); }
.c-cmp-cell--partial { background: #fef3c7;        color: #92400e;       border-color: #fde68a; }
.c-cmp-cell--no      { color: var(--c-text-muted); background: transparent; border: none; padding: 2px 0; font-weight: 400; }

.c-roadmap { margin-top: var(--s-8); }
.c-roadmap__title {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 var(--s-3);
}
.c-roadmap__intro { color: var(--c-text-muted); max-width: 720px; margin: 0 0 var(--s-5); }
.c-roadmap__grid { gap: var(--s-4); }
.c-roadmap__item {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  background: var(--c-bg);
}
.c-roadmap__pin {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-bg-soft); color: var(--c-text-muted);
  border: 0.5px solid var(--c-border);
  border-radius: 50%;
  font-size: 13px;
}
.c-roadmap__item-title { font-size: 15px; font-weight: 500; margin: 0 0 4px; }
.c-roadmap__item-body  { font-size: 14px; color: var(--c-text-muted); margin: 0; }

/* Third-party licenses table (H5Studio) ---------------------- */
.c-license-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: var(--s-5);
}
.c-license-table th,
.c-license-table td {
  text-align: left;
  padding: var(--s-3) var(--s-2);
  border-bottom: 0.5px solid var(--c-border);
  vertical-align: top;
}
.c-license-table th {
  font-weight: 500;
  color: var(--c-text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.c-license-table__version {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 13px;
  color: var(--c-text-muted);
  white-space: nowrap;
}
.c-license-table a { color: var(--c-text); }
.c-license-table a:hover { color: var(--c-teal); }

/* Pricing card (H5Studio) ------------------------------------ */
.c-pricing-card {
  max-width: 560px;
  margin: 0 auto;
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  background: var(--c-bg);
  padding: var(--s-7) var(--s-6);
  text-align: center;
}
.c-pricing-card__badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--c-teal-bg);
  color: var(--c-teal);
  border: 0.5px solid var(--c-teal-border);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.c-pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: var(--s-2);
}
.c-pricing-card__amount {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  color: var(--c-teal);
  letter-spacing: -0.03em;
}
.c-pricing-card__period {
  font-size: 18px;
  color: var(--c-text-muted);
}
.c-pricing-card__regular {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: var(--s-5);
}
.c-pricing-card__regular s { opacity: 0.7; }
.c-pricing-card__body {
  text-align: left;
  max-width: 440px;
  margin: 0 auto var(--s-5);
}
.c-pricing-card__body p { margin-bottom: var(--s-3); }
.c-pricing-card__body p:last-child { margin-bottom: 0; }
.c-pricing-card__ctas {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* Support page layout ---------------------------------------- */
.c-support-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 900px) {
  .c-support-grid { grid-template-columns: 1fr; }
}
.c-info-box {
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: var(--s-5);
  background: var(--c-bg);
  margin-bottom: var(--s-4);
}
.c-info-box h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
  margin: 0 0 var(--s-3);
  font-weight: 500;
}
.c-info-box__item { margin-bottom: var(--s-3); }
.c-info-box__item:last-child { margin-bottom: 0; }
.c-info-box__item-heading { font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.c-info-box__item-body { font-size: 13px; color: var(--c-text-muted); margin: 0; }
.c-info-box__item-body p { margin: 0 0 var(--s-2); }
.c-info-box__item-body p:last-child { margin-bottom: 0; }

/* Form ------------------------------------------------------- */
.c-form {
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: var(--s-6);
  background: var(--c-bg);
}
.c-form__row { display: grid; gap: var(--s-4); margin-bottom: var(--s-4); }
.c-form__row--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) {
  .c-form__row--two { grid-template-columns: 1fr; }
}
.c-form-field { display: flex; flex-direction: column; gap: 6px; }
.c-form-field label { font-size: 13px; font-weight: 500; color: var(--c-text); }
.c-form-field input,
.c-form-field select,
.c-form-field textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 9px 12px;
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-button);
  background: var(--c-bg);
  color: var(--c-text);
}
.c-form-field input:focus,
.c-form-field select:focus,
.c-form-field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.12);
}
.c-form-field textarea { min-height: 160px; resize: vertical; }
.c-form__turnstile { margin-bottom: var(--s-4); }
.c-form__submit { display: flex; justify-content: flex-end; }
.c-form__alert {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-button);
  font-size: 14px;
  margin-bottom: var(--s-4);
}
.c-form__alert--success { background: var(--c-teal-bg); color: var(--c-teal); border: 0.5px solid var(--c-teal-border); }
.c-form__alert--error   { background: #fde8e8; color: #b42323; border: 0.5px solid #f5c2c2; }

/* ============================================================
   6. Page-specific overrides — added when needed
   ------------------------------------------------------------ */
