/* ============================================================
   Express Transcript Help Center — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,700;1,9..144,400&family=JetBrains+Mono:wght@300;400&display=swap');

:root {
  /* Brand colors — pulled from audio-to-text.online palette */
  --ink:        #0f1117;
  --ink-soft:   #3a3d4a;
  --ink-muted:  #6b6f80;
  --surface:    #ffffff;
  --surface-alt:#f6f7f9;
  --surface-raised: #ffffff;
  --border:     #e2e4ea;
  --border-light:#eef0f4;
  --accent:     #1f7aff;
  --accent-hover:#155fd1;
  --accent-soft: rgba(31,122,255,.08);
  --accent-glow: rgba(31,122,255,.18);
  --m-bg-primary: #fafafa;
  --m-bg-secondary: #f4f4f5;
  --m-text-primary: #18181b;
  --m-text-secondary: #52525b;
  --m-text-muted: #a1a1aa;
  --success:    #22c55e;
  --warning:    #f59e0b;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 1px 2px rgba(15,17,23,.05);
  --shadow:     0 2px 8px rgba(15,17,23,.06), 0 1px 2px rgba(15,17,23,.04);
  --shadow-lg:  0 8px 30px rgba(15,17,23,.08), 0 2px 8px rgba(15,17,23,.04);
  --shadow-xl:  0 20px 50px rgba(15,17,23,.10);
  --font-body:  'DM Sans', system-ui, sans-serif;
  --font-display:'Fraunces', Georgia, serif;
  --max-w:      1140px;
  --header-h:   64px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink:        #ececec;
  --ink-soft:   #a1a1aa;
  --ink-muted:  #71717a;
  --surface:    #111113;
  --surface-alt:#18181b;
  --surface-raised: #1b1b1b;
  --border:     rgba(255,255,255,0.12);
  --border-light: rgba(255,255,255,0.08);
  --accent:     #3b82f6;
  --accent-hover:#60a5fa;
  --accent-soft: rgba(59,130,246,.14);
  --accent-glow: rgba(59,130,246,.28);
  --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
  --shadow:     0 2px 6px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.3);
  --shadow-lg:  0 12px 24px rgba(0,0,0,.55);
  --shadow-xl:  0 20px 50px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 15.5px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); }

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

/* ── Header ─────────────────────────────────────────────── */
.hc-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
}
html[data-theme="dark"] .hc-header {
  background: rgba(17,17,19,.9);
  border-bottom: 1px solid var(--border-light);
}
.hc-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.hc-header__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 400; font-size: 15px; color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.hc-header__brand svg { flex-shrink: 0; }
.hc-header__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
html[data-theme="dark"] .hc-header__logo {
  content: url("/trans.png");
}
.hc-header__brand span { opacity: 1; margin: 0; font-weight: inherit; }
.hc-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
}
.hc-brand-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.hc-brand-sub {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: .01em;
}

.hc-header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  position: relative;
  padding: 0 260px 0 24px;
}
.hc-header__nav a {
  padding: 7px 13px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.hc-header__nav a:hover, .hc-header__nav a.active {
  background: var(--accent-soft); color: var(--accent);
}
html[data-theme="dark"] .hc-header__nav a {
  color: var(--ink-muted);
}
.hc-header__login {
  font-weight: 600;
  color: var(--ink);
  position: absolute;
  right: 118px;
}

.hc-header__cta {
  padding: 8px 18px !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  position: absolute;
  right: 0;
}
.hc-header__cta:hover { background: var(--accent-hover) !important; }

html[data-theme="dark"] .hc-header__cta.hc-header__dashboard {
  background: #1f55c6 !important;
  color: #f1f5f9 !important;
}

html[data-theme="dark"] .hc-header__cta.hc-header__dashboard:hover {
  background: #2b6ee8 !important;
}

@media (min-width: 861px) {
  .hc-header__cta.hc-header__dashboard {
    min-width: 156px;
    text-align: center;
  }
}

.hc-theme-toggle {
  position: absolute;
  right: 202px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.hc-theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--shadow);
}
html[data-theme="dark"] .hc-theme-toggle {
  background: var(--surface-alt);
  color: var(--ink);
}

