/* ═══════════════════════════════════════════════════════════════════
   finosutra.css — FinoSutra Design System v2.0
   Single source of truth for tokens, typography, components and layout.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --fs-navy:    #0B1220;
  --fs-blue:    #2563EB;
  --fs-blue-dk: #1D4ED8;
  --fs-blue-lt: #EFF6FF;
  --fs-blue-mid:#BFDBFE;

  /* Neutrals */
  --fs-bg:      #F8FAFC;
  --fs-card:    #FFFFFF;
  --fs-text:    #111827;
  --fs-muted:   #64748B;
  --fs-faint:   #94A3B8;
  --fs-border:  #E2E8F0;
  --fs-border-lt:rgba(226,232,240,0.6);

  /* Semantic */
  --fs-ok:      #16A34A;
  --fs-ok-lt:   #DCFCE7;
  --fs-warn:    #F59E0B;
  --fs-warn-lt: #FEF3C7;
  --fs-err:     #DC2626;
  --fs-err-lt:  #FEE2E2;

  /* Radius */
  --fs-r-sm:    6px;
  --fs-r:       8px;
  --fs-r-md:    10px;
  --fs-r-lg:    12px;
  --fs-r-xl:    16px;

  /* Shadows */
  --fs-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --fs-shadow:    0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --fs-shadow-md: 0 4px 20px rgba(0,0,0,0.08);

  /* Layout */
  --fs-max-w:   1160px;
  --fs-nav-h:   60px;
}


/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--fs-bg);
  color: var(--fs-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--fs-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }


/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.8px; }
h2 { font-size: clamp(24px, 3.5vw, 36px); letter-spacing: -0.5px; }
h3 { font-size: clamp(18px, 2.5vw, 24px); letter-spacing: -0.3px; }
h4 { font-size: 16px; }

.fs-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fs-blue);
}
.fs-muted { color: var(--fs-muted); }
.fs-num { font-variant-numeric: tabular-nums; }


/* ── Buttons ────────────────────────────────────────────────────── */
.fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--fs-r);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1.4;
}
.fs-btn:hover { text-decoration: none; }
.fs-btn:focus-visible {
  outline: 2px solid var(--fs-blue);
  outline-offset: 2px;
}

.fs-btn-primary {
  background: var(--fs-blue);
  color: #fff;
  border-color: var(--fs-blue);
}
.fs-btn-primary:hover {
  background: var(--fs-blue-dk);
  border-color: var(--fs-blue-dk);
}

.fs-nav-actions .fs-btn-primary {
  background: #15222C;
  border-color: #15222C;
}
.fs-nav-actions .fs-btn-primary:hover {
  background: #0E161C;
  border-color: #0E161C;
}

.fs-btn-secondary {
  background: var(--fs-card);
  color: var(--fs-text);
  border-color: var(--fs-border);
}
.fs-btn-secondary:hover {
  border-color: var(--fs-blue);
  color: var(--fs-blue);
}

.fs-btn-ghost {
  background: transparent;
  color: var(--fs-muted);
  padding: 10px 8px;
}
.fs-btn-ghost:hover { color: var(--fs-text); }

.fs-btn-sm {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: var(--fs-r-sm);
}
.fs-btn-lg {
  font-size: 15px;
  padding: 13px 26px;
}


/* ── Badges ─────────────────────────────────────────────────────── */
.fs-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.fs-badge-live   { background: var(--fs-ok-lt);   color: #15803D; }
.fs-badge-soon   { background: #F1F5F9;           color: var(--fs-muted); }
.fs-badge-free   { background: var(--fs-blue-lt); color: var(--fs-blue-dk); }
.fs-badge-pro    { background: var(--fs-navy);    color: #fff; }
.fs-badge-pay    { background: var(--fs-warn-lt); color: #92400E; }
.fs-badge-new    { background: #FEF3C7;           color: #B45309; }


/* ── Cards ──────────────────────────────────────────────────────── */
.fs-card {
  background: var(--fs-card);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-lg);
  padding: 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fs-card:hover {
  border-color: var(--fs-blue-mid);
}
.fs-card-featured {
  border-color: var(--fs-blue-mid);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.06);
}

.fs-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fs-muted);
  margin-bottom: 8px;
}
.fs-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.fs-card-desc {
  font-size: 13.5px;
  color: var(--fs-muted);
  margin-bottom: 14px;
  line-height: 1.55;
}
.fs-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--fs-border);
}
.fs-card-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fs-blue);
  text-decoration: none;
}
.fs-card-link:hover { text-decoration: underline; }


/* ── Capability chips ───────────────────────────────────────────── */
.fs-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.fs-cap {
  font-size: 11.5px;
  color: #334155;
  background: #F1F5F9;
  border-radius: 4px;
  padding: 3px 8px;
}


/* ── Inputs & forms ─────────────────────────────────────────────── */
.fs-field { margin-bottom: 16px; }
.fs-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}
.fs-input,
.fs-select,
.fs-textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--fs-r);
  font-size: 14px;
  font-family: inherit;
  color: var(--fs-text);
  background: var(--fs-card);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fs-input:focus,
.fs-select:focus,
.fs-textarea:focus {
  border-color: var(--fs-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.fs-input-error {
  border-color: var(--fs-err) !important;
}
.fs-hint {
  font-size: 11.5px;
  color: var(--fs-muted);
  margin-top: 5px;
}
.fs-hint-error {
  color: var(--fs-err);
  font-weight: 500;
}
.fs-textarea { resize: vertical; min-height: 90px; }
.fs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .fs-form-row { grid-template-columns: 1fr; }
}


/* ── Tables ─────────────────────────────────────────────────────── */
.fs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-md);
  background: var(--fs-card);
}
.fs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.fs-table th {
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fs-muted);
  padding: 10px 14px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--fs-border);
  white-space: nowrap;
}
.fs-table th:first-child,
.fs-table td:first-child { text-align: left; }
.fs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #F1F5F9;
  text-align: right;
  white-space: nowrap;
}
.fs-table tr.fs-total td {
  font-weight: 700;
  background: #F8FAFC;
  border-top: 1px solid var(--fs-border);
  border-bottom: none;
}


