/* ══════════════════════════════════════════════════════════════════════════
   SystemsCloud.co.uk — Crakd.ai Design System
   Typography: Bricolage Grotesque (Display), Plus Jakarta Sans (UI), JetBrains Mono
   ══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-surface: #f8fafc;
  --bg-elevated: #f1f5f9;
  --primary: #b91c1c;
  --primary-light: #991b1b;
  --primary-50: rgba(185, 28, 28, 0.06);
  --accent: #0d9488;
  --accent-light: #0f766e;
  --tertiary: #0f172a;
  --warm: #c2410c;
  --cta: #b91c1c;
  --cta-light: #991b1b;
  --cta-glow: rgba(185, 28, 28, 0.16);
  --text: #0f172a;
  --text-sec: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-hover: rgba(185, 28, 28, 0.3);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --green: #059669;
  --good: #15803d;
  --good-soft: #dcfce7;
  --brand: #0f172a;
  --brand-soft: #fef2f2;
  --r: 0.75rem;
  --rl: 1rem;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

/* ── STICKY GLASS HEADER ── */
header#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}

header#header.scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-bottom-color: #e2e8f0;
}

.hdi {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.logo-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.025em;
  color: #0f172a;
}

.logo-text span {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nl {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}

.nl a,
.nl .dt {
  color: #475569;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.nl a:hover,
.nl .dt:hover,
.nl a[aria-current="page"] {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.035);
}

.nd {
  position: relative;
}

.dt::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 4px;
  transition: transform 0.2s;
}

.nd:hover .dt::after {
  transform: rotate(180deg);
}

.dm {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.5rem;
  display: none;
  z-index: 1001;
}

.dmi {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  align-items: stretch;
  text-align: left;
}

.dm a {
  padding: 0.6rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

.dm a span {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
}

.dm a:hover {
  background: rgba(185, 28, 28, 0.04);
  color: var(--primary);
}

.nd:hover > .dm {
  display: block;
}

.nav-feat {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.nav-feat:hover {
  color: #0b5563 !important;
}

.nf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: nfpulse 1.8s infinite;
}

@keyframes nfpulse {
  0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(2, 132, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-link-cta {
  color: #475569;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 0.45rem;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link-cta:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.03);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  padding: 0.6rem 1.25rem;
  box-shadow: 0 1px 3px rgba(185, 28, 28, 0.3);
}

.btn-primary:hover {
  background: var(--cta-light);
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.32);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #0f172a;
  border: 1px solid #d1d5db;
  padding: 0.6rem 1.15rem;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(185, 28, 28, 0.03);
}

.btn-hero-primary {
  background: var(--cta);
  color: #fff;
  padding: 0.875rem 1.85rem;
  font-size: 1rem;
  border-radius: 0.625rem;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.25);
}

.btn-hero-primary:hover {
  background: var(--cta-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.32);
}

.btn-hero-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #d1d5db;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  border-radius: 0.625rem;
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  background: rgba(185, 28, 28, 0.03);
}

.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.ham span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.ham.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ham.active span:nth-child(2) { opacity: 0; }
.ham.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── GLOBAL LAYOUT & TYPOGRAPHY ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5.25rem 2rem;
}

.section-sm {
  padding: 3.75rem 2rem;
}

.section-alt {
  background: linear-gradient(180deg, #f6f7fc 0%, #ffffff 85%);
}

.sh {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.sh h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.85rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.sh p {
  font-size: 1.05rem;
  color: var(--text-sec);
  line-height: 1.65;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-50);
  border: 1px solid rgba(185, 28, 28, 0.14);
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO (CRAKD SPLIT LAYOUT) ── */
.hero {
  padding: 2.5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 600px;
  transform: translate(-50%, -60%);
  background: radial-gradient(ellipse, rgba(185, 28, 28, 0.045), rgba(2, 132, 199, 0.025) 50%, transparent 70%);
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -60%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185, 28, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 28, 28, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 72% 32%, #000, transparent);
  mask-image: radial-gradient(ellipse 85% 75% at 72% 32%, #000, transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1040px) {
  .hero-content {
    grid-template-columns: minmax(360px, 440px) 1fr;
    gap: 3rem;
  }
}

.hero-text {
  max-width: 600px;
}

.hero-opera {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3rem;
  padding: 0.4rem 1.15rem 0.4rem 0.45rem;
  margin-bottom: 1.3rem;
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.25);
}

.hero-opera img {
  height: 34px;
  width: 34px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 2px;
}

.hero-opera .ho-t {
  text-align: left;
  line-height: 1.2;
}

.hero-opera .ho-t b {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.hero-opera .ho-t span {
  font-size: 0.63rem;
  font-family: var(--mono);
  color: var(--text-sec);
  letter-spacing: 0.02em;
}

.hero-text h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.03;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero-text .hero-sub {
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--text-sec);
  margin: 0 0 1.6rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0;
  text-decoration: none;
}

.hero-watch .pbtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(185, 28, 28, 0.65);
  transition: transform 0.15s;
  flex: 0 0 auto;
}

.hero-watch:hover .pbtn {
  transform: scale(1.08);
}

.hero-watch small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-sec);
  font-family: var(--mono);
}

.hero-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
  margin: 1.35rem 0 0;
}

.hero-cred {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  font-family: var(--mono);
  color: var(--text-muted);
  margin: 1.15rem 0 0;
  letter-spacing: 0.02em;
  line-height: 1.7;
  max-width: 560px;
}

.cred-link {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

.cred-link:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.hero-visual {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e8f0;
  box-shadow: 0 44px 100px -50px rgba(15, 23, 42, 0.5), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.hero-visual iframe {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
}

/* ── CRAKD PORTAL SHOWCASE (SERVICES) ── */
.portal-wrap {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.portal {
  background: #fff;
  border: 1px solid #e6e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 44px 100px -50px rgba(15, 23, 42, 0.5), 0 2px 8px rgba(15, 23, 42, 0.05);
}

.portal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid #eef0f5;
  background: #fcfcfe;
}

.portal-top .ptl {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--display);
}

.portal-top .ptl img {
  height: 22px;
  width: auto;
  border-radius: 5px;
}

.portal-top .ptl .tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-sec);
  background: #eef0f5;
  border-radius: 1rem;
  padding: 0.14rem 0.55rem;
  letter-spacing: 0.03em;
}

.portal-top .ptr {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.portal-top .env {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--good);
  background: var(--good-soft);
  border-radius: 1rem;
  padding: 0.28rem 0.7rem;
}

.portal-top .env .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
}

.portal-top .ava {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
}

.portal-body {
  display: grid;
  grid-template-columns: 204px 1fr;
}

.portal-side {
  border-right: 1px solid #eef0f5;
  padding: 1.1rem 0.75rem;
  background: #fcfcfe;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.ps-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 0.5rem;
  margin: 0.9rem 0 0.35rem;
}

.ps-label:first-child {
  margin-top: 0;
}

.ps-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  color: var(--text-sec);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ps-item:hover {
  background: #f1f2f9;
  color: var(--text);
}

.ps-item svg {
  width: 15px;
  height: 15px;
  opacity: 0.65;
  flex: 0 0 auto;
}

.ps-item.active {
  background: var(--brand-soft);
  color: var(--brand);
}

.ps-item.active svg {
  opacity: 1;
}

.portal-main {
  padding: 1.5rem 1.6rem 1.7rem;
}

.pm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
  flex-wrap: wrap;
}

.pm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.35rem;
}

.pm-h {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}

.pm-count {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 1rem;
  padding: 0.3rem 0.8rem;
  white-space: nowrap;
}

.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.pm-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  text-decoration: none;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.pm-card:hover {
  border-color: #d7d9ea;
  box-shadow: 0 12px 26px -16px rgba(15, 23, 42, 0.4);
  transform: translateY(-2px);
}

.pm-card.feat {
  border-color: rgba(31, 122, 77, 0.35);
  background: linear-gradient(180deg, #f2faf5, #fff);
}

.pm-flag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--good);
  background: var(--good-soft);
  border-radius: 1rem;
  padding: 0.08rem 0.45rem;
  margin-left: 0.45rem;
  vertical-align: middle;
}

.pm-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  flex: 0 0 auto;
}

.pm-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.pm-ic svg {
  width: 20px;
  height: 20px;
}

.pm-meta {
  flex: 1;
  min-width: 0;
}

