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

:root {
  /* Palette */
  --bg:          #0a0b0f;
  --bg-card:     #12141c;
  --bg-elevated: #1a1d2a;
  --border:      #23263a;
  --text:        #e2e4ed;
  --text-dim:    #8b8fa6;
  --text-bright: #ffffff;

  /* Product accents */
  --forseti:       #00d4ff;
  --forseti-glow:  rgba(0,212,255,0.15);
  --forseti-dark:  #003d4d;
  --tyche:        #a855f7;
  --tyche-glow:   rgba(168,85,247,0.15);
  --tyche-dark:   #2d1854;
  --valhalla:     #f59e0b;
  --valhalla-glow:rgba(245,158,11,0.15);
  --valhalla-dark:#3d2800;

  /* Suite accent */
  --accent:      #00d4ff;
  --accent-glow: rgba(0,212,255,0.12);

  /* Typography */
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  /* Sizing */
  --max-w:       1200px;
  --max-w-narrow:900px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-dim { color: var(--text-dim); }
.text-bright { color: var(--text-bright); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-bright);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { max-width: 68ch; }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #000;
}
.btn--primary:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--text-dim);
  background: var(--bg-elevated);
}
.btn--forseti  { background: var(--forseti); color: #000; --accent-glow: var(--forseti-glow); }
.btn--tyche   { background: var(--tyche); color: #fff; --accent-glow: var(--tyche-glow); }
.btn--valhalla{ background: var(--valhalla); color: #000; --accent-glow: var(--valhalla-glow); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 250;
  background: rgba(10,11,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-logo__mark {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--forseti), var(--tyche));
  border-radius: 6px;
  display: inline-block;
}
/* Top-level mobile nav (outside header, escapes stacking context) */
body > .site-nav {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a,
.site-nav__disabled {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.site-nav__disabled {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: default;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--text-bright);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}
.site-nav__disabled::after { display: none; }
.site-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-dim);
}
.site-header .btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}
.site-header .btn--primary,
.site-nav .btn--primary {
  background: linear-gradient(135deg, var(--forseti), var(--tyche));
  color: #fff !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: all 0.3s;
}

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

  /* Hide the in-header desktop nav */
  .site-nav--desktop { display: none !important; }

  /* Show the top-level mobile nav (outside header - not trapped in stacking context) */
  body > .site-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1a1d2a;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s var(--ease);
    border-left: 1px solid var(--border);
    z-index: 300;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  body > .site-nav.is-open { right: 0; }
  body > .site-nav a,
  body > .site-nav .site-nav__disabled { font-size: 1.1rem; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
  }
  .nav-overlay.is-open { display: block; }
}

/* ===== HERO ===== */
.hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero__label {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 2rem;
  background: var(--bg-card);
}
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--forseti), var(--tyche), var(--valhalla));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SECTION ===== */
.section {
  padding: 6rem 0;
}
.section--alt {
  background: var(--bg-card);
}
.section__header {
  text-align: center;
  margin-bottom: 4rem;
}
.section__header p {
  color: var(--text-dim);
  margin: 1rem auto 0;
  font-size: 1.1rem;
}

/* ===== PRODUCT ACCORDION (home page) ===== */
.product-accordion {
  display: flex;
  gap: 1rem;
  min-height: 760px;
  align-items: stretch;
}
.product-pane {
  --pane-accent: var(--accent);
  --pane-glow: var(--accent-glow);
  --pane-border: rgba(255,255,255,0.12);
  flex: 1 1 0;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
  overflow: hidden;
  position: relative;
  transition:
    flex 0.5s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease),
    background 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.product-pane::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--pane-glow) 0%, transparent 45%);
  opacity: 0.85;
  pointer-events: none;
}
.product-pane::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pane-accent), transparent);
}
.product-pane.is-active {
  flex: 3.6 1 0;
  border-color: var(--pane-border);
  box-shadow: 0 28px 80px rgba(0,0,0,0.28);
  transform: translateY(-4px);
}
/* In the active state the hero carousel is the visual, so the peek-thumb
   inside .product-pane__compact is redundant. Hide it so the expanded
   block sits right under the product name. */