/* ── Tabs ───────────────────────────────────────────────────────── */
.fs-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--fs-border);
  overflow-x: auto;
}
.fs-tab {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fs-muted);
  padding: 11px 14px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}
.fs-tab:hover { color: var(--fs-text); }
.fs-tab.active,
.fs-tab[aria-selected="true"] {
  color: var(--fs-blue);
  font-weight: 600;
  border-bottom-color: var(--fs-blue);
}


/* ── Stepper ────────────────────────────────────────────────────── */
.fs-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--fs-card);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-md);
  padding: 6px;
  overflow-x: auto;
}
.fs-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--fs-muted);
  white-space: nowrap;
  font-weight: 500;
}
.fs-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--fs-muted);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fs-step.done .fs-step-num {
  background: var(--fs-ok-lt);
  color: var(--fs-ok);
}
.fs-step.active {
  background: var(--fs-blue-lt);
  color: var(--fs-blue);
  font-weight: 600;
}
.fs-step.active .fs-step-num {
  background: var(--fs-blue);
  color: #fff;
}
.fs-step-sep {
  width: 14px;
  height: 1px;
  background: var(--fs-border);
  flex-shrink: 0;
}


/* ── KPI strip ──────────────────────────────────────────────────── */
.fs-kpis {
  display: grid;
  gap: 1px;
  background: var(--fs-border);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-md);
  overflow: hidden;
}
.fs-kpi {
  background: var(--fs-card);
  padding: 16px 18px;
}
.fs-kpi-label {
  font-size: 11.5px;
  color: var(--fs-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.fs-kpi-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
}
.fs-kpi-sub {
  font-size: 11.5px;
  color: var(--fs-muted);
  margin-top: 2px;
}
@media (min-width: 768px) {
  .fs-kpis-3 { grid-template-columns: repeat(3, 1fr); }
  .fs-kpis-4 { grid-template-columns: repeat(4, 1fr); }
}


/* ── Audit trail ────────────────────────────────────────────────── */
.fs-trail { list-style: none; }
.fs-trail li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13.5px;
}
.fs-trail li:last-child { border-bottom: none; }
.fs-trail-date {
  color: var(--fs-muted);
  font-size: 12.5px;
  width: 96px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}


/* ── Section layout ─────────────────────────────────────────────── */
.fs-wrap {
  max-width: var(--fs-max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.fs-section {
  padding: 72px 0;
}
.fs-section-alt {
  background: var(--fs-card);
}
.fs-section-hd {
  margin-bottom: 40px;
}
.fs-section-hd.center { text-align: center; }
.fs-section-hd.center .fs-section-desc { margin-left: auto; margin-right: auto; }
.fs-section-desc {
  font-size: 16px;
  color: var(--fs-muted);
  max-width: 520px;
  line-height: 1.65;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .fs-wrap { padding: 0 20px; }
  .fs-section { padding: 52px 0; }
}


/* ── Grid helpers ───────────────────────────────────────────────── */
.fs-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.fs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fs-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) {
  .fs-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .fs-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fs-grid-2,
  .fs-grid-3,
  .fs-grid-4 { grid-template-columns: 1fr; }
}


/* ── Search & filters ───────────────────────────────────────────── */
.fs-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.fs-search {
  flex: 1;
  min-width: 220px;
  background: var(--fs-card);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r);
  padding: 9px 13px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--fs-text);
  outline: none;
  transition: border-color 0.15s;
}
.fs-search:focus { border-color: var(--fs-blue); }
.fs-search::placeholder { color: var(--fs-muted); }
.fs-chip {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fs-muted);
  background: var(--fs-card);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-sm);
  padding: 7px 13px;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.fs-chip:hover { border-color: var(--fs-blue); color: var(--fs-blue); }
.fs-chip.active {
  background: var(--fs-navy);
  border-color: var(--fs-navy);
  color: #fff;
  font-weight: 600;
}


/* ── Pricing cards ──────────────────────────────────────────────── */
.fs-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.fs-price-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.fs-price-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
  margin: 0 auto;
}
.fs-price-card {
  background: var(--fs-card);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fs-price-card.popular {
  border: 1.5px solid var(--fs-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.07);
}
.fs-price-name { font-size: 15px; font-weight: 700; }
.fs-price-amount {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
}
.fs-price-amount small {
  font-size: 13px;
  font-weight: 500;
  color: var(--fs-muted);
  letter-spacing: 0;
}
.fs-price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: #334155;
  flex: 1;
}
.fs-price-features li::before {
  content: "\2713\00a0";
  color: var(--fs-ok);
  font-weight: 700;
}
.fs-price-features li.disabled::before {
  content: "\2014\00a0";
  color: var(--fs-muted);
}
@media (max-width: 1024px) {
  .fs-price-grid { grid-template-columns: repeat(2, 1fr); }
  .fs-price-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fs-price-grid,
  .fs-price-grid-3,
  .fs-price-grid-2 { grid-template-columns: 1fr; }
}


/* ── Empty / loading / error states ─────────────────────────────── */
.fs-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--fs-muted);
}
.fs-empty-icon {
  font-size: 36px;
  margin-bottom: 14px;
  opacity: 0.4;
}
.fs-empty-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fs-text);
  margin-bottom: 6px;
}
.fs-empty-desc {
  font-size: 14px;
  margin-bottom: 18px;
}

.fs-spinner {
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--fs-border);
  border-top-color: var(--fs-blue);
  border-radius: 50%;
  animation: fs-spin 0.6s linear infinite;
}
@keyframes fs-spin { to { transform: rotate(360deg); } }


