/* YAMASTRO — yst.css — Manufacturing Process Intelligence */
/* Palette: Deep navy #0A0F1E + Amber #E8891A + Teal #2F9E8F */
/* Typography: Inter (body/headings) + IBM Plex Mono (metrics/code) */

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --yst-navy-deep:    #0A0F1E;
  --yst-navy-mid:     #141B2D;
  --yst-navy-surface: #1E2640;
  --yst-surface-light:#F4F5F7;
  --yst-amber:        #E8891A;
  --yst-amber-dark:   #C4720E;
  --yst-amber-light:  #F0A94A;
  --yst-teal:         #2F9E8F;
  --yst-teal-light:   #3AB8A7;
  --yst-white:        #FFFFFF;
  --yst-text-primary: #FFFFFF;
  --yst-text-secondary: #B0BAD0;
  --yst-text-on-light: #1A1F2E;
  --yst-text-muted:   #7A849A;
  --yst-border:       #2A3350;
  --yst-border-light: #DDE1E8;
  --yst-success:      #27AE60;
  --yst-error:        #C0392B;
  --yst-code-bg:      #0D1420;

  --yst-font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --yst-font-mono:    'IBM Plex Mono', 'Consolas', 'Courier New', monospace;

  --yst-container:    1200px;
  --yst-radius:       6px;
  --yst-radius-lg:    12px;
  --yst-transition:   0.18s ease;

  --yst-shadow-sm:    0 1px 4px rgba(0,0,0,0.18);
  --yst-shadow-md:    0 4px 16px rgba(0,0,0,0.24);
  --yst-shadow-lg:    0 8px 32px rgba(0,0,0,0.32);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--yst-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--yst-text-on-light);
  background: var(--yst-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.yst-page--dark {
  background: var(--yst-navy-deep);
  color: var(--yst-text-primary);
}

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

/* ========================================
   TYPOGRAPHY SCALE
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--yst-font-body);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.yst-h1 { font-size: clamp(2rem, 4vw, 3rem); }
.yst-h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.yst-h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
.yst-h4 { font-size: 1.125rem; font-weight: 600; }

.yst-eyebrow {
  font-family: var(--yst-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yst-amber);
  margin-bottom: 0.75rem;
  display: block;
}

.yst-mono {
  font-family: var(--yst-font-mono);
  font-weight: 500;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.yst-container {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

.yst-section {
  padding: 80px 0;
}

.yst-section--sm {
  padding: 48px 0;
}

.yst-section--dark {
  background: var(--yst-navy-deep);
  color: var(--yst-text-primary);
}

.yst-section--navy-mid {
  background: var(--yst-navy-mid);
  color: var(--yst-text-primary);
}

.yst-section--surface {
  background: var(--yst-navy-surface);
  color: var(--yst-text-primary);
}

.yst-section--light {
  background: var(--yst-surface-light);
  color: var(--yst-text-on-light);
}

.yst-section--white {
  background: var(--yst-white);
  color: var(--yst-text-on-light);
}

/* ========================================
   NAVIGATION
   ======================================== */
.yst-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yst-navy-deep);
  border-bottom: 1px solid var(--yst-border);
  height: 64px;
  display: flex;
  align-items: center;
}

.yst-nav__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

.yst-nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
}

.yst-nav__logo svg {
  height: 32px;
  width: auto;
  max-width: 220px;
}

.yst-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 32px;
  flex: 1;
}

.yst-nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--yst-text-secondary);
  padding: 8px 12px;
  border-radius: var(--yst-radius);
  transition: color var(--yst-transition), background var(--yst-transition);
  white-space: nowrap;
  text-decoration: none;
}

.yst-nav__link:hover,
.yst-nav__link--active {
  color: var(--yst-white);
  background: rgba(255,255,255,0.06);
}

.yst-nav__dropdown {
  position: relative;
}

.yst-nav__dropdown-toggle {
  background: transparent;
  border: none;
  font-family: var(--yst-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--yst-text-secondary);
  padding: 8px 12px;
  border-radius: var(--yst-radius);
  transition: color var(--yst-transition), background var(--yst-transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.yst-nav__dropdown-toggle:hover,
.yst-nav__dropdown--open .yst-nav__dropdown-toggle {
  color: var(--yst-white);
  background: rgba(255,255,255,0.06);
}

.yst-nav__dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.yst-nav__dropdown--open .yst-nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.yst-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--yst-navy-mid);
  border: 1px solid var(--yst-border);
  border-radius: var(--yst-radius-lg);
  padding: 6px;
  box-shadow: var(--yst-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 200;
}

.yst-nav__dropdown--open .yst-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.yst-nav__dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  border-radius: 4px;
  transition: background var(--yst-transition), color var(--yst-transition);
  text-decoration: none;
}