.product-pane.is-active .product-pane__thumb {
  display: none;
}
.product-pane--forseti {
  --pane-accent: var(--forseti);
  --pane-glow: var(--forseti-glow);
  --pane-border: rgba(0,212,255,0.28);
}
.product-pane--tyche {
  --pane-accent: var(--tyche);
  --pane-glow: var(--tyche-glow);
  --pane-border: rgba(168,85,247,0.28);
}
.product-pane--valhalla {
  --pane-accent: var(--valhalla);
  --pane-glow: var(--valhalla-glow);
  --pane-border: rgba(245,158,11,0.28);
}
.product-pane__compact,
.product-pane__expanded {
  position: relative;
  z-index: 1;
}
.product-pane__compact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.product-pane__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pane-accent);
}
.product-pane h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.8rem);
  max-width: 8ch;
}
.product-pane__thumb {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    linear-gradient(135deg, color-mix(in srgb, var(--pane-accent) 18%, transparent), transparent 65%);
  border: 1px solid color-mix(in srgb, var(--pane-accent) 24%, rgba(255,255,255,0.08));
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
}
.product-pane__thumb-window,
.product-pane__screen-bar {
  display: flex;
  gap: 0.35rem;
}
.product-pane__thumb-window span,
.product-pane__screen-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pane-accent) 88%, white 12%);
  opacity: 0.9;
}
.product-pane__thumb-lines,
.product-pane__screen-lines {
  display: grid;
  gap: 0.5rem;
}
.product-pane__thumb-lines span,
.product-pane__screen-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
}
.product-pane__thumb-lines span:nth-child(2),
.product-pane__screen-lines span:nth-child(2) { width: 82%; }
.product-pane__thumb-lines span:nth-child(3),
.product-pane__screen-lines span:nth-child(3) { width: 66%; }
.product-pane__expanded {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease),
    max-height 0.32s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-pane.is-active .product-pane__expanded {
  opacity: 1;
  max-height: 1600px;
  pointer-events: auto;
  transform: translateY(0);
}
.product-pane__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pane-accent);
  font-weight: 700;
}
.product-pane__tagline {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  max-width: none;
  margin-top: -0.2rem;
}

/* ----- Hero carousel ----- */
.product-carousel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--pane-accent) 18%, rgba(255,255,255,0.08));
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--pane-accent) 18%, transparent), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
.product-carousel__viewport {
  overflow: hidden;
  border-radius: 14px;
}
.product-carousel__track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
.product-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.25rem 0.25rem 0.5rem;
}
.product-carousel__chip {
  align-self: flex-start;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-bright);
  background: color-mix(in srgb, var(--pane-accent) 22%, rgba(255,255,255,0.04));
  border: 1px solid color-mix(in srgb, var(--pane-accent) 30%, rgba(255,255,255,0.08));
}
.product-carousel__art {
  width: 100%;
  aspect-ratio: 640 / 280;
  min-height: 180px;
  max-height: 280px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--pane-accent) 24%, rgba(255,255,255,0.1));
  background: var(--bg-elevated);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.product-carousel__art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,6,12,0.02), rgba(4,6,12,0.18));
  pointer-events: none;
  z-index: 1;
}
.product-carousel__art::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, rgba(6,8,14,0.82));
  pointer-events: none;
  z-index: 1;
}
.product-carousel__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #0b1020;
}
.product-carousel__body {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: none;
  margin: 0;
}
.product-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.25rem;
}
.product-carousel__arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--pane-accent) 28%, rgba(255,255,255,0.12));
  background: rgba(255,255,255,0.03);
  color: var(--pane-accent);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.product-carousel__arrow:hover {
  background: color-mix(in srgb, var(--pane-accent) 14%, rgba(255,255,255,0.03));
  border-color: color-mix(in srgb, var(--pane-accent) 45%, rgba(255,255,255,0.12));
}
.product-carousel__arrow:focus-visible {
  outline: 2px solid var(--pane-accent);
  outline-offset: 2px;
}
.product-carousel__arrow[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.product-carousel__dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.product-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), width 0.25s var(--ease);
}
.product-carousel__dot:hover {
  background: rgba(255,255,255,0.32);
}
.product-carousel__dot.is-active {
  background: var(--pane-accent);
  width: 22px;
}
.product-carousel__dot:focus-visible {
  outline: 2px solid var(--pane-accent);
  outline-offset: 2px;
}