.pm-meta b {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.pm-meta span {
  font-size: 0.71rem;
  color: var(--text-muted);
  font-family: var(--mono);
  display: block;
  margin-top: 0.15rem;
}

.pm-arrow {
  color: var(--text-muted);
  flex: 0 0 auto;
  display: flex;
}

.pm-card:hover .pm-arrow {
  color: var(--brand);
}

/* ── SEE IT IN ACTION (CRAKD INTERACTIVE TABBED STAGE) ── */
.tsv-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.4rem;
}

.tsv-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.tsv-head p {
  color: var(--text-sec);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.tsv-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.6rem;
  align-items: start;
}

.tsv-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.tsv-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.14rem;
  text-align: left;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: var(--font);
}

.tsv-tab:hover {
  border-color: #cdd0e6;
}

.tsv-tab.active {
  border-color: var(--primary);
  box-shadow: 0 16px 32px -20px rgba(185, 28, 28, 0.55);
  background: linear-gradient(180deg, #fff5f5, #fff);
}

.tsv-tab .tt-pain {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.tsv-tab .tt-app {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

.tsv-tab .tt-badge {
  align-self: flex-start;
  margin-top: 0.45rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0284c7;
  background: #e0f2fe;
  border-radius: 1rem;
  padding: 0.14rem 0.55rem;
}

.tsv-tab .tt-badge.tt-live {
  color: var(--good);
  background: var(--good-soft);
}

.tsv-also {
  margin: 1rem 0.2rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tsv-also a {
  color: var(--text-sec);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.tsv-also a:hover {
  color: var(--primary);
}

.tsv-stage {
  position: sticky;
  top: 90px;
  min-width: 0;
}

.tsv-screen {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e3e5ef;
  box-shadow: 0 40px 90px -40px rgba(15, 23, 42, 0.6), 0 2px 8px rgba(15, 23, 42, 0.05);
  background: #fff;
}

.tsv-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: #f3f4f8;
  border-bottom: 1px solid #e6e8f0;
}

.tsv-chrome .cd {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d4d7e3;
}

.tsv-chrome .cd:nth-child(1) { background: #f3a9a0; }
.tsv-chrome .cd:nth-child(2) { background: #f6d08a; }
.tsv-chrome .cd:nth-child(3) { background: #a7d8ab; }

.tsv-url {
  flex: 1;
  margin-left: 0.5rem;
  background: #fff;
  border: 1px solid #e6e8f0;
  border-radius: 1rem;
  padding: 0.28rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tsv-live {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--good);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.tsv-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(31, 122, 77, 0.5);
  animation: tsvpulse 1.8s infinite;
}

@keyframes tsvpulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 122, 77, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(31, 122, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 122, 77, 0); }
}

.tsv-player {
  position: relative;
  min-height: 360px;
  background: #f8fafc;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tsv-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.tsv-ba {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.tsv-was {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: #c4c7d6;
}

.tsv-arw {
  color: var(--text-muted);
}

.tsv-now {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--good);
  letter-spacing: -0.02em;
  line-height: 1;
}

.tsv-full {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.tsv-full:hover {
  text-decoration: underline;
}

/* ── FEATURE / SERVICE CARDS & GRIDS ── */
.apps-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.apps-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.ac {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--rl);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.ac:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
}

.ac-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.28rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-50);
  color: var(--primary);
}

.ac h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.ac p {
  color: var(--text-sec);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.ac ul.card-bullets {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ac ul.card-bullets li {
  position: relative;
  padding-left: 1.35rem;
  display: block;
  text-align: left;
  font-size: 0.86rem;
  color: var(--text-sec);
  line-height: 1.5;
}

.ac ul.card-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--good);
}

.ac-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ── INNER PAGE HERO (CRAKD AP-HERO STYLE) ── */
.ap-hero {
  padding: 3.5rem 2rem 2.75rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(120% 120% at 50% -10%, #fef2f2 0%, #ffffff 62%);
}

.ap-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185, 28, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 28, 28, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 30%, #000, transparent);
  mask-image: radial-gradient(ellipse 80% 70% at 75% 30%, #000, transparent);
  pointer-events: none;
}

.ap-hero-in {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
}

.ap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--mono);
  margin-bottom: 0.9rem;
}

.ap-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--text);
}

.ap-hero .lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-sec);
  margin: 0 0 1.4rem;
  max-width: 560px;
}

.ap-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 1.05rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.ap-stat .l {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  font-family: var(--mono);
}

.ap-stat .ba {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ap-stat .was {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: #c4c7d6;
  font-size: 0.9rem;
}

.ap-stat .now {
  font-family: var(--display);
  font-weight: 800;
  color: var(--good);
  font-size: 1.15rem;
  line-height: 1;
}

.ap-screen {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e3e5ef;
  box-shadow: 0 40px 90px -42px rgba(15, 23, 42, 0.45), 0 2px 8px rgba(15, 23, 42, 0.05);
  background: #fff;
}

.ap-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: #f3f4f8;
  border-bottom: 1px solid #e6e8f0;
}

.ap-chrome .cd {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.ap-chrome .cd1 { background: #f3a9a0; }
.ap-chrome .cd2 { background: #f6d08a; }
.ap-chrome .cd3 { background: #a7d8ab; }

.ap-chrome .url {
  flex: 1;
  margin-left: 0.5rem;
  background: #fff;
  border: 1px solid #e6e8f0;
  border-radius: 1rem;
  padding: 0.24rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ap-prev {
  background: linear-gradient(165deg, #f5f6fd, #fff);
  padding: 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
}

.ap-prev img.hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 0.4rem;
}

.ap-prev ul {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ap-prev li {
  position: relative;
  padding-left: 1.65rem;
  display: block;
  text-align: left;
  font-size: 0.88rem;
  color: var(--text-sec);
  line-height: 1.5;
}

.ap-prev li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--good);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── CLIENTS & TESTIMONIAL BAR ── */
.clients-strip {
  max-width: 1180px;
  margin: 0 auto;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  align-items: center;
}

.client-tile {
  flex: 1 1 200px;
  max-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.client-tile:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.client-tile img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.quote-card {
  max-width: 880px;
  margin: 2.5rem auto 0;
  background: linear-gradient(165deg, #fff5f5, #ffffff);
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 24px 60px -36px rgba(15, 23, 42, 0.3);
  position: relative;
}

.quote-card blockquote {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1rem;
}

.quote-card cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

/* ── CONTENT BLOCKS & CHECKLISTS ── */
.content-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.prose-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.prose-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.prose-card p {
  color: var(--text-sec);
  font-size: 0.96rem;
  line-height: 1.72;
  margin-bottom: 1rem;
}

.prose-card p:last-child {
  margin-bottom: 0;
}

.prose-card ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.prose-card ul li {
  position: relative;
  padding-left: 1.45rem;
  display: block;
  text-align: left;
  font-size: 0.93rem;
  color: var(--text-sec);
  line-height: 1.55;
}

.prose-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--good);
  font-weight: 800;
}

/* ── FAQ ACCORDION (CRAKD STYLE) ── */
.faq-section {
  padding: 4.5rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.faq-section h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 2.2rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  line-height: 1.4;
}

.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-q::after {
  content: '\2212';
  color: var(--primary);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.93rem;
  color: var(--text-sec);
  line-height: 1.72;
}

.faq-a-inner p + p {
  margin-top: 0.75rem;
}

/* ── CONTACT FORM CARD (CRAKD STYLE) ── */
.contact-split {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.25rem;
  box-shadow: 0 24px 60px -36px rgba(15, 23, 42, 0.28);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--cta);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.25);
}

.form-submit:hover {
  background: var(--cta-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.35);
}

.contact-info-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1rem 1.15rem;
  border-radius: 12px;
}

.contact-info-list .ci-lbl {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
}

.contact-info-list .ci-val {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  text-decoration: none;
}

.contact-info-list a.ci-val:hover {
  color: var(--primary);
}

/* ── BLOG CARDS & ARTICLE VIEW ── */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-sec);
  cursor: pointer;
  transition: all 0.15s;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.blog-search {
  position: relative;
  min-width: 260px;
}

.blog-search input {
  width: 100%;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
}

.blog-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.12);
}

.post-card-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #fef2f2, #e0f2fe);
  overflow: hidden;
  position: relative;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.post-card-topic {
  color: var(--primary);
  background: var(--primary-50);
  padding: 0.12rem 0.55rem;
  border-radius: 1rem;
  font-weight: 600;
}

.post-card h3 {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.55rem;
  letter-spacing: -0.015em;
}