.yst-nav__dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--yst-white);
}

.yst-nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.yst-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--yst-radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--yst-transition), color var(--yst-transition), border-color var(--yst-transition);
  text-decoration: none;
  white-space: nowrap;
}

.yst-nav__cta--ghost {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--yst-text-secondary);
  background: transparent;
}

.yst-nav__cta--ghost:hover {
  border-color: var(--yst-amber);
  color: var(--yst-amber);
  background: rgba(232,137,26,0.06);
}

.yst-nav__cta--text {
  color: var(--yst-text-secondary);
  font-weight: 500;
  padding: 8px 12px;
  background: transparent;
  border: none;
}

.yst-nav__cta--text:hover {
  color: var(--yst-white);
}

.yst-nav__hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--yst-white);
  padding: 8px;
  margin-left: auto;
}

.yst-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.yst-nav--menu-open .yst-nav__hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.yst-nav--menu-open .yst-nav__hamburger span:nth-child(2) {
  opacity: 0;
}
.yst-nav--menu-open .yst-nav__hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.yst-nav__mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--yst-navy-deep);
  z-index: 99;
  overflow-y: auto;
  padding: 24px;
}

.yst-nav--menu-open .yst-nav__mobile-menu {
  display: block;
}

.yst-nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.yst-nav__mobile-link {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--yst-text-secondary);
  padding: 12px 16px;
  border-radius: var(--yst-radius);
  text-decoration: none;
  transition: color var(--yst-transition), background var(--yst-transition);
}

.yst-nav__mobile-link:hover {
  color: var(--yst-white);
  background: rgba(255,255,255,0.06);
}

.yst-nav__mobile-section {
  border-top: 1px solid var(--yst-border);
  padding-top: 8px;
  margin-top: 8px;
}

.yst-nav__mobile-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yst-text-muted);
  padding: 8px 16px 4px;
}

.yst-nav__mobile-cta {
  display: block;
  padding: 14px 16px;
  background: var(--yst-amber);
  color: var(--yst-navy-deep);
  font-weight: 600;
  border-radius: var(--yst-radius);
  text-align: center;
  text-decoration: none;
  margin-top: 16px;
}

/* ========================================
   BUTTONS
   ======================================== */
.yst-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--yst-radius);
  font-family: var(--yst-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--yst-transition), color var(--yst-transition), border-color var(--yst-transition), box-shadow var(--yst-transition);
  white-space: nowrap;
  border: none;
  text-decoration: none;
}

.yst-btn--primary {
  background: var(--yst-amber);
  color: var(--yst-navy-deep);
}

.yst-btn--primary:hover {
  background: var(--yst-amber-dark);
  box-shadow: 0 0 0 3px rgba(232,137,26,0.25);
}

.yst-btn--secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--yst-white);
}

.yst-btn--secondary:hover {
  border-color: var(--yst-white);
  background: rgba(255,255,255,0.06);
}

.yst-btn--outline-amber {
  background: transparent;
  border: 1px solid var(--yst-amber);
  color: var(--yst-amber);
}

.yst-btn--outline-amber:hover {
  background: var(--yst-amber);
  color: var(--yst-navy-deep);
}

.yst-btn--light {
  background: var(--yst-navy-deep);
  color: var(--yst-white);
}

.yst-btn--light:hover {
  background: var(--yst-navy-mid);
}

.yst-btn--sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

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

/* ========================================
   HERO — DARK SPLIT (index)
   ======================================== */
.yst-hero {
  background: var(--yst-navy-deep);
  color: var(--yst-text-primary);
  padding: 96px 0 80px;
  overflow: hidden;
}

.yst-hero__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.yst-hero__content {
  max-width: 560px;
}

.yst-hero__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--yst-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.yst-hero__subhead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--yst-text-secondary);
  margin-bottom: 32px;
}

.yst-hero__jp-term {
  display: inline-block;
  font-family: var(--yst-font-mono);
  font-size: 0.75rem;
  color: var(--yst-teal);
  background: rgba(47,158,143,0.1);
  border: 1px solid rgba(47,158,143,0.25);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.yst-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.yst-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   SUB-PAGE HERO (light, split or centered)
   ======================================== */
.yst-subhero {
  background: var(--yst-white);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--yst-border-light);
}

.yst-subhero--light-surface {
  background: var(--yst-surface-light);
}

.yst-subhero__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

.yst-subhero--split .yst-subhero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.yst-subhero__eyebrow {
  font-family: var(--yst-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yst-amber);
  margin-bottom: 12px;
  display: block;
}