/* ── Accessibility ──────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--fs-blue);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ── Page hero (hub pages) ─────────────────────────────────────── */
.fs-page-hero {
  padding: 48px 32px 40px;
  border-bottom: 1px solid var(--fs-border-lt);
  background: linear-gradient(135deg, var(--fs-blue-lt), #F0F5FF);
}
.fs-page-hero-inner {
  max-width: var(--fs-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.fs-page-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.fs-page-hero h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.fs-page-hero p {
  font-size: 14px;
  color: var(--fs-muted);
  line-height: 1.7;
  max-width: 560px;
}
.fs-page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 10px;
  background: var(--fs-blue-lt);
  color: var(--fs-blue);
}
@media (max-width: 768px) {
  .fs-page-hero { padding: 32px 20px; }
  .fs-page-hero-inner { flex-direction: column; align-items: flex-start; }
}


/* ── Standard group header ─────────────────────────────────────── */
.fs-std-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--fs-blue-lt);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--fs-r-md);
  margin-bottom: 14px;
}
.fs-std-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--fs-blue);
  letter-spacing: -0.5px;
  line-height: 1;
}
.fs-std-ifrs {
  font-size: 9px;
  font-weight: 700;
  color: var(--fs-blue-dk);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 3px;
}
.fs-std-divider {
  width: 1px;
  height: 32px;
  background: rgba(37,99,235,0.2);
  flex-shrink: 0;
}
.fs-std-name {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  line-height: 1.5;
}


/* ── Tool rows (hub tool list) ─────────────────────────────────── */
.fs-tools-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fs-tool-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--fs-card);
  border: 1px solid var(--fs-border-lt);
  border-radius: var(--fs-r-lg);
  text-decoration: none;
  transition: all 0.18s;
  position: relative;
  overflow: hidden;
}
.fs-tool-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}
.fs-tool-row:hover { text-decoration: none; }
.fs-tool-row.live {
  border-color: rgba(37,99,235,0.18);
  box-shadow: var(--fs-shadow);
}
.fs-tool-row.live::before { background: var(--fs-blue); }
.fs-tool-row.live:hover {
  border-color: rgba(37,99,235,0.4);
  box-shadow: var(--fs-shadow-md);
  transform: translateX(3px);
}
.fs-tool-row.featured {
  border-color: rgba(37,99,235,0.35);
  background: var(--fs-blue-lt);
}
.fs-tool-row.soon::before { background: var(--fs-border); }
.fs-tool-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.fs-tool-body { flex: 1; min-width: 0; }
.fs-tool-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--fs-text);
  margin-bottom: 3px;
}
.fs-tool-desc {
  font-size: 12px;
  color: var(--fs-muted);
  line-height: 1.5;
}
.fs-tool-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.fs-tool-price {
  font-size: 11px;
  color: var(--fs-faint);
}
.fs-tool-open {
  font-size: 11px;
  font-weight: 700;
  color: var(--fs-blue);
}
.fs-btn-notify {
  font-size: 11px;
  font-weight: 600;
  color: var(--fs-muted);
  background: none;
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-sm);
  padding: 4px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.fs-btn-notify:hover {
  border-color: var(--fs-blue);
  color: var(--fs-blue);
}

@media (max-width: 640px) {
  .fs-tool-row { flex-wrap: wrap; }
  .fs-tool-right { flex-direction: row; gap: 8px; }
}


/* ── CTA banner ────────────────────────────────────────────────── */
.fs-cta-banner {
  padding: 18px 22px;
  background: var(--fs-blue-lt);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--fs-r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.fs-cta-banner-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--fs-blue);
  margin-bottom: 3px;
}
.fs-cta-banner-desc {
  font-size: 13px;
  color: var(--fs-muted);
}


/* ── Announcement bar ──────────────────────────────────────────── */
.fs-announce {
  background: var(--fs-navy);
  color: #94A3B8;
  text-align: center;
  padding: 9px 48px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}
.fs-announce a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0 4px;
}
.fs-announce a:hover { opacity: 0.85; }
.fs-announce-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #94A3B8;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-announce-close:hover { background: rgba(255,255,255,0.2); }
@media (max-width: 640px) {
  .fs-announce { padding: 9px 40px 9px 16px; font-size: 12px; }
}


/* ── Hero ──────────────────────────────────────────────────────── */
.fs-hero {
  background: var(--fs-bg);
  overflow: hidden;
  position: relative;
}
.fs-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.fs-hero-inner {
  max-width: var(--fs-max-w);
  margin: 0 auto;
  padding: 92px 32px 88px;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.fs-hero-left { min-width: 0; }
.fs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fs-blue);
  margin-bottom: 20px;
}
.fs-hero h1 {
  color: var(--fs-text);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 750;
  margin: 0 0 22px;
  max-width: 20ch;
}
.fs-hero p {
  font-size: 17.5px;
  color: var(--fs-muted);
  max-width: 560px;
  margin: 0 0 30px;
  line-height: 1.65;
}
.fs-hero-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.fs-hero .fs-btn-primary {
  font-size: 15px;
  padding: 14px 26px;
  font-weight: 700;
  border-radius: var(--fs-r-md);
}
.fs-hero .fs-btn-secondary {
  font-size: 15px;
  padding: 14px 26px;
  font-weight: 600;
  border-radius: var(--fs-r-md);
}
.fs-hero-capability {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--fs-muted);
}
.fs-hero-capability .sep {
  margin: 0 9px;
  color: var(--fs-border);
}
.fs-hero-right { min-width: 0; }

@media (max-width: 980px) {
  .fs-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px 56px; }
  .fs-hero h1 { max-width: none; }
}
@media (max-width: 480px) {
  .fs-hero-btns { flex-direction: column; align-items: stretch; }
  .fs-hero .fs-btn-primary, .fs-hero .fs-btn-secondary { justify-content: center; }
}