/* ----- Proof points grid ----- */
.product-pane__proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-pane__proof-point {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.product-pane__proof-point strong {
  display: block;
  color: var(--text-bright);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 0.15rem;
}
.product-pane__proof-point span {
  display: block;
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.5;
}
.product-pane__proof-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--pane-accent) 16%, transparent);
  color: var(--pane-accent);
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

/* ----- Pilot strip ----- */
.product-pane__pilot {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--pane-accent) 22%, rgba(255,255,255,0.08));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--pane-accent) 8%, transparent), transparent),
    rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.product-pane__pilot-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pane-accent);
  margin: 0;
}
.product-pane__pilot-body {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

/* ----- CTA row ----- */
.product-pane__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  padding-top: 0.15rem;
}
.product-pane__cta-row .btn {
  padding: 0.75rem 1.35rem;
  font-size: 0.9rem;
}
.product-pane__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--pane-accent);
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap 0.2s var(--ease);
}
.product-pane__link:hover { gap: 0.8rem; }
.product-pane__link--disabled {
  color: var(--text-dim);
  gap: 0;
  cursor: default;
}
.product-pane__link--disabled:hover { gap: 0; }

/* ----- Trust microline ----- */
.product-pane__trust {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin: 0;
  padding-top: 0.15rem;
  max-width: none;
}

@media (max-width: 980px) {
  .product-accordion {
    flex-direction: column;
    min-height: 0;
  }
  .product-pane,
  .product-pane.is-active {
    flex: none;
    transform: none;
  }
  .product-pane__expanded,
  .product-pane.is-active .product-pane__expanded {
    opacity: 1;
    max-height: none;
    pointer-events: auto;
    transform: none;
  }
  .product-pane h3 { max-width: none; }

  /* Carousel becomes a static vertical stack - no swiping three carousels on a phone */
  .product-carousel__viewport { overflow: visible; }
  .product-carousel__track {
    flex-direction: column;
    transform: none !important;
    gap: 1.25rem;
  }
  .product-carousel__slide {
    flex: 0 0 auto;
    min-width: 0;
    padding: 0;
  }
  .product-carousel__slide:not(:first-child) {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .product-carousel__controls { display: none; }
}

/* ===== HOW-IT-WORKS FLOW ===== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 23px; /* vertical center of the 48px number circle (24px) minus half of the 2px line */
  left: 16.67%;  /* center of column 1 in a 3-column grid */
  right: 16.67%; /* center of column 3 */
  height: 2px;
  background: var(--border);
  z-index: 0; /* keep the line behind every numbered circle */
}
.flow-step {
  text-align: center;
  position: relative;
}
.flow-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.flow-step h4 { margin-bottom: 0.75rem; }
.flow-step p { color: var(--text-dim); font-size: 0.92rem; margin: 0 auto; }