.yst-subhero__headline {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--yst-text-on-light);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.yst-subhero__subhead {
  font-size: 1.0625rem;
  color: #4A5568;
  line-height: 1.6;
  max-width: 520px;
}

.yst-subhero__visual {
  border-radius: var(--yst-radius-lg);
  overflow: hidden;
  box-shadow: var(--yst-shadow-md);
}

.yst-subhero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   OEE GAUGE SVG CLUSTER (hero visual)
   ======================================== */
.yst-oee-cluster {
  width: 100%;
  max-width: 440px;
}

/* ========================================
   CREDIBILITY BAR
   ======================================== */
.yst-credbar {
  background: var(--yst-white);
  border-top: 1px solid var(--yst-border-light);
  border-bottom: 1px solid var(--yst-border-light);
  padding: 28px 0;
}

.yst-credbar__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.yst-credbar__label {
  font-family: var(--yst-font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yst-text-muted);
  white-space: nowrap;
}

.yst-credbar__profiles {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  flex: 1;
}

.yst-credbar__profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #4A5568;
}

.yst-credbar__profile-icon {
  width: 32px;
  height: 32px;
  background: var(--yst-surface-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--yst-amber);
  font-size: 0.875rem;
}

.yst-credbar__iso {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--yst-text-muted);
  white-space: nowrap;
}

/* ========================================
   PROBLEM STATEMENT (3-col)
   ======================================== */
.yst-problem {
  background: var(--yst-surface-light);
  padding: 80px 0;
}

.yst-problem__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

.yst-problem__header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.yst-problem__headline {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  color: var(--yst-text-on-light);
  line-height: 1.25;
  margin-bottom: 8px;
}

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

.yst-problem__card {
  background: var(--yst-white);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  padding: 28px;
}

.yst-problem__card-num {
  font-family: var(--yst-font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--yst-amber);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.yst-problem__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin-bottom: 10px;
  line-height: 1.3;
}

.yst-problem__card-body {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.6;
}

/* ========================================
   PLATFORM FEATURES (dark grid)
   ======================================== */
.yst-platform {
  background: var(--yst-navy-deep);
  color: var(--yst-text-primary);
  padding: 80px 0;
}

.yst-platform__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

.yst-platform__header {
  text-align: center;
  margin-bottom: 56px;
}

.yst-platform__headline {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--yst-white);
  margin-bottom: 12px;
}

.yst-platform__subhead {
  font-size: 1rem;
  color: var(--yst-text-secondary);
}

.yst-platform__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.yst-feature-card {
  background: var(--yst-navy-mid);
  border: 1px solid var(--yst-border);
  border-radius: var(--yst-radius-lg);
  padding: 28px 24px;
  transition: border-color var(--yst-transition), transform var(--yst-transition);
}

.yst-feature-card:hover {
  border-color: var(--yst-amber);
  transform: translateY(-2px);
}

.yst-feature-card__icon {
  font-size: 1.5rem;
  color: var(--yst-amber);
  margin-bottom: 16px;
  display: block;
}

.yst-feature-card__en {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yst-white);
  margin-bottom: 4px;
}

.yst-feature-card__jp {
  font-family: var(--yst-font-mono);
  font-size: 0.75rem;
  color: var(--yst-teal);
  margin-bottom: 12px;
  display: block;
}

.yst-feature-card__body {
  font-size: 0.875rem;
  color: var(--yst-text-secondary);
  line-height: 1.55;
}

/* ========================================
   HOW IT WORKS (3 steps)
   ======================================== */
.yst-hiw {
  background: var(--yst-white);
  padding: 80px 0;
}

.yst-hiw__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

.yst-hiw__header {
  text-align: center;
  margin-bottom: 56px;
}

.yst-hiw__headline {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  color: var(--yst-text-on-light);
}

.yst-hiw__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.yst-hiw__step {
  text-align: left;
  position: relative;
  padding-left: 0;
}

.yst-hiw__step-num {
  font-family: var(--yst-font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--yst-border-light);
  line-height: 1;
  margin-bottom: 12px;
}

.yst-hiw__step-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin-bottom: 10px;
}

.yst-hiw__step-body {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.6;
}

.yst-hiw__diagram {
  border-radius: var(--yst-radius-lg);
  overflow: hidden;
  border: 1px solid var(--yst-border-light);
}

.yst-hiw__diagram img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   CUSTOMER EVIDENCE
   ======================================== */
.yst-customers {
  background: var(--yst-surface-light);
  padding: 80px 0;
}

.yst-customers__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

