:root {
  --tsg-ink: #16202c;
  --tsg-ink-alt: #1e2d3e;
  --tsg-paper: #f9f6f1;
  --tsg-linen: #edebe5;
  --tsg-white: #ffffff;
  --tsg-teal: #16697a;
  --tsg-teal-hover: #0f5363;
  --tsg-teal-light: #4da8bc;
  --tsg-text-primary: #16202c;
  --tsg-text-muted-light: #4a5563;
  --tsg-text-primary-dark: #f0ede7;
  --tsg-text-muted-dark: #9dafc0;
  --tsg-amber: #d97706;
  --tsg-green: #15803d;
  --tsg-red: #b91c1c;
  --tsg-orange: #c2410c;
  --tsg-radius-card: 4px;
  --tsg-radius-btn: 6px;
  --tsg-radius-input: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tsg-text-primary);
  background: var(--tsg-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--tsg-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  color: var(--tsg-text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; }

.tsg-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.tsg-container--narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.tsg-section {
  padding: 88px 0;
}

.tsg-section--sm {
  padding: 56px 0;
}


.tsg-bg--dark { background-color: var(--tsg-ink); }
.tsg-bg--dark-alt { background-color: var(--tsg-ink-alt); }
.tsg-bg--paper { background-color: var(--tsg-paper); }
.tsg-bg--linen { background-color: var(--tsg-linen); }
.tsg-bg--white { background-color: var(--tsg-white); }


.tsg-label {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tsg-teal);
  margin-bottom: 12px;
}

.tsg-bg--dark .tsg-label,
.tsg-bg--dark-alt .tsg-label {
  color: var(--tsg-teal-light);
}


.tsg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--tsg-radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.tsg-btn:hover { text-decoration: none; transform: translateY(-1px); }
.tsg-btn:active { transform: translateY(0); }

.tsg-btn--primary {
  background-color: var(--tsg-teal);
  color: var(--tsg-white);
  border-color: var(--tsg-teal);
}
.tsg-btn--primary:hover {
  background-color: var(--tsg-teal-hover);
  border-color: var(--tsg-teal-hover);
  color: var(--tsg-white);
}

.tsg-btn--outline-dark {
  background: transparent;
  color: var(--tsg-teal);
  border-color: var(--tsg-teal);
}
.tsg-btn--outline-dark:hover {
  background: var(--tsg-teal);
  color: var(--tsg-white);
}

.tsg-btn--outline-light {
  background: transparent;
  color: var(--tsg-white);
  border-color: var(--tsg-white);
}
.tsg-btn--outline-light:hover {
  background: var(--tsg-white);
  color: var(--tsg-ink);
}

.tsg-btn--ghost-dark {
  background: transparent;
  color: var(--tsg-text-primary-dark);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.tsg-btn--ghost-dark:hover {
  color: var(--tsg-white);
}

.tsg-btn--sm {
  font-size: 0.8rem;
  padding: 8px 16px;
}

.tsg-btn--lg {
  font-size: 1rem;
  padding: 16px 32px;
}


.tsg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 56px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.tsg-page--dark-top .tsg-nav {
  background: transparent;
}

.tsg-page--dark-top .tsg-nav--scrolled {
  background: var(--tsg-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.tsg-page--light-top .tsg-nav {
  background: var(--tsg-white);
  border-bottom: 1px solid var(--tsg-linen);
  position: sticky;
  top: 0;
}

.tsg-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 0;
}

.tsg-nav__logo {
  flex-shrink: 0;
  margin-right: auto;
  display: flex;
  align-items: center;
}

.tsg-nav__logo img {
  height: 28px;
  width: auto;
}

.tsg-logo--dark { display: block; }
.tsg-logo--light { display: none; }

.tsg-page--dark-top .tsg-logo--dark { display: none; }
.tsg-page--dark-top .tsg-logo--light { display: block; }

.tsg-page--dark-top .tsg-nav--scrolled .tsg-logo--dark { display: none !important; }
.tsg-page--dark-top .tsg-nav--scrolled .tsg-logo--light { display: block !important; }

.tsg-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0 32px 0 0;
}

.tsg-nav__links a {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.tsg-page--dark-top .tsg-nav__links a {
  color: var(--tsg-text-primary-dark);
}
.tsg-page--dark-top .tsg-nav__links a:hover {
  color: var(--tsg-teal-light);
}

.tsg-page--light-top .tsg-nav__links a {
  color: var(--tsg-text-primary);
}
.tsg-page--light-top .tsg-nav__links a:hover {
  color: var(--tsg-teal);
}

.tsg-nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tsg-nav__cta .tsg-btn--sign-in {
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--tsg-radius-btn);
  transition: color 0.15s;
  text-decoration: none;
  display: inline-block;
}

.tsg-page--dark-top .tsg-nav__cta .tsg-btn--sign-in {
  color: var(--tsg-text-primary-dark);
}
.tsg-page--dark-top .tsg-nav__cta .tsg-btn--sign-in:hover {
  color: var(--tsg-teal-light);
}

.tsg-page--light-top .tsg-nav__cta .tsg-btn--sign-in {
  color: var(--tsg-text-primary);
}
.tsg-page--light-top .tsg-nav__cta .tsg-btn--sign-in:hover {
  color: var(--tsg-teal);
}

.tsg-page--dark-top .tsg-nav__cta .tsg-btn--nav-cta {
  background: var(--tsg-teal);
  color: var(--tsg-white);
  border-color: var(--tsg-teal);
}
.tsg-page--dark-top .tsg-nav__cta .tsg-btn--nav-cta:hover {
  background: var(--tsg-teal-hover);
  border-color: var(--tsg-teal-hover);
}

.tsg-page--light-top .tsg-nav__cta .tsg-btn--nav-cta {
  background: var(--tsg-teal);
  color: var(--tsg-white);
  border-color: var(--tsg-teal);
}
.tsg-page--light-top .tsg-nav__cta .tsg-btn--nav-cta:hover {
  background: var(--tsg-teal-hover);
  border-color: var(--tsg-teal-hover);
}

.tsg-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
}

