:root {
  --bg-base: #141413;
  --bg-elevated: #1C1B19;
  --bg-card: #232220;
  --bg-card-hover: #2A2926;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(217, 119, 87, 0.45);
  --accent: #D97757;
  --accent-hover: #E58869;
  --accent-soft: rgba(217, 119, 87, 0.14);
  --text-main: #F4F3EE;
  --text-muted: #A3A098;
  --text-dim: #7C7971;
  --success: #68B884;
  --success-soft: rgba(104, 184, 132, 0.14);
  --warning: #E3A857;
  --warning-soft: rgba(227, 168, 87, 0.14);
  --danger: #E06C65;
  --danger-soft: rgba(224, 108, 101, 0.14);
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --header-height: 74px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container-max: 1180px;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background-color: var(--bg-base);
  color: var(--text-main);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background:
    radial-gradient(960px 460px at 50% -80px, rgba(217, 119, 87, 0.14), transparent 72%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-elevated) 50%, var(--bg-base) 100%);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 20px;
}

.section {
  padding: 72px 0;
  position: relative;
}

.section--alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  max-width: 790px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-lead {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted);
}

/* =========================================================
   STICKY HEADER (ALWAYS FIXED ON DESKTOP & MOBILE)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(20, 20, 19, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #141413;
  box-shadow: 0 8px 24px rgba(217, 119, 87, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 28px rgba(229, 136, 105, 0.34);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.btn-header {
  padding: 10px 16px;
  font-size: 13.5px;
  white-space: nowrap;
}

.btn-lg {
  padding: 15px 24px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-xl {
  padding: 17px 30px;
  font-size: 17px;
  border-radius: 14px;
  width: 100%;
  max-width: 460px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  padding: 0;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(28, 27, 25, 0.98);
  border-bottom: 1px solid var(--border-strong);
  padding: 14px 20px 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-drawer-link {
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.mobile-drawer-link:hover {
  border-color: var(--border-accent);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  padding: 46px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: 28px;
  align-items: start;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-title .accent-text {
  color: var(--accent-hover);
}

.hero-desc {
  margin: 0 0 24px;
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 66ch;
}

.hero-desc strong {
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-quick-scenarios {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.quick-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
}

.quick-pill {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.quick-pill:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

/* Hero Right Diagnostic Card */
.portal-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.portal-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
}

.status-badge--warn {
  background: var(--warning-soft);
  color: var(--warning);
  border: 1px solid rgba(227, 168, 87, 0.35);
}

.status-badge--ok {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(104, 184, 132, 0.35);
}

.status-badge--danger {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid rgba(224, 108, 101, 0.35);
}

.portal-window {
  background: #171615;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.portal-window-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.portal-window-sub {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.portal-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.portal-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.portal-facts li span:first-child {
  color: var(--text-muted);
}

.portal-facts li span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  text-align: right;
}

.metrics-strip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--accent-hover);
  margin-bottom: 4px;
}

.metric-val--danger {
  color: var(--danger);
}

.metric-label {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* =========================================================
   SCENARIO SWITCHER & TARIFFS
   ========================================================= */
.scenario-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.scenario-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.scenario-tab:hover {
  color: var(--text-main);
}

.scenario-tab.is-active {
  background: var(--accent);
  color: #141413;
}

.scenario-panel {
  display: none;
}

.scenario-panel.is-active {
  display: block;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tariff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.tariff-card--featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(217, 119, 87, 0.08) 0%, var(--bg-card) 42%);
}

.tariff-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.tariff-title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.tariff-price {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-hover);
  white-space: nowrap;
}

.tariff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tariff-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-muted);
}

.tariff-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-hover);
  font-weight: 800;
}

.tariff-list strong {
  color: var(--text-main);
}

/* =========================================================
   CARDS & PORTAL FACTS GRID
   ========================================================= */
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.info-card-title {
  margin: 12px 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.info-card strong {
  color: var(--text-main);
}

.callout-banner {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.callout-banner p {
  margin: 0;
  font-size: 15.5px;
  max-width: 72ch;
}

/* =========================================================
   CASE STUDY TIMELINE
   ========================================================= */
.timeline {
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  align-items: start;
}

.timeline-time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-hover);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  text-align: center;
}

.timeline-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.timeline-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.timeline-body strong {
  color: var(--text-main);
}

/* =========================================================
   BOT INTERFACE EXPLORER
   ========================================================= */