.yst-customers__header {
  text-align: center;
  margin-bottom: 48px;
}

.yst-customers__headline {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  color: var(--yst-text-on-light);
}

.yst-customers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.yst-quote-card {
  background: var(--yst-white);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  padding: 32px;
  position: relative;
}

.yst-quote-card__profile {
  display: inline-block;
  font-family: var(--yst-font-mono);
  font-size: 0.75rem;
  color: var(--yst-amber);
  background: rgba(232,137,26,0.08);
  border: 1px solid rgba(232,137,26,0.2);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.yst-quote-card__quote {
  font-size: 1rem;
  color: var(--yst-text-on-light);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.yst-quote-card__attribution {
  font-size: 0.8125rem;
  color: var(--yst-text-muted);
  font-weight: 500;
}

/* ========================================
   SOLUTIONS TEASE / CARDS ROW
   ======================================== */
.yst-solutions-tease {
  background: var(--yst-white);
  padding: 80px 0;
}

.yst-solutions-tease__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

.yst-solutions-tease__header {
  text-align: center;
  margin-bottom: 40px;
}

.yst-solutions-tease__headline {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  color: var(--yst-text-on-light);
}

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

.yst-solution-card {
  background: var(--yst-surface-light);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: border-color var(--yst-transition), box-shadow var(--yst-transition), transform var(--yst-transition);
}

.yst-solution-card:hover {
  border-color: var(--yst-amber);
  box-shadow: var(--yst-shadow-md);
  transform: translateY(-2px);
}

.yst-solution-card__label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
}

.yst-solution-card__sub {
  font-size: 0.875rem;
  color: var(--yst-text-muted);
}

.yst-solution-card__arrow {
  margin-top: auto;
  font-size: 0.875rem;
  color: var(--yst-amber);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 12px;
}

/* ========================================
   CTA BAND (dark)
   ======================================== */
.yst-ctaband {
  background: var(--yst-navy-mid);
  color: var(--yst-text-primary);
  padding: 80px 0;
  border-top: 1px solid var(--yst-border);
}

.yst-ctaband__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.yst-ctaband__headline {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--yst-white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.yst-ctaband__sub {
  font-size: 1rem;
  color: var(--yst-text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.yst-footer {
  background: var(--yst-navy-deep);
  color: var(--yst-text-secondary);
  border-top: 1px solid var(--yst-border);
  padding: 64px 0 0;
}

.yst-footer__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.yst-footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.yst-footer__logo svg {
  height: 28px;
  width: auto;
  max-width: 200px;
}

.yst-footer__tagline {
  font-size: 0.875rem;
  color: var(--yst-text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.yst-footer__address {
  font-size: 0.8125rem;
  color: var(--yst-text-muted);
  line-height: 1.7;
}

.yst-footer__address a {
  color: var(--yst-text-muted);
  text-decoration: none;
  transition: color var(--yst-transition);
}

.yst-footer__address a:hover {
  color: var(--yst-amber);
}

.yst-footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yst-white);
  margin-bottom: 16px;
  font-family: var(--yst-font-mono);
}

.yst-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yst-footer__links a {
  font-size: 0.875rem;
  color: var(--yst-text-secondary);
  text-decoration: none;
  transition: color var(--yst-transition);
}

.yst-footer__links a:hover {
  color: var(--yst-amber);
}

.yst-footer__bar {
  border-top: 1px solid var(--yst-border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.yst-footer__copyright {
  font-size: 0.8125rem;
  color: var(--yst-text-muted);
}

.yst-footer__legal {
  display: flex;
  gap: 20px;
}

.yst-footer__legal a {
  font-size: 0.8125rem;
  color: var(--yst-text-muted);
  text-decoration: none;
  transition: color var(--yst-transition);
}

.yst-footer__legal a:hover {
  color: var(--yst-amber);
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.yst-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--yst-navy-mid);
  border-top: 1px solid var(--yst-border);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.yst-cookie--visible {
  transform: translateY(0);
}

body.yst-cookie-visible {
  padding-bottom: 88px;
}

.yst-cookie__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.yst-cookie__text {
  font-size: 0.875rem;
  color: var(--yst-text-secondary);
  flex: 1;
  min-width: 200px;
}

.yst-cookie__text a {
  color: var(--yst-amber);
  text-decoration: underline;
}

.yst-cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ========================================
   PLATFORM PAGE — MODULES/TABS
   ======================================== */
.yst-modules {
  background: var(--yst-white);
  padding: 80px 0;
}

.yst-modules__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

.yst-modules__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--yst-border-light);
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 0;
}

.yst-modules__tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--yst-text-muted);
  cursor: pointer;
  transition: color var(--yst-transition), border-color var(--yst-transition);
  white-space: nowrap;
  margin-bottom: -1px;
}

.yst-modules__tab:hover {
  color: var(--yst-text-on-light);
}

.yst-modules__tab--active {
  color: var(--yst-amber);
  border-bottom-color: var(--yst-amber);
  font-weight: 600;
}

.yst-modules__panel {
  display: none;
}

.yst-modules__panel--active {
  display: block;
}

.yst-modules__panel-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin-bottom: 16px;
}

.yst-modules__panel-body {
  font-size: 1rem;
  color: #4A5568;
  line-height: 1.7;
  max-width: 680px;
}

.yst-modules__panel-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yst-modules__panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: #4A5568;
}