.tsg-nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  transition: background 0.2s, transform 0.25s, opacity 0.2s;
}

.tsg-page--dark-top .tsg-nav__hamburger span { background: var(--tsg-text-primary-dark); }
.tsg-page--light-top .tsg-nav__hamburger span { background: var(--tsg-text-primary); }

.tsg-nav__mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--tsg-white);
  border-bottom: 2px solid var(--tsg-linen);
  padding: 16px 24px 24px;
  z-index: 999;
}

.tsg-nav__mobile-menu.is-open { display: block; }

.tsg-nav__mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.tsg-nav__mobile-menu ul li {
  border-bottom: 1px solid var(--tsg-linen);
}

.tsg-nav__mobile-menu ul li a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tsg-text-primary);
  text-decoration: none;
}

.tsg-nav__mobile-menu ul li a:hover { color: var(--tsg-teal); }

.tsg-nav__mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.tsg-nav__mobile-cta a {
  text-align: center;
}


.tsg-footer {
  background: var(--tsg-ink);
  color: var(--tsg-text-primary-dark);
  padding: 64px 0 0;
}

.tsg-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.tsg-footer__brand p {
  color: var(--tsg-text-muted-dark);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 280px;
}

.tsg-footer__logo {
  height: 28px;
  width: auto;
}

.tsg-footer__col h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tsg-text-muted-dark);
  margin-bottom: 16px;
}

.tsg-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tsg-footer__col ul li a {
  font-size: 0.875rem;
  color: var(--tsg-text-primary-dark);
  text-decoration: none;
  transition: color 0.15s;
}

.tsg-footer__col ul li a:hover { color: var(--tsg-teal-light); }

.tsg-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tsg-footer__copyright {
  font-size: 0.8rem;
  color: var(--tsg-text-muted-dark);
}

.tsg-footer__legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tsg-footer__legal-links li a {
  font-size: 0.8rem;
  color: var(--tsg-text-muted-dark);
  text-decoration: none;
  transition: color 0.15s;
}

.tsg-footer__legal-links li a:hover { color: var(--tsg-teal-light); }


.tsg-hero {
  min-height: 540px;
  display: flex;
  align-items: center;
}

.tsg-hero--home {
  min-height: 100vh;
  background-color: var(--tsg-ink);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(22,105,122,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30,45,62,0.8) 0%, transparent 50%);
  padding-top: 56px;
}

.tsg-hero--home .tsg-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.tsg-hero--home h1 {
  color: var(--tsg-text-primary-dark);
  margin-bottom: 20px;
}

.tsg-hero--home .tsg-hero__sub {
  font-size: 1.1rem;
  color: var(--tsg-text-muted-dark);
  margin-bottom: 36px;
  max-width: 480px;
}

.tsg-hero__cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tsg-hero--centered {
  background-color: var(--tsg-paper);
  padding: 80px 0 56px;
  min-height: auto;
  text-align: center;
}

.tsg-hero--centered .tsg-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tsg-hero--centered h1 {
  max-width: 720px;
  margin-bottom: 20px;
}

.tsg-hero--centered .tsg-hero__sub {
  font-size: 1.1rem;
  color: var(--tsg-text-muted-light);
  max-width: 560px;
  margin-bottom: 0;
}


.tsg-sync-table-wrap {
  background: rgba(30,45,62,0.8);
  border: 1px solid rgba(77,168,188,0.25);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.tsg-sync-table-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(22,105,122,0.2);
  border-bottom: 1px solid rgba(77,168,188,0.15);
}

.tsg-sync-table-header span {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 0.75rem;
  color: var(--tsg-text-muted-dark);
}

.tsg-sync-table-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot--red { background: #ef4444; }
.dot--yellow { background: #f59e0b; }
.dot--green { background: #22c55e; }

.tsg-sync-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Plus Jakarta Sans', system-ui, monospace;
  font-size: 0.8rem;
}

.tsg-sync-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tsg-text-muted-dark);
  background: rgba(22,32,44,0.6);
  border-bottom: 1px solid rgba(77,168,188,0.12);
}

.tsg-sync-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tsg-sync-table tbody tr:last-child { border-bottom: none; }

.tsg-sync-table tbody td {
  padding: 10px 14px;
  color: var(--tsg-text-primary-dark);
}

.tsg-sync-table .key-cell {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 0.75rem;
  color: var(--tsg-teal-light);
}

.tsg-sync-table .en-cell { color: var(--tsg-text-muted-dark); }

.tsg-sync-table .de-cell { color: var(--tsg-text-primary-dark); }

.tsg-sync-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