/* ── Hero product preview (illustrative UI mockup, not live data) ── */
.fs-preview {
  --pv-bg:       #0B1220;
  --pv-bg-body:  #0D1626;
  --pv-card:     #1C2740;
  --pv-border:   rgba(148,163,184,0.18);
  --pv-text:     #F1F5F9;
  --pv-muted:    #94A3B8;
  --pv-faint:    #7C8CA6;
  --pv-accent:   #60A5FA;
  --pv-accent-dk:#93C5FD;
  --pv-ok:       #4ADE80;
  background: var(--pv-bg);
  border: 1px solid var(--pv-border);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 20px 48px -20px rgba(0,0,0,0.6);
  overflow: hidden;
}
.fs-preview-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--fs-border);
  background: var(--fs-card);
}
.fs-preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fs-preview-brand img { height: 24px; width: auto; flex-shrink: 0; }
.fs-preview-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.fs-preview-brand-word {
  font-size: 13px;
  font-weight: 800;
  color: var(--fs-text);
  letter-spacing: -0.01em;
}
.fs-preview-brand-tag {
  font-size: 7.5px;
  font-weight: 700;
  color: var(--fs-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1px;
  white-space: nowrap;
}
.fs-preview-tabs {
  display: flex;
  gap: 14px;
}
.fs-preview-tabs span {
  font-size: 11px;
  font-weight: 600;
  color: var(--fs-muted);
}
.fs-preview-tabs span.active { color: var(--fs-blue); }
@media (max-width: 480px) {
  .fs-preview-tabs { gap: 8px; }
  .fs-preview-tabs span { font-size: 10px; }
}
@media (max-width: 360px) {
  .fs-preview-tabs span:last-child { display: none; }
}
.fs-preview-body {
  padding: 18px 18px 20px;
  background: var(--pv-bg-body);
}
.fs-preview-greet {
  margin-bottom: 14px;
}
.fs-preview-greet-sm {
  font-size: 11px;
  color: var(--pv-muted);
  margin-bottom: 2px;
}
.fs-preview-greet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fs-preview-greet-lg {
  font-size: 15px;
  font-weight: 700;
  color: var(--pv-text);
}
.fs-preview-demo-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pv-muted);
  background: var(--pv-card);
  border: 1px solid var(--pv-border);
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.fs-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.fs-preview-metric {
  background: var(--pv-card);
  border: 1px solid var(--pv-border);
  border-radius: var(--fs-r);
  padding: 10px 12px;
}
.fs-preview-metric .v {
  font-size: 18px;
  font-weight: 800;
  color: var(--pv-text);
  font-variant-numeric: tabular-nums;
}
.fs-preview-metric .l {
  font-size: 9.5px;
  color: var(--pv-muted);
  margin-top: 2px;
}
.fs-preview-calc {
  background: linear-gradient(180deg, rgba(37,99,235,0.22) 0%, var(--pv-card) 65%);
  border: 1px solid rgba(96,165,250,0.35);
  border-radius: var(--fs-r-md);
  padding: 14px 16px 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.fs-preview-calc-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pv-accent-dk);
  margin-bottom: 10px;
}
.fs-preview-calc-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--pv-ok);
}
.fs-preview-calc-live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pv-ok);
  animation: fsPulseDot 1.8s ease-in-out infinite;
}
@keyframes fsPulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 3px rgba(74,222,128,0); }
}
.fs-preview-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 12px;
}
.fs-preview-calc-row span:first-child { color: var(--pv-muted); }
.fs-preview-calc-row span:last-child { color: var(--pv-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.fs-preview-calc-row.primary {
  padding: 2px 0 10px;
  margin-bottom: 6px;
  border-bottom: 1px dashed rgba(96,165,250,0.35);
}
.fs-preview-calc-row.primary span:first-child { font-size: 12px; font-weight: 600; color: var(--pv-accent-dk); }
.fs-preview-calc-row.primary span:last-child { font-size: 19px; font-weight: 800; color: var(--pv-text); letter-spacing: -0.01em; }
.fs-preview-calc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: var(--fs-blue);
  text-decoration: none;
  margin-top: 12px;
  padding: 12px 0;
  border-radius: var(--fs-r-sm);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  transition: background 0.15s, transform 0.15s;
  animation: fsCalcPulse 2.2s ease-out infinite;
}
.fs-preview-calc-link:hover {
  background: var(--fs-blue-dk);
  transform: translateY(-1px);
  animation-play-state: paused;
}
@keyframes fsCalcPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .fs-preview-calc-link { animation: none; }
}
.fs-preview-sec-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pv-faint);
  margin: 12px 0 8px;
}
.fs-preview-recent {
  background: var(--pv-card);
  border: 1px solid var(--pv-border);
  border-radius: var(--fs-r);
  overflow: hidden;
}
.fs-preview-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--pv-border);
  font-size: 11.5px;
}
.fs-preview-row:last-child { border-bottom: none; }
.fs-preview-row .c { font-weight: 700; color: var(--pv-text); flex-shrink: 0; }
.fs-preview-row .t { color: var(--pv-muted); flex: 1; }
.fs-preview-row .a { color: var(--pv-accent); font-weight: 600; white-space: nowrap; }
.fs-preview-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.fs-preview-tool {
  background: var(--pv-card);
  border: 1px solid var(--pv-border);
  border-radius: var(--fs-r);
  padding: 10px 8px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--pv-text);
  line-height: 1.4;
}
.fs-preview-tool i {
  display: block;
  font-size: 14px;
  color: var(--pv-accent);
  margin-bottom: 6px;
}
@media (max-width: 640px) {
  .fs-preview-tool-grid { grid-template-columns: 1fr 1fr 1fr; }
  .fs-preview-tool { font-size: 9.5px; padding: 8px 6px; }
}