.yst-modules__panel-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yst-amber);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* ========================================
   SPECS TABLE
   ======================================== */
.yst-specs {
  background: var(--yst-surface-light);
  padding: 64px 0;
}

.yst-specs__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
}

.yst-specs__headline {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin-bottom: 32px;
}

.yst-specs__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--yst-white);
  border-radius: var(--yst-radius-lg);
  overflow: hidden;
  border: 1px solid var(--yst-border-light);
}

.yst-specs__table th {
  background: var(--yst-navy-deep);
  color: var(--yst-text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 20px;
  text-align: left;
}

.yst-specs__table td {
  padding: 14px 20px;
  font-size: 0.9375rem;
  color: var(--yst-text-on-light);
  border-bottom: 1px solid var(--yst-border-light);
  vertical-align: top;
}

.yst-specs__table tr:last-child td {
  border-bottom: none;
}

.yst-specs__table td:first-child {
  font-weight: 600;
  color: #374151;
  width: 220px;
}

.yst-specs__table tr:hover td {
  background: rgba(244,245,247,0.5);
}

/* ========================================
   CUSTOMER PAGE
   ======================================== */
.yst-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.yst-case-card {
  background: var(--yst-white);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yst-case-card__profile {
  font-family: var(--yst-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yst-amber);
  background: rgba(232,137,26,0.08);
  border: 1px solid rgba(232,137,26,0.2);
  padding: 4px 10px;
  border-radius: 3px;
  display: inline-block;
}

.yst-case-card__result {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  line-height: 1.3;
}

.yst-case-card__detail {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.6;
}

.yst-case-card__metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--yst-border-light);
}

.yst-case-card__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yst-case-card__metric-value {
  font-family: var(--yst-font-mono);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--yst-amber);
}

.yst-case-card__metric-label {
  font-size: 0.75rem;
  color: var(--yst-text-muted);
}

/* ========================================
   STATS BAND
   ======================================== */
.yst-statsband {
  background: var(--yst-navy-deep);
  color: var(--yst-text-primary);
  padding: 64px 0;
  border-top: 1px solid var(--yst-border);
  border-bottom: 1px solid var(--yst-border);
}

.yst-statsband__inner {
  max-width: var(--yst-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.yst-statsband__stat-value {
  font-family: var(--yst-font-mono);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--yst-amber);
  line-height: 1;
  margin-bottom: 8px;
}

.yst-statsband__stat-label {
  font-size: 0.9375rem;
  color: var(--yst-text-secondary);
  line-height: 1.4;
}

.yst-statsband__source {
  text-align: center;
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--yst-text-muted);
  font-family: var(--yst-font-mono);
  grid-column: 1 / -1;
}

/* ========================================
   COMPANY PAGE
   ======================================== */
.yst-company-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.yst-company-hub__card {
  background: var(--yst-surface-light);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  padding: 36px;
  text-decoration: none;
  transition: border-color var(--yst-transition), box-shadow var(--yst-transition), transform var(--yst-transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yst-company-hub__card:hover {
  border-color: var(--yst-amber);
  box-shadow: var(--yst-shadow-md);
  transform: translateY(-2px);
}

.yst-company-hub__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
}

.yst-company-hub__card-body {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.6;
}

.yst-company-hub__card-link {
  color: var(--yst-amber);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: auto;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.yst-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.yst-principle {
  background: var(--yst-surface-light);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  padding: 28px;
}

.yst-principle__icon {
  font-size: 1.5rem;
  color: var(--yst-amber);
  margin-bottom: 14px;
}

.yst-principle__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin-bottom: 8px;
}

.yst-principle__body {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.6;
}

/* ========================================
   TEAM PAGE
   ======================================== */
.yst-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.yst-team-card {
  background: var(--yst-white);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  padding: 24px;
  text-align: center;
}

.yst-team-card__portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 2px solid var(--yst-border-light);
}