.tsg-sync-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.tsg-sync-status--synced { color: #4ade80; }
.tsg-sync-status--synced .status-dot { background: #4ade80; }

.tsg-sync-status--pending { color: #fbbf24; }
.tsg-sync-status--pending .status-dot { background: #fbbf24; }

.tsg-sync-status--changed { color: #fb923c; }
.tsg-sync-status--changed .status-dot { background: #fb923c; }


.tsg-pipeline-wrap {
  margin: 48px auto 0;
  max-width: 860px;
}

.tsg-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  padding: 8px 0;
}

.tsg-pipeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  text-align: center;
}

.tsg-pipeline__step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tsg-teal);
  color: var(--tsg-white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.tsg-pipeline__step-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tsg-text-primary);
  line-height: 1.3;
  max-width: 90px;
}

.tsg-pipeline__arrow {
  display: flex;
  align-items: center;
  color: var(--tsg-teal);
  padding: 0 4px;
  margin-top: -20px;
  font-size: 1.2rem;
  flex-shrink: 0;
}


.tsg-comparison-wrap {
  overflow-x: auto;
}

.tsg-comparison-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border-radius: var(--tsg-radius-card);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(22,32,44,0.08);
}

.tsg-comparison-table thead th {
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  background: var(--tsg-linen);
  color: var(--tsg-text-primary);
  border-bottom: 2px solid var(--tsg-linen);
}

.tsg-comparison-table thead th:first-child {
  background: var(--tsg-linen);
}

.tsg-comparison-table thead th.tsg-col--highlight {
  background: var(--tsg-teal);
  color: var(--tsg-white);
}

.tsg-comparison-table tbody tr:nth-child(even) { background: var(--tsg-paper); }
.tsg-comparison-table tbody tr:nth-child(odd) { background: var(--tsg-white); }

.tsg-comparison-table tbody td {
  padding: 12px 20px;
  font-size: 0.875rem;
  color: var(--tsg-text-primary);
  border-bottom: 1px solid var(--tsg-linen);
}

.tsg-comparison-table tbody td.row-label {
  font-weight: 600;
  color: var(--tsg-text-primary);
}

.tsg-cell--yes { color: var(--tsg-green); font-weight: 700; }
.tsg-cell--no { color: var(--tsg-red); font-weight: 700; }
.tsg-cell--partial { color: var(--tsg-amber); font-weight: 700; }
.tsg-cell--highlight { background: rgba(22,105,122,0.04) !important; }


.tsg-workflow-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.tsg-workflow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.tsg-workflow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  padding: 20px 16px;
  min-width: 140px;
  text-align: center;
  position: relative;
}

.tsg-workflow__step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tsg-teal);
  color: var(--tsg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.tsg-workflow__step-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tsg-text-primary);
  margin-bottom: 4px;
}

.tsg-workflow__step-sub {
  font-size: 0.73rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.4;
}

.tsg-workflow__arrow {
  display: flex;
  align-items: center;
  color: var(--tsg-teal);
  padding: 0 2px;
  font-size: 1.1rem;
  flex-shrink: 0;
  align-self: center;
}


.tsg-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.tsg-feature-card {
  background: var(--tsg-paper);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  padding: 32px;
  transition: box-shadow 0.2s;
}

.tsg-feature-card:hover {
  box-shadow: 0 4px 24px rgba(22,32,44,0.1);
}

.tsg-feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--tsg-teal);
  color: var(--tsg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.tsg-feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--tsg-text-primary);
}

.tsg-feature-card p {
  font-size: 0.9rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.6;
}


.tsg-integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tsg-integration-card {
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.tsg-integration-card:hover {
  box-shadow: 0 4px 24px rgba(22,32,44,0.1);
  transform: translateY(-2px);
}

.tsg-integration-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--tsg-teal);
  background: var(--tsg-paper);
  border-radius: 10px;
}

.tsg-integration-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--tsg-text-primary);
}

.tsg-integration-card p {
  font-size: 0.8rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.5;
}


.tsg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tsg-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tsg-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tsg-teal);
  color: var(--tsg-white);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.tsg-step h3 { margin-bottom: 8px; }

.tsg-step p {
  font-size: 0.9rem;
  color: var(--tsg-text-muted-light);
}


.tsg-integrations-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.tsg-integrations-strip__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tsg-text-muted-light);
  transition: color 0.15s;
  opacity: 0.6;
}

.tsg-integrations-strip__logo:hover { opacity: 1; color: var(--tsg-teal); }

.tsg-integrations-strip__logo i { font-size: 1.2rem; }


.tsg-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.tsg-testimonial {
  background: rgba(30,45,62,0.5);
  border: 1px solid rgba(77,168,188,0.15);
  border-radius: var(--tsg-radius-card);
  padding: 32px;
}

.tsg-testimonial__quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--tsg-text-primary-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tsg-testimonial__attr {
  font-size: 0.82rem;
  color: var(--tsg-text-muted-dark);
}

.tsg-testimonial__attr strong {
  display: block;
  color: var(--tsg-teal-light);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2px;
}


.tsg-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tsg-pricing-toggle span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tsg-text-muted-light);
}

.tsg-pricing-toggle span.is-active {
  color: var(--tsg-text-primary);
}