/* DE header labels are wider; reserve more right-side space to prevent overlap. */
html[lang^="de"] .hc-header__nav {
  padding-right: 332px;
}
html[lang^="de"] .hc-header__login {
  right: 161px;
}
html[lang^="de"] .hc-theme-toggle {
  right: 278px;
}

.hc-header__mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

/* Mobile menu */
.hc-header__toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px; color: var(--ink);
}

.footer-solutions-link {
  display: none !important;
}
@media (max-width: 860px) {
  .hc-header__inner {
    gap: 8px;
    padding: 0 14px;
  }
  .hc-header__brand { font-size: 14px; gap: 8px; }
  .hc-header__nav { display: none; }
  .hc-header__toggle { display: block; }
  .hc-header__toggle { margin-left: 0; }
  .hc-brand-copy { display: flex; }
  .hc-brand-title { font-size: 14px; }
  .hc-brand-sub { display: none; }
  .hc-theme-toggle,
  .hc-header__toggle,
  .hc-header__mobile-actions,
  .hc-header__mobile-actions a {
    flex: 0 0 auto;
  }
  .hc-theme-toggle {
    position: static;
    transform: none;
    margin-left: auto;
    right: auto;
    top: auto;
  }
  .hc-header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
  }
  .hc-header__mobile-actions .hc-header__login {
    position: static;
    right: auto;
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 600;
  }
  .hc-header__mobile-actions .hc-header__login:hover {
    background: var(--accent-soft);
    color: var(--accent);
  }
  .hc-header__mobile-actions .hc-header__cta {
    position: static;
    right: auto;
    padding: 9px 14px !important;
    margin: 0;
    font-size: 14.5px !important;
    white-space: nowrap;
  }
  .hc-header__mobile-actions .hc-header__cta.hc-header__dashboard {
    min-width: auto;
  }
  html[lang^="de"] .hc-header__mobile-actions {
    gap: 5px;
    margin-left: 8px;
  }
  html[lang^="de"] .hc-header__mobile-actions .hc-header__login {
    padding: 7px 9px;
    font-size: 13.5px;
  }
  html[lang^="de"] .hc-header__mobile-actions .hc-header__cta {
    padding: 7px 9px !important;
    font-size: 12.75px !important;
  }
  html[lang^="de"] .hc-header__brand .hc-brand-title {
    display: none;
  }
  html[lang^="de"] .hc-header__toggle {
    display: none;
  }
  html[lang^="de"] .hc-header__mobile-actions {
    margin-left: 6px;
  }
  .hc-header__nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 28px; gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .hc-header__nav.open .hc-header__cta {
    position: static;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }
  .hc-header__nav.open .hc-header__cta.hc-header__dashboard {
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .hc-header__nav.open .hc-header__login {
    position: static;
    width: 100%;
    justify-content: center;
  }
  .hc-header__nav.open .hc-header__login,
  .hc-header__nav.open .hc-header__cta {
    display: none;
  }

  .footer-solutions-link {
    display: block !important;
  }
}

/* ── Hero ────────────────────────────────────────────────── */
.hc-hero {
  position: relative;
  background: linear-gradient(168deg, #eef5ff 0%, #f8faff 40%, var(--surface) 100%);
  padding: 72px 28px 64px;
  text-align: center;
  overflow: hidden;
}
html[data-theme="dark"] .hc-hero {
  background: linear-gradient(168deg, #0f1114 0%, #111113 45%, var(--surface) 100%);
}
.hc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 20% 80%, rgba(31,122,255,.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 250px at 80% 20%, rgba(31,122,255,.05) 0%, transparent 70%);
  pointer-events: none;
}
html[data-theme="dark"] .hc-hero::before {
  background:
    radial-gradient(ellipse 600px 300px at 20% 80%, rgba(59,130,246,.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 250px at 80% 20%, rgba(59,130,246,.1) 0%, transparent 70%);
}
.hc-hero__inner { position: relative; max-width: 640px; margin: 0 auto; }
.hc-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent); font-size: 12.5px; font-weight: 600;
  letter-spacing: .03em; margin-bottom: 20px;
}
.hc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 500; line-height: 1.2;
  letter-spacing: -.01em; margin-bottom: 14px;
}
.hc-hero p {
  color: var(--ink-muted); font-size: 16.5px; max-width: 480px; margin: 0 auto 32px;
}