.yst-team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin-bottom: 4px;
}

.yst-team-card__title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--yst-amber);
  margin-bottom: 12px;
  font-family: var(--yst-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.yst-team-card__bio {
  font-size: 0.875rem;
  color: #4A5568;
  line-height: 1.55;
}

/* ========================================
   INSIGHTS PAGE
   ======================================== */
.yst-blog-featured {
  margin-bottom: 48px;
}

.yst-blog-featured__card {
  background: var(--yst-white);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  transition: box-shadow var(--yst-transition);
}

.yst-blog-featured__card:hover {
  box-shadow: var(--yst-shadow-md);
}

.yst-blog-featured__image {
  overflow: hidden;
}

.yst-blog-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.yst-blog-featured__card:hover .yst-blog-featured__image img {
  transform: scale(1.02);
}

.yst-blog-featured__content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.yst-blog-featured__cat {
  display: inline-block;
  font-family: var(--yst-font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yst-amber);
  background: rgba(232,137,26,0.08);
  border: 1px solid rgba(232,137,26,0.2);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.yst-blog-featured__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  line-height: 1.35;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
}

.yst-blog-featured__title:hover {
  color: var(--yst-amber);
}

.yst-blog-featured__summary {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.6;
  margin-bottom: 16px;
}

.yst-blog-featured__meta {
  font-size: 0.8125rem;
  color: var(--yst-text-muted);
  display: flex;
  gap: 12px;
  align-items: center;
}

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

.yst-blog-card {
  background: var(--yst-white);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--yst-transition), transform var(--yst-transition);
}

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

.yst-blog-card__image {
  overflow: hidden;
  height: 180px;
}

.yst-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.yst-blog-card:hover .yst-blog-card__image img {
  transform: scale(1.03);
}

.yst-blog-card__content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yst-blog-card__cat {
  display: inline-block;
  font-family: var(--yst-font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yst-amber);
  background: rgba(232,137,26,0.08);
  border: 1px solid rgba(232,137,26,0.15);
  padding: 2px 7px;
  border-radius: 3px;
}

.yst-blog-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  line-height: 1.4;
  text-decoration: none;
  display: block;
}

.yst-blog-card__title:hover {
  color: var(--yst-amber);
}

.yst-blog-card__summary {
  font-size: 0.875rem;
  color: #4A5568;
  line-height: 1.55;
  flex: 1;
}

.yst-blog-card__meta {
  font-size: 0.75rem;
  color: var(--yst-text-muted);
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--yst-border-light);
  padding-top: 10px;
  margin-top: auto;
}

/* ========================================
   BLOG ARTICLE PAGE
   ======================================== */
.yst-article {
  background: var(--yst-white);
  padding: 64px 0;
}

.yst-article__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.yst-article__cat {
  display: inline-block;
  font-family: var(--yst-font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yst-amber);
  background: rgba(232,137,26,0.08);
  border: 1px solid rgba(232,137,26,0.2);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.yst-article__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--yst-text-on-light);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.yst-article__meta {
  font-size: 0.875rem;
  color: var(--yst-text-muted);
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.yst-article__hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--yst-radius-lg);
  margin-bottom: 40px;
  display: block;
}

.yst-article__body {
  font-size: 1rem;
  color: #2D3748;
  line-height: 1.75;
}

.yst-article__body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin: 40px 0 16px;
  line-height: 1.3;
}

.yst-article__body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin: 28px 0 12px;
}

.yst-article__body p {
  margin-bottom: 20px;
}

.yst-article__body ul,
.yst-article__body ol {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: disc;
}

.yst-article__body ol {
  list-style: decimal;
}

.yst-article__body li {
  margin-bottom: 8px;
}

.yst-article__body code {
  font-family: var(--yst-font-mono);
  font-size: 0.875em;
  background: var(--yst-surface-light);
  color: var(--yst-amber);
  padding: 2px 6px;
  border-radius: 3px;
}

.yst-article__body pre {
  background: var(--yst-code-bg);
  color: var(--yst-text-secondary);
  padding: 24px;
  border-radius: var(--yst-radius);
  overflow-x: auto;
  margin-bottom: 24px;
  font-family: var(--yst-font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.yst-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.yst-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yst-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yst-form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yst-text-on-light);
}

.yst-form__input,
.yst-form__select,
.yst-form__textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius);
  font-family: var(--yst-font-body);
  font-size: 0.9375rem;
  color: var(--yst-text-on-light);
  background: var(--yst-white);
  transition: border-color var(--yst-transition), box-shadow var(--yst-transition);
  outline: none;
}