.tsg-pricing-switch {
  position: relative;
  width: 48px;
  height: 24px;
  background: var(--tsg-teal);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.tsg-pricing-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.tsg-pricing-switch.is-annual::after {
  transform: translateX(24px);
}

.tsg-pricing-save {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tsg-teal);
  background: rgba(22,105,122,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
}

.tsg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.tsg-pricing-card {
  background: var(--tsg-paper);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  padding: 32px;
  position: relative;
}

.tsg-pricing-card--highlighted {
  background: var(--tsg-white);
  border-color: var(--tsg-teal);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(22,105,122,0.15);
}

.tsg-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tsg-teal);
  color: var(--tsg-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border-radius: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.tsg-pricing-card__tier {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tsg-text-primary);
  margin-bottom: 8px;
}

.tsg-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.tsg-pricing-card__price .amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--tsg-text-primary);
  line-height: 1;
}

.tsg-pricing-card__price .currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--tsg-text-muted-light);
  align-self: flex-start;
  margin-top: 6px;
}

.tsg-pricing-card__price .period {
  font-size: 0.85rem;
  color: var(--tsg-text-muted-light);
}

.tsg-pricing-card__limits {
  font-size: 0.82rem;
  color: var(--tsg-text-muted-light);
  margin-bottom: 20px;
  line-height: 1.5;
}

.tsg-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tsg-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--tsg-text-primary);
}

.tsg-pricing-card__features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2316697a'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center/contain;
  flex-shrink: 0;
  margin-top: 1px;
}

.tsg-pricing-card .tsg-btn { width: 100%; justify-content: center; }

.tsg-pricing-divider {
  border: none;
  border-top: 1px solid var(--tsg-linen);
  margin: 24px 0;
}


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

.tsg-preview-card {
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  padding: 28px;
}

.tsg-preview-card__tier {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tsg-teal);
  margin-bottom: 8px;
}

.tsg-preview-card__price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--tsg-text-primary);
  margin-bottom: 4px;
}

.tsg-preview-card__sub {
  font-size: 0.8rem;
  color: var(--tsg-text-muted-light);
  margin-bottom: 16px;
}

.tsg-preview-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.82rem;
  color: var(--tsg-text-muted-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tsg-preview-card ul li::before {
  content: '- ';
}


.tsg-faq {
  max-width: 720px;
  margin: 0 auto;
}

.tsg-faq__item {
  border-bottom: 1px solid var(--tsg-linen);
}

.tsg-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  cursor: pointer;
  text-align: left;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tsg-text-primary);
  transition: color 0.15s;
}

.tsg-faq__question:hover { color: var(--tsg-teal); }

.tsg-faq__question i {
  flex-shrink: 0;
  color: var(--tsg-teal);
  font-size: 0.9rem;
  transition: transform 0.25s;
}

.tsg-faq__item--open .tsg-faq__question i { transform: rotate(180deg); }

.tsg-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.tsg-faq__item--open .tsg-faq__answer {
  max-height: 400px;
}

.tsg-faq__answer-inner {
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.7;
}


.tsg-section--cta {
  text-align: center;
}

.tsg-section--cta h2 {
  color: var(--tsg-text-primary-dark);
  margin-bottom: 16px;
}

.tsg-section--cta p {
  color: var(--tsg-text-muted-dark);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.tsg-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


.tsg-section__header {
  text-align: center;
  margin-bottom: 56px;
}

.tsg-section__header h2 { margin-bottom: 12px; }

.tsg-section__header p {
  font-size: 1.05rem;
  color: var(--tsg-text-muted-light);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.tsg-bg--dark .tsg-section__header h2 { color: var(--tsg-text-primary-dark); }
.tsg-bg--dark .tsg-section__header p { color: var(--tsg-text-muted-dark); }


.tsg-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.tsg-team-member {
  text-align: center;
}

.tsg-team-member__portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--tsg-linen);
}

.tsg-team-member__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.tsg-team-member h3 { margin-bottom: 4px; }

.tsg-team-member__role {
  font-size: 0.85rem;
  color: var(--tsg-teal);
  font-weight: 600;
  margin-bottom: 12px;
}

.tsg-team-member p {
  font-size: 0.875rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.6;
}


.tsg-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tsg-value-card {
  border-left: 3px solid var(--tsg-teal);
  padding-left: 20px;
}

.tsg-value-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--tsg-text-primary);
  margin-bottom: 10px;
}

.tsg-value-card p {
  font-size: 0.875rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.6;
}


.tsg-contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tsg-contact-info-block h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--tsg-text-primary);
}

.tsg-contact-info-block p {
  font-size: 0.9rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.8;
}

.tsg-contact-info-block a {
  color: var(--tsg-teal);
}

.tsg-contact-form {
  max-width: 620px;
  margin: 0 auto;
}

.tsg-form-group {
  margin-bottom: 20px;
}

.tsg-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tsg-text-primary);
  margin-bottom: 6px;
}

.tsg-form-group input,
.tsg-form-group textarea,
.tsg-form-group select {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-input);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--tsg-text-primary);
  background: var(--tsg-white);
  transition: border-color 0.15s;
  outline: none;
  appearance: auto;
}

.tsg-form-group input:focus,
.tsg-form-group textarea:focus,
.tsg-form-group select:focus {
  border-color: var(--tsg-teal);
}

.tsg-form-group textarea { resize: vertical; min-height: 120px; }


.tsg-security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.tsg-security-block {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--tsg-paper);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
}

