@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-var-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jetbrains-mono-var-latin.woff2) format('woff2');
}

/* ===== Tirion Data — Marketing Site Styles ===== */

:root {
  --brand: #0F5364;
  --brand-light: #1A7A8F;
  --brand-dark: #0A3B48;
  --brand-bg: #F0F7F9;
  --accent: #2EAAC1;
  --text: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --border: #E2E8F0;
  --success: #10B981;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --max-w: 1200px;
  --transition: 150ms ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-light); }

h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--text); }
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.2rem; }
}

/* ===== Utility ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-light); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--brand);
  border: 2px solid #fff;
}
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--text-muted); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--brand); }

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.9rem !important;
}

/* the quieter calls to action, sat just before the button: Request Demo
   for prospects, Sign in for existing customers */
.nav-demo, .nav-signin { font-size: 0.9rem; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
}

.mobile-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1024px) {
  .mobile-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 0; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-light) 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container { position: relative; }

.hero h1 {
  color: #fff;
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  display: block;
}

.hero-stat-label {
  font-size: 0.875rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-tagline { font-size: 1.1rem; }
  .hero-stats { gap: 2rem; }
  .hero-stat-value { font-size: 1.5rem; }
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-brand {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
}

.section-brand h2,
.section-brand h3 { color: #fff; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 1.1rem;
}

.section-brand .section-header p { color: rgba(255,255,255,.8); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-brand .section-label { color: rgba(255,255,255,.6); }

/* ===== Cards Grid ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--brand);
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 0.75rem; }

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

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ===== Social Proof ===== */
.social-proof {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-proof p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.4;
}

.logo-placeholder {
  width: 120px;
  height: 40px;
  background: var(--border);
  border-radius: var(--radius);
}

/* ===== CTA Banner ===== */
.cta-banner {
  text-align: center;
  padding: 5rem 0;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: box-shadow var(--transition);
}

.pricing-card:hover { box-shadow: var(--shadow-lg); }

.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Sits under the grid and explains the badge. It is the honest version of the
   "most popular" sticker every other pricing page wears. */
.pricing-honest {
  max-width: 640px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.pricing-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

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

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ===== Feature Detail ===== */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}

.feature-detail:nth-child(even) .feature-detail-content { order: 2; }
.feature-detail:nth-child(even) .feature-detail-visual { order: 1; }

.feature-detail-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-detail-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-detail-visual {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .feature-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
  .feature-detail:nth-child(even) .feature-detail-content { order: 1; }
  .feature-detail:nth-child(even) .feature-detail-visual { order: 2; }
}

/* ===== Data Sources Table ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.data-table th,
.data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg-alt);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.data-table td {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.data-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.data-table tr:hover { background: var(--brand-bg); }

.data-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #ECFDF5;
  color: #065F46;
}

@media (max-width: 768px) {
  .data-table { font-size: 0.875rem; }
  .data-table th, .data-table td { padding: 0.75rem 0.5rem; }

  .data-table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15,83,100,.1);
}

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

.contact-info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-card h3 { margin-bottom: 0.75rem; }
.contact-info-card p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== About Page ===== */
.about-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.about-hero h1 {
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.value-item {
  padding: 1.5rem;
}

.value-item h3 {
  margin-bottom: 0.5rem;
  color: var(--brand);
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.transparency-box {
  background: var(--brand-bg);
  border: 1px solid rgba(15,83,100,.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
}

.transparency-box h3 {
  color: var(--brand);
  margin-bottom: 1rem;
}

.transparency-box ul {
  list-style: none;
  padding: 0;
}

.transparency-box li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.transparency-box li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--brand);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

/* ===== Page Header (for inner pages) ===== */
.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-header h1 { margin-bottom: 0.75rem; }
.page-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand span { color: rgba(255,255,255,.5); font-weight: 400; }

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

/* the contact address used to be its own column; it belongs with the brand */
.footer-mail { margin-top: 0.85rem; }

.footer h3, .footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: rgba(255,255,255,.5);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Feature list items ===== */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--brand);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

/* ===== Highlight text ===== */
.highlight {
  color: var(--brand);
  font-weight: 600;
}

/* ===== Tirion brand skin (design tokens from tirion-tokens.css v1.0) ===== */

:root {
  --tirion-midnight: #211B4A;
  --tirion-indigo: #3D3182;
  --tirion-violet: #6A60B8;
  --tirion-lavender: #AFAAE0;
  --tirion-frost: #E8E6F7;
  --tirion-teal: #2FBFA0;
  --tirion-teal-hover: #25A58A;

  --brand: var(--tirion-teal);
  --brand-light: var(--tirion-teal-hover);
  --brand-dark: var(--tirion-indigo);
  --brand-bg: rgba(47, 191, 160, 0.10);
  --accent: var(--tirion-teal);
  --text: #A9ABBF;
  --text-muted: #6E7089;
  --text-light: #6E7089;
  --bg: #131120;
  --bg-alt: #1A1730;
  --border: rgba(150, 150, 190, 0.16);
  --success: var(--tirion-teal);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.25);
  --shadow: 0 1px 3px rgba(0,0,0,.35);
  --shadow-md: 0 4px 6px rgba(0,0,0,.35);
  --shadow-lg: 0 10px 24px rgba(0,0,0,.45);
}

body { background: var(--bg); color: var(--text); }
h1, h2, h3, h4, h5, h6 { color: #EEEDF5; }
a { color: var(--tirion-teal); }
a:hover { color: var(--tirion-teal-hover); }

.navbar, .nav, header, .site-header { background: #131120 !important; border-bottom: 1px solid var(--border); }
.nav-links a, .navbar a { color: #A9ABBF; }
.nav-links a:hover, .navbar a:hover { color: var(--tirion-frost); }
.logo, .nav-logo, .brand { color: var(--tirion-frost) !important; }

.hero { background: linear-gradient(160deg, #131120 0%, #221D45 100%) !important; }
.hero h1 { color: var(--tirion-frost); letter-spacing: -0.01em; }
.hero-tagline { color: #B9BBCF !important; }
.hero-stat-value {
  font-family: 'JetBrains Mono', monospace;
  color: var(--tirion-teal) !important;
  font-weight: 500;
}
.hero-stat-label { color: #8B8DA5 !important; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  color: var(--tirion-teal) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.section-header p { color: #A9ABBF; }
.section-alt, [class*="section-alt"] { background: #18152B !important; }

.card, .pricing-card, .feature-card, .data-card, .contact-card {
  background: #1B1832 !important;
  border: 1px solid var(--border) !important;
  color: #A9ABBF;
}
.card h3, .pricing-card h3, .feature-card h3 { color: #EEEDF5; }
.card-icon { color: var(--tirion-teal) !important; background: rgba(47, 191, 160, 0.10) !important; }

.btn-primary, .btn-white {
  background: var(--tirion-teal) !important;
  color: var(--tirion-midnight) !important;
  border: none !important;
  font-weight: 600;
}
.btn-primary:hover, .btn-white:hover { background: var(--tirion-teal-hover) !important; color: var(--tirion-midnight) !important; }
.btn-outline, .btn-secondary {
  background: transparent !important;
  color: #EEEDF5 !important;
  border: 1px solid rgba(180, 182, 205, 0.45) !important;
}
.btn-outline:hover, .btn-secondary:hover { border-color: var(--tirion-teal) !important; color: var(--tirion-teal) !important; }

.price, .pricing-price, .price-value { font-family: 'JetBrains Mono', monospace; color: #EEEDF5 !important; }
.pricing-card.popular, .pricing-card.featured { border: 1px solid var(--tirion-teal) !important; }
.pill, .badge, .tag { background: rgba(47, 191, 160, 0.12); color: var(--tirion-teal); }

.footer, footer { background: #0F0D1B !important; border-top: 1px solid var(--border); color: var(--tirion-lavender); }
.footer a, footer a { color: #A9ABBF; }
.footer a:hover, footer a:hover { color: var(--tirion-teal); }
.footer-desc { color: #6E7089 !important; }

.faq-item, .accordion-item { background: #1B1832 !important; border: 1px solid var(--border) !important; }
table th { color: #EEEDF5; } table td { color: #A9ABBF; }
input, textarea, select {
  background: rgba(19, 17, 32, 0.7) !important;
  border: 1px solid var(--border) !important;
  color: #EEEDF5 !important;
}

/* ===== Hex lattice + roaming flashlight hero (Tirion signature) ===== */
@property --fx { syntax: '<percentage>'; inherits: false; initial-value: 50%; }
@property --fy { syntax: '<percentage>'; inherits: false; initial-value: 40%; }

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  --fx: 50%; --fy: 40%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='125' viewBox='0 0 72 125'%3E%3Cg fill='none' stroke='%23A9B6D9' stroke-width='1.1'%3E%3Cpath d='M36 2 69 21v38L36 78 3 59V21z'/%3E%3Cpath d='M36 84 69 103v38L36 160 3 141v-38z'/%3E%3Cpath d='M-33 21 0 40v38l-33 19M105 40 72 21m0 57 33-19'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 125px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle 30rem at var(--fx) var(--fy), rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.35) 45%, transparent 72%);
  mask-image: radial-gradient(circle 30rem at var(--fx) var(--fy), rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.35) 45%, transparent 72%);
  animation: flashlight-drift 26s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  --fx: 50%; --fy: 40%;
  background:
    radial-gradient(circle 22rem at var(--fx) var(--fy), rgba(47, 191, 160, 0.16) 0%, rgba(106, 96, 184, 0.08) 45%, transparent 70%);
  animation: flashlight-drift 26s ease-in-out infinite;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
@keyframes flashlight-drift {
  0%   { --fx: 32%; --fy: 38%; }
  25%  { --fx: 62%; --fy: 30%; }
  50%  { --fx: 70%; --fy: 55%; }
  75%  { --fx: 42%; --fy: 60%; }
  100% { --fx: 32%; --fy: 38%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

.cta-section, .cta-banner, .cta {
  background: linear-gradient(160deg, #1D1938 0%, #131120 100%) !important;
  position: relative;
  overflow: hidden;
}
.cta-section::after, .cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 40%, rgba(47, 191, 160, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container, .cta-banner .container { position: relative; z-index: 1; }

/* ---------- Illustrative feature panels (features.html) ---------- */
/* These replaced seven "screenshot placeholder" boxes. They are drawn from the
   product's real vocabulary and are labelled illustrative, because the data in
   them is invented. */
.feature-detail-visual.is-mock {
  align-items: stretch;
  justify-content: flex-start;
  padding: 1.25rem 1.35rem;
}
.fv { width: 100%; font-size: 0.8rem; }
.fv-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.14rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-light);
  font: 500 0.58rem/1.4 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.fv-name { color: var(--text); font-size: 1rem; font-weight: 650; }
.fv-sub { margin-top: 0.15rem; color: var(--text-light); font-size: 0.72rem; }
.fv-bar-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.78rem;
}
.fv-bar-input i { color: var(--accent); font-style: normal; font-weight: 700; }
.fv-meta {
  margin-top: 0.6rem;
  color: var(--text-light);
  font: 500 0.6rem/1.4 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fv-big { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px solid var(--border); }
.fv-big span { color: var(--text-light); font-size: 0.7rem; }
.fv-big b { color: var(--text); font-size: 1.15rem; }
.fv-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.fv-row:last-of-type { border-bottom: 0; }
.fv-row span { color: var(--text-muted); font-size: 0.74rem; }
.fv-row b { color: var(--text); font-size: 0.76rem; white-space: nowrap; }
.fv-form {
  display: inline-block;
  min-width: 3.1em;
  margin-right: 0.45rem;
  padding: 0.06rem 0.3rem;
  border-radius: 2px;
  background: var(--brand-bg);
  color: var(--brand);
  font: 600 0.6rem/1.5 'JetBrains Mono', ui-monospace, monospace;
  font-style: normal;
  text-align: center;
}
.fv-ok, .fv-mid { padding: 0.08rem 0.34rem; border-radius: 2px; font: 500 0.6rem/1.5 'JetBrains Mono', ui-monospace, monospace; font-style: normal; }
.fv-ok { color: #0F5D4B; background: #DCF3EC; }
.fv-mid { color: #6B5563; background: #F1EAEE; }
.fv-stats { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 0.8rem 0 0.4rem; }
.fv-stats span { display: block; color: var(--text-light); font: 500 0.58rem/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.fv-stats b { display: block; margin-top: 0.1rem; color: var(--text); font-size: 0.95rem; }
.fv-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin: 0.9rem 0 0.5rem; }
.fv-grid i { display: block; padding-top: 100%; border-radius: 2px; background: var(--brand); }
.fv-legend { display: flex; justify-content: space-between; color: var(--text-light); font: 500 0.58rem/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.fv-note { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.7rem; line-height: 1.6; }

@media (max-width: 560px) {
  .fv-row { flex-direction: column; gap: 0.15rem; }
  .fv-row b { white-space: normal; }
  .fv-grid { grid-template-columns: repeat(8, 1fr); }
}

/* Contact form: status line and the honeypot the form uses to catch bots. */
.form-status { margin-top: 0.85rem; font-size: 0.88rem; line-height: 1.6; text-align: center; min-height: 1.2em; }
.form-status.is-ok { color: var(--tirion-teal); }
.form-status.is-error { color: #E8A0A0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- About: founder story ---------- */
.founder { display: grid; grid-template-columns: 1fr 340px; gap: 3.2rem; align-items: start; max-width: 1040px; }
.founder-story p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.9; margin-bottom: 1.2rem; }
.founder-lead { color: #EEEDF5 !important; font-size: 1.45rem !important; line-height: 1.55 !important; font-weight: 500; }
.founder-card { padding-top: 0.4rem; border-top: 1px solid var(--border); }
.founder-portrait {
  width: 96px; height: 96px; margin-top: 1.4rem; margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(47,191,160,.16), rgba(106,96,184,.16));
  border: 1px solid var(--border);
}
.founder-name { color: #EEEDF5; font-size: 1.05rem; font-weight: 650; }
.founder-role { margin-top: .15rem; color: var(--tirion-teal); font-size: .82rem; }
.founder-bio { margin-top: .9rem; color: var(--text-muted); font-size: .92rem; line-height: 1.75; }
.founder-outside { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--border); color: var(--text-light); font-size: .85rem; line-height: 1.7; }

.commitments { list-style: none; counter-reset: c; padding: 0; }
.commitments li { counter-increment: c; position: relative; padding: 1.5rem 0 1.5rem 3.4rem; border-bottom: 1px solid var(--border); }
.commitments li:last-child { border-bottom: 0; }
.commitments li::before {
  content: counter(c, decimal-leading-zero);
  position: absolute; left: 0; top: 1.75rem;
  color: var(--tirion-teal);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .78rem; letter-spacing: .08em;
}
.commitments h3 { color: #EEEDF5; font-size: 1.12rem; margin-bottom: .45rem; }
.commitments p { color: var(--text-muted); font-size: .98rem; line-height: 1.8; }

@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; gap: 2.2rem; }
  /* the card carries who is speaking, so it leads on a narrow screen */
  .founder-card { order: -1; max-width: 460px; border-top: 0; padding-top: 0; }
  .founder-portrait { margin-top: 0; }
}

/* ---------- Data sources: coverage map + tables ---------- */
.cov-wrap { max-width: 780px; }
.cov-map { display: block; width: 100%; height: auto; }
.cov-map .tile rect { fill: #1B1832; stroke: rgba(232,230,247,.10); stroke-width: 1; }
.cov-map .tile.b1 rect { fill: #241F3C; }
.cov-map .tile.b2 rect { fill: #1E4A48; }
.cov-map .tile.b3 rect { fill: #1C6B5E; }
.cov-map .tile.b4 rect { fill: #229077; }
.cov-map .tile.b5 rect { fill: #2FBFA0; }
.cov-map .tile.partial rect { stroke: rgba(232,230,247,.5); stroke-dasharray: 3 3; }
.cov-map .ab { fill: #F4F3FA; font: 700 15px 'Inter', sans-serif; text-anchor: middle; }
.cov-map .pc { fill: rgba(244,243,250,.72); font: 500 12px 'JetBrains Mono', ui-monospace, monospace; text-anchor: middle; }
.cov-map .tile.b1 .ab, .cov-map .tile.b2 .ab { fill: #CFCBDF; }
.cov-map .tile.b5 .ab, .cov-map .tile.b5 .pc { fill: #0C1F1A; }

.cov-legend { display: flex; align-items: center; gap: .4rem; margin-top: 1.2rem; color: var(--text-light); font: 500 .62rem/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.cov-legend i { display: block; width: 26px; height: 12px; border-radius: 2px; }
.cov-legend i.b1 { background: #241F3C; } .cov-legend i.b2 { background: #1E4A48; }
.cov-legend i.b3 { background: #1C6B5E; } .cov-legend i.b4 { background: #229077; }
.cov-legend i.b5 { background: #2FBFA0; }
.cov-legend span:first-child { margin-right: .5rem; }
.cov-note { margin-top: 1rem; color: var(--text-light); font-size: .82rem; line-height: 1.7; max-width: 720px; }

.cov-table td:nth-child(2), .cov-table td:nth-child(3), .cov-table td:nth-child(4) { text-align: right; white-space: nowrap; }
.cov-table th:nth-child(2), .cov-table th:nth-child(3), .cov-table th:nth-child(4) { text-align: right; }
.cov-table .warn { display: inline-block; margin-left: .4rem; padding: .06rem .3rem; border-radius: 2px; background: rgba(232,230,247,.09); color: var(--text-light); font: 500 .6rem/1.5 'JetBrains Mono', ui-monospace, monospace; }

.callout { padding: 1.4rem 1.6rem; border: 1px solid var(--border); border-left: 3px solid var(--tirion-teal); border-radius: var(--radius); background: rgba(47,191,160,.04); max-width: 780px; }
.callout h3 { color: #EEEDF5; font-size: 1.05rem; margin-bottom: .7rem; }
.callout p { color: var(--text-muted); font-size: .95rem; line-height: 1.75; margin-bottom: .7rem; }
.callout p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .cov-map .ab { font-size: 17px; } .cov-map .pc { font-size: 13px; }
}

/* ---------- MCP deep-dive panel (features.html) ---------- */
/* Two columns: a worked example on the left, the practical detail on the
   right. Collapses to one column early, because the example is a transcript
   and transcripts get unreadable when they are narrow. */
/* the nav is sticky and 72px tall, so an anchor jump would land under it */
#claude { scroll-margin-top: 96px; }
.mcp-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
}
.mcp-demo {
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}
.mcp-demo .fv-tag { margin-bottom: .9rem; }
.mcp-steps { margin: .85rem 0 .2rem; }
.mcp-hit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .15rem .9rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
}
.mcp-hit:last-of-type { border-bottom: 0; }
.mcp-hit .addr { color: var(--text); font-size: .78rem; font-weight: 600; }
.mcp-hit .val { color: var(--text); font-size: .78rem; white-space: nowrap; }
.mcp-hit .own { grid-column: 1 / -1; color: var(--text-muted); font-size: .72rem; }
.mcp-hit .own em {
  margin-left: .4rem;
  padding: .05rem .34rem;
  border-radius: 2px;
  font: 500 .58rem/1.6 'JetBrains Mono', ui-monospace, monospace;
  font-style: normal;
  white-space: nowrap;
}
.mcp-hit .own em.ok { color: #0F5D4B; background: #DCF3EC; }
.mcp-hit .own em.raw { color: #6B5563; background: #F1EAEE; }

.mcp-side > * + * { margin-top: 1.6rem; }
.mcp-side h3 { font-size: .95rem; margin-bottom: .55rem; }
.mcp-side p { color: var(--text-muted); font-size: .88rem; line-height: 1.75; }
.mcp-connect {
  margin: .7rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.9;
}
.mcp-connect code {
  padding: .1rem .38rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg);
  color: var(--brand);
  font: 500 .78rem/1.5 'JetBrains Mono', ui-monospace, monospace;
  word-break: break-all;
}
.mcp-reach { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.mcp-after { margin-top: .75rem; }
.mcp-reach span {
  padding: .28rem .6rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: .74rem;
}

@media (max-width: 900px) {
  .mcp-panel { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* Claude conversation, on the MCP feature block */
.fv-chat { padding-bottom: .35rem; }
.fv-you { padding: .5rem .65rem; border-radius: 5px 5px 5px 1px; background: var(--bg); border: 1px solid var(--border); color: var(--text); font-size: .78rem; }
.fv-call { display: flex; align-items: baseline; gap: .5rem; margin-top: .5rem; padding: .35rem .55rem; border-radius: 4px; background: rgba(47,191,160,.07); border: 1px solid rgba(47,191,160,.18); color: var(--text-muted); font: 500 .66rem/1.5 'JetBrains Mono', ui-monospace, monospace; }
.fv-call i { color: var(--accent); font-style: normal; font-weight: 700; }
.fv-call b { margin-left: auto; color: var(--text); }

/* mcp.html config block */
pre { background: #f4f4f4; padding: 1rem; overflow-x: auto; font-size: 0.875rem; line-height: 1.4; }
pre code { white-space: pre; }