/* ── "Everything you need" workflow section ─────────────────────── */
.fs-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fs-flow-card {
  padding: 4px 0;
}
.fs-flow-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--fs-r);
  background: var(--fs-blue-lt);
  color: var(--fs-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 14px;
}
.fs-flow-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fs-text);
  margin-bottom: 5px;
}
.fs-flow-card p {
  font-size: 13px;
  color: var(--fs-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .fs-flow-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .fs-flow-grid { grid-template-columns: 1fr; }
}


/* ── Trust strip ───────────────────────────────────────────────── */
.fs-trust {
  background: var(--fs-navy);
  border-top: 1px solid rgba(148,163,184,0.1);
  padding: 18px 32px;
}
.fs-trust-inner {
  max-width: var(--fs-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.fs-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #94A3B8;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.fs-trust-item i { color: var(--fs-blue); font-size: 16px; }
.fs-trust-sep {
  width: 1px;
  height: 18px;
  background: rgba(148,163,184,0.15);
}
@media (max-width: 640px) {
  .fs-trust { padding: 16px 20px; }
  .fs-trust-inner { gap: 16px; justify-content: flex-start; }
  .fs-trust-sep { display: none; }
}


/* ── Quick-link strip ──────────────────────────────────────────── */
.fs-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.fs-quicklink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--fs-r-md);
  border: 1.5px solid var(--fs-border);
  background: var(--fs-card);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fs-quicklink:hover {
  border-color: var(--fs-blue);
  box-shadow: var(--fs-shadow-sm);
  text-decoration: none;
}
.fs-quicklink-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--fs-blue-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--fs-blue-dk);
  font-size: 15px;
}
.fs-quicklink-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--fs-text);
}
.fs-quicklink-sub {
  font-size: 11px;
  color: var(--fs-muted);
}
@media (max-width: 768px) {
  .fs-quicklinks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .fs-quicklinks { grid-template-columns: 1fr; }
}