.tsg-security-block__icon {
  width: 48px;
  height: 48px;
  background: rgba(22,105,122,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tsg-teal);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tsg-security-block h3 { font-size: 1rem; margin-bottom: 8px; }
.tsg-security-block p { font-size: 0.875rem; color: var(--tsg-text-muted-light); line-height: 1.6; }


.tsg-compliance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tsg-compliance-card {
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  padding: 24px;
}

.tsg-compliance-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--tsg-text-primary);
}

.tsg-compliance-card p {
  font-size: 0.875rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.6;
}


.tsg-problem-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.tsg-problem-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  border-left: 3px solid var(--tsg-teal);
}

.tsg-problem-bullet i {
  color: var(--tsg-teal);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.tsg-problem-bullet p {
  font-size: 0.875rem;
  color: var(--tsg-text-primary);
  line-height: 1.6;
  margin: 0;
}


.tsg-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tsg-teal);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}

.tsg-article-back:hover { color: var(--tsg-teal-hover); }
.tsg-article-back i { font-size: 0.8rem; }

.tsg-article-hero {
  background: var(--tsg-paper);
  padding: 56px 0 40px;
}

.tsg-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--tsg-text-muted-light);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tsg-article-meta__tag {
  background: rgba(22,105,122,0.1);
  color: var(--tsg-teal);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tsg-article-cover {
  width: 100%;
  max-width: 800px;
  margin: 32px auto 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 8px 32px rgba(22,32,44,0.1);
}

.tsg-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tsg-article-body {
  background: var(--tsg-white);
  padding: 56px 0;
}

.tsg-article-content {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.tsg-article-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.tsg-article-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.tsg-article-content p { margin-bottom: 1.2rem; }

.tsg-article-content ul, .tsg-article-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.tsg-article-content li { margin-bottom: 0.5rem; font-size: 0.95rem; line-height: 1.7; color: var(--tsg-text-muted-light); }

.tsg-article-related {
  background: var(--tsg-linen);
  padding: 56px 0;
}

.tsg-related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tsg-related-card {
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  overflow: hidden;
}

.tsg-related-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tsg-related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tsg-related-card__body {
  padding: 20px;
}

.tsg-related-card__date {
  font-size: 0.75rem;
  color: var(--tsg-text-muted-light);
  margin-bottom: 6px;
}

.tsg-related-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--tsg-text-primary);
}

.tsg-related-card h3 a {
  color: var(--tsg-text-primary);
  text-decoration: none;
}

.tsg-related-card h3 a:hover { color: var(--tsg-teal); }


.tsg-blog-hero {
  background: var(--tsg-paper);
  padding: 80px 0 56px;
  text-align: center;
}

.tsg-blog-featured {
  background: var(--tsg-white);
  padding: 72px 0;
}

.tsg-blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--tsg-paper);
  border: 1px solid var(--tsg-linen);
  border-radius: 6px;
  overflow: hidden;
}

.tsg-blog-featured-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tsg-blog-featured-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tsg-blog-featured-card__body {
  padding: 40px 40px 40px 0;
}

.tsg-blog-featured-card__body .tsg-article-meta {
  margin-bottom: 12px;
}

.tsg-blog-featured-card__body h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.tsg-blog-featured-card__body h2 a {
  color: var(--tsg-text-primary);
  text-decoration: none;
}

.tsg-blog-featured-card__body h2 a:hover { color: var(--tsg-teal); }

.tsg-blog-featured-card__body .excerpt {
  font-size: 0.9rem;
  color: var(--tsg-text-muted-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.tsg-blog-grid-section {
  background: var(--tsg-linen);
  padding: 72px 0;
}

.tsg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tsg-blog-card {
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.tsg-blog-card:hover { box-shadow: 0 4px 24px rgba(22,32,44,0.1); }

.tsg-blog-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tsg-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.tsg-blog-card:hover .tsg-blog-card__img img { transform: scale(1.03); }

.tsg-blog-card__body {
  padding: 20px 24px 24px;
}

.tsg-blog-card__date {
  font-size: 0.75rem;
  color: var(--tsg-text-muted-light);
  margin-bottom: 8px;
  display: block;
}

.tsg-blog-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.tsg-blog-card h3 a {
  color: var(--tsg-text-primary);
  text-decoration: none;
}

.tsg-blog-card h3 a:hover { color: var(--tsg-teal); }

.tsg-blog-card .excerpt {
  font-size: 0.82rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.tsg-blog-card .read-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tsg-teal);
  text-decoration: none;
}

.tsg-blog-card .read-link:hover { color: var(--tsg-teal-hover); }


.tsg-auth-page {
  min-height: 100vh;
  background: var(--tsg-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.tsg-auth-card {
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: 8px;
  padding: 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 4px 32px rgba(22,32,44,0.08);
}

.tsg-auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.tsg-auth-card__logo img { height: 32px; }

.tsg-auth-card h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tsg-text-primary);
  text-align: center;
  margin-bottom: 8px;
}

.tsg-auth-card__sub {
  text-align: center;
  font-size: 0.875rem;
  color: var(--tsg-text-muted-light);
  margin-bottom: 32px;
}

.tsg-auth-card .tsg-btn { width: 100%; justify-content: center; margin-top: 4px; }

.tsg-auth-card__links {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--tsg-text-muted-light);
}

.tsg-auth-card__links a {
  color: var(--tsg-teal);
  font-weight: 600;
}

.tsg-auth-card__legal {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--tsg-linen);
  font-size: 0.78rem;
  color: var(--tsg-text-muted-light);
}