.post-card p {
  font-size: 0.88rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.post-card-read {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}

/* Single Blog Post Article */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0.75rem 0 1rem;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-hero-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.article-hero-img img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-sec);
}

.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--display);
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}

.article-body h2 { font-size: 1.6rem; }
.article-body h3 { font-size: 1.32rem; }

.article-body p {
  margin-bottom: 1.2rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.35rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.45rem;
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-surface);
  padding: 1rem 1.35rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  font-style: italic;
}

.article-body .post-figure {
  margin: 1.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-body .post-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── FOOTER (CRAKD STYLE) ── */
footer {
  background: var(--bg-surface);
  border-top: 1px solid #e2e8f0;
  padding: 4rem 2rem 2.5rem;
}

.fi {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.fc h4 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
}

.fc img[src*="logo-aoc"] {
  height: 36px !important;
  width: auto !important;
  border-radius: 0 !important;
  object-fit: contain;
}

.fc p {
  color: var(--text-sec);
  font-size: 0.875rem;
  line-height: 1.65;
}

.fc ul {
  list-style: none;
}

.fc ul li {
  margin-bottom: 0.5rem;
}

.fc a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.fc a:hover {
  color: var(--primary);
}

.fb {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--mono);
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .ham { display: flex; }
  .nl {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
  }
  .nl.active { display: flex; }
  .dm { position: static; padding-top: 0; }
  .dmi { box-shadow: none; border: none; background: #f9fafb; min-width: 0; }
  .nd:hover > .dm { display: none; }
  .nd.active > .dm { display: block; }
  .nav-link-cta { display: none; }
  .ap-hero-in,
  .content-grid,
  .contact-split { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .portal-body { grid-template-columns: 1fr; }
  .portal-side { display: none; }
  .tsv-wrap { grid-template-columns: 1fr; }
  .tsv-stage { position: static; }
}

@media (max-width: 680px) {
  .apps-grid,
  .posts-grid,
  .pm-grid,
  .form-row { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .fi { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3.5rem 1.25rem; }
  .hero { padding: 2rem 1.25rem 3rem; }
  .fb { flex-direction: column; text-align: center; }
}


/* ══════════════════════════════════════════════════════════════════════════
   INTSYS-INSPIRED INTERACTIVE ENHANCEMENTS
   (Command-K Search, Live AI Autopilot, Support Levels Carousel, Token Tiers,
    At-a-Glance Strips, Customer Story Band, Floating AI/Support Assistant)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1. HEADER SEARCH BUTTON & COMMAND-K MODAL ── */
.search-trigger {
  color: var(--text-sec);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font);
  display: inline-flex;
  margin-left: 0.25rem;
}

.search-trigger:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}

.search-trigger kbd {
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .search-trigger-label,
  .search-trigger kbd {
    display: none;
  }
  .search-trigger {
    padding: 0.48rem;
  }
}

.search-overlay {
  z-index: 1200;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: clamp(2rem, 8vh, 5.5rem) 1.25rem 1.5rem;
  background: rgba(15, 23, 42, 0.45);
  align-content: start;
  justify-items: center;
  display: grid;
  position: fixed;
  inset: 0;
}

.search-overlay[hidden] {
  display: none !important;
}

.search-panel {
  border-radius: 16px;
  width: min(42rem, 100%);
  animation: scSearchPop 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
}

@keyframes scSearchPop {
  from { opacity: 0; transform: translateY(-8px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.search-field {
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem;
  display: flex;
}

.search-field input {
  color: var(--text);
  background: transparent;
  border: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  font-size: 1.02rem;
  font-family: var(--font);
}

.search-close {
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-family: var(--mono);
  font-weight: 600;
}

.search-results {
  max-height: min(62vh, 30rem);
  overflow-y: auto;
}

.search-hint,
.search-empty {
  color: var(--text-muted);
  margin: 0;
  padding: 1.35rem 1.2rem;
  font-size: 0.9rem;
}

.search-results a {
  border-bottom: 1px solid var(--border);
  color: inherit;
  gap: 0.2rem;
  padding: 0.78rem 1.2rem;
  text-decoration: none;
  display: grid;
  transition: background 0.12s;
}

.search-results a:last-child {
  border-bottom: 0;
}

.search-results a:hover,
.search-results a[data-active] {
  background: #f5f7ff;
}

.search-results .r-top {
  align-items: baseline;
  gap: 0.6rem;
  display: flex;
}

.search-results .r-title {
  font-family: var(--display);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
}

.search-results a:hover .r-title,
.search-results a[data-active] .r-title {
  color: var(--primary);
}

.search-results .r-kind {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-50);
  padding: 0.12rem 0.5rem;
  border-radius: 1rem;
  flex-shrink: 0;
  margin-left: auto;
  font-size: 0.65rem;
  font-family: var(--mono);
  font-weight: 700;
}

.search-results .r-desc {
  color: var(--text-sec);
  font-size: 0.84rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-results mark {
  color: inherit;
  background: #fecaca;
  border-radius: 2px;
  padding: 0 2px;
}

/* ── 2. AT-A-GLANCE STRIP (INTSYS GLANCE-STRIP) ── */
.glance-strip {
  max-width: 1200px;
  margin: -1.6rem auto 2rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.glance-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  box-shadow: 0 14px 34px -18px rgba(15, 23, 42, 0.14);
}

.glance-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.glance-card b {
  display: block;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.glance-card span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-sec);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .glance-strip {
    grid-template-columns: 1fr;
    margin-top: 1.25rem;
  }
}

/* ── 3. INTSYS-STYLE LIVE AI & CLOUD AUTOPILOT SECTION ── */
.sc-ai-band {
  background: linear-gradient(135deg, #fef2f2 0%, #e6f4f8 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 2rem;
}

.sc-ai-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
  gap: 3rem;
  align-items: center;
}

.sc-ai-copy .eyebrow-bar {
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-items: center;
  gap: 9px;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  font-weight: 700;
  display: flex;
}

.sc-ai-copy .eyebrow-bar::before {
  content: "";
  background: var(--accent);
  flex-shrink: 0;
  width: 22px;
  height: 2px;
  display: inline-block;
}

.sc-ai-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.3vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
}

.sc-ai-copy p {
  color: var(--text-sec);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.sc-ai-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin-top: 1.25rem;
}

.sc-ai-links a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sc-ai-links a:hover {
  text-decoration: underline;
}

.sc-screen-frame {
  background: #fff;
  border: 1px solid #cfdbe6;
  border-radius: 14px;
  padding: 9px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.sc-screen-bar {
  color: #627984;
  align-items: center;
  gap: 5px;
  padding: 6px 8px 11px;
  font-size: 11px;
  font-family: var(--mono);
  display: flex;
}

.sc-screen-bar i {
  background: #bdcdd5;
  border-radius: 50%;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  display: inline-block;
}

.sc-screen-bar i:nth-child(1) { background: #f3a9a0; }
.sc-screen-bar i:nth-child(2) { background: #f6d08a; }
.sc-screen-bar i:nth-child(3) { background: #a7d8ab; }

.sc-screen-bar span {
  margin-left: 8px;
}

#sc-autopilot {
  --auto-ink: #0f172a;
  --auto-blue: #b91c1c;
  --auto-cyan: #0284c7;
  --auto-line: #e3ecef;
  --auto-muted: #5b707d;
  --auto-green: #15735b;
  --auto-amber: #895915;
  --auto-red: #a73e38;
  width: 100%;
  color: var(--auto-ink);
  text-align: left;
  background: #fff;
  border: 1px solid var(--auto-line);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
}

#sc-autopilot .auto-header {
  border-bottom: 1px solid var(--auto-line);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  display: flex;
}

#sc-autopilot .auto-brand {
  align-items: center;
  gap: 12px;
  display: flex;
}

#sc-autopilot .auto-mark-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--auto-line);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  padding: 3px;
}

#sc-autopilot .auto-mark-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#sc-autopilot .auto-brand strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  display: block;
  color: var(--text);
}

#sc-autopilot .auto-brand small {
  color: var(--auto-muted);
  margin-top: 2px;
  font-size: 11px;
  display: block;
}

#sc-autopilot .auto-connected {
  color: var(--auto-green);
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

#sc-autopilot .auto-dot {
  background: var(--auto-green);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  display: inline-block;
}

#sc-autopilot .auto-summary {
  background: #f5fafb;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 12px;
  display: flex;
}