/* Search */
.hc-search {
  position: relative; max-width: 480px; margin: 0 auto;
}
.hc-search__icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--ink-muted); pointer-events: none;
}
.hc-search input {
  width: 100%; padding: 14px 18px 14px 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 15px; background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.hc-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow);
}
.hc-search input::placeholder { color: #b0b4c0; }
html[data-theme="dark"] .hc-search input::placeholder { color: var(--ink-muted); }

/* ── Sections ────────────────────────────────────────────── */
.hc-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 28px 25px;
}
.hc-section + .hc-section { padding-top: 0; }

.hc-section__label {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
  text-align: center;
}
.hc-section__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500; margin-bottom: 10px;
  text-align: center;
}
.hc-section__desc {
  color: var(--ink-muted); font-size: 15px; max-width: 540px; margin-bottom: 36px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.hc-hidden { display: none !important; }
.hc-section--intro .hc-tag--blue {
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.hc-section--intro {
  padding-bottom: 25px;
}

/* ── Cards ────────────────────────────────────────────────── */
.hc-grid {
  display: grid;
  gap: 20px;
}
.hc-grid--2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.hc-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hc-grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.hc-card {
  background: var(--surface-raised);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
  position: relative;
}
.hc-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
  transform: translateY(-2px);
}
.hc-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 16px;
}
.hc-card__title {
  font-weight: 600; font-size: 16px; margin-bottom: 8px;
}
.hc-card__text {
  color: var(--ink-muted); font-size: 14px; line-height: 1.6;
}
.hc-card__link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px; font-size: 13.5px; font-weight: 600;
}
.hc-card__link svg { transition: transform .15s; }
.hc-card__link:hover svg { transform: translateX(3px); }

.hc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.hc-pagination__pages {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hc-pagination__btn,
.hc-pagination__page {
  border: 1px solid var(--border-light);
  background: var(--surface-raised);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  min-width: 36px;
  transition: border-color .15s, background .15s, color .15s;
}
.hc-pagination__btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.hc-pagination__btn:not(:disabled):hover,
.hc-pagination__page:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.hc-pagination__page.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* Numbered card variant */
.hc-card--step .hc-card__number {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* ── FAQ Accordion ───────────────────────────────────────── */
.hc-faq {
  width: 100%;
  max-width: 700px !important;
  margin-left: auto;
  margin-right: auto;
}
.hc-faq details {
  border-bottom: 1px solid var(--border-light);
}
.hc-faq summary {
  padding: 18px 4px; cursor: pointer;
  font-weight: 600; font-size: 15px;
  list-style: none; display: flex;
  align-items: center; justify-content: space-between;
  transition: color .15s;
}
.hc-faq summary::-webkit-details-marker { display: none; }
.hc-faq summary::after {
  content: '';
  width: 20px; height: 20px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236b6f80' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s;
}
.hc-faq details[open] summary::after { transform: rotate(180deg); }
.hc-faq details[open] summary { color: var(--accent); }
.hc-faq .hc-faq__body {
  padding: 0 4px 20px;
  color: var(--ink-muted); font-size: 14.5px; line-height: 1.7;
}

/* ── Prose (guide / article body) ────────────────────────── */
.hc-prose { max-width: 720px; }
.hc-prose h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  margin: 40px 0 12px;
}
.hc-prose h3 { font-size: 17px; font-weight: 600; margin: 32px 0 10px; }
.hc-prose p { margin-bottom: 16px; color: var(--ink-soft); }
.hc-prose ul, .hc-prose ol { margin: 0 0 16px 22px; color: var(--ink-soft); }
.hc-prose li { margin-bottom: 6px; }
.hc-prose strong { color: var(--ink); font-weight: 600; }
.hc-prose code {
  background: var(--surface-alt); padding: 2px 7px;
  border-radius: 4px; font-size: 13.5px;
}
.hc-prose pre {
  background: var(--ink); color: #e2e4ea;
  padding: 20px; border-radius: var(--radius);
  overflow-x: auto; margin-bottom: 20px; font-size: 13px;
}
.hc-prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px; margin: 20px 0;
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft); font-size: 14.5px;
}
.hc-prose img {
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  margin: 20px 0;
}
.hc-guide-shot {
  margin: 6px 0 22px;
}
.hc-guide-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.hc-guide-shot figcaption {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ── Tables ───────────────────────────────────────────────── */
.hc-table-wrap { overflow-x: auto; margin: 24px 0; }
.hc-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.hc-table th {
  text-align: left; padding: 12px 16px;
  font-weight: 600; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-muted); background: var(--surface-alt);
  border-bottom: 2px solid var(--border);
}
.hc-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border-light);
  color: var(--ink-soft);
}
.hc-table tr:hover td { background: var(--accent-soft); }