.yst-form__input:focus,
.yst-form__select:focus,
.yst-form__textarea:focus {
  border-color: var(--yst-amber);
  box-shadow: 0 0 0 3px rgba(232,137,26,0.15);
}

.yst-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.yst-form__success {
  display: none;
  background: rgba(39,174,96,0.08);
  border: 1px solid rgba(39,174,96,0.25);
  border-radius: var(--yst-radius);
  padding: 16px 20px;
  color: #1a5c34;
  font-size: 0.9375rem;
}

.yst-contact-details {
  margin-top: 40px;
}

.yst-contact-details h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin-bottom: 20px;
}

.yst-contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.yst-contact-detail__icon {
  width: 36px;
  height: 36px;
  background: var(--yst-surface-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yst-amber);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.yst-contact-detail__text {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.5;
}

.yst-contact-detail__text a {
  color: var(--yst-amber);
  text-decoration: none;
}

.yst-contact-detail__text a:hover {
  text-decoration: underline;
}

/* ========================================
   LOGIN PAGE
   ======================================== */
.yst-login-page {
  min-height: 100vh;
  background: var(--yst-navy-deep);
  display: flex;
  flex-direction: column;
}

.yst-login-header {
  padding: 20px clamp(24px, 8vw, 80px);
  border-bottom: 1px solid var(--yst-border);
  display: flex;
  align-items: center;
}

.yst-login-header__logo svg {
  height: 28px;
  width: auto;
}

.yst-login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.yst-login-card {
  background: var(--yst-navy-mid);
  border: 1px solid var(--yst-border);
  border-radius: var(--yst-radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 440px;
}

.yst-login-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yst-white);
  margin-bottom: 8px;
}

.yst-login-card__sub {
  font-size: 0.9375rem;
  color: var(--yst-text-secondary);
  margin-bottom: 32px;
}

.yst-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yst-login-form .yst-form__label {
  color: var(--yst-text-secondary);
}

.yst-login-form .yst-form__input {
  background: var(--yst-navy-surface);
  border-color: var(--yst-border);
  color: var(--yst-white);
}

.yst-login-form .yst-form__input:focus {
  border-color: var(--yst-amber);
  box-shadow: 0 0 0 3px rgba(232,137,26,0.2);
}

.yst-login-form .yst-form__input::placeholder {
  color: var(--yst-text-muted);
}

.yst-login-card__forgot {
  font-size: 0.875rem;
  color: var(--yst-text-muted);
  text-decoration: none;
  text-align: right;
  display: block;
  margin-top: -12px;
  transition: color var(--yst-transition);
}

.yst-login-card__forgot:hover {
  color: var(--yst-amber);
}

.yst-login-card__footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--yst-text-muted);
}

.yst-login-card__footer a {
  color: var(--yst-amber);
  text-decoration: none;
}

/* ========================================
   404 PAGE
   ======================================== */
.yst-404 {
  min-height: 100vh;
  background: var(--yst-navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.yst-404__code {
  font-family: var(--yst-font-mono);
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 500;
  color: var(--yst-border);
  line-height: 1;
  margin-bottom: 24px;
}

.yst-404__headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yst-white);
  margin-bottom: 12px;
}

.yst-404__sub {
  font-size: 1rem;
  color: var(--yst-text-secondary);
  margin-bottom: 32px;
  max-width: 400px;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.yst-legal {
  background: var(--yst-white);
  padding: 64px 0;
}

.yst-legal__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.yst-legal__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin-bottom: 8px;
}

.yst-legal__updated {
  font-size: 0.875rem;
  color: var(--yst-text-muted);
  margin-bottom: 40px;
  font-family: var(--yst-font-mono);
}

.yst-legal__body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin: 36px 0 14px;
  line-height: 1.3;
}

.yst-legal__body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin: 24px 0 10px;
}

.yst-legal__body p {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 16px;
}

.yst-legal__body ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 16px;
}

.yst-legal__body li {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 6px;
}

.yst-legal__body a {
  color: var(--yst-amber);
  text-decoration: underline;
}

/* ========================================
   SECTION HEADER UTILITY
   ======================================== */
.yst-section-hdr {
  text-align: center;
  margin-bottom: 48px;
}

.yst-section-hdr--left {
  text-align: left;
}

.yst-section-hdr__eyebrow {
  font-family: var(--yst-font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yst-amber);
  margin-bottom: 10px;
  display: block;
}

.yst-section-hdr__headline {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  color: var(--yst-text-on-light);
  line-height: 1.25;
  margin-bottom: 12px;
}

.yst-section-hdr__headline--on-dark {
  color: var(--yst-white);
}