#sc-autopilot .auto-summary strong {
  align-items: center;
  gap: 8px;
  font-weight: 600;
  display: flex;
}

#sc-autopilot .auto-summary small {
  color: var(--auto-muted);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}

#sc-autopilot .auto-activity {
  padding: 4px 12px 8px;
}

#sc-autopilot .auto-row {
  border: 0;
  border-bottom: 1px solid var(--auto-line);
  text-align: left;
  width: 100%;
  color: var(--auto-ink);
  background: #fff;
  grid-template-columns: 140px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 10px;
  transition: background 0.2s;
  display: grid;
  position: relative;
  cursor: pointer;
  font-family: var(--font);
}

#sc-autopilot .auto-row:last-child {
  border-bottom: 0;
}

#sc-autopilot .auto-row[aria-pressed="true"] {
  background: #f2f5ff;
}

#sc-autopilot .auto-row[data-phase="working"] {
  background: #eef6fb;
}

#sc-autopilot .auto-row:hover {
  background: #f4f8fb;
}

#sc-autopilot .auto-app strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  display: block;
  color: var(--text);
}

#sc-autopilot .auto-app small {
  color: var(--auto-muted);
  margin-top: 2px;
  font-size: 11px;
  display: block;
}

#sc-autopilot .auto-task {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: block;
  color: var(--text);
}

#sc-autopilot .auto-state {
  color: var(--auto-muted);
  margin-top: 2px;
  font-size: 11px;
  display: block;
}

#sc-autopilot [data-phase="working"] .auto-state { color: var(--auto-blue); font-weight: 600; }
#sc-autopilot [data-phase="done"] .auto-state { color: var(--auto-green); font-weight: 600; }
#sc-autopilot [data-phase="approval"] .auto-state,
#sc-autopilot [data-phase="ready"] .auto-state { color: var(--auto-amber); font-weight: 600; }
#sc-autopilot [data-phase="review"] .auto-state { color: var(--auto-red); font-weight: 600; }

#sc-autopilot .auto-status-symbol {
  color: #7c929d;
  border: 1px solid #d9e4e8;
  border-radius: 50%;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  display: grid;
}

#sc-autopilot [data-phase="working"] .auto-status-symbol {
  color: var(--auto-blue);
  border-color: transparent #b91c1c #0284c7;
  font-size: 0;
  animation: 1.1s linear infinite scAutoSpin;
}

#sc-autopilot [data-phase="done"] .auto-status-symbol {
  color: var(--auto-green);
  background: #e6f4ee;
  border-color: transparent;
}

#sc-autopilot [data-phase="approval"] .auto-status-symbol,
#sc-autopilot [data-phase="ready"] .auto-status-symbol {
  color: var(--auto-amber);
  background: #fff3dc;
  border-color: transparent;
}

#sc-autopilot [data-phase="review"] .auto-status-symbol {
  color: var(--auto-red);
  background: #fbecea;
  border-color: transparent;
  font-weight: 700;
}

#sc-autopilot .auto-progress {
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  overflow: hidden;
}

#sc-autopilot .auto-progress span {
  background: linear-gradient(90deg, #b91c1c, #0284c7);
  transform-origin: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.12s linear;
  display: block;
  transform: scaleX(0);
}

#sc-autopilot .auto-ledger {
  color: var(--auto-muted);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 20px;
  padding: 10px 0 12px;
  font-size: 11px;
  display: flex;
}

#sc-autopilot .auto-ledger strong {
  color: var(--auto-blue);
  font-size: 12px;
  font-weight: 700;
}

#sc-autopilot .auto-ledger-line {
  background: var(--auto-line);
  flex: 1;
  min-width: 20px;
  height: 1px;
  position: relative;
  overflow: hidden;
}

#sc-autopilot .auto-ledger-line::after {
  content: "";
  background: linear-gradient(90deg, transparent, #b91c1c, #0284c7, transparent);
  position: absolute;
  inset: 0;
  transform: translate(-100%);
}

#sc-autopilot[data-running="true"] .auto-ledger-line::after {
  animation: 2.4s ease-in-out infinite scAutoTransfer;
}

#sc-autopilot .auto-detail {
  border: 1px solid var(--auto-line);
  background: #f6fafb;
  border-radius: 10px;
  margin: 0 14px 12px;
  padding: 14px 16px;
}

#sc-autopilot .auto-detail[hidden] {
  display: none !important;
}

#sc-autopilot .auto-detail h4 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
}

#sc-autopilot .auto-detail ul {
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

#sc-autopilot .auto-detail li {
  color: var(--auto-muted);
  grid-template-columns: 16px 1fr;
  gap: 7px;
  font-size: 11px;
  line-height: 1.5;
  display: grid;
}

#sc-autopilot .auto-detail li[hidden] {
  display: none !important;
}

#sc-autopilot .auto-alert {
  color: #77501c;
  background: #fff5e8;
  border-left: 3px solid #c18425;
  border-radius: 0 7px 7px 0;
  margin: 0 14px 12px;
  padding: 10px 14px;
  font-size: 11px;
  line-height: 1.5;
}

#sc-autopilot .auto-alert[hidden] {
  display: none !important;
}

#sc-autopilot .auto-footer {
  border-top: 1px solid var(--auto-line);
  background: #fbfdfd;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  display: flex;
}

#sc-autopilot .auto-footer small {
  color: var(--auto-muted);
  font-size: 11px;
}

#sc-autopilot .auto-control {
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  min-height: 32px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

#sc-autopilot .auto-control:hover {
  background: var(--primary-dark);
}

@keyframes scAutoSpin {
  to { transform: rotate(360deg); }
}

@keyframes scAutoTransfer {
  to { transform: translate(100%); }
}

@media (max-width: 960px) {
  .sc-ai-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  #sc-autopilot .auto-row {
    grid-template-columns: 105px minmax(0, 1fr) 22px;
    gap: 8px;
  }
}