/* ── Pricing cards ───────────────────────────────────────── */
.hc-plan {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color .25s, box-shadow .25s;
}
.hc-plan:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.hc-plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}
.hc-plan__badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 14px; border-radius: 100px;
}
.hc-plan__name { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.hc-plan__desc { color: var(--ink-muted); font-size: 13.5px; margin-bottom: 16px; }
.hc-plan__price { font-family: var(--font-display); font-size: 36px; font-weight: 500; }
.hc-plan__price small { font-size: 15px; font-weight: 400; color: var(--ink-muted); }
.hc-plan__minutes {
  display: inline-block; margin-top: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 4px 12px; border-radius: 100px;
}
.hc-plan__features { margin-top: 24px; list-style: none; }
.hc-plan__features li {
  padding: 6px 0; font-size: 13.5px; color: var(--ink-soft);
  display: flex; align-items: flex-start; gap: 8px;
}
.hc-plan__features .feature-subtext {
  display: block;
  font-size: calc(1em - 0.5px);
  line-height: 1.25;
}
.hc-plan__features li::before {
  content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

/* ── CTA banner ──────────────────────────────────────────── */
.hc-cta {
  background: linear-gradient(135deg, #1f7aff, #4c8dff);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center; color: #fff;
  margin: 48px auto; max-width: var(--max-w);
  position: relative; overflow: hidden;
}
html[data-theme="dark"] .hc-cta {
  background: linear-gradient(135deg, #1f2937, #0f172a);
  color: var(--ink);
}
.hc-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,.12), transparent 60%);
  pointer-events: none;
}
html[data-theme="dark"] .hc-cta::before {
  background: radial-gradient(ellipse at 30% 0%, rgba(59,130,246,.18), transparent 60%);
}
.hc-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px); font-weight: 500;
  margin-bottom: 10px; position: relative;
}
.hc-cta p { opacity: .85; font-size: 15px; margin-bottom: 24px; position: relative; }
.hc-cta__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  background: #fff; color: var(--accent);
  font-weight: 700; font-size: 14px;
  transition: transform .15s, box-shadow .15s;
  position: relative;
}
html[data-theme="dark"] .hc-cta__btn {
  background: #c2410c;
  color: #fff;
  box-shadow: var(--shadow);
}
.hc-cta__btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); color: var(--accent-hover); }
html[data-theme="dark"] .hc-cta__btn:hover { background: #9a3412; color: #fff; }

/* ── Footer ──────────────────────────────────────────────── */
.hc-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  background: var(--surface-alt);
  padding: 40px 28px 28px;
  font-size: 13px; color: var(--ink-muted);
}
.hc-footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 40px;
  justify-content: space-between;
}
.hc-footer__col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 12px;
}
.hc-footer__col a { display: block; padding: 3px 0; color: var(--ink-muted); font-size: 13.5px; }
.hc-footer__col a:hover { color: var(--accent); }
.hc-footer__bottom {
  max-width: var(--max-w); margin: 28px auto 0;
  padding-top: 20px; border-top: 1px solid var(--border-light);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 8px; font-size: 12.5px;
}

/* ── Marketing footer (shared with main site) ─────────────── */
.marketing-footer {
  background: var(--m-text-primary);
  color: var(--m-bg-primary);
  margin-top: 5rem;
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(130px, 1fr));
  gap: 2.2rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 28px;
}