/* ── Product showcase (2-col feature cards) ────────────────────── */
.fs-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fs-showcase-card {
  display: block;
  text-decoration: none;
  border: 1.5px solid var(--fs-border);
  border-radius: var(--fs-r-xl);
  padding: 28px;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.fs-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fs-shadow-md);
  text-decoration: none;
}
.fs-showcase-card .fs-eyebrow { margin-bottom: 6px; }
.fs-showcase-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--fs-text);
  margin-bottom: 8px;
}
.fs-showcase-card p {
  font-size: 13px;
  color: var(--fs-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.fs-showcase-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--fs-r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.fs-showcase-checks {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #374151;
}
.fs-showcase-checks span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fs-showcase-checks i { font-size: 11px; width: 14px; }
.fs-showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}
.fs-showcase-card--blue {
  background: var(--fs-blue-lt);
  border-color: var(--fs-blue-mid);
}
.fs-showcase-card--amber {
  background: #FFFDF5;
  border-color: rgba(180,131,9,0.2);
}
@media (max-width: 600px) {
  .fs-showcase { grid-template-columns: 1fr; }
  .fs-blog-grid { grid-template-columns: 1fr; }
  .fs-blog-hero { padding: 36px 16px 28px; }
}


/* ── Blog cards ────────────────────────────────────────────────── */
.fs-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--fs-card);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-xl);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fs-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fs-shadow-md);
  text-decoration: none;
}
.fs-blog-card.fs-blog-soon {
  background: var(--fs-bg);
  border-style: dashed;
  border-color: var(--fs-border);
}
.fs-blog-card.fs-blog-soon h3 { color: var(--fs-muted); }
.fs-blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.fs-blog-tag-indas { background: var(--fs-blue-lt); color: var(--fs-blue); }
.fs-blog-tag-gst { background: #ECFDF5; color: #059669; }
.fs-blog-tag-tax { background: #FFF7ED; color: #D97706; }
.fs-blog-card-badge { padding: 22px 24px 0; }
.fs-blog-card-body {
  padding: 16px 24px 20px;
  flex: 1;
}
.fs-blog-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--fs-text);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.fs-blog-card p {
  font-size: 13px;
  color: var(--fs-muted);
  line-height: 1.6;
}
.fs-blog-card-meta {
  padding: 0 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fs-blog-meta { font-size: 12px; color: var(--fs-faint); }
.fs-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fs-blue);
  text-decoration: none;
  transition: gap 0.15s;
}
.fs-blog-link:hover { gap: 8px; }
.fs-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.fs-blog-hero {
  max-width: var(--fs-max);
  margin: 0 auto;
  padding: 52px 32px 40px;
}
.fs-blog-hero-label {
  display: inline-block;
  background: var(--fs-blue-lt);
  color: var(--fs-blue);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.fs-blog-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--fs-text);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.fs-blog-hero h1 span {
  background: linear-gradient(135deg, var(--fs-blue), #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fs-blog-hero p {
  font-size: 16px;
  color: var(--fs-muted);
  max-width: 560px;
  line-height: 1.65;
}


/* ── Template list (stacked rows) ─────────────────────────────── */
.fs-tmpl-list { display: flex; flex-direction: column; }
.fs-tmpl-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  border: 1px solid var(--fs-border);
  border-bottom: none;
  background: var(--fs-card);
  transition: background 0.15s, box-shadow 0.15s;
}
.fs-tmpl-row:first-child { border-radius: var(--fs-r) var(--fs-r) 0 0; }
.fs-tmpl-row:last-child { border-bottom: 1px solid var(--fs-border); border-radius: 0 0 var(--fs-r) var(--fs-r); }
.fs-tmpl-row:only-child { border-radius: var(--fs-r); border-bottom: 1px solid var(--fs-border); }
.fs-tmpl-row:hover { background: var(--fs-blue-lt); box-shadow: inset 3px 0 0 var(--fs-blue); }
.fs-tmpl-row.soon { opacity: 0.65; }
.fs-tmpl-row.soon:hover { background: var(--fs-card); box-shadow: none; cursor: default; }
.fs-tmpl-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: var(--fs-r-sm); background: var(--fs-blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--fs-blue);
}
.fs-tmpl-body { flex: 1; min-width: 0; }
.fs-tmpl-title { font-size: 14px; font-weight: 600; color: var(--fs-text); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-tmpl-desc { font-size: 12px; color: var(--fs-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-tmpl-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.fs-tmpl-price { font-size: 13px; font-weight: 600; color: var(--fs-text); min-width: 36px; text-align: right; }
.fs-pill { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 12px; }
.fs-pill-excel { background: #ECFDF5; color: #065F46; }
.fs-pill-ppt { background: #EDE9FE; color: #5B21B6; }
.fs-pill-pdf { background: #FEF3C7; color: #92400E; }
.fs-btn-dl {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: var(--fs-r-sm);
  font-size: 12px; font-weight: 700; cursor: pointer; border: none;
  background: var(--fs-blue); color: #fff;
  white-space: nowrap; transition: all 0.15s; font-family: inherit;
}
.fs-btn-dl:hover { filter: brightness(0.92); transform: translateY(-1px); }
.fs-btn-dl-soon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: var(--fs-r-sm);
  font-size: 12px; font-weight: 600; cursor: pointer;
  background: var(--fs-bg); color: var(--fs-muted);
  border: 1.5px solid var(--fs-border); white-space: nowrap; transition: all 0.15s; font-family: inherit;
}
.fs-btn-dl-soon:hover { border-color: var(--fs-blue); color: var(--fs-blue); }
.fs-what-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.fs-what-item {
  background: var(--fs-card); border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-sm); padding: 20px;
}
.fs-what-item i { font-size: 20px; color: var(--fs-blue); margin-bottom: 12px; display: block; }
.fs-what-item h4 { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.fs-what-item p { font-size: 12px; color: var(--fs-muted); line-height: 1.6; }
.fs-trust-bar {
  background: var(--fs-blue-lt); border: 1px solid var(--fs-border);
  border-radius: var(--fs-r); padding: 20px 28px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 48px;
}
.fs-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--fs-muted); }
.fs-trust-item i { color: var(--fs-blue); }
@media (max-width: 600px) {
  .fs-tmpl-row { padding: 12px 14px; gap: 8px 10px; flex-wrap: wrap; }
  .fs-tmpl-desc { display: none; }
  .fs-tmpl-price { display: none; }
  .fs-tmpl-right { flex-basis: 100%; justify-content: flex-end; }
  .fs-what-grid { grid-template-columns: 1fr; }
  .fs-trust-bar { gap: 16px; }
}
@media (max-width: 900px) {
  .fs-what-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Category cards ────────────────────────────────────────────── */
.fs-cat-card {
  background: var(--fs-card);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-lg);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.fs-cat-card:hover {
  border-color: var(--fs-blue-mid);
  box-shadow: var(--fs-shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.fs-cat-card.featured {
  border-color: var(--fs-blue-mid);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.06);
}
.fs-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.fs-cat-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--fs-text);
  margin-bottom: 6px;
}
.fs-cat-card p {
  font-size: 13px;
  color: var(--fs-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.fs-cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fs-cat-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--fs-blue);
}
.fs-cat-arr {
  font-size: 12px;
  font-weight: 700;
  color: var(--fs-blue);
}
.fs-hot-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  background: var(--fs-blue);
  color: #fff;
  padding: 3px 9px;
  border-radius: 20px;
}

/* ── Proof section — "The Workbook" (real calculated output styled as an
   actual Excel window, not a mockup) ──────────────────────────────── */
.fs-xl-proof-wrap { position: relative; }
.fs-xl-scroll { overflow-x: auto; }
.fs-xl-scroll-fade {
  display: none;
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 28px;
  background: linear-gradient(to right, rgba(15,23,42,0), rgba(15,23,42,0.14));
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.fs-xl-scroll-fade.is-hidden { opacity: 0; }
.fs-xl-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fs-muted);
  margin-top: 10px;
  transition: opacity 0.2s ease;
}
.fs-xl-scroll-hint.is-hidden { opacity: 0; }
.fs-xl-scroll-hint i { color: var(--fs-blue); font-size: 11px; }
@media (max-width: 680px) {
  .fs-xl-scroll-fade { display: block; }
  .fs-xl-scroll-hint { display: flex; }
}
.fs-xl-window {
  min-width: 600px;
  background: #FFFFFF;
  border-radius: var(--fs-r-lg);
  overflow: hidden;
  box-shadow: var(--fs-shadow-md);
  font-family: 'Inter', sans-serif;
  color: #1F2430;
}
.fs-xl-titlebar {
  background: #0F5C31;
  color: #E8F3EC;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
}
.fs-xl-dots { display: flex; gap: 6px; margin-right: 4px; flex-shrink: 0; }
.fs-xl-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(232,243,236,0.35); display: block; }
.fs-xl-titlebar .fs-xl-fname { opacity: 0.92; white-space: nowrap; }
.fs-xl-titlebar .fs-xl-fname b { font-weight: 700; }
.fs-xl-ribbon {
  background: #17824A;
  padding: 8px 16px;
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: #E8F3EC;
  font-weight: 500;
}
.fs-xl-ribbon span { opacity: 0.85; padding-bottom: 6px; }
.fs-xl-ribbon span.on { opacity: 1; border-bottom: 2px solid #E8F3EC; }
.fs-xl-formulabar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: #F7F8F9;
  border-bottom: 1px solid #E1E4E8;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}
.fs-xl-cellref {
  background: #fff;
  border: 1px solid #D0D7DE;
  border-radius: 3px;
  padding: 2px 8px;
  color: #17824A;
  font-weight: 600;
  min-width: 44px;
  text-align: center;
  flex-shrink: 0;
}
.fs-xl-fx { color: #9AA4AF; flex-shrink: 0; }
.fs-xl-formula { color: #1F2430; white-space: nowrap; }
.fs-xl-grid { width: 100%; border-collapse: collapse; }
.fs-xl-grid th {
  background: #F3F4F6;
  border: 1px solid #E1E4E8;
  color: #6B7280;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 0;
  width: 34px;
}
.fs-xl-grid th.fs-xl-colhead { width: auto; padding: 4px 12px; text-align: left; }
.fs-xl-grid td {
  border: 1px solid #E9EBEE;
  padding: 8px 14px;
  font-size: 12.5px;
  white-space: nowrap;
}
.fs-xl-grid td.fs-xl-rownum {
  background: #F3F4F6;
  color: #6B7280;
  font-size: 10.5px;
  text-align: center;
  width: 34px;
  padding: 8px 0;
  font-family: 'IBM Plex Mono', monospace;
}
.fs-xl-grid td.fs-xl-lbl { color: #4B5563; }
.fs-xl-grid td.fs-xl-val {
  font-family: 'IBM Plex Mono', monospace;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #1F2430;
}
.fs-xl-grid td.fs-xl-val.fs-xl-strong { font-weight: 600; }
.fs-xl-grid tr.fs-xl-section td {
  background: #EAF6EF;
  color: #0F5C31;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.fs-xl-grid td.fs-xl-active {
  outline: 2px solid #1A73E8;
  outline-offset: -2px;
  background: #F0F6FF;
}
.fs-xl-grid td.fs-xl-note { color: #4B5563; font-size: 12px; line-height: 1.6; white-space: normal; }
.fs-xl-tabs {
  display: flex;
  gap: 2px;
  background: #E1E4E8;
  padding: 6px 12px 0;
  overflow-x: auto;
}
.fs-xl-tabs span {
  padding: 8px 16px;
  font-size: 11.5px;
  font-weight: 500;
  background: #F3F4F6;
  color: #6B7280;
  border-radius: 6px 6px 0 0;
  white-space: nowrap;
}
.fs-xl-tabs span.active {
  background: #FFFFFF;
  color: #0F5C31;
  font-weight: 700;
  border-top: 2px solid #17824A;
}


/* ── Contact section ───────────────────────────────────────────── */
.fs-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.fs-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.fs-contact-icon {
  width: 40px;
  height: 40px;
  background: var(--fs-blue-lt);
  border-radius: var(--fs-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fs-blue);
  font-size: 16px;
  flex-shrink: 0;
}
.fs-contact-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--fs-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.fs-contact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--fs-text);
}
.fs-contact-value a { color: var(--fs-blue); }
.fs-contact-form-card {
  background: var(--fs-card);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-xl);
  padding: 32px;
  box-shadow: var(--fs-shadow-md);
}
@media (max-width: 768px) {
  .fs-contact-grid { grid-template-columns: 1fr; }
}


/* ── Feature comparison table ──────────────────────────────────── */
.fs-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.fs-compare-table th {
  text-align: center;
  padding: 10px 14px;
  color: var(--fs-muted);
  font-weight: 600;
  font-size: 12px;
  border-bottom: 2px solid var(--fs-border);
}
.fs-compare-table th:first-child { text-align: left; width: 44%; }
.fs-compare-table th.highlight {
  background: var(--fs-blue-lt);
  border-bottom: 2px solid var(--fs-blue);
  border-radius: 8px 8px 0 0;
  color: var(--fs-blue-dk);
  font-weight: 800;
}
.fs-compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #F1F5F9;
  text-align: center;
  font-weight: 500;
  color: #374151;
}
.fs-compare-table td:first-child { text-align: left; }
.fs-compare-table td.highlight {
  background: var(--fs-blue-lt);
  border-bottom: 1px solid var(--fs-blue-mid);
}
.fs-compare-table tr:nth-child(odd) td:not(.highlight) { background: #F9FAFB; }
.fs-compare-table .check { color: var(--fs-ok); font-weight: 700; }
.fs-compare-table .dash  { color: var(--fs-muted); }


/* ── Billing toggle ────────────────────────────────────────────── */
.fs-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.fs-toggle-btn {
  width: 48px;
  height: 26px;
  border-radius: 13px;
  border: none;
  background: var(--fs-blue);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.fs-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
  display: block;
}
.fs-toggle-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fs-muted);
}
.fs-toggle-label.active {
  font-weight: 700;
  color: var(--fs-text);
}
.fs-save-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--fs-ok-lt);
  color: #065F46;
  padding: 2px 8px;
  border-radius: 20px;
}