/* ── 4. SUPPORT LEVELS CAROUSEL (BRONZE / SILVER / GOLD) & TOKEN TIERS ── */
.levels-wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.lv-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.lv-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lv-pill {
  font-family: var(--display);
  border-radius: 2rem;
  border: 1.5px solid var(--border-hover);
  color: var(--text-sec);
  cursor: pointer;
  transition: all 0.18s;
  background: #fff;
  padding: 0.5rem 1.45rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.lv-pill[aria-selected="true"].p-bronze {
  color: #fff;
  background: #0284c7;
  border-color: #0284c7;
}

.lv-pill[aria-selected="true"].p-silver {
  color: #fff;
  background: #b91c1c;
  border-color: #b91c1c;
}

.lv-pill[aria-selected="true"].p-gold {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.lv-pause {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-sec);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lv-pause svg {
  width: 15px;
  height: 15px;
}

.lv-pause[data-paused="false"] [data-play],
.lv-pause[data-paused="true"] [data-pause] {
  display: none;
}

.lv-window {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px -28px rgba(15, 23, 42, 0.22);
}

.lv-track {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
}

.lv-slide {
  gap: 2.25rem;
  padding: 2.5rem;
  border-radius: 18px;
  flex: 0 0 100%;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  display: grid;
}

.s-bronze {
  background: linear-gradient(150deg, #f4f9ff, #eaf3ff);
  border: 1px solid #cfe2ff;
}

.s-silver {
  background: linear-gradient(150deg, #eff6ff, #e4efff);
  border: 1px solid #fca5a5;
}

.s-gold {
  background: linear-gradient(150deg, #eef3fb, #e0ebfa);
  border: 1px solid #93c5fd;
}

.lv-slide h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.35rem 0 0.65rem;
}

.lv-slide p.lv-desc {
  color: var(--text-sec);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.lv-list {
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  padding: 0;
  list-style: none;
  display: grid;
}

.lv-list li {
  color: var(--text-sec);
  padding-left: 1.4em;
  font-size: 0.88rem;
  position: relative;
  font-weight: 500;
}

.lv-list li::before {
  content: "✓";
  font-weight: 800;
  position: absolute;
  left: 0;
  color: var(--good);
}

.lv-art {
  text-align: center;
  margin: 0;
}

.lv-art svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
}

.lv-art figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-sec);
}

.lv-art figcaption b {
  display: block;
  color: var(--text);
}

/* Tier Pricing Grid (Silver / Gold / Platinum) */
.tier-grid {
  max-width: 1160px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.tier-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem 1.75rem 1.75rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.tier-card.tone-sky { border-top: 4px solid #0284c7; }
.tier-card.tone-teal { border-top: 4px solid #b91c1c; box-shadow: 0 20px 45px -22px rgba(185, 28, 28, 0.3); }
.tier-card.tone-amber { border-top: 4px solid #0f172a; }

.tier-flag {
  background: #b91c1c;
  color: #fff;
  font-family: var(--mono);
  border-radius: 2rem;
  padding: 0.25rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
}

.tier-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.tier-price b {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
  color: var(--primary);
}

.tier-card.tone-teal .tier-price b { color: #b91c1c; }
.tier-card.tone-amber .tier-price b { color: #0f172a; }

.tier-price span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

.tier-base {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin: 1rem 0 0.75rem;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.48rem;
  flex: 1;
}

.tier-card ul li {
  font-size: 0.86rem;
  color: var(--text-sec);
  padding-left: 1.35rem;
  position: relative;
}

.tier-card ul li::before {
  content: "✓";
  color: var(--good);
  font-weight: 800;
  position: absolute;
  left: 0;
}

.tier-rates {
  border-top: 1px dashed var(--border-hover);
  padding-top: 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

.tier-rates p + p {
  margin-top: 0.25rem;
}

/* Dark Token Explainer Card */
.tokens-band {
  max-width: 1160px;
  margin: 2.75rem auto 0;
  background: linear-gradient(115deg, #0f172a 0%, #1e293b 55%, #0284c7 100%);
  border-radius: 22px;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  color: #fff;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.55);
}

.tokens-band h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 800;
  color: #fff;
  margin: 0.4rem 0 0.8rem;
}

.tokens-band p {
  color: #fecaca;
  font-size: 0.96rem;
  line-height: 1.7;
}

.tk-visual {
  display: grid;
  gap: 0.75rem;
}

.tk-chip {
  background: #fff;
  color: #0f172a;
  border-radius: 2rem;
  padding: 0.65rem 1.35rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  justify-self: start;
  margin-bottom: 0.4rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.tk-chip b {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
}

.tk-chip span {
  font-size: 0.85rem;
  color: var(--text-sec);
}

.tk-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
}

.tk-row span {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
}

.tk-row i {
  background: rgba(255, 255, 255, 0.28);
  height: 1.5px;
  display: block;
}

.tk-row b {
  color: #fca5a5;
  font-family: var(--mono);
  font-size: 0.84rem;
}

.tk-row.hl b {
  color: #6ee7b7;
}

@media (max-width: 900px) {
  .lv-slide,
  .tier-grid,
  .tokens-band,
  .lv-list {
    grid-template-columns: 1fr;
  }
}

/* ── 5. CUSTOMER STORY EXPANDABLE QUOTE BAND (A. WARNE) ── */
.intsys-quote-band {
  max-width: 1160px;
  margin: 2.5rem auto 0;
  background: linear-gradient(120deg, #fef2f2 0%, #e0f2fe 100%);
  border: 1px solid #cbd5e1;
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: center;
}

.intsys-quote-band blockquote {
  margin: 0;
}

.intsys-quote-band blockquote > p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.intsys-quote-band footer {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sec);
}

.intsys-quote-band details {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.intsys-quote-band summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--primary);
}

.intsys-quote-band details p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .intsys-quote-band {
    grid-template-columns: 1fr;
  }
}

/* ── 6. FLOATING AI & SUPPORT ASSISTANT DRAWER (INTSYS WC-LAUNCHER) ── */
.wc-launcher {
  right: 24px;
  bottom: 24px;
  background: #0f172a;
  color: #fff;
  z-index: 1100;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 20px 8px 10px;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  display: flex;
  position: fixed;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.38);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.wc-launcher:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(185, 28, 28, 0.45);
}

.wc-launcher-icon {
  background: linear-gradient(135deg, #b91c1c, #0284c7);
  border-radius: 50%;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
  flex-shrink: 0;
}

.wc-launcher-arrow {
  color: #67e8f9;
  margin-left: 4px;
  font-size: 1.1rem;
}

.wc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(2px);
  z-index: 1150;
  display: flex;
  justify-content: flex-end;
  padding: 20px;
}

.wc-backdrop[hidden] {
  display: none !important;
}

.wc-panel {
  width: min(480px, 100%);
  height: min(760px, calc(100dvh - 40px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.32);
  animation: scSearchPop 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wc-header {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wc-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wc-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 3px;
}

.wc-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wc-title {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.wc-subtitle {
  font-size: 0.75rem;
  color: #fca5a5;
  margin: 2px 0 0;
}

.wc-close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.wc-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  padding: 6px;
  gap: 6px;
}

.wc-mode-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-sec);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.wc-mode-tab.active {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.wc-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
}

.wc-choices {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.wc-choice {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 11px 14px;
  text-align: left;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.wc-choice:hover {
  background: #f5f7ff;
  border-color: var(--primary);
}

.wc-msg-q {
  background: #fef2f2;
  color: #0f172a;
  border-radius: 14px 14px 3px 14px;
  padding: 10px 14px;
  margin: 14px 0 10px 32px;
  font-size: 0.86rem;
  font-weight: 600;
}

.wc-msg-a {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 4px 12px 12px 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--text-sec);
  line-height: 1.6;
}

.wc-msg-a strong {
  color: var(--text);
}

.wc-est-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.wc-est-result {
  background: linear-gradient(135deg, #fef2f2, #e0f2fe);
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 14px;
  margin-top: 14px;
}

.wc-footer-bar {
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  background: #fff;
  display: flex;
  gap: 8px;
}

.wc-footer-bar input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.86rem;
  font-family: var(--font);
  outline: none;
}

.wc-footer-bar input:focus {
  border-color: var(--primary);
}

.wc-footer-bar button {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* ── 7. PRIVACY / COOKIE SETTINGS BANNER (INTSYS STYLE) ── */
.sc-consent-banner {
  z-index: 1180;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 14px;
  width: min(980px, calc(100% - 32px));
  padding: 20px 24px;
  font-size: 0.86rem;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
}

.sc-consent-banner[hidden] {
  display: none !important;
}

.sc-consent-banner h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.sc-consent-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0.85rem 0;
}

.sc-consent-choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  cursor: pointer;
}

.sc-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.sc-consent-actions button {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
}

.sc-consent-actions button.primary {
  background: var(--primary);
  color: #fff;
}

/* ── 8. EXPLAINER VIDEO MODAL & INLINE STAGE PLAYER (4:5 UK VOICEOVER FILM) ── */
.sc-vmodal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  background: rgba(10, 15, 32, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.sc-vmodal[hidden] {
  display: none !important;
}

.sc-vmodal-box {
  width: min(880px, 100%);
  background: #0b132b;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.65);
  animation: scSearchPop 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sc-vmodal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sc-vmodal-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.98rem;
}

.sc-vmodal-brand img {
  height: 28px;
  width: auto;
  background: #fff;
  padding: 2px 4px;
  border-radius: 6px;
}

.sc-vmodal-close {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.sc-vmodal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sc-vmodal-body {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 1.5rem;
  padding: 1.35rem;
  align-items: center;
}

.sc-vmodal-video-wrap {
  position: relative;
  background: #060b19;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 4 / 5;
  max-height: 68vh;
  margin: 0 auto;
  width: 100%;
}

.tsv-film-box {
  position: relative;
}

.sc-vid-end-cta {
  position: absolute;
  inset: auto 10px 44px 10px;
  background: rgba(11, 19, 43, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  z-index: 4;
  animation: scSearchPop 0.2s ease-out both;
}

.sc-vid-end-cta[hidden] {
  display: none !important;
}

.sc-vid-end-cta a.end-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.6rem 1rem;
  border-radius: 2rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.sc-vid-end-cta a.end-btn:hover {
  background: #1e40af;
}

.sc-vid-end-cta .end-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #cbd5e1;
}

.sc-vid-end-cta .end-sub a {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 700;
}

.sc-vmodal-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.sc-vmodal-side h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0.3rem 0 0.6rem;
  color: #fff;
}

.sc-vmodal-side p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sc-vchap-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.sc-vchap-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  color: #f8fafc;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.sc-vchap-btn:hover,
.sc-vchap-btn.active {
  background: rgba(59, 130, 246, 0.22);
  border-color: #60a5fa;
}

.sc-vchap-btn code {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #7dd3fc;
}

/* Inline Stage Video Layout inside #tsvPlayer */
.tsv-film-stage {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 1.35rem;
  padding: 1.25rem;
  background: linear-gradient(145deg, #0b132b 0%, #162447 100%);
  color: #fff;
  align-items: center;
}

.tsv-film-box {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #060b19;
  aspect-ratio: 4 / 5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.tsv-film-box video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 780px) {
  .sc-vmodal {
    padding: 0.65rem;
  }
  .sc-vmodal-box {
    max-height: calc(100dvh - 1.3rem);
    overflow-y: auto;
  }
  .sc-vmodal-body,
  .tsv-film-stage {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }
  .sc-vmodal-video-wrap,
  .tsv-film-box {
    max-width: 280px;
    max-height: 52vh;
    margin: 0 auto;
  }
}

.mob-nav-extra {
  display: none;
}

@media (max-width: 960px) {
  .mob-nav-extra {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
  .mob-nav-extra a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
  }
}

@media (max-width: 640px) {
  .hdi {
    padding: 0 0.9rem;
    gap: 0.5rem;
  }
  .logo img {
    height: 34px;
  }
  .logo-text {
    font-size: 1.05rem;
  }
  .nav-actions .btn-secondary {
    display: none;
  }
  .nav-actions .btn-primary {
    padding: 0.42rem 0.75rem !important;
    font-size: 0.76rem !important;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    justify-content: center;
    width: 100%;
  }
  .hero-watch {
    width: 100%;
  }
  .wc-launcher {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    padding: 6px 14px 6px 8px;
    gap: 8px;
    font-size: 0.78rem;
  }
  .wc-launcher-icon {
    width: 32px;
    height: 32px;
  }
  .wc-backdrop {
    padding: 8px;
    align-items: flex-end;
  }
  .wc-panel {
    width: 100%;
    height: min(680px, calc(100dvh - 16px));
    border-radius: 16px;
  }
  .wc-header {
    padding: 14px 16px;
  }
  .wc-body {
    padding: 14px 16px;
  }
  .hero-visual iframe {
    height: 530px;
  }
  .portal-top .ptl .tag {
    display: none;
  }
  .portal-main {
    padding: 1.15rem 1rem 1.3rem;
  }
  .tsv-player {
    padding: 1.1rem;
    min-height: 300px;
  }
  .sc-ai-band {
    padding: 2.75rem 1.15rem;
  }
  #sc-autopilot .auto-header,
  #sc-autopilot .auto-summary,
  #sc-autopilot .auto-footer {
    flex-wrap: wrap;
    padding: 12px 14px;
  }
  .lv-slide {
    padding: 1.35rem 1.15rem;
    gap: 1.25rem;
  }
  .ap-hero {
    padding: 2rem 1.15rem 2rem;
  }
  .ap-chrome .url {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .prose-card,
  .ac,
  .form-card {
    padding: 1.4rem 1.25rem;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   IPHONE & PIXEL MOBILE FIT + ACCESSIBILITY OVERHAUL (<= 768px & <= 480px)
   Prevents horizontal overflow on 360px–430px screens and scales UI cleanly
   ══════════════════════════════════════════════════════════════════════════ */
.tsv-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

/* Force all CSS Grid & Flex children to allow shrinking below min-content width */
.hero-content > *,
.ap-hero-in > *,
.portal-body > *,
.pm-grid > *,
.tsv-wrap > *,
.apps-grid > *,
.content-grid > *,
.contact-split > *,
.posts-grid > *,
.fi > *,
.glance-strip > *,
.sc-ai-inner > *,
.lv-slide > *,
.tier-grid > *,
.tokens-band > *,
.intsys-quote-band > *,
.sc-vmodal-body > *,
.tsv-film-stage > * {
  min-width: 0;
  max-width: 100%;
}

img, video, iframe, svg {
  max-width: 100%;
}

@media (max-width: 768px) {
  /* Container & Section Spacing scaled for phones */
  .container {
    padding: 0 1rem !important;
  }
  .section {
    padding: 2.6rem 1rem !important;
  }
  .section-sm,
  .faq-section,
  .sc-ai-band {
    padding: 2.25rem 1rem !important;
  }
  .sh {
    margin-bottom: 1.75rem;
  }
  .sh h2 {
    font-size: clamp(1.45rem, 6vw, 1.85rem) !important;
    line-height: 1.18;
  }
  .sh p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  /* Sticky Header — accessible 44px tap targets & zero overflow */
  .hdi {
    height: 60px;
    padding: 0 0.85rem !important;
    gap: 0.4rem !important;
  }
  .logo {
    gap: 0.4rem;
    min-width: 0;
  }
  .logo img {
    height: 30px !important;
  }
  .logo-text {
    font-size: 1rem !important;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .nav-actions .btn-secondary,
  .nav-link-cta {
    display: none !important;
  }
  .nav-actions .btn-primary {
    padding: 0.45rem 0.7rem !important;
    font-size: 0.74rem !important;
    min-height: 38px;
  }
  .search-trigger {
    min-width: 38px;
    min-height: 38px;
    padding: 0.4rem !important;
    justify-content: center;
    margin-left: 0;
  }
  .ham {
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
  }
  .nl {
    top: 60px;
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    padding: 0.85rem 1rem 1.25rem;
  }
  .nl a, .nl .dt {
    min-height: 44px;
    font-size: 0.95rem;
  }

  /* Hero Section — scaled to fit iPhone & Pixel screens */
  .hero,
  .ap-hero {
    padding: 1.35rem 1rem 2rem !important;
  }
  .hero-content,
  .ap-hero-in {
    gap: 1.5rem !important;
  }
  .hero-opera {
    max-width: 100%;
    padding: 0.35rem 0.75rem 0.35rem 0.4rem;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    border-radius: 14px;
  }
  .hero-opera .ho-t b {
    font-size: 0.76rem;
    white-space: normal;
  }
  .hero-opera .ho-t span {
    font-size: 0.58rem;
    white-space: normal;
    display: block;
    line-height: 1.3;
  }
  .hero-text h1,
  .ap-hero h1,
  .article-header h1 {
    font-size: clamp(1.65rem, 7vw, 2.15rem) !important;
    line-height: 1.12 !important;
    margin-bottom: 0.75rem !important;
    word-break: break-word;
  }
  .hero-text .hero-sub,
  .ap-hero .lede {
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.15rem !important;
  }

  /* Accessible full-width touch buttons that wrap cleanly if needed */
  .btn {
    white-space: normal !important;
    text-align: center;
    line-height: 1.3;
    min-height: 44px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .hero-ctas .btn,
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
  }
  .hero-watch {
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-size: 0.86rem;
    margin-top: 1rem;
    padding: 0.5rem 0.65rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  .hero-watch small {
    white-space: normal;
    line-height: 1.35;
    font-size: 0.68rem;
  }
  .hero-cred {
    font-size: 0.68rem;
    line-height: 1.55;
  }

  /* Hero Live Demo Iframe & Inner Page Preview Card */
  .hero-visual {
    border-radius: 14px;
    max-width: 100%;
  }
  .hero-visual iframe {
    height: auto;
    min-height: 450px;
    transition: height 0.2s ease;
  }
  .ap-stat {
    width: 100%;
    padding: 0.6rem 0.85rem;
    gap: 0.4rem 0.75rem;
  }
  .ap-stat .now {
    font-size: 0.98rem;
  }
  .ap-prev {
    padding: 1.1rem !important;
  }
  .ap-prev img.hero-img {
    height: 165px;
  }
  .ap-prev li {
    font-size: 0.83rem;
  }

  /* At-a-Glance Strip */
  .glance-strip {
    padding: 0 1rem;
    margin: 0.75rem auto 1.25rem;
    gap: 0.75rem;
  }
  .glance-card {
    padding: 0.95rem 1rem;
  }

  /* One Pane of Glass Portal Showcase */
  .portal-top {
    padding: 0.65rem 0.85rem;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .portal-top .ptl {
    font-size: 0.82rem;
    min-width: 0;
  }
  .portal-top .ptl .tag,
  .portal-top .ava {
    display: none !important;
  }
  .portal-main {
    padding: 1rem !important;
  }
  .pm-head {
    margin-bottom: 0.9rem;
    gap: 0.5rem;
  }
  .pm-h {
    font-size: 1.18rem;
  }
  .pm-card {
    padding: 0.75rem 0.85rem;
    gap: 0.65rem;
  }
  .pm-meta b {
    font-size: 0.86rem;
  }
  .pm-meta span {
    font-size: 0.66rem;
    white-space: normal;
  }

  /* See It In Action Stage & Video Player */
  .tsv-tab {
    padding: 0.8rem 0.95rem;
  }
  .tsv-tab .tt-pain {
    font-size: 0.92rem;
  }
  .tsv-player {
    padding: 1rem !important;
    min-height: 0 !important;
  }
  .tsv-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
  }
  .tsv-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .tsv-ba {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .tsv-now {
    font-size: 1.1rem;
  }

  /* Autopilot Widget on Mobile */
  .sc-ai-copy h2 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }
  #sc-autopilot .auto-header,
  #sc-autopilot .auto-summary,
  #sc-autopilot .auto-ledger,
  #sc-autopilot .auto-footer {
    flex-wrap: wrap;
    padding: 10px 12px;
    margin: 0;
  }
  #sc-autopilot .auto-row {
    grid-template-columns: 1fr 24px !important;
    gap: 6px;
    padding: 10px 12px;
  }
  #sc-autopilot .auto-app {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
  }

  /* Bronze / Silver / Gold Support Levels & Token Band */
  .lv-pill {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    min-height: 40px;
  }
  .lv-slide {
    padding: 1.15rem 1rem !important;
    gap: 1rem !important;
  }
  .lv-slide h3 {
    font-size: 1.25rem;
  }
  .lv-art svg {
    max-width: 240px;
  }
  .tier-card {
    padding: 1.5rem 1.15rem 1.25rem;
  }
  .tokens-band {
    padding: 1.35rem 1.1rem !important;
    gap: 1.25rem;
    border-radius: 16px;
  }
  .tk-chip {
    flex-wrap: wrap;
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
  }
  .tk-row {
    grid-template-columns: 1fr !important;
    gap: 0.15rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .tk-row i {
    display: none;
  }
  .intsys-quote-band,
  .quote-card {
    padding: 1.25rem 1.1rem !important;
    border-radius: 16px;
  }
  .intsys-quote-band blockquote > p,
  .quote-card blockquote {
    font-size: 1.05rem;
  }

  /* Cards, Prose, Blog & Contact Forms */
  .ac,
  .prose-card,
  .form-card {
    padding: 1.25rem 1.1rem !important;
    border-radius: 14px;
  }
  .prose-card h3,
  .ac h3 {
    font-size: 1.18rem;
  }
  .client-tile {
    flex: 1 1 calc(50% - 0.6rem);
    max-width: calc(50% - 0.6rem);
    height: 70px;
    padding: 0.75rem;
  }
  .blog-search {
    min-width: 0 !important;
    width: 100%;
  }
  .article-wrap {
    padding: 1.5rem 1rem 3rem;
  }
  .article-body {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  /* Footer */
  footer {
    padding: 2.5rem 1rem 5rem; /* extra bottom space so floating chat pill never covers footer links */
  }
  .fi {
    gap: 1.5rem;
    margin-bottom: 1.75rem;
  }

  /* Compact Accessible Sentinel C2 Bottom-Right Launcher on Phones */
  .wc-launcher {
    right: 10px;
    bottom: 10px;
    max-width: calc(100vw - 20px);
    min-height: 44px;
    padding: 6px 12px 6px 8px;
    font-size: 0.76rem;
    gap: 7px;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   MOBILE "ONE PANE OF GLASS" PRESERVATION (ZERO CUTOFF ON IPHONE & PIXEL)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  /* Keep the One Pane of Glass tag & Workspace dock visible on tablets/phones! */
  .portal-top .ptl .tag {
    display: inline-block !important;
    font-size: 0.58rem !important;
    padding: 0.12rem 0.48rem !important;
    white-space: nowrap;
  }
  .portal-side {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.4rem !important;
    overflow-x: auto;
    padding: 0.6rem 0.85rem !important;
    border-right: none !important;
    border-bottom: 1px solid #eef0f5;
    background: #f8fafc;
    -webkit-overflow-scrolling: touch;
  }
  .portal-side .ps-label {
    display: none !important;
  }
  .portal-side .ps-item {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.38rem 0.7rem !important;
    font-size: 0.76rem !important;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 999px;
  }
  .portal-side .ps-item.active {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
  }
  .portal-side .ps-item.active svg {
    stroke: #ffffff;
  }
}

@media (max-width: 640px) {
  /* Keep Autopilot "One Pane of Glass" animated laser beam 100% visible on mobile */
  #sc-autopilot .auto-ledger {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 6px 8px !important;
    padding: 10px 12px !important;
  }
  #sc-autopilot .auto-ledger-line {
    display: block !important;
    min-width: 36px !important;
    width: 100% !important;
  }
  #sc-autopilot .auto-ledger [data-ledger] {
    grid-column: 1 / -1;
    font-size: 10.5px;
    color: var(--auto-muted);
    white-space: normal;
    line-height: 1.35;
  }

  /* Ensure Interactive Stage (.tsv-screen) Chrome bar never cuts off on mobile */
  .tsv-chrome {
    padding: 0.5rem 0.7rem !important;
    gap: 0.35rem !important;
  }
  .tsv-url {
    font-size: 0.65rem !important;
    padding: 0.22rem 0.55rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tsv-live {
    font-size: 0.62rem !important;
    padding: 0.2rem 0.5rem !important;
    flex-shrink: 0;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   ART OF COMPUTING V2 — HIGH-LEVEL UNCLUTTERED DESIGN + KINETIC MOTION
   ══════════════════════════════════════════════════════════════════════════ */
.section { padding: 5.5rem 2rem; }
.sh { max-width: 680px; margin: 0 auto 3.25rem; text-align: center; }
.hero { padding: 3.5rem 2rem 4rem; position: relative; overflow: hidden; }
.hero-glow { animation: pulseGlow 8s ease-in-out infinite alternate; }
@keyframes pulseGlow {
  0% { transform: translate(-50%, 0) scale(1); opacity: 0.75; }
  100% { transform: translate(-46%, 12px) scale(1.08); opacity: 1; }
}
.hero-visual { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-visual:hover { transform: translateY(-4px); }

.marquee-band {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-band::before, .marquee-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee-band::before { left: 0; background: linear-gradient(to right, #ffffff, rgba(255,255,255,0)); }
.marquee-band::after { right: 0; background: linear-gradient(to left, #ffffff, rgba(255,255,255,0)); }
.marquee-track {
  display: flex; align-items: center; gap: 3.5rem; width: max-content;
  animation: marqueeScroll 34s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item { display: inline-flex; align-items: center; gap: 0.75rem; flex-shrink: 0; opacity: 0.85; }
.marquee-item img { height: 34px; width: auto; object-fit: contain; }
.marquee-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem;
  border-radius: 999px; background: var(--bg-surface); border: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.76rem; font-weight: 600; color: var(--text-sec); white-space: nowrap;
}
.marquee-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18); }

.exec-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem;
}
.exec-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: 20px; padding: 2rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none; color: inherit;
}
.exec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px -15px rgba(185, 28, 28, 0.14);
  border-color: rgba(185, 28, 28, 0.35);
}
.exec-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.exec-icon {
  width: 46px; height: 46px; border-radius: 13px; background: #fef2f2; color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.exec-kpi {
  font-family: var(--mono); font-size: 0.73rem; font-weight: 700; padding: 0.28rem 0.7rem;
  border-radius: 999px; background: var(--good-soft); color: var(--good);
}
.exec-card h3 { font-family: var(--display); font-size: 1.32rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.2rem 0 0; }
.exec-card p { font-size: 0.95rem; color: var(--text-sec); line-height: 1.6; margin: 0; }
.exec-points { list-style: none; padding: 0; margin: 0.25rem 0 0.5rem; display: flex; flex-direction: column; gap: 0.45rem; }
.exec-points li { font-size: 0.86rem; color: var(--text-sec); display: flex; align-items: center; gap: 0.5rem; }
.exec-points li::before { content: "✓"; color: var(--green); font-weight: 800; font-size: 0.82rem; }
.exec-link { margin-top: auto; font-size: 0.88rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 0.35rem; }

.metric-band {
  max-width: 1220px; margin: 2.5rem auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem;
}
.metric-tile {
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.35rem 1.5rem; transition: border-color 0.25s, transform 0.25s;
}
.metric-tile:hover { border-color: rgba(185, 28, 28, 0.3); transform: translateY(-2px); }
.metric-tile strong {
  display: block; font-family: var(--display); font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1.1;
}
.metric-tile span { display: block; margin-top: 0.35rem; font-size: 0.84rem; color: var(--text-sec); font-weight: 600; }

@media (max-width: 960px) {
  .exec-grid { grid-template-columns: 1fr; }
  .metric-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .section { padding: 3.5rem 1rem; }
  .metric-band { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}


/* ══════════════════════════════════════════════════════════════════════════
   VISUAL ELEVATION PASS — AURORA DEPTH, GLASSMORPHISM & VISUAL PILLAR CARDS
   ══════════════════════════════════════════════════════════════════════════ */

/* 1. Frosted Glass Header with Subtle Luminous Border */
header#header {
  background: rgba(255, 255, 255, 0.84) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07) !important;
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.05) !important;
}

/* 2. Rich Aurora Hero with Architectural Grid & Glowing Console Halo */
.hero {
  background: radial-gradient(900px circle at 15% 15%, rgba(185, 28, 28, 0.11), transparent 55%),
       radial-gradient(800px circle at 85% 20%, rgba(13, 148, 136, 0.10), transparent 55%),
       radial-gradient(1000px circle at 50% 90%, rgba(15, 23, 42, 0.05), transparent 60%),
       linear-gradient(180deg, #fffafa 0%, #ffffff 55%, #f8fafc 100%) !important;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-opera {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.hero-text h1 .gradient,
.ap-hero h1 .gradient {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 52%, #0d9488 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.btn-hero-primary,
.btn-primary {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%) !important;
  box-shadow: 0 12px 28px -8px rgba(185, 28, 28, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  border: none !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease !important;
}

.btn-hero-primary:hover,
.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 36px -8px rgba(185, 28, 28, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.hero-visual {
  border-radius: 22px !important;
  padding: 6px !important;
  background: linear-gradient(135deg, rgba(185,28,28,0.28), rgba(13,148,136,0.25), rgba(15,23,42,0.12)) !important;
  box-shadow:
    0 35px 80px -25px rgba(185, 28, 28, 0.22),
    0 20px 50px -20px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.hero-visual iframe {
  border-radius: 17px !important;
  background: #ffffff;
}

/* 3. Elevated Marquee Trust Band */
.marquee-band {
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 4px 20px -10px rgba(15,23,42,0.04);
}
.marquee-pill {
  background: #ffffff !important;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.08) !important;
}

/* 4. One Pane of Glass Console Frame (.portal) & Rich Visual Executive Cards */
.portal {
  border-radius: 24px !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow:
    0 40px 90px -30px rgba(15, 23, 42, 0.14),
    0 12px 32px -12px rgba(185, 28, 28, 0.08) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

.portal-top {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  padding: 0.9rem 1.35rem !important;
}
.portal-top .ptl {
  color: #ffffff !important;
}
.portal-top .ptl .tag {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.portal-top .env {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.portal-top .env .d {
  background: #34d399 !important;
  box-shadow: 0 0 8px #34d399;
}

/* Visual Banner Header inside .exec-card */
.exec-card {
  padding: 0 !important;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px -12px rgba(15, 23, 42, 0.07) !important;
  overflow: hidden !important;
}

.exec-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 28px 56px -16px rgba(185, 28, 28, 0.18) !important;
}

.exec-visual {
  position: relative;
  height: 168px;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
}

.exec-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.92) saturate(1.08);
}

.exec-card:hover .exec-visual img {
  transform: scale(1.06);
}

.exec-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.72) 100%);
  pointer-events: none;
}

.exec-visual-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.85rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.exec-glass-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
}

.exec-glass-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  display: inline-block;
}

.exec-body {
  padding: 1.5rem 1.6rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

/* 5. Elevated Dashboard KPI Strip (.metric-band) */
.metric-tile {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 26px -12px rgba(15, 23, 42, 0.07) !important;
  position: relative;
  overflow: hidden;
}

.metric-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #b91c1c, #ef4444, #0d9488);
}

/* 6. Deep Obsidian Aurora Showcase for Autopilot Band (.sc-ai-band) */
.sc-ai-band {
  background: radial-gradient(800px circle at 18% 20%, rgba(220, 38, 38, 0.22), transparent 55%),
       radial-gradient(750px circle at 82% 80%, rgba(13, 148, 136, 0.22), transparent 55%),
       linear-gradient(135deg, #090d16 0%, #141829 50%, #090d16 100%) !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 5.5rem 2rem !important;
  position: relative;
  overflow: hidden;
}

.sc-ai-band .eyebrow-bar {
  color: #ef4444 !important;
}

.sc-ai-band .eyebrow-bar::before {
  background: #ef4444 !important;
  box-shadow: 0 0 12px #ef4444;
}

.sc-ai-band .sc-ai-copy h2 {
  color: #ffffff !important;
}

.sc-ai-band .sc-ai-copy p {
  color: #cbd5e1 !important;
}

.sc-ai-band .sc-ai-links a {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px !important;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s !important;
}

.sc-ai-band .sc-ai-links a:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  transform: translateY(-2px);
}

.sc-ai-band .sc-screen-frame {
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
}

/* 7. Polished Interactive Stage (#see-it) */
#see-it {
  background: radial-gradient(900px circle at 85% 20%, rgba(185, 28, 28, 0.06), transparent 60%), #f8fafc !important;
}

.tsv-tab {
  border-radius: 16px !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tsv-tab.active {
  box-shadow: 0 16px 36px -12px rgba(185, 28, 28, 0.22) !important;
  border-color: #b91c1c !important;
}

/* 8. Blog Post Cards & Inner Cards Elevation */
.post-card,
.prose-card,
.form-card {
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 14px 34px -14px rgba(15, 23, 42, 0.07) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease !important;
}

.post-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 26px 50px -16px rgba(15, 23, 42, 0.14) !important;
}


/* ══════════════════════════════════════════════════════════════════════════
   ELEVATED INTERACTIVE FAQ SECTION (#faq)
   ══════════════════════════════════════════════════════════════════════════ */
.faq-section {
  padding: 5.2rem 2rem;
  background:
    radial-gradient(60rem 30rem at 12% 10%, rgba(27, 110, 243, 0.06), transparent 65%),
    radial-gradient(50rem 28rem at 88% 90%, rgba(16, 185, 129, 0.05), transparent 65%),
    #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.faq-header {
  max-width: 780px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.faq-header h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0.4rem 0 0.75rem;
}

.faq-header p {
  color: var(--text-sec);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 auto 1.5rem;
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.faq-filter-btn {
  appearance: none;
  border: 1px solid #dbe3ef;
  background: #ffffff;
  color: #475569;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.faq-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.faq-filter-btn.active {
  background: linear-gradient(135deg, #1b6ef3 0%, #4f46e5 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px -6px rgba(27, 110, 243, 0.45);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.05);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 26px -10px rgba(15, 23, 42, 0.1);
}

.faq-item.open {
  border-color: rgba(27, 110, 243, 0.45);
  box-shadow:
    0 18px 40px -18px rgba(27, 110, 243, 0.18),
    0 0 0 1px rgba(27, 110, 243, 0.12);
}

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

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.45rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  gap: 1rem;
}

.faq-q-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.faq-num {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(27, 110, 243, 0.08);
  border: 1px solid rgba(27, 110, 243, 0.18);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.faq-item.open .faq-num {
  background: linear-gradient(135deg, #1b6ef3 0%, #4f46e5 100%);
  color: #ffffff;
  border-color: transparent;
}

.faq-q-text {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.faq-cat-pill {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.faq-q-text strong {
  font-family: var(--display);
  font-size: 1.04rem;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.38;
  letter-spacing: -0.015em;
}

.faq-q::after {
  content: '+';
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  content: '\2212';
  background: rgba(27, 110, 243, 0.12);
  color: var(--primary);
}

.faq-a-inner {
  padding: 0 1.45rem 1.35rem 4.1rem;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.72;
}

.faq-a-inner a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.faq-cta-strip {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 1.35rem 1.65rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b132b 0%, #111c38 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 44px -22px rgba(15, 23, 42, 0.45);
}

.faq-cta-strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.faq-cta-strip span {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.faq-cta-btns {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.faq-cta-strip .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-cta-strip .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 640px) {
  .faq-section {
    padding: 3.5rem 1rem;
  }
  .faq-q {
    padding: 1rem 1.05rem;
  }
  .faq-a-inner {
    padding: 0 1.05rem 1.15rem 1.05rem;
  }
  .faq-cta-strip {
    padding: 1.2rem;
  }
}