.yst-section-hdr__sub {
  font-size: 1rem;
  color: #4A5568;
  max-width: 600px;
  margin: 0 auto;
}

.yst-section-hdr__sub--on-dark {
  color: var(--yst-text-secondary);
  margin: 0;
}

/* ========================================
   FEATURE LIST (solutions sub-pages)
   ======================================== */
.yst-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yst-feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--yst-white);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius);
  font-size: 0.9375rem;
  color: var(--yst-text-on-light);
  line-height: 1.5;
}

.yst-feature-list__item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yst-amber);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* ========================================
   PULLQUOTE
   ======================================== */
.yst-pullquote {
  background: var(--yst-surface-light);
  border-left: 3px solid var(--yst-amber);
  border-radius: 0 var(--yst-radius) var(--yst-radius) 0;
  padding: 28px 32px;
  margin: 40px 0;
}

.yst-pullquote__profile {
  font-family: var(--yst-font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yst-amber);
  margin-bottom: 12px;
  display: block;
}

.yst-pullquote__text {
  font-size: 1.125rem;
  color: var(--yst-text-on-light);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}

.yst-pullquote__attribution {
  font-size: 0.875rem;
  color: var(--yst-text-muted);
  font-weight: 500;
}

/* ========================================
   TWO-COLUMN TEXT
   ======================================== */
.yst-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.yst-twocol__headline {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--yst-text-on-light);
  line-height: 1.3;
  margin-bottom: 16px;
}

.yst-twocol__body {
  font-size: 1rem;
  color: #4A5568;
  line-height: 1.7;
}

/* ========================================
   SOLUTIONS OVERVIEW GRID
   ======================================== */
.yst-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.yst-solutions-grid__card {
  background: var(--yst-white);
  border: 1px solid var(--yst-border-light);
  border-radius: var(--yst-radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--yst-transition), transform var(--yst-transition);
}

.yst-solutions-grid__card:hover {
  box-shadow: var(--yst-shadow-md);
  transform: translateY(-2px);
}

.yst-solutions-grid__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.yst-solutions-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.yst-solutions-grid__card:hover .yst-solutions-grid__image img {
  transform: scale(1.03);
}

.yst-solutions-grid__content {
  padding: 24px;
}

.yst-solutions-grid__label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--yst-text-on-light);
  margin-bottom: 6px;
}

.yst-solutions-grid__sub {
  font-size: 0.875rem;
  color: #4A5568;
  line-height: 1.5;
  margin-bottom: 14px;
}

.yst-solutions-grid__link {
  font-size: 0.875rem;
  color: var(--yst-amber);
  font-weight: 600;
}

/* ========================================
   FADE-IN ANIMATION
   ======================================== */
.yst-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

/* ========================================
   RESPONSIVE — TABLET (< 1024px)
   ======================================== */
@media (max-width: 1023px) {
  .yst-platform__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yst-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yst-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .yst-hero__visual {
    order: -1;
  }

  .yst-subhero--split .yst-subhero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .yst-blog-featured__card {
    grid-template-columns: 1fr;
  }

  .yst-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .yst-footer__cols > *:first-child {
    grid-column: 1 / -1;
  }

  .yst-contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ========================================
   RESPONSIVE — MOBILE (< 768px)
   ======================================== */
@media (max-width: 767px) {
  .yst-section { padding: 48px 0; }

  .yst-nav__links,
  .yst-nav__right {
    display: none;
  }

  .yst-nav__hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .yst-hero { padding: 64px 0 48px; }

  .yst-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .yst-problem__grid {
    grid-template-columns: 1fr;
  }

  .yst-platform__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .yst-hiw__steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .yst-customers__grid,
  .yst-case-grid {
    grid-template-columns: 1fr;
  }

  .yst-solution-cards {
    grid-template-columns: 1fr;
  }

  .yst-solutions-grid {
    grid-template-columns: 1fr;
  }

  .yst-statsband__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .yst-team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .yst-blog-grid {
    grid-template-columns: 1fr;
  }

  .yst-twocol {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .yst-company-hub {
    grid-template-columns: 1fr;
  }

  .yst-principles {
    grid-template-columns: 1fr;
  }

  .yst-footer__cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .yst-footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .yst-credbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .yst-credbar__profiles {
    flex-direction: column;
    gap: 16px;
  }

  .yst-credbar__iso {
    margin-left: 0;
  }

  .yst-login-card {
    padding: 32px 24px;
  }

  .yst-cookie__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .yst-modules__tabs {
    gap: 0;
  }
}

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

  .yst-team-grid {
    grid-template-columns: 1fr;
  }

  .yst-nav__cta--ghost {
    display: none;
  }
}