/* ── Pro pricing card (dark variant) ───────────────────────────── */
.fs-price-card.pro-dark {
  background: var(--fs-navy);
  border-color: var(--fs-blue);
  color: #E0E7FF;
}
.fs-price-card.pro-dark .fs-price-name { color: #A5B4FC; }
.fs-price-card.pro-dark .fs-price-amount { color: #fff; }
.fs-price-card.pro-dark .fs-price-amount small { color: #A5B4FC; }
.fs-price-card.pro-dark .fs-price-features { color: #E0E7FF; }
.fs-price-card.pro-dark .fs-price-features li::before { color: #4ADE80; }


/* ── ROI callout ───────────────────────────────────────────────── */
.fs-roi-callout {
  background: var(--fs-warn-lt);
  border: 1px solid #FDE68A;
  border-radius: var(--fs-r-lg);
  padding: 14px 20px;
  text-align: center;
  font-size: 13px;
  color: #92400E;
}


/* ── Why-us box ────────────────────────────────────────────────── */
.fs-why-box {
  margin-top: 24px;
  padding: 18px;
  background: var(--fs-blue-lt);
  border: 1px solid var(--fs-blue-mid);
  border-radius: var(--fs-r-lg);
  font-size: 13px;
  color: var(--fs-muted);
  line-height: 1.7;
}
.fs-why-box strong { color: var(--fs-blue); }


/* ── Navbar (injected by nav.js) ────────────────────────────────── */
/* Reserves the nav's height on the #fs-nav placeholder before nav.js
   replaces it — otherwise the placeholder is 0px tall for the brief
   window between first paint and nav.js executing, everything below it
   sits higher than its final position, and a tap aimed at the (not yet
   rendered) hamburger button lands on whatever's there instead — the
   classic cause of "first tap misses, has to be tapped again" on mobile. */
#fs-nav {
  min-height: var(--fs-nav-h);
}
.fs-nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--fs-border-lt);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--fs-nav-h);
}
.fs-nav-inner {
  max-width: var(--fs-max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.fs-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.fs-nav-logo img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}
.fs-nav-logo-word {
  font-size: 18px;
  font-weight: 800;
  color: var(--fs-text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.fs-nav-logo-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--fs-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .fs-nav-logo-tag { font-size: 8.5px; letter-spacing: 0.02em; }
}
.fs-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.fs-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fs-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--fs-r-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.fs-nav-links a:hover,
.fs-nav-links a.active {
  color: var(--fs-text);
  background: var(--fs-blue-lt);
  text-decoration: none;
}
.fs-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.fs-nav-actions .fs-btn-ghost {
  font-size: 14px;
  color: var(--fs-muted);
}
.fs-nav-actions .fs-btn-ghost:hover {
  color: var(--fs-text);
}
.fs-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--fs-text);
  cursor: pointer;
  /* 12px padding around the 20px icon gives a 44x44px hit target — the
     Apple/Material minimum for reliable single-tap accuracy. At the
     previous 8px (36x36px) a real thumb next to the "Get started" button
     missed often enough to need 2-3 taps. */
  padding: 12px;
  line-height: 1;
  touch-action: manipulation;
}

/* Nav dropdown (tools mega-menu) */
.fs-nav-dropdown {
  display: none;
  position: absolute;
  top: var(--fs-nav-h);
  left: 50%;
  transform: translateX(-50%);
  background: var(--fs-card);
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-r-lg);
  box-shadow: var(--fs-shadow-md);
  padding: 24px 28px;
  min-width: 520px;
  z-index: 1001;
}
.fs-nav-dd-trigger:hover .fs-nav-dropdown,
.fs-nav-dd-trigger:focus-within .fs-nav-dropdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fs-nav-dd-col h6 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fs-blue);
  margin-bottom: 10px;
}
.fs-nav-dd-col a {
  display: block;
  font-size: 13.5px;
  color: #334155;
  padding: 5px 0;
  text-decoration: none;
  line-height: 1.7;
}
.fs-nav-dd-col a:hover {
  color: var(--fs-blue);
  text-decoration: none;
}