/* Forseti flow colors */
.flow-steps--forseti .flow-step__number { background: var(--forseti-glow); color: var(--forseti); border: 1px solid rgba(0,212,255,0.3); }
.flow-steps--forseti::before { background: linear-gradient(90deg, var(--forseti), transparent); }
/* Tyche flow colors */
.flow-steps--tyche .flow-step__number { background: var(--tyche-glow); color: var(--tyche); border: 1px solid rgba(168,85,247,0.3); }
.flow-steps--tyche::before { background: linear-gradient(90deg, var(--tyche), transparent); }
/* Valhalla flow colors */
.flow-steps--valhalla .flow-step__number { background: var(--valhalla-glow); color: var(--valhalla); border: 1px solid rgba(245,158,11,0.3); }
.flow-steps--valhalla::before { background: linear-gradient(90deg, var(--valhalla), transparent); }

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

/* ===== USE CASE CARDS ===== */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.use-case {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.use-case:hover { border-color: var(--text-dim); }
.use-case h4 { margin-bottom: 0.75rem; font-size: 1.05rem; }
.use-case p { color: var(--text-dim); font-size: 0.9rem; }

/* ===== PROOF POINTS / FEATURE LIST ===== */
.proof-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.proof-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.proof-point__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.proof-point h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.proof-point p { color: var(--text-dim); font-size: 0.88rem; }

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item__q {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-bright);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  transition: background 0.2s;
}
.faq-item__q:hover { background: var(--bg-elevated); }
.faq-item__q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-dim);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.is-open .faq-item__q::after {
  transform: rotate(45deg);
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s;
}
.faq-item.is-open .faq-item__a {
  max-height: 300px;
}
.faq-item__a__inner {
  padding: 0 2rem 1.5rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== SUITE OVERVIEW ROW ===== */
.suite-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
}
.suite-col {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.suite-col:last-child { border-right: none; }
.suite-col__num {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.12;
}
.suite-col h3 { margin-bottom: 0.5rem; }
.suite-col p { color: var(--text-dim); font-size: 0.92rem; }

@media (max-width: 768px) {
  .suite-row { grid-template-columns: 1fr; }
  .suite-col { border-right: none; border-bottom: 1px solid var(--border); }
  .suite-col:last-child { border-bottom: none; }
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section > * { position: relative; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--text-dim); margin: 0 auto 2rem; max-width: 550px; font-size: 1.1rem; }
.cta-section .hero__actions { justify-content: center; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}
.site-footer__brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 300px;
}
.site-footer__links h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.site-footer__links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.site-footer__disabled {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.3rem 0;
}
.site-footer__links a:hover { color: var(--text-bright); }
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== IMAGE PLACEHOLDERS ===== */
.img-placeholder {
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.trust-bar__item svg,
.trust-bar__item .icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* ===== PRODUCT PAGE HERO (larger, with glow matching product) ===== */
.hero--product {
  padding-bottom: 4rem;
}
.hero--forseti::before   { background: radial-gradient(circle, var(--forseti-glow) 0%, transparent 70%); }
.hero--tyche::before    { background: radial-gradient(circle, var(--tyche-glow) 0%, transparent 70%); }
.hero--valhalla::before { background: radial-gradient(circle, var(--valhalla-glow) 0%, transparent 70%); }

.hero--forseti .hero__label   { border-color: rgba(0,212,255,0.3); color: var(--forseti); }
.hero--tyche .hero__label    { border-color: rgba(168,85,247,0.3); color: var(--tyche); }
.hero--valhalla .hero__label { border-color: rgba(245,158,11,0.3); color: var(--valhalla); }

/* ===== DIAGRAM / VISUAL SECTIONS ===== */
.diagram-section {
  padding: 3rem 0;
}
.suite-diagram {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    var(--bg-elevated);
  box-shadow: 0 30px 80px rgba(0,0,0,0.32);
}
.suite-diagram img {
  display: block;
  width: 100%;
  height: auto;
  background: #0b1020;
}
.diagram-section .suite-diagram {
  max-width: 960px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero { padding: 8rem 1.5rem 4rem; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.5rem; }
  .product-pane__proof-grid { grid-template-columns: 1fr; }
}