.tsg-auth-card__legal a { color: var(--tsg-text-muted-light); text-decoration: underline; }


.tsg-prose {
  font-size: 1rem;
  line-height: 1.75;
}

.tsg-page--dark-top .tsg-prose {
  color: var(--tsg-text-primary-dark);
}

.tsg-page--light-top .tsg-prose {
  color: var(--tsg-text-primary);
}


.tsg-legal-page {
  background: var(--tsg-white);
  padding: 64px 0;
}

.tsg-legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--tsg-text-primary);
  background: var(--tsg-white);
}

.tsg-legal-content h1 { margin-bottom: 8px; }

.tsg-legal-content .updated {
  font-size: 0.875rem;
  color: var(--tsg-text-muted-light);
  margin-bottom: 32px;
}

.tsg-legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.tsg-legal-content p { margin-bottom: 1rem; font-size: 0.95rem; color: var(--tsg-text-muted-light); }


.tsg-contact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}


.tsg-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tsg-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tsg-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tsg-teal);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}

.tsg-back-link:hover { color: var(--tsg-teal-hover); }
.tsg-back-link i { font-size: 0.8rem; }


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--tsg-ink);
  border-top: 1px solid rgba(77,168,188,0.25);
  padding: 16px 0;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--tsg-text-primary-dark);
  flex: 1;
  min-width: 240px;
}

.cookie-banner__text a {
  color: var(--tsg-teal-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--tsg-radius-btn);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border: 2px solid transparent;
}

.cookie-banner__btn--primary {
  background: var(--tsg-teal);
  color: var(--tsg-white);
  border-color: var(--tsg-teal);
}

.cookie-banner__btn--primary:hover {
  background: var(--tsg-teal-hover);
  border-color: var(--tsg-teal-hover);
  color: var(--tsg-white);
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--tsg-text-primary-dark);
  border-color: rgba(240,237,231,0.4);
}

.cookie-banner__btn--secondary:hover {
  background: rgba(240,237,231,0.1);
  color: var(--tsg-white);
}

.cookie-banner__btn--accept {
  background: var(--tsg-teal);
  color: var(--tsg-white);
  border-color: var(--tsg-teal);
}

.cookie-banner__btn--accept:hover {
  background: var(--tsg-teal-hover);
  border-color: var(--tsg-teal-hover);
  color: var(--tsg-white);
}


.tsg-subhero {
  background: var(--tsg-paper);
  padding: 80px 0 56px;
}

.tsg-subhero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.tsg-subhero__inner h1 { margin-bottom: 16px; }

.tsg-subhero__inner p {
  font-size: 1.1rem;
  color: var(--tsg-text-muted-light);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.tsg-subhero__ornament {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 0;
}

.tsg-stat-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.tsg-stat-item {
  text-align: center;
}

.tsg-stat-item__num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--tsg-teal);
  display: block;
  line-height: 1;
}

.tsg-stat-item__label {
  font-size: 0.8rem;
  color: var(--tsg-text-muted-light);
  margin-top: 4px;
  display: block;
}

.tsg-features-grid--6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tsg-features-grid--6 .tsg-feature-card {
  background: var(--tsg-paper);
}


.tsg-about-contact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tsg-about-contact-block h3 { font-size: 1rem; margin-bottom: 12px; }
.tsg-about-contact-block p { font-size: 0.9rem; color: var(--tsg-text-muted-light); line-height: 1.8; margin: 0; }
.tsg-about-contact-block a { color: var(--tsg-teal); }


.tsg-product-string-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tsg-product-string-info h2 { margin-bottom: 16px; }
.tsg-product-string-info p { color: var(--tsg-text-muted-light); font-size: 0.95rem; margin-bottom: 16px; }

.tsg-product-string-code {
  background: var(--tsg-ink);
  border-radius: 6px;
  padding: 24px;
  overflow-x: auto;
}

.tsg-product-string-code pre {
  font-family: 'Cascadia Code', 'Fira Code', 'Courier New', monospace;
  font-size: 0.82rem;
  color: var(--tsg-text-primary-dark);
  line-height: 1.6;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  max-width: 100%;
}

.tsg-code-line--added { color: #4ade80; }
.tsg-code-line--removed { color: #f87171; text-decoration: line-through; opacity: 0.6; }
.tsg-code-line--neutral { color: var(--tsg-text-muted-dark); }


.tsg-sync-engine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tsg-sync-engine-info h2 { margin-bottom: 16px; }
.tsg-sync-engine-info p { color: var(--tsg-text-muted-light); font-size: 0.95rem; margin-bottom: 0; }

.tsg-sync-engine-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tsg-sync-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--tsg-paper);
  border: 1px solid var(--tsg-linen);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--tsg-text-primary);
}

.tsg-sync-item i { color: var(--tsg-teal); font-size: 0.9rem; flex-shrink: 0; }


.tsg-translator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tsg-translator-info h2 { margin-bottom: 16px; }
.tsg-translator-info p { color: var(--tsg-text-muted-light); font-size: 0.95rem; margin-bottom: 0; }

.tsg-translator-mock {
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: 6px;
  overflow: hidden;
}

.tsg-translator-mock__header {
  background: var(--tsg-paper);
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tsg-text-muted-light);
  border-bottom: 1px solid var(--tsg-linen);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tsg-translator-mock__header i { color: var(--tsg-teal); }

.tsg-diff-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--tsg-linen);
}