/* Nav dropdown (simple single-column, e.g. Resources) */
.fs-nav-dropdown-simple {
  min-width: 200px;
  padding: 10px;
  left: 0;
  transform: none;
}
.fs-nav-dd-trigger:hover .fs-nav-dropdown-simple,
.fs-nav-dd-trigger:focus-within .fs-nav-dropdown-simple {
  display: block;
}
.fs-nav-dropdown-simple a {
  display: block;
  font-size: 13.5px;
  color: #334155;
  padding: 8px 10px;
  border-radius: var(--fs-r-sm);
  text-decoration: none;
  line-height: 1.5;
}
.fs-nav-dropdown-simple a:hover,
.fs-nav-dropdown-simple a.active {
  color: var(--fs-blue);
  background: var(--fs-blue-lt);
  text-decoration: none;
}

/* Mobile nav */
#navAuthMobile { display: none; }
.fs-nav-links.open #navAuthMobile { display: block; }
@media (max-width: 900px) {
  .fs-nav-inner { padding: 0 20px; }
  .fs-nav-links { display: none; }
  .fs-nav-actions .fs-btn-ghost,
  .fs-nav-actions .fs-nav-login-btn,
  .fs-nav-actions .fs-nav-user-wrap { display: none; }
  .fs-nav-toggle { display: block; }

  .fs-nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--fs-nav-h);
    left: 0;
    right: 0;
    background: var(--fs-card);
    border-bottom: 1px solid var(--fs-border);
    padding: 12px 20px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
  }
  .fs-nav-links.open a {
    padding: 10px 12px;
    font-size: 15px;
  }

  .fs-nav-dropdown {
    position: static;
    transform: none;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 0 0 0 12px;
  }
  .fs-nav-dd-trigger:hover .fs-nav-dropdown,
  .fs-nav-dd-trigger:focus-within .fs-nav-dropdown {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .fs-nav-inner { padding: 0 16px; }
}


/* ── Footer (injected by footer.js) ─────────────────────────────── */
.fs-footer {
  background: var(--fs-navy);
  padding: 48px 32px 28px;
  color: #94A3B8;
}
.fs-footer-inner {
  max-width: var(--fs-max-w);
  margin: 0 auto;
}
.fs-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 24px;
}
.fs-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.fs-footer-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: #F6F3EA;
  border-radius: 7px;
}
.fs-footer-brand-icon img {
  width: 20px;
  height: 20px;
  display: block;
}
.fs-footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  line-height: 1.15;
}
.fs-footer-brand-tag {
  font-size: 9px;
  font-weight: 700;
  color: #8B93A1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.fs-footer-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 220px;
  margin-bottom: 16px;
}
.fs-footer-social {
  display: flex;
  gap: 8px;
}
.fs-footer-social a {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s;
}
.fs-footer-social a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.fs-footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.fs-footer-col a {
  display: block;
  font-size: 13px;
  color: #94A3B8;
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.15s;
}
.fs-footer-col a:hover { color: #fff; }
.fs-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #64748B;
}
.fs-footer-bottom a {
  color: #64748B;
  text-decoration: none;
}
.fs-footer-bottom a:hover { color: #94A3B8; }

@media (max-width: 768px) {
  .fs-footer { padding: 36px 20px 24px; }
  .fs-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .fs-footer-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 480px) {
  .fs-footer-grid {
    grid-template-columns: 1fr;
  }
  .fs-footer-grid > div:first-child { grid-column: span 1; }
}