.footer-logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.footer-logo-subtext {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--m-text-muted);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--m-text-muted);
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--m-text-muted);
}

.footer-column a {
  display: block;
  font-size: 0.875rem;
  color: var(--m-bg-secondary);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-lang-row {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.marketing-footer .lang-selector {
  position: relative;
  display: inline-block;
}

.marketing-footer .lang-trigger {
  width: 90px;
  height: 34px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4px 18px 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f6fa;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.marketing-footer .lang-trigger:hover,
.marketing-footer .lang-selector.open .lang-trigger {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.marketing-footer .lang-trigger .lang-flag {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  line-height: 1;
}

.marketing-footer .lang-trigger .lang-code {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 350;
  letter-spacing: 0.08em;
  color: rgba(245, 246, 250, 0.92);
}

.marketing-footer .lang-trigger .lang-chev {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  color: rgba(245, 246, 250, 0.7);
  transition: transform 0.18s ease;
}

.marketing-footer .lang-selector.open .lang-trigger .lang-chev {
  transform: translateY(-50%) rotate(180deg);
}

.marketing-footer .lang-dropdown {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  width: 90px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #12161f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 120;
}

.marketing-footer .lang-selector.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.marketing-footer .lang-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f5f6fa;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.marketing-footer .lang-item:hover,
.marketing-footer .lang-item.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.marketing-footer .lang-item .lang-item-flag {
  font-size: 16px;
  line-height: 1;
}

.marketing-footer .lang-item::after {
  content: attr(data-lang-code);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 350;
  letter-spacing: 0.08em;
  color: rgba(245, 246, 250, 0.9);
  pointer-events: none;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--m-text-muted);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }

  .footer-lang-row {
    max-width: 100%;
  }
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.hc-breadcrumb {
  max-width: var(--max-w); margin: 0 auto;
  padding: 16px 28px 50px;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-muted);
}
.hc-breadcrumb a { color: var(--ink-muted); }
.hc-breadcrumb a:hover { color: var(--accent); }
.hc-breadcrumb span { opacity: .4; }

/* ── Badges / Tags ───────────────────────────────────────── */
.hc-tag {
  display: inline-block; padding: 3px 10px;
  border-radius: 100px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .02em;
}
.hc-tag--blue { background: var(--accent-soft); color: var(--accent); margin-left: auto; margin-right: auto; }
.hc-tag--green { background: rgba(34,197,94,.1); color: #16a34a; }
.hc-tag--amber { background: rgba(245,158,11,.1); color: #d97706; }

/* ── Buttons ─────────────────────────────────────────────── */
.hc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600; font-size: 14px;
  border: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.hc-btn--primary { background: var(--accent); color: #fff; }
.hc-btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }

html[data-theme="dark"] #contact-form .hc-btn--primary {
  background: #1f55c6;
  color: #f1f5f9;
}

html[data-theme="dark"] #contact-form .hc-btn--primary:hover {
  background: #2b6ee8;
}
.hc-btn--outline {
  background: transparent; color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.hc-btn--outline:hover { background: var(--accent-soft); }

/* ── Contact form ────────────────────────────────────────── */
.hc-form { max-width: 560px; }
.hc-form__group { margin-bottom: 20px; }
.hc-form__group label {
  display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px;
}
.hc-form__group input,
.hc-form__group select,
.hc-form__group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14.5px;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.hc-form__group input:focus,
.hc-form__group select:focus,
.hc-form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.hc-form__group textarea { min-height: 120px; resize: vertical; }
.hc-form__status {
  margin: 6px 0 16px;
  font-size: 13.5px;
  color: var(--ink-muted);
}
.hc-form__status--ok { color: var(--success); }
.hc-form__status--error { color: #dc2626; }

/* ── Utility ─────────────────────────────────────────────── */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeUp .5s ease both;
}
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .hc-hero { padding: 48px 20px 40px; }
  .hc-section { padding: 36px 20px; }
  .hc-cta { margin: 32px 16px; padding: 32px 24px; }
  .hc-grid { grid-template-columns: 1fr !important; }
  .hc-grid--3, .hc-grid--4 { grid-template-columns: 1fr; }
  .hc-footer__inner { flex-direction: column; gap: 28px; }
}