.bot-quote {
  margin: 0 0 24px;
  padding: 18px 22px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 16px;
  color: var(--text-main);
}

.bot-shell {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.bot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  background: #1B1A18;
  border-bottom: 1px solid var(--border-subtle);
}

.bot-tab {
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
}

.bot-tab.is-active {
  background: var(--accent);
  color: #141413;
  border-color: var(--accent);
}

.bot-screen {
  display: none;
  padding: 24px;
}

.bot-screen.is-active {
  display: block;
}

.tg-mock {
  max-width: 680px;
  background: #16181C;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px;
}

.tg-msg {
  background: #202329;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.tg-kb {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tg-btn {
  padding: 10px 12px;
  border-radius: 9px;
  background: #282C34;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.tg-btn--wide {
  grid-column: 1 / -1;
}

.tg-btn--accent {
  background: var(--accent-soft);
  border-color: var(--border-accent);
  color: var(--accent-hover);
}

.bot-faq-list {
  display: grid;
  gap: 10px;
}

.bot-faq-item {
  background: #1A1917;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
}

.bot-faq-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-hover);
}

.bot-faq-item span {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* =========================================================
   CLAUDE CODE RECOVERY TERMINAL BLOCK
   ========================================================= */
.code-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
}

.terminal-card {
  background: #111110;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: #1B1A18;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.terminal-body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #E6E3DC;
  overflow-x: auto;
}

.t-dim {
  color: #7C7971;
}

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

.t-ok {
  color: var(--success);
}

/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.compare-table th {
  background: #1B1A18;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-row--highlight {
  background: rgba(217, 119, 87, 0.08);
}

/* =========================================================
   PROTECTED YOUTUBE EMBED (16:9 + ANTI-REDIRECT SHIELDS)
   ========================================================= */
.video-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.video-frame-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0D0D0C;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}

.video-frame-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

/* Transparent overlays intercepting YouTube title/share/watch-on-yt/logo clicks */
.yt-shield {
  position: absolute;
  z-index: 6;
  background: transparent;
  cursor: default;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Top bar: blocks video title, channel avatar, Watch Later, Share */
.yt-shield--top {
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
}

/* Bottom-right YouTube logo in player controls, keeping Fullscreen (right: 0..46px) clickable */
.yt-shield--logo {
  bottom: 0;
  right: 46px;
  width: 118px;
  height: 50px;
}

/* Bottom-left "Watch on YouTube" badge above control bar */
.yt-shield--badge {
  bottom: 50px;
  left: 0;
  width: 220px;
  height: 54px;
}

.video-note {
  margin: 14px 0 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

.video-cta-box {
  display: flex;
  justify-content: center;
}

/* =========================================================
   FAQ (15 QUESTIONS, FILTER + ACCORDION)
   ========================================================= */
.faq-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

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

.faq-filter-btn {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.faq-filter-btn.is-active {
  background: var(--accent);
  color: #141413;
  border-color: var(--accent);
}

.faq-bulk {
  display: flex;
  gap: 8px;
}

.faq-bulk-btn {
  padding: 8px 12px;
  border-radius: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
}

.faq-bulk-btn:hover {
  border-color: var(--border-accent);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.18s ease;
}

.faq-item[hidden] {
  display: none;
}

.faq-item.is-open {
  border-color: var(--border-accent);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text-main);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-trigger-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-hover);
  flex-shrink: 0;
}

.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent-hover);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding: 0 20px 18px 50px;
  color: var(--text-muted);
  font-size: 15px;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-panel p {
  margin: 0;
}

.faq-panel strong {
  color: var(--text-main);
}

/* =========================================================
   FOOTER & BACK TO TOP
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #111110;
  padding: 46px 0 36px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  color: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (MOBILE STICKY HEADER ALWAYS VISIBLE)
   ========================================================= */
@media (max-width: 1060px) {
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .code-grid {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .section {
    padding: 52px 0;
  }

  .tariff-grid,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline-time {
    justify-self: start;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 13px;
  }

  .btn-header {
    padding: 9px 11px;
    font-size: 12.5px;
  }

  .faq-panel {
    padding: 0 16px 16px 16px;
  }
}

@media (max-width: 440px) {
  .container {
    padding-inline: 14px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand-text {
    display: none;
  }

  .btn-header {
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .tg-kb,
  .mobile-drawer-grid {
    grid-template-columns: 1fr;
  }
}