.tsg-diff-row:last-child { border-bottom: none; }

.tsg-diff-cell {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--tsg-text-primary);
  border-right: 1px solid var(--tsg-linen);
}

.tsg-diff-cell:last-child { border-right: none; }
.tsg-diff-cell--key { color: var(--tsg-text-muted-light); font-family: monospace; }
.tsg-diff-cell--new { color: #15803d; background: rgba(21,128,61,0.05); }
.tsg-diff-cell--translate { background: rgba(22,105,122,0.04); }


.tsg-about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.tsg-about-mission-text p {
  font-size: 1.1rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.8;
}

.tsg-about-mission-quote {
  border-left: 3px solid var(--tsg-teal);
  padding-left: 24px;
}

.tsg-about-mission-quote blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  color: var(--tsg-text-primary);
  line-height: 1.6;
}


@media (max-width: 900px) {
  .tsg-nav__links { display: none; }
  .tsg-nav__cta { display: none; }
  .tsg-nav__hamburger { display: flex; }

  .tsg-hero--home .tsg-hero__inner {
    grid-template-columns: 1fr;
    padding: 60px 0;
    gap: 40px;
  }

  .tsg-features-grid { grid-template-columns: 1fr; }
  .tsg-features-grid--6 { grid-template-columns: 1fr 1fr; }
  .tsg-integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .tsg-steps { grid-template-columns: 1fr; }
  .tsg-testimonials { grid-template-columns: 1fr; }
  .tsg-pricing-grid { grid-template-columns: 1fr; }
  .tsg-preview-grid { grid-template-columns: 1fr; }
  .tsg-team-grid { grid-template-columns: 1fr 1fr; }
  .tsg-values-grid { grid-template-columns: 1fr; }
  .tsg-contact-info-grid { grid-template-columns: 1fr; }
  .tsg-security-grid { grid-template-columns: 1fr; }
  .tsg-compliance-cards { grid-template-columns: 1fr 1fr; }
  .tsg-problem-bullets { grid-template-columns: 1fr; }
  .tsg-related-cards { grid-template-columns: 1fr 1fr; }
  .tsg-blog-grid { grid-template-columns: 1fr 1fr; }
  .tsg-blog-featured-card { grid-template-columns: 1fr; }
  .tsg-blog-featured-card__body { padding: 24px; }
  .tsg-footer__grid { grid-template-columns: 1fr 1fr; }
  .tsg-product-string-grid { grid-template-columns: 1fr; }
  .tsg-sync-engine-grid { grid-template-columns: 1fr; }
  .tsg-translator-grid { grid-template-columns: 1fr; }
  .tsg-about-mission-grid { grid-template-columns: 1fr; }
  .tsg-contact-strip { grid-template-columns: 1fr; }
  .tsg-about-contact-strip { grid-template-columns: 1fr; }

  .tsg-pipeline { gap: 0; }
  .tsg-pipeline__step { min-width: 90px; }
  .tsg-workflow { gap: 0; }
}

@media (max-width: 600px) {
  .tsg-section { padding: 56px 0; }
  .tsg-features-grid--6 { grid-template-columns: 1fr; }
  .tsg-integrations-grid { grid-template-columns: 1fr; }
  .tsg-team-grid { grid-template-columns: 1fr; }
  .tsg-compliance-cards { grid-template-columns: 1fr; }
  .tsg-related-cards { grid-template-columns: 1fr; }
  .tsg-blog-grid { grid-template-columns: 1fr; }
  .tsg-footer__grid { grid-template-columns: 1fr; }
  .tsg-footer__bottom { flex-direction: column; align-items: flex-start; }
  .tsg-auth-card { padding: 32px 24px; }
  .tsg-hero--centered h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .tsg-hero__cta-row { flex-direction: column; }
  .tsg-cta-row { flex-direction: column; align-items: center; }
  .tsg-pricing-toggle { flex-wrap: wrap; }

  .tsg-pipeline { flex-wrap: wrap; }
  .tsg-pipeline__arrow { display: none; }

  .tsg-workflow { flex-wrap: wrap; }
  .tsg-workflow__arrow { transform: rotate(90deg); }
  .tsg-workflow__step { min-width: 160px; }

  .tsg-comparison-wrap { overflow-x: auto; }
}

.tsg-price-monthly { display: flex; align-items: baseline; gap: 4px; }
.tsg-price-annual { display: none; align-items: baseline; gap: 4px; }
.is-annual .tsg-price-monthly { display: none; }
.is-annual .tsg-price-annual { display: flex; }

.tsg-hero__text {
  min-width: 0;
  max-width: 100%;
}

.tsg-hero__visual {
  min-width: 0;
  max-width: 100%;
}

.tsg-pricing-section {}

.tsg-pricing-amounts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tsg-toggle-label-monthly,
.tsg-toggle-label-annual {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tsg-text-muted-light);
  transition: color 0.2s;
}

.tsg-toggle-label-annual.is-active,
.tsg-toggle-label-monthly.is-active {
  color: var(--tsg-text-primary);
}

.tsg-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.tsg-article-hero {
  padding: 48px 0 0;
  background: var(--tsg-paper);
}

.tsg-article-hero .tsg-container {
  padding-bottom: 32px;
}

.tsg-article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tsg-teal);
  text-decoration: none;
  margin-bottom: 32px;
}

.tsg-article-back:hover { color: var(--tsg-teal-hover); }

.tsg-article-hero__inner {
  max-width: 760px;
}

.tsg-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.tsg-article-hero__date {
  font-size: 0.875rem;
  color: var(--tsg-text-muted-light);
}

.tsg-article-hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--tsg-text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.tsg-article-hero__byline {
  font-size: 0.95rem;
  color: var(--tsg-text-muted-light);
}

.tsg-article-hero__author {
  font-weight: 600;
  color: var(--tsg-text-primary);
}

.tsg-blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tsg-teal);
  background: rgba(22,105,122,0.08);
  padding: 4px 10px;
  border-radius: 99px;
}

.tsg-article-cover {
  width: 100%;
  max-width: 800px;
  margin: 32px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}

.tsg-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tsg-article-body {
  padding: 56px 0 72px;
  background: var(--tsg-white);
}

.tsg-article-content {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tsg-text-primary);
}

.tsg-article-content h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.tsg-article-content p { margin-bottom: 1.25rem; }

.tsg-article-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.tsg-article-cta h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--tsg-text-primary);
  margin-bottom: 12px;
}

.tsg-article-cta p {
  color: var(--tsg-text-muted-light);
  margin-bottom: 28px;
}

.tsg-contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.tsg-contact-layout__form {}
.tsg-contact-layout__info {}

.tsg-contact-intro {
  font-size: 1.05rem;
  color: var(--tsg-text-muted-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.tsg-section--contact-hero {
  padding: 72px 0 88px;
}

.tsg-btn--full {
  width: 100%;
  justify-content: center;
}

.tsg-team-member__role {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tsg-teal);
  margin-bottom: 12px;
}

.tsg-security-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.tsg-security-pillar {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  border: 1px solid rgba(240,237,231,0.1);
}

.tsg-security-pillar h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  color: var(--tsg-text-primary-dark);
  margin-bottom: 8px;
}

.tsg-security-pillar p {
  font-size: 0.9rem;
  color: var(--tsg-text-muted-dark);
}

.tsg-security-card {
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: 8px;
  padding: 32px;
}

.tsg-security-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(22,105,122,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tsg-teal);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.tsg-security-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tsg-text-primary);
  margin-bottom: 8px;
}

.tsg-security-card p {
  font-size: 0.9rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.6;
}

.tsg-security-access {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.tsg-security-access__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--tsg-linen);
  border-radius: 8px;
}

.tsg-security-access__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(22,105,122,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tsg-teal);
  font-size: 1rem;
}

.tsg-security-posture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.tsg-security-posture__copy h2 {
  font-family: 'Fraunces', Georgia, serif;
  margin-bottom: 16px;
}

.tsg-security-posture__copy p {
  color: var(--tsg-text-muted-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tsg-security-posture__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tsg-security-posture__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--tsg-text-primary);
}

.tsg-security-posture__list li .fa-solid {
  color: var(--tsg-teal);
  margin-top: 2px;
}

.tsg-security-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--tsg-text-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--tsg-linen);
}

.tsg-security-check:last-child { border-bottom: none; }

.tsg-security-check .fa-solid {
  color: var(--tsg-teal);
  margin-top: 3px;
  flex-shrink: 0;
}

.tsg-hero__inner--security {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 900px) {
  .tsg-security-pillars { grid-template-columns: 1fr; }
  .tsg-security-access { grid-template-columns: 1fr; }
  .tsg-security-posture { grid-template-columns: 1fr; }
  .tsg-contact-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 600px) {
  .tsg-article-cover { max-width: 100%; }
}

.tsg-blog-featured {
  margin-bottom: 56px;
}

.tsg-blog-featured__link {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--tsg-white);
  border: 1px solid var(--tsg-linen);
  border-radius: var(--tsg-radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.tsg-blog-featured__link:hover { box-shadow: 0 6px 32px rgba(22,32,44,0.1); }

.tsg-blog-featured__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tsg-blog-featured__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tsg-blog-featured__body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.tsg-blog-featured__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tsg-blog-featured__body h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tsg-text-primary);
  margin: 0;
}

.tsg-blog-featured__excerpt {
  font-size: 0.95rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.65;
  margin: 0;
}

.tsg-blog-featured__byline {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.875rem;
  color: var(--tsg-text-muted-light);
  font-weight: 500;
}

.tsg-blog-card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tsg-blog-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.tsg-blog-card:hover .tsg-blog-card__cover img { transform: scale(1.03); }

.tsg-blog-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--tsg-text-muted-light);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .tsg-blog-featured__link { grid-template-columns: 1fr; }
  .tsg-blog-featured__cover { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .tsg-blog-featured__body { padding: 24px; }
  .tsg-blog-grid { grid-template-columns: 1fr; }
}

.tsg-about-origin {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}

.tsg-about-origin__copy p {
  color: var(--tsg-text-muted-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.tsg-about-origin__values {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 64px;
}

.tsg-value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tsg-value-item > i {
  font-size: 1.2rem;
  color: var(--tsg-teal);
  margin-top: 3px;
  flex-shrink: 0;
}

.tsg-value-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tsg-text-primary);
  margin-bottom: 4px;
}

.tsg-value-item p {
  font-size: 0.875rem;
  color: var(--tsg-text-muted-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .tsg-about-origin { grid-template-columns: 1fr; gap: 40px; }
  .tsg-about-origin__values { padding-top: 0; }
}
