:root {
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --bg-core: #050505;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(10, 10, 10, 0.7);

  --accent-primary: #2D7BFF;
  /* Electric Blue */
  --accent-glow: rgba(45, 123, 255, 0.4);
  --text-primary: #FFFFFF;
  --text-secondary: #888888;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(255, 255, 255, 0.3);

  --spacing-container: 1400px;
  --radius-sm: 2px;
  --radius-md: 4px;

  --grid-size: 40px;
}

/* Base */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-core);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-core);
  color: var(--text-primary);
  margin: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Grid Texture */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: center top;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* Typography */
h1,
h2,
h3,
.logo,
.stat-value,
.btn-text {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 5rem;
  line-height: 0.9;
  font-weight: 700;
  margin-bottom: 2rem;
}

h2 {
  font-size: 3.5rem;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.accent-text {
  color: var(--accent-primary);
}

.outlined {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  color: transparent;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.8);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.tm {
  font-size: 0.8rem;
  vertical-align: super;
  color: var(--text-secondary);
}

.desktop-nav {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.desktop-nav a:not(.cta-button) {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.desktop-nav a:hover:not(.cta-button) {
  color: white;
}

/* Mobile Nav */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
  color: white;
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.9rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  cursor: pointer;
}

.mobile-menu-bars {
  width: 18px;
  height: 2px;
  background: white;
  position: relative;
  display: inline-block;
}

.mobile-menu-bars::before,
.mobile-menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: white;
  transition: transform 0.2s ease;
}

.mobile-menu-bars::before {
  top: -6px;
}

.mobile-menu-bars::after {
  top: 6px;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.mobile-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.menu-open .mobile-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-open .mobile-menu-bars {
  background: transparent;
}

.menu-open .mobile-menu-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .mobile-menu-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(30, 30, 30, 1) 0%, rgba(5, 5, 5, 1) 70%);
  z-index: 1;
}

.hero-content {
  margin-top: -50px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-stats {
  display: inline-flex;
  padding: 2rem 3rem;
  gap: 3rem;
  border-radius: var(--radius-sm);
  margin-bottom: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border-subtle);
}

/* Buttons */
.cta-button {
  text-decoration: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 1rem 2rem;
  border: 1px solid rgba(45, 123, 255, 0.65);
  color: #f4f7ff;
  background: #0f172c;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: rgba(45, 123, 255, 0.3);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(45, 123, 255, 0.25);
}

.cta-button.primary {
  background: var(--accent-primary);
  color: #06101f;
  border-color: var(--accent-primary);
}

.cta-button.primary:hover {
  background: #5b98ff;
  border-color: #5b98ff;
  color: #041025;
  box-shadow: 0 16px 30px rgba(45, 123, 255, 0.35);
}

.cta-button.header-cta {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  background: var(--accent-primary);
  color: #06101f;
  border-color: var(--accent-primary);
}

.cta-button.header-cta:hover {
  background: var(--accent-primary);
  color: #06101f;
}

.cta-button.header-cta.header-cta--ghost {
  background: transparent;
  color: #f4f7ff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-button.header-cta.header-cta--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

/* Sections */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-tag {
  color: var(--accent-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  transition: transform 0.3s;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  filter: grayscale(100%);
}

/* Engineering Section */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.lead-text {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.tech-list li {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.tech-list span {
  color: var(--accent-primary);
  margin-right: 1rem;
}

.tech-blueprint {
  aspect-ratio: 1/1;
  border: 1px solid var(--border-subtle);
  position: relative;
  background: #000;
  overflow: hidden;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 100, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 100, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--accent-primary);
  color: black;
  font-family: var(--font-heading);
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Showcase */
.section-sub {
  max-width: 720px;
  margin: 0.5rem auto 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.showcase-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #050505 0%, #070707 45%, #030303 100%);
}

.showcase-section::before,
.showcase-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.showcase-section::before {
  top: -160px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 51, 0, 0.18) 0%, rgba(255, 51, 0, 0) 70%);
}

.showcase-section::after {
  bottom: -200px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  gap: 1.5rem;
  margin-top: 3rem;
  grid-auto-flow: dense;
  position: relative;
  z-index: 2;
}

.showcase-item {
  margin: 0;
  position: relative;
  border: 1px solid var(--border-subtle);
  background: #0a0a0a;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.showcase-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.4s ease;
}

.showcase-item:hover img {
  transform: scale(1.04);
}

.showcase-item figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.6rem;
}

.showcase-item.wide {
  grid-column: span 7;
  grid-row: span 2;
}

.showcase-item.tall {
  grid-column: span 5;
  grid-row: span 2;
}

.showcase-item.small {
  grid-column: span 3;
  grid-row: span 1;
}

/* About Page */
.network-summary {
  padding: 2.5rem;
  display: grid;
  gap: 2rem;
}

.network-metric {
  display: flex;
  flex-direction: column;
}

.network-grid {
  margin-top: 3rem;
}

.network-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.network-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
}

.case-study {
  padding: 3rem;
  margin-top: 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.case-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.case-badge {
  background: var(--accent-primary);
  color: black;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  padding: 0.6rem 0.9rem;
  white-space: nowrap;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.case-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  text-transform: uppercase;
}

.case-notes {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-list li {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-secondary);
}

.team-list span {
  color: var(--accent-primary);
  margin-right: 0.8rem;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.blog-card .cta-button {
  align-self: flex-start;
}

.lab-training-card {
  margin-top: 2.5rem;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lab-rd-card {
  margin: 2.5rem 0;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lab-rd-card__media {
  flex: 0 1 240px;
  max-width: 260px;
}

.lab-rd-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 12, 22, 0.7);
  object-fit: cover;
}

.lab-rd-card__content {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lab-rd-card__eyebrow {
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin: 0;
}

.lab-training-card__eyebrow {
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.4rem;
}

.lab-training-card__content h3 {
  margin: 0 0 0.6rem;
}

.lab-training-card__content p {
  margin: 0;
  color: var(--text-secondary);
}

.post-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.post-sidebar {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 12, 20, 0.95);
  border-radius: 16px;
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cookie-banner__title {
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent-primary);
  margin: 0 0 0.6rem;
}

.cookie-banner__text {
  margin: 0;
  color: var(--text-secondary);
}

.cookie-banner__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-banner__button {
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: #f4f7ff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.cookie-banner__button--primary {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
}

.cookie-banner__button:hover {
  filter: brightness(1.08);
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  margin-bottom: 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.post-list span {
  color: var(--accent-primary);
  margin-right: 0.8rem;
}

.post-image {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a0a0a;
  min-height: 340px;
}

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

/* Compliance */
.compliance-panel {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.process-list li {
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  padding: 2rem;
  border-radius: var(--radius-md);
  position: relative;
}

.process-list li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: 'Courier New', monospace;
  color: var(--accent-primary);
  font-size: 2rem;
  opacity: 0.2;
}

/* Legal/Docs Pages */
.doc-stack {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.doc-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  border-radius: var(--radius-md);
}

/* Contact/Form */
.contact-section {
  background: #080808;
}

.common-center {
  text-align: center;
  margin-bottom: 4rem;
}

.command-center {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: #0a0a0a;
}

.tech-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group.full {
  grid-column: span 2;
}

.input-group.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

input,
select,
textarea {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  color: white;
  padding: 1rem;
  font-family: 'Courier New', Courier, monospace;
  /* Tech feel */
  font-size: 1rem;
  border-radius: 0;
  transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-glow);
}


/* --- NEW FOOTER STYLES --- */
.site-footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(45, 123, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(45, 123, 255, 0.12), transparent 45%),
    linear-gradient(180deg, #060912 0%, #02030a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.footer-stripe {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  width: 100%;
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.footer-grid-4 .brand-col {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-desc {
  color: var(--text-secondary);
  margin: 1.5rem 0;
  max-width: 300px;
  font-size: 0.9rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bcd3ff;
  background: rgba(45, 123, 255, 0.16);
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(45, 123, 255, 0.3);
}

.dot.online {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(45, 123, 255, 0.6);
}

h4 {
  color: #f1f5ff;
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

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

.footer-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-list a span {
  display: inline-block;
}

.footer-links-list .footer-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links-list a:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

address {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

address strong {
  color: white;
}

.footer-bottom {
  padding: 2rem 0 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(236, 242, 255, 0.6);
  position: relative;
}

.watermark {
  position: absolute;
  bottom: -30px;
  right: 10%;
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 1;
  font-family: var(--font-heading);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .footer-grid-4 .brand-col {
    grid-column: span 1;
  }
}

/* --- NEW FORM STYLES --- */
.panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--accent-primary);
}

.blink {
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.status-light {
  width: 10px;
  height: 10px;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.input-group label {
  color: var(--accent-primary);
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}

/* Radio Tiles for Project Type */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.radio-tile {
  cursor: pointer;
  position: relative;
}

.radio-tile input {
  display: none;
}

.tile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s;
}

.tile-icon {
  font-size: 1.5rem;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.tile-label {
  font-size: 0.7rem;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-align: center;
}

.radio-tile input:checked+.tile-content {
  background: rgba(255, 51, 0, 0.1);
  border-color: var(--accent-primary);
}

.radio-tile input:checked+.tile-content .tile-icon {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.radio-tile input:checked+.tile-content .tile-label {
  color: white;
}

.submit-button {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-primary);
}

.submit-button:hover {
  background: white;
}

.submit-button:hover .btn-text,
.submit-button:hover .btn-sub {
  color: black;
}

.btn-sub {
  font-size: 0.7rem;
  font-family: 'Courier New', monospace;
  opacity: 0.8;
  font-weight: 400;
  color: black;
}

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

  .radio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Image Integration */
.blueprint-image,
.blueprint-graphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  mix-blend-mode: luminosity;
  z-index: 0;
}

.blueprint-graphic {
  opacity: 0.7;
  mix-blend-mode: screen;
}

.tech-blueprint .blueprint-grid,
.tech-blueprint .badge {
  z-index: 1;
  /* Ensure text/grid stays on top of image */
}

/* Update Card Icons for SVGs */
.card-icon {
  font-size: 0;
  /* Remove text size */
  margin-bottom: 1.5rem;
  filter: none;
  /* Remove grayscale */
}

.card-icon svg {
  width: 48px;
  height: 48px;
  fill: var(--accent-primary);
  filter: drop-shadow(0 0 5px rgba(255, 51, 0, 0.4));
}

/* Timeline Styles */
.page-hero {
  min-height: 50vh;
  padding-top: 150px;
  align-items: flex-start;
}

.page-title {
  font-size: 4rem;
}

.page-hero .hero-content {
  margin-top: 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 51, 0, 0.1);
  border: 1px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* Optional: Keep it square for fuller industrial look or round for 'node' */
  z-index: 2;
  box-shadow: 0 0 15px rgba(255, 51, 0, 0.2);
}

.step-icon svg {
  width: 30px;
  height: 30px;
}

.step-line {
  flex-grow: 1;
  width: 2px;
  background: var(--accent-primary);
  opacity: 0.3;
  margin-top: 10px;
  box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-step:last-child .step-line {
  display: none;
}

.step-content {
  position: relative;
  padding-left: 2rem;
}

.step-number {
  font-family: 'Courier New', monospace;
  color: var(--accent-primary);
  font-size: 3rem;
  opacity: 0.1;
  position: absolute;
  top: 10px;
  right: 20px;
  font-weight: bold;
}

.cta-container {
  text-align: center;
  margin-top: 5rem;
}

/* Timeline Section Adjustments for Main Page */
#protocol {
  position: relative;
  background: linear-gradient(to bottom, var(--bg-core), #080808);
}

.process-section .section-title {
  margin-bottom: 4rem;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {

  /* Typography Scaling */
  html {
    font-size: 14px;
  }

  /* Base scale down */

  h1 {
    font-size: 3rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1.1rem;
  }

  /* Layout & Spacing */
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 4rem 0;
  }

  /* Hero Section */
  .hero {
    padding-top: 160px;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .stat-divider {
    display: none;
  }

  /* Navigation */
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: flex;
  }

  .header-container {
    justify-content: space-between;
  }

  /* Center logo */

  /* Grids Collapsing */
  .grid-3,
  .grid-2,
  .tech-form .form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Image Column Order */
  .engineering-section .grid-2 {
    display: flex;
    flex-direction: column;
  }

  /* Timeline Responsive */
  .timeline {
    padding: 0 10px;
  }

  .timeline-step {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .step-icon {
    width: 40px;
    height: 40px;
  }

  .step-icon svg {
    width: 20px;
    height: 20px;
  }

  .step-number {
    font-size: 2rem;
  }

  .step-content {
    padding-left: 0;
  }

  /* Form Adjustments */
  .input-group.full {
    grid-column: auto;
  }

  .radio-grid {
    grid-template-columns: 1fr 1fr;
    /* 2 cols on mobile is okay */
  }

  .command-center {
    padding: 1.5rem;
  }

  /* Showcase */
  .showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .showcase-item.wide,
  .showcase-item.tall,
  .showcase-item.small {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* About Page */
  .case-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .case-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Blog */
  .blog-card img {
    height: 200px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-image {
    min-height: 240px;
  }

  /* Compliance */
  .process-list li {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-grid-4 {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .footer-desc {
    margin: 1.5rem auto;
  }

  .footer-links-list li,
  .site-footer address {
    text-align: center;
  }

  .lab-training-card {
    align-items: flex-start;
  }

  .lab-rd-card {
    align-items: flex-start;
  }

  /* Watermark */
  .watermark {
    font-size: 20vw;
    bottom: 0;
  }
}
/* --- FILE UPLOAD STYLES --- */
.file-upload-zone {
  position: relative;
  height: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.file-upload-zone:hover {
  border-color: var(--accent-primary);
  background: rgba(255, 51, 0, 0.05);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.upload-icon {
  font-size: 1.5rem;
  filter: grayscale(100%);
}

.upload-text {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

/* --- DROPDOWN STYLING --- */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23888'%3E%3Cpath d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

select option {
  background: #111;
  color: white;
}


/* Atlan Content */
.content-section {
  padding-top: 5rem;
}

.content-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.content-shell h1,
.content-shell h2,
.content-shell h3,
.content-shell h4,
.content-shell h5,
.content-shell h6 {
  margin: 0 0 1rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.content-shell h1 {
  font-size: 2.6rem;
  line-height: 1.1;
}

.content-shell h2 {
  font-size: 2rem;
}

.content-shell h3 {
  font-size: 1.5rem;
}

.logo-image {
  height: 44px;
  width: auto;
  display: block;
}

.site-footer .logo-image {
  height: 36px;
}

.logo {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.desktop-nav a:not(.cta-button) {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.content-shell p {
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.content-shell a:not(.cta-button):not(.c-button) {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 123, 255, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.content-shell a:not(.cta-button):not(.c-button):hover {
  color: #8db3ff;
  border-color: rgba(141, 179, 255, 0.8);
}

.content-shell img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.content-shell .o-grid__col > img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(130, 160, 220, 0.25);
  background: rgba(8, 12, 22, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content-shell .o-grid__col > img[src*="nato"],
.content-shell .o-grid__col > img[src*="turul"] {
  aspect-ratio: auto;
  max-height: 420px;
  object-fit: contain;
  padding: 1rem;
}

@supports (selector(:has(*))) {
  .content-shell .o-grid__col > div:has(> img) {
    border-radius: var(--radius-md);
    border: 1px solid rgba(130, 160, 220, 0.25);
    background: rgba(8, 12, 22, 0.7);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .content-shell .o-grid__col > div:has(> img) img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .content-shell .o-grid__col > div:has(> img[width="50"]) {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .content-shell .o-grid__col > div:has(> img[width="50"]) img {
    width: 50px;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .content-shell .o-grid__col > div:has(> img[src*="nato"]),
  .content-shell .o-grid__col > div:has(> img[src*="logo"]),
  .content-shell .o-grid__col > div:has(> img[src*="icon"]),
  .content-shell .o-grid__col > div:has(> img[src$=".svg"]) {
    background: rgba(6, 10, 20, 0.8);
  }

  .content-shell .o-grid__col > div:has(> img[src*="nato"]) img,
  .content-shell .o-grid__col > div:has(> img[src*="logo"]) img,
  .content-shell .o-grid__col > div:has(> img[src*="icon"]) img,
  .content-shell .o-grid__col > div:has(> img[src$=".svg"]) img {
    object-fit: contain;
    padding: 1.5rem;
    aspect-ratio: auto;
  }
}

.content-shell ul,
.content-shell ol {
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.content-shell li {
  margin-bottom: 0.8rem;
}

.content-shell blockquote {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-left: 3px solid var(--accent-primary);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.content-shell pre {
  background: #080b12;
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.content-shell code {
  font-family: 'Courier New', monospace;
  color: #8bb4ff;
}

.content-shell hr {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 2rem 0;
}

.content-shell table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.content-shell th,
.content-shell td {
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--text-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.contact-card h3 {
  margin-bottom: 1rem;
}

.o-section {
  padding: 3rem 0;
}

.o-section--rectangle-ol {
  position: relative;
}

.o-section--rectangle-ol::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: -1rem;
  width: 6px;
  height: calc(100% - 2.4rem);
  background: linear-gradient(180deg, var(--accent-primary), transparent);
  opacity: 0.6;
}

.content-shell > .o-section {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.o-section__inside,
.o-section__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.o-title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.o-title__text {
  display: inline-block;
}

.o-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.o-wrapper--wide {
  max-width: 1200px;
}

.o-wrapper--v-narrow {
  max-width: 760px;
}

.o-wrapper--v-narrow-offset {
  max-width: 980px;
}

.o-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
}

.o-grid--gutter-small {
  gap: 1.5rem;
}

.o-grid--gutter-large {
  gap: 3rem;
}

.o-grid--top {
  align-items: start;
}

.o-grid__col {
  grid-column: span 12;
}

.o-grid__col-2 {
  grid-column: span 2;
}

.o-grid__col-4 {
  grid-column: span 4;
}

.o-grid__col-5 {
  grid-column: span 5;
}

.o-grid__col-6 {
  grid-column: span 6;
}

.o-grid__col-7 {
  grid-column: span 7;
}

.o-grid__col-10 {
  grid-column: span 10;
}

.o-grid__col-12 {
  grid-column: span 12;
}

.u-justify-center {
  justify-items: center;
}

.o-media {
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a0a0a;
  min-height: 240px;
}

.o-image-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
}

.u-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.u-fill {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.u-hide {
  display: none;
}

.lazy-hidden {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.is-loaded {
  opacity: 1;
}

.c-usp-section {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.c-usp-section__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.c-usp-section__nav-button {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 1.2rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.c-usp-section__nav-button-text {
  display: inline-block;
}

.c-usp-section__nav-button.is-active {
  background: var(--accent-primary);
  color: black;
  border-color: var(--accent-primary);
}

.c-usp-section__slider {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.js-ups-slide {
  display: block;
}

.js-ready .js-ups-slide {
  display: none;
}

.js-ready .js-ups-slide.is-active {
  display: block;
  animation: atlan-fade-up 0.35s ease;
}

@keyframes atlan-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.c-usp-section__media {
  min-height: 260px;
}

.c-usp-section__title {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
}

.s-standard-content ul {
  list-style: none;
  padding-left: 0;
}

.s-standard-content li {
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
  color: var(--text-secondary);
}

.s-standard-content li::before {
  content: "//";
  color: var(--accent-primary);
  margin-right: 0.6rem;
}

.c-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.c-card a {
  color: inherit;
  text-decoration: none;
}

.c-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.c-card img {
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.c-case {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.c-testimonials__slide h6 {
  color: var(--text-secondary);
}

.c-testimonials__slide {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.o-blockquote {
  border-left: 3px solid var(--accent-primary);
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-style: italic;
}

.c-button {
  border: 1px solid rgba(45, 123, 255, 0.65);
  background: #0f172c;
  color: #f4f7ff;
  padding: 0.9rem 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s ease;
}

.c-button__inner {
  display: inline-block;
}

.c-button:hover {
  background: var(--accent-primary);
  color: #06101f;
  box-shadow: 0 10px 24px rgba(45, 123, 255, 0.25);
}

.c-button--white {
  background: var(--accent-primary);
  color: #06101f;
  border-color: var(--accent-primary);
}

a.c-button,
a.c-button:visited {
  color: #f4f7ff;
  text-decoration: none;
  border-bottom: none;
}

a.c-button.c-button--white,
a.c-button.c-button--white:visited {
  color: #06101f;
}

.c-text-link {
  color: var(--accent-primary);
  text-decoration: none;
}

.c-text-link--underline {
  text-decoration: underline;
}

.s-gravity-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.s-gravity-form .gfield {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gfield_label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--accent-primary);
}

.s-gravity-form textarea {
  min-height: 140px;
}

@supports (selector(:has(*))) {
  .s-gravity-form .gfield:has(textarea) {
    grid-column: span 2;
  }
}

.gform_footer {
  grid-column: span 2;
  margin-top: 1rem;
}

.o-triangle,
.o-green-rectangle {
  display: none;
}

.u-mb-last-remove > *:last-child {
  margin-bottom: 0;
}

.u-text-center {
  text-align: center;
}

.u-mb-1 { margin-bottom: 0.5rem; }
.u-mb-2 { margin-bottom: 0.75rem; }
.u-mb-4 { margin-bottom: 1.5rem; }
.u-mb-5 { margin-bottom: 2rem; }
.u-mb-6 { margin-bottom: 2.5rem; }
.u-mb-8 { margin-bottom: 3.5rem; }
.u-mb-9 { margin-bottom: 4rem; }
.u-mb-10 { margin-bottom: 4.5rem; }
.u-mb-12 { margin-bottom: 5rem; }
.u-mt-5 { margin-top: 2rem; }
.u-mt-9 { margin-top: 4rem; }
.u-pb-12 { padding-bottom: 5rem; }
.u-py-8 { padding-top: 4rem; padding-bottom: 4rem; }

[class*="u-remove@"] {
  display: none;
}

[class*="u-pb-0@"] {
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .content-shell {
    gap: 1.5rem;
  }

  .o-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .o-grid__col,
  .o-grid__col-2,
  .o-grid__col-4,
  .o-grid__col-5,
  .o-grid__col-6,
  .o-grid__col-7,
  .o-grid__col-10,
  .o-grid__col-12 {
    grid-column: span 1;
  }

  .content-shell > .o-section {
    padding: 1.5rem;
  }

  .c-usp-section__nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-image {
    height: 38px;
  }

  [class*="u-text-center@tm"] {
    text-align: center;
  }

  .s-gravity-form {
    grid-template-columns: 1fr;
  }

  .gform_footer {
    grid-column: span 1;
  }
}

/* Atlan Polish Overrides */
:root {
  --bg-core: #06080f;
  --bg-card: rgba(12, 18, 32, 0.7);
  --bg-glass: rgba(8, 12, 22, 0.82);
  --text-primary: #f4f7ff;
  --text-secondary: #9da7ba;
  --border-subtle: rgba(130, 160, 220, 0.18);
  --border-focus: rgba(130, 160, 220, 0.45);
  --accent-primary: #2d7bff;
  --accent-glow: rgba(45, 123, 255, 0.55);
  --radius-sm: 6px;
  --radius-md: 10px;
}

body {
  background: radial-gradient(circle at 20% 20%, rgba(45, 123, 255, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(45, 123, 255, 0.08), transparent 40%),
    var(--bg-core);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 12, 0.8) 0%, rgba(6, 8, 14, 0.2) 60%, rgba(6, 8, 14, 0.85) 100%);
  pointer-events: none;
  z-index: 0;
}

.grid-overlay {
  opacity: 0.3;
  mix-blend-mode: soft-light;
}

.site-header {
  background: rgba(6, 10, 18, 0.9);
  border-bottom: 1px solid rgba(130, 160, 220, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-bg {
  background:
    linear-gradient(180deg, rgba(6, 8, 14, 0.9) 0%, rgba(6, 8, 14, 0.98) 70%),
    url("/assets/home.jpg");
  background-size: cover;
  background-position: center;
}

.hero-label {
  color: rgba(168, 190, 255, 0.9);
  letter-spacing: 0.35em;
}

.page-title {
  font-size: 3.6rem;
  letter-spacing: 0.02em;
  position: relative;
}

.page-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: var(--accent-primary);
  margin-top: 1rem;
  box-shadow: 0 0 18px var(--accent-glow);
}

.hero.page-hero {
  min-height: 55vh;
}

.hero-sub {
  max-width: 720px;
}

.post__entry {
  max-width: 860px;
  margin: 0 auto;
}

.post__entry h4,
.post__entry h5 {
  color: var(--text-primary);
  margin-top: 2rem;
}

.post__entry ul {
  list-style: none;
  padding-left: 0;
}

.post__entry ul li::before {
  content: "//";
  color: var(--accent-primary);
  margin-right: 0.6rem;
}

.post__entry ul li {
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
}

.post-figure {
  margin: 1.8rem 0;
  padding: 1.25rem;
  border: 1px solid #e1e8f3;
  border-radius: 12px;
  background: #f7f9fc;
}

.post-figure svg {
  width: 100%;
  height: auto;
  display: block;
}

.post-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

.content-shell #talk-to-us {
  text-align: center;
}

.content-shell #talk-to-us .c-button {
  margin-top: 1rem;
}

.content-shell > .o-section {
  background: linear-gradient(135deg, rgba(10, 16, 28, 0.92) 0%, rgba(10, 16, 28, 0.65) 100%);
  border: 1px solid rgba(130, 160, 220, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.o-section--rectangle-ol::before {
  left: -0.6rem;
  width: 4px;
}

.o-title {
  letter-spacing: 0.25em;
}

.o-media {
  border-color: rgba(130, 160, 220, 0.25);
  box-shadow: inset 0 0 0 1px rgba(45, 123, 255, 0.15);
}

.content-shell img,
.o-media img {
  filter: saturate(1.05) contrast(1.05);
}

.c-usp-section__nav-button {
  border-radius: 999px;
  border-color: rgba(130, 160, 220, 0.35);
  color: rgba(244, 247, 255, 0.85);
}

.c-usp-section__nav-button.is-active {
  box-shadow: 0 0 18px rgba(45, 123, 255, 0.5);
}

.c-card {
  background: linear-gradient(150deg, rgba(12, 18, 32, 0.8) 0%, rgba(10, 16, 28, 0.5) 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.c-card:hover {
  transform: translateY(-6px);
}

.c-case {
  background: rgba(10, 16, 28, 0.7);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.o-blockquote {
  background: rgba(10, 16, 28, 0.6);
}

.contact-card,
.command-center,
.glass-panel {
  background: rgba(10, 16, 28, 0.8);
  border-color: rgba(130, 160, 220, 0.2);
}

.cta-button.primary,
.c-button:hover {
  box-shadow: 0 0 20px rgba(45, 123, 255, 0.45);
}

.cta-button.header-cta {
  background: var(--accent-primary);
  color: #05070c;
  border-color: var(--accent-primary);
}

.mobile-nav {
  background: rgba(6, 10, 18, 0.98);
  border-bottom: 1px solid rgba(130, 160, 220, 0.2);
}

.footer-stripe {
  background: repeating-linear-gradient(45deg,
      var(--accent-primary),
      var(--accent-primary) 10px,
      #04070f 10px,
      #04070f 20px);
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.6rem;
  }

  .page-title::after {
    width: 60px;
  }
}
.content-shell > .o-section + .o-section {
  margin-top: 2rem;
}

.content-shell .o-section .o-section {
  padding: 0;
  border: 0;
  background: transparent;
}

.o-narrow-block {
  max-width: 720px;
}

.h3 {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.h4 {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.c-usp-section__media-col {
  display: flex;
  flex-direction: column;
}

.s-narrow-content {
  max-width: 760px;
}

.c-case hr {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  margin: 1rem 0;
}

/* Home page refresh */
.home-page {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.home-page .page-title {
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  letter-spacing: 0.08em;
}

.home-page .hero-label {
  letter-spacing: 0.4em;
  font-weight: 500;
}

.home-page .hero-sub {
  max-width: 680px;
  font-size: 1.15rem;
  color: rgba(235, 241, 255, 0.82);
}

.home-hero {
  min-height: 78vh;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 5rem;
}

.home-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 12, 24, 0.92), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 25% 20%, rgba(45, 123, 255, 0.22), transparent 60%),
    url('/assets/engagements.jpg');
  background-size: cover;
  background-position: center;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.home-hero__content {
  max-width: 640px;
}

.home-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 13, 23, 0.75);
  margin-top: 1.2rem;
}

.home-hero__badge img {
  width: auto;
  height: 26px;
}

.home-hero__badge span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(235, 241, 255, 0.82);
}

.home-hero__chips span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 13, 23, 0.75);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.home-hero__panel {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(150deg, rgba(12, 18, 32, 0.85), rgba(6, 9, 16, 0.95));
  padding: 2.5rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.home-hero__panel h2 {
  margin-bottom: 1rem;
}

.home-hero__panel p {
  color: var(--text-secondary);
}

.home-hero__panel ul {
  list-style: none;
  padding-left: 0;
  margin: 1.2rem 0 0;
  color: var(--text-secondary);
}

.home-hero__panel li {
  margin-bottom: 0.6rem;
}

.home-hero__panel li::before {
  content: "//";
  color: var(--accent-primary);
  margin-right: 0.6rem;
}

.home-hero__panel-eyebrow {
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.home-hero__panel-actions {
  margin-top: 1.8rem;
}

.home-page .cta-button {
  border-radius: 999px;
  border-color: rgba(45, 123, 255, 0.7);
}

.home-page .cta-button.primary {
  color: #050505;
  box-shadow: 0 16px 30px rgba(45, 123, 255, 0.35);
}

.home-page .cta-button.primary:hover {
  box-shadow: 0 20px 45px rgba(45, 123, 255, 0.45);
}

.home-services .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.home-service-card {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.home-service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(45, 123, 255, 0.18);
}

.home-service-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(0.9);
}

.home-service-card p {
  color: var(--text-secondary);
}

.home-service-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  color: var(--text-secondary);
}

.home-service-card li {
  margin-bottom: 0.6rem;
}

.home-service-card li::before {
  content: "//";
  color: var(--accent-primary);
  margin-right: 0.6rem;
}

.home-services__cta {
  margin-top: 1.8rem;
}

.home-page .c-button {
  border-radius: 999px;
}

.home-split {
  position: relative;
}

.home-split::before {
  content: "";
  position: absolute;
  top: 0;
  right: 10%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(45, 123, 255, 0.18), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.home-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
}

.home-split__content {
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: rgba(10, 14, 22, 0.8);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.home-split__content p {
  color: var(--text-secondary);
}

.home-split__media {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(45, 123, 255, 0.08), rgba(0, 0, 0, 0.85));
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  overflow: hidden;
}

.home-split__media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}

.home-split__cta {
  margin-top: 1.5rem;
}

.home-split--reverse::before {
  left: 12%;
  right: auto;
}

.home-split--reverse .home-split__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.home-split--reverse .home-split__content {
  order: 2;
}

.home-split--reverse .home-split__media {
  order: 1;
}

body.home-page .home-hero__content,
body.home-page .home-hero__panel,
body.home-page .home-services__grid {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.home-page.js-ready .home-hero__content,
body.home-page.js-ready .home-hero__panel,
body.home-page.js-ready .home-services__grid {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .home-hero__grid,
  .home-split__grid {
    grid-template-columns: 1fr;
  }

  .home-split--reverse .home-split__grid {
    grid-template-columns: 1fr;
  }

  .home-split--reverse .home-split__content,
  .home-split--reverse .home-split__media {
    order: 0;
  }

  .home-hero__content {
    max-width: none;
  }

  .home-split::before {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    padding-top: 150px;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__chips {
    overflow-x: auto;
    padding-bottom: 0.6rem;
  }

  .home-hero__badge {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .home-hero__chips span {
    white-space: nowrap;
  }

  .home-hero__panel {
    padding: 2rem;
  }

  .home-services__cta {
    display: flex;
    justify-content: center;
  }

  .home-split__content {
    padding: 2rem;
  }
}

/* Home page enhancements */
.home-more .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

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

.home-detail__cta {
  margin-top: 1.4rem;
  display: flex;
  justify-content: flex-start;
}

.home-detail-card {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  padding: 1.8rem;
}

.home-detail-card__eyebrow {
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--accent-primary);
}

.home-detail-card ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
  color: var(--text-secondary);
}

.home-detail-card li {
  margin-bottom: 0.6rem;
}

.home-detail-card li::before {
  content: "//";
  color: var(--accent-primary);
  margin-right: 0.6rem;
}

.home-lab .blog-card img {
  height: 200px;
}

.home-lab__cta {
  margin-top: 1.8rem;
  display: flex;
  justify-content: flex-start;
}

.home-insights .blog-card img {
  height: 200px;
}

.home-insights__cta {
  margin-top: 1.8rem;
  display: flex;
  justify-content: flex-start;
}

.home-whitepaper__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.home-whitepaper__list {
  list-style: none;
  padding-left: 0;
  margin: 1.2rem 0 0;
  color: var(--text-secondary);
}

.home-whitepaper__list li {
  margin-bottom: 0.6rem;
}

.home-whitepaper__list li::before {
  content: "//";
  color: var(--accent-primary);
  margin-right: 0.6rem;
}

.home-whitepaper__actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-whitepaper__art {
  display: flex;
  justify-content: flex-end;
}

.home-whitepaper__art img {
  width: min(320px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.75);
  padding: 0.8rem;
}

.home-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.home-lead__list {
  list-style: none;
  padding-left: 0;
  margin: 1.2rem 0 0;
  color: var(--text-secondary);
}

.home-lead__list li {
  margin-bottom: 0.6rem;
}

.home-lead__list li::before {
  content: "//";
  color: var(--accent-primary);
  margin-right: 0.6rem;
}

.home-lead__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-lead__card {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.85);
  padding: 2rem;
  text-align: left;
}

.home-lead__eyebrow {
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-transform: uppercase;
}

.home-lead__details {
  margin: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  color: var(--text-secondary);
}

.home-tools__card {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 12, 20, 0.9);
  padding: 2.4rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.home-tools__intro p {
  color: var(--text-secondary);
  margin-top: 0.6rem;
}

.home-tools__grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.home-tools__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(12, 18, 32, 0.65);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-tools__item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-primary);
  background: rgba(12, 18, 32, 0.9);
}

.home-tools__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(45, 123, 255, 0.25);
  background: rgba(45, 123, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.home-tools__icon svg {
  width: 22px;
  height: 22px;
}

.home-tools__text h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.home-tools__text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .home-lead__grid {
    grid-template-columns: 1fr;
  }

  .home-whitepaper__grid {
    grid-template-columns: 1fr;
  }

  .home-whitepaper__art {
    justify-content: flex-start;
  }

  .home-tools__card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .home-more .content-shell > .o-section {
    padding: 2.2rem;
  }

  .home-detail__cta {
    justify-content: center;
  }

  .home-lab__cta {
    justify-content: center;
  }

  .home-insights__cta {
    justify-content: center;
  }

  .home-lead__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Services page refresh */
.services-page {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.services-page .page-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: 0.08em;
}

.services-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 12, 24, 0.9), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 20% 30%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/services.jpeg');
  background-size: cover;
  background-position: center;
}

.ads-page {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.ads-hero__bg {
  background-size: cover;
  background-position: center;
}

.ads-hero__bg--red-team {
  background:
    linear-gradient(120deg, rgba(6, 12, 24, 0.9), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 20% 30%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/red_team.png');
}

.ads-hero__bg--llm {
  background:
    linear-gradient(120deg, rgba(6, 12, 24, 0.9), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 20% 30%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/tooling.png');
}

.ads-hero__bg--web-app {
  background:
    linear-gradient(120deg, rgba(6, 12, 24, 0.9), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 20% 30%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/application.png');
}

.ads-hero__outcomes {
  margin: 1.5rem 0 2rem;
  padding-left: 1.2rem;
  color: rgba(235, 241, 255, 0.8);
  max-width: 720px;
}

.ads-hero__outcomes li {
  margin-bottom: 0.5rem;
}

.ads-trust {
  padding-top: 1.5rem;
  padding-bottom: 0;
}

.ads-trust__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.ads-trust__pill {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 32, 0.6);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.ads-page .services-infra-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
}

.ads-page .services-infra-card li {
  margin-bottom: 0.4rem;
}

.ads-page .case-study-logo {
  display: block;
  max-width: 160px;
  max-height: 48px;
  width: auto;
  height: auto;
  margin-bottom: 0.75rem;
  object-fit: contain;
}

.services-hero {
  min-height: 70vh;
  align-items: center;
}

.services-page .hero-sub {
  max-width: 760px;
  font-size: 1.15rem;
  color: rgba(235, 241, 255, 0.78);
}

.services-page .content-shell {
  gap: 3.5rem;
}

.services-page .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.services-page .services-accordion__item {
  width: 100%;
}

.services-page .services-accordion__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  list-style: none;
}

.services-page .services-accordion__summary::-webkit-details-marker,
.services-page .services-accordion__summary::marker {
  display: none;
}

.services-page .services-accordion__heading {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.services-page .services-accordion__summary .o-title {
  margin: 0;
}

.services-page .services-accordion__excerpt {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 720px;
}

.services-page .services-accordion__preview {
  margin-top: 0.85rem;
  max-width: 360px;
  width: 100%;
  align-self: flex-start;
}

.services-page .services-summary-visual {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1120;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.services-page .services-accordion__summary:focus-visible {
  outline: 2px solid rgba(45, 123, 255, 0.45);
  outline-offset: 6px;
  border-radius: 12px;
}

.services-page .services-accordion__toggle {
  flex: 0 0 auto;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: rgba(12, 18, 32, 0.6);
  margin-top: 0.15rem;
}

.services-page .services-accordion__toggle::before {
  content: attr(data-closed);
}

.services-page .services-accordion__item[open] .services-accordion__toggle {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.services-page .services-accordion__item[open] .services-accordion__toggle::before {
  content: attr(data-open);
}

.services-page .services-accordion__item[open] .services-accordion__preview {
  display: none;
}

.services-page .services-accordion__content {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.services-page .o-section--rectangle-ol::before {
  left: -0.8rem;
  width: 4px;
  opacity: 0.7;
}

.services-nav {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.services-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.services-nav__note {
  margin: 0;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.services-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.services-nav__chips a {
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 18, 32, 0.6);
  transition: all 0.3s ease;
}

.services-nav__chips a:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 24px rgba(45, 123, 255, 0.25);
}

.services-overview__intro {
  margin: 0;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.services-llm {
  position: relative;
  overflow: hidden;
}

.services-llm::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(45, 123, 255, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.services-llm > * {
  position: relative;
  z-index: 1;
}

.services-page .o-grid__col > img[width="50"] {
  width: 50px;
  height: 50px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.services-card-visual {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1120;
}

.services-page .list-ol {
  display: grid;
  gap: 1.5rem;
  padding-left: 1.5rem;
}

.services-infra-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(10, 14, 24, 0.6);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.services-infra-card h3 {
  margin: 0;
}

.services-infra-card p {
  margin: 0;
  color: var(--text-secondary);
}

.services-identity {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.services-identity__header p {
  margin: 0;
}

.services-identity__header p + p {
  color: var(--text-secondary);
}

.services-identity-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(10, 14, 24, 0.6);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.services-identity-card h3 {
  margin: 0;
}

.services-identity-card p {
  margin: 0;
  color: var(--text-secondary);
}

.services-page .list-ol > li {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(10, 14, 24, 0.6);
}

@media (max-width: 900px) {
  .services-page .content-shell > .o-section {
    padding: 2.4rem;
  }
}

@media (max-width: 768px) {
  .services-page .services-accordion__summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .services-nav__chips {
    gap: 0.6rem;
  }

  .services-nav__note {
    font-size: 0.9rem;
  }

  .services-page .services-accordion__excerpt {
    font-size: 0.9rem;
  }

  .services-page .services-accordion__toggle {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
    margin-top: 0.2rem;
  }

  .services-page .services-accordion__content {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
  }

  .services-page .services-accordion__preview {
    max-width: 100%;
  }

  .services-page .content-shell {
    gap: 2rem;
  }
}

/* Process page refresh */
.process-page {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.process-page .page-title {
  font-size: clamp(3rem, 5vw, 4.6rem);
  letter-spacing: 0.08em;
}

.process-hero {
  min-height: 70vh;
  align-items: center;
}

.process-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.92), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 25% 25%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/engagements.jpg');
  background-size: cover;
  background-position: center;
}

.process-page .hero-sub {
  max-width: 820px;
  font-size: 1.15rem;
  color: rgba(235, 241, 255, 0.78);
}

.process-page .content-shell {
  gap: 3.5rem;
}

.process-page .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.process-page .o-section--rectangle-ol::before {
  left: -0.8rem;
  width: 4px;
  opacity: 0.7;
}

.process-nav {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.process-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.process-nav__chips a {
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 18, 32, 0.6);
  transition: all 0.3s ease;
}

.process-nav__chips a:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 24px rgba(45, 123, 255, 0.25);
}

.process-page .list-ol {
  display: grid;
  gap: 1.5rem;
  padding-left: 0;
  list-style-position: inside;
}

.process-page .list-ol > li {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(10, 14, 24, 0.6);
}

.process-onboarding__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.process-onboarding__grid .o-wrapper {
  max-width: none;
  margin: 0;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.process-step-card {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.78);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.process-step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(45, 123, 255, 0.18), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.process-step-card > * {
  position: relative;
  z-index: 1;
}

.process-step-index {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  color: rgba(45, 123, 255, 0.6);
  margin-bottom: 1rem;
}

.process-diagram {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.7);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.process-diagram__svg {
  width: 100%;
  min-width: 900px;
  height: auto;
  display: block;
}

.process-diagram__line {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.process-diagram__arrow {
  fill: rgba(255, 255, 255, 0.35);
}

.process-diagram__node {
  fill: rgba(12, 18, 32, 0.9);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.process-diagram__node--accent {
  fill: rgba(45, 123, 255, 0.2);
  stroke: var(--accent-primary);
}

.process-diagram__label {
  fill: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.process-page .list-ol--small {
  gap: 1rem;
}

@media (max-width: 1000px) {
  .process-onboarding__grid,
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .process-page .content-shell > .o-section {
    padding: 2.2rem;
  }

  .process-nav__chips {
    gap: 0.6rem;
  }

  .process-diagram {
    padding: 1rem;
  }
}

/* Team page refresh */
.team-page {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.team-page .page-title {
  font-size: clamp(3rem, 5vw, 4.6rem);
  letter-spacing: 0.08em;
}

.team-hero {
  min-height: 70vh;
  align-items: center;
}

.team-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.92), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 25% 25%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/consultant.jpeg');
  background-size: cover;
  background-position: center;
}

.team-page .hero-sub {
  max-width: 820px;
  font-size: 1.15rem;
  color: rgba(235, 241, 255, 0.78);
}

.team-page .content-shell {
  gap: 3.5rem;
}

.team-page .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.team-page .o-section--rectangle-ol::before {
  left: -0.8rem;
  width: 4px;
  opacity: 0.7;
}

.team-nav {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.team-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.team-nav__chips a {
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 18, 32, 0.6);
  transition: all 0.3s ease;
}

.team-nav__chips a:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 24px rgba(45, 123, 255, 0.25);
}

.team-about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.team-about__panel {
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.75);
}

.team-about__panel p:last-child {
  margin-bottom: 0;
}

.team-founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.team-founder__media {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg, rgba(45, 123, 255, 0.15), rgba(6, 10, 18, 0.85));
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.team-founder__media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.team-founder__content .o-section__header p {
  color: var(--text-secondary);
}

.team-page details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  background: rgba(9, 13, 23, 0.75);
}

.team-page details + details {
  margin-top: 1.2rem;
}

.team-page details summary {
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.team-page details summary::marker {
  color: var(--accent-primary);
}

.team-page details hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1rem 0;
}

.team-page details ul {
  padding-left: 1.2rem;
  margin: 0;
}

.team-diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.team-diff-card {
  padding: 1.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.75);
  text-align: left;
  display: grid;
  gap: 0.8rem;
}

.team-diff-card img {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.team-diff-card p {
  color: var(--text-secondary);
  margin: 0;
}

.team-diff-footer {
  margin-top: 2rem;
}

.contractor-page .contractor-qualifications__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contractor-page .contractor-qualifications__list li {
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.75);
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.team-skillset__grid-container {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.7);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.team-skillset__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  min-height: 100px;
  background: rgba(12, 18, 32, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.team-skillset__cell:hover {
  border-color: rgba(45, 123, 255, 0.4);
  background: rgba(12, 18, 32, 1);
}

.team-skillset__label {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.team-skillset__sublabel {
  color: var(--text-secondary, rgba(255,255,255,0.6));
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

@media (max-width: 1000px) {
  .team-about__grid,
  .team-founder-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .team-skillset__grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-page .content-shell > .o-section {
    padding: 2.2rem;
  }

  .team-nav__chips {
    gap: 0.6rem;
  }

  .team-skillset__grid-container {
    padding: 1rem;
    gap: 0.75rem;
  }

  .team-skillset__cell {
    padding: 1.25rem 0.75rem;
    min-height: 80px;
  }

  .team-skillset__label {
    font-size: 0.9rem;
  }

  .team-skillset__sublabel {
    font-size: 0.8rem;
  }
}

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

/* Case studies page refresh */
.case-page {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.case-page .page-title {
  font-size: clamp(3rem, 5vw, 4.6rem);
  letter-spacing: 0.08em;
}

.case-hero {
  min-height: 70vh;
  align-items: center;
}

.case-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.92), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 25% 25%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/client-case-header.jpeg');
  background-size: cover;
  background-position: center;
}

.case-page .hero-sub {
  max-width: 860px;
  font-size: 1.15rem;
  color: rgba(235, 241, 255, 0.78);
}

.case-page .content-shell {
  gap: 3.5rem;
}

.case-page .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.case-page .o-section--rectangle-ol::before {
  left: -0.8rem;
  width: 4px;
  opacity: 0.7;
}

.case-nav {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.case-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.case-nav__chips a {
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 18, 32, 0.6);
  transition: all 0.3s ease;
}

.case-nav__chips a:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 24px rgba(45, 123, 255, 0.25);
}

.case-caveat {
  margin: 0 0 2.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(9, 13, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  line-height: 1.7;
}

.case-caveat p {
  margin: 0;
}

.content-shell .case-subtitle {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.content-shell .case-subhead {
  font-weight: 600;
  color: var(--text-primary);
}

.case-bullets {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.case-anon-panels {
  display: grid;
  gap: 1.2rem;
}

.case-panel {
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: rgba(9, 13, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.case-panel--title {
  background: linear-gradient(130deg, rgba(45, 123, 255, 0.2), rgba(9, 13, 23, 0.85));
  border-color: rgba(45, 123, 255, 0.35);
}

.case-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
}

.case-panel--meta .case-meta {
  display: grid;
  gap: 0.5rem 1.5rem;
}

.case-panel p:last-child,
.case-panel ul:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .case-panel--meta .case-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}

.case-layout__summary {
  display: grid;
  gap: 1.2rem;
}

.case-layout__media {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg, rgba(45, 123, 255, 0.15), rgba(6, 10, 18, 0.85));
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.case-layout__media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
}

.case-layout__media svg {
  width: 100%;
  height: auto;
  max-height: 420px;
}

.case-layout__quote {
  grid-column: 1 / -1;
}

.case-layout--reverse .case-layout__summary {
  order: 2;
}

.case-layout--reverse .case-layout__media {
  order: 1;
}

.case-page .c-case {
  border-radius: 16px;
  background: rgba(9, 13, 23, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.case-page .o-blockquote {
  color: var(--text-secondary);
}

@media (max-width: 1000px) {
  .case-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .case-page .content-shell > .o-section {
    padding: 2.2rem;
  }

  .case-nav__chips {
    gap: 0.6rem;
  }
}

/* Lab page + posts refresh */
.lab-page,
.lab-post {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

/* Insights page + posts refresh */
.insights-page,
.insights-post {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.insights-page .page-title,
.insights-post .page-title {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  letter-spacing: 0.08em;
}

.insights-page .hero.page-hero,
.insights-post .hero.page-hero {
  min-height: 65vh;
  align-items: center;
}

.insights-page .hero-bg,
.insights-post .hero-bg {
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.92), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 25% 25%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('lab/blog.jpeg');
  background-size: cover;
  background-position: center;
}

.insights-page .content-shell,
.insights-post .content-shell {
  gap: 3.5rem;
}

.insights-page .content-shell > .o-section,
.insights-post .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.insights-page .o-section--rectangle-ol::before,
.insights-post .o-section--rectangle-ol::before {
  left: -0.8rem;
  width: 4px;
  opacity: 0.7;
}

.insights-page .c-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(9, 13, 23, 0.75);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.insights-page .c-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 123, 255, 0.5);
}

.insights-page .c-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.insights-page .c-card img {
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.insights-page .c-card p,
.insights-post .post__entry {
  color: var(--text-secondary);
}

.insights-post .post__entry {
  max-width: 920px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.insights-post .post__entry strong {
  color: var(--text-primary);
}

.whitepaper-page .page-title {
  font-size: clamp(2.6rem, 3.8vw, 3.6rem);
  max-width: 960px;
}

.whitepaper-page .hero-sub {
  max-width: 680px;
}

.whitepaper-page .content-shell > .whitepaper-gate {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.whitepaper-card {
  background: linear-gradient(135deg, rgba(10, 16, 28, 0.9) 0%, rgba(10, 16, 28, 0.65) 100%);
  border: 1px solid rgba(130, 160, 220, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.whitepaper-gate__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: stretch;
}

.whitepaper-gate__intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.whitepaper-gate__intro h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.whitepaper-gate__intro p {
  color: var(--text-secondary);
}

.whitepaper-gate__intro ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whitepaper-gate__intro li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.whitepaper-gate__intro li::before {
  content: "//";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.whitepaper-gate__art {
  width: 100%;
  max-width: 200px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 13, 23, 0.75);
  padding: 0.6rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.whitepaper-gate__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.whitepaper-gate__form h3 {
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.whitepaper-gate__form > p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.whitepaper-form .form-grid {
  grid-template-columns: 1fr;
}

.whitepaper-form__note {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.whitepaper-gate__success {
  margin-top: 1.5rem;
  color: #8fd3a5;
  font-weight: 600;
}

.whitepaper-content {
  margin-top: 2.5rem;
  position: relative;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(130, 160, 220, 0.2);
  background: linear-gradient(135deg, rgba(10, 16, 28, 0.92) 0%, rgba(10, 16, 28, 0.7) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.whitepaper-content.is-locked {
  max-height: 820px;
  overflow: hidden;
}

.whitepaper-content.is-locked::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0) 0%, rgba(8, 12, 22, 0.85) 65%, rgba(8, 12, 22, 0.98) 100%);
  pointer-events: none;
}

.whitepaper-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  z-index: 2;
}

.whitepaper-lock__card {
  background: rgba(9, 13, 23, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem;
  max-width: 460px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.whitepaper-content:not(.is-locked) .whitepaper-lock {
  display: none;
}

.whitepaper-body {
  font-size: 1.02rem;
  line-height: 1.8;
}

.whitepaper-body h1,
.whitepaper-body h2,
.whitepaper-body h3,
.whitepaper-body h4 {
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.whitepaper-body h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.whitepaper-body h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
}

.whitepaper-body h3 {
  font-size: 1.25rem;
}

.whitepaper-body h4 {
  font-size: 1.05rem;
}

.whitepaper-header {
  margin-bottom: 2.5rem;
}

.whitepaper-lede {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 820px;
}

.whitepaper-section {
  margin: 2.75rem 0;
}

.whitepaper-section > h2,
.whitepaper-section > h3 {
  margin-top: 0;
}

.whitepaper-kicker {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.whitepaper-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
  margin: 2rem 0;
}

.whitepaper-copy p {
  margin-bottom: 1.2rem;
}

.whitepaper-visual {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.65);
  padding: 1.5rem;
  text-align: center;
  color: var(--accent-primary);
}

.whitepaper-visual svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 0.75rem;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whitepaper-visual figcaption {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.whitepaper-callout {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 18, 32, 0.7);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}

.whitepaper-callout h4 {
  margin-top: 0;
}

.whitepaper-callout ul {
  margin: 0;
  padding-left: 1.3rem;
}

.whitepaper-callout ul li {
  color: var(--text-primary);
}

.whitepaper-body p {
  margin-bottom: 1.2rem;
}

.whitepaper-body ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.whitepaper-body ul li::before {
  content: none;
}

.whitepaper-body ul li,
.whitepaper-body ol li {
  color: var(--text-secondary);
}

.whitepaper-body h2,
.whitepaper-body h3 {
  margin-top: 2.5rem;
}

.whitepaper-body h4 {
  margin-top: 1.5rem;
}

.whitepaper-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 0.95rem;
}

.whitepaper-body th,
.whitepaper-body td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}

.whitepaper-body th {
  background: rgba(12, 18, 32, 0.7);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.whitepaper-body ol,
.whitepaper-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.whitepaper-rule {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 2.5rem 0;
}

@media (max-width: 900px) {
  .whitepaper-gate__grid {
    grid-template-columns: 1fr;
  }

  .whitepaper-gate__intro ul {
    grid-template-columns: 1fr;
  }

  .whitepaper-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .whitepaper-form .form-grid {
    grid-template-columns: 1fr;
  }

  .whitepaper-card {
    padding: 1.5rem;
  }

  .whitepaper-content {
    padding: 1.5rem;
  }
}

.lab-page .page-title,
.lab-post .page-title {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  letter-spacing: 0.08em;
}

.lab-hero,
.lab-post-hero {
  min-height: 65vh;
  align-items: center;
}

.lab-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.92), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 25% 25%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('lab/blog.jpeg');
  background-size: cover;
  background-position: center;
}

.lab-post-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.92), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 25% 25%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('lab/blog_2.png');
  background-size: cover;
  background-position: center;
}

.lab-page .content-shell,
.lab-post .content-shell {
  gap: 3.5rem;
}

.lab-page .content-shell > .o-section,
.lab-post .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.lab-page .o-section--rectangle-ol::before,
.lab-post .o-section--rectangle-ol::before {
  left: -0.8rem;
  width: 4px;
  opacity: 0.7;
}

.lab-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.lab-grid .o-grid__col {
  grid-column: auto / span 1;
}

.lab-page .c-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(9, 13, 23, 0.75);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.lab-page .c-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 123, 255, 0.5);
}

.lab-page .c-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.lab-page .c-card img {
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lab-page .c-card p {
  color: var(--text-secondary);
}

.lab-post__article {
  width: 100%;
}

.lab-post .post__entry {
  max-width: 920px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.lab-post .post__entry strong {
  color: var(--text-primary);
}

.lab-post .post__entry h2,
.lab-post .post__entry h3 {
  color: var(--text-primary);
  margin-top: 2.5rem;
}

.lab-post .post__entry ol {
  padding-left: 1.2rem;
}

.lab-post .post__entry ol li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.lab-post .post__image {
  margin: 2.5rem auto;
  text-align: center;
}

.lab-post .post__image img {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.75);
  padding: 0.75rem;
}

.lab-post pre {
  background: rgba(9, 13, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.2rem;
  overflow-x: auto;
}

.lab-post code {
  color: #9fd0ff;
}

@media (max-width: 768px) {
  .lab-page .content-shell > .o-section,
  .lab-post .content-shell > .o-section {
    padding: 2.2rem;
  }

  .lab-page .c-card img {
    height: 180px;
  }
}

/* R&D page refresh */
.rd-page {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.rd-page .page-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: 0.08em;
}

.rd-hero {
  min-height: 70vh;
  align-items: center;
}

.rd-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 12, 24, 0.9), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 20% 30%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/c2profile.png');
  background-size: cover;
  background-position: center;
}

.rd-page .hero-sub {
  max-width: 760px;
  font-size: 1.15rem;
  color: rgba(235, 241, 255, 0.78);
}

.rd-hero__badge {
  margin-top: 1.2rem;
}

.rd-page .hero-actions {
  margin-top: 1.5rem;
}

.rd-page .content-shell {
  gap: 3.5rem;
}

.rd-page .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.rd-page .o-section--rectangle-ol::before {
  left: -0.8rem;
  width: 4px;
  opacity: 0.7;
}

.rd-page .rd-accordion {
  width: 100%;
}

.rd-page .rd-accordion__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  list-style: none;
}

.rd-page .rd-accordion__summary::-webkit-details-marker,
.rd-page .rd-accordion__summary::marker {
  display: none;
}

.rd-page .rd-accordion__heading {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rd-page .rd-accordion__summary .o-title {
  margin: 0;
}

.rd-page .rd-accordion__excerpt {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 760px;
}

.rd-page .rd-accordion__preview {
  margin-top: 1.1rem;
  max-width: 620px;
}

.rd-page .rd-summary-visual {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1120;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.rd-page .rd-accordion__summary:focus-visible {
  outline: 2px solid rgba(45, 123, 255, 0.45);
  outline-offset: 6px;
  border-radius: 12px;
}

.rd-page .rd-accordion__toggle {
  flex: 0 0 auto;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: rgba(12, 18, 32, 0.6);
  margin-top: 0.15rem;
}

.rd-page .rd-accordion__toggle::before {
  content: attr(data-closed);
}

.rd-page .rd-accordion[open] .rd-accordion__toggle {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.rd-page .rd-accordion[open] .rd-accordion__toggle::before {
  content: attr(data-open);
}

.rd-page .rd-accordion[open] .rd-accordion__preview {
  display: none;
}

.rd-page .rd-accordion__content {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rd-nav {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.rd-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rd-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.rd-nav__chips a {
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 18, 32, 0.6);
  transition: all 0.3s ease;
}

.rd-nav__chips a:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 24px rgba(45, 123, 255, 0.25);
}

.rd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.rd-feature {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.rd-feature--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.rd-feature__media {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.7);
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.rd-feature__image {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.rd-feature__card {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  padding: 2rem;
}

.rd-feature__card h3 {
  margin-top: 0;
}

.rd-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.rd-feature__card hr {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 1rem 0;
}

.rd-badge {
  width: 100%;
  max-width: 280px;
  height: auto;
  background: rgba(248, 250, 255, 0.95);
  padding: 0.75rem;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.rd-actions {
  margin-top: 1rem;
}

.rd-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.rd-feature-card {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  padding: 1.8rem;
  text-align: left;
}

.rd-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(45, 123, 255, 0.18);
  margin-bottom: 1.2rem;
}

.rd-feature-icon svg {
  width: 30px;
  height: 30px;
  stroke: #bcd3ff;
  fill: none;
  stroke-width: 2;
}

.rd-panel {
  margin-top: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  padding: 2rem;
}

.rd-panel--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.rd-api-spec {
  margin-top: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  padding: 2rem;
}

.rd-api-spec__table {
  margin: 1.5rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 9, 16, 0.8);
  overflow-x: auto;
}

.rd-api-spec table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  color: #e6ebf5;
}

.rd-api-spec th,
.rd-api-spec td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.rd-api-spec th {
  font-weight: 600;
  background: rgba(12, 18, 30, 0.9);
  color: #f4f7ff;
}

.rd-api-spec td code {
  color: #bcd3ff;
  background: rgba(45, 123, 255, 0.12);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  display: inline-block;
}

.rd-api-spec__note {
  margin-top: 1.2rem;
  color: var(--text-secondary);
}

.rd-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
  color: var(--text-secondary);
}

.rd-list li {
  margin-bottom: 0.6rem;
}

.rd-list li::before {
  content: "//";
  color: var(--accent-primary);
  margin-right: 0.6rem;
}

.rd-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.rd-video-card {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  padding: 1.5rem;
}

.rd-video-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 9, 16, 0.8);
  aspect-ratio: 16 / 9;
}

.rd-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.rd-blog {
  color: var(--text-secondary);
  line-height: 1.75;
}

.rd-blog::after {
  content: "";
  display: block;
  clear: both;
}

.rd-blog h2,
.rd-blog h3,
.rd-blog h4 {
  color: var(--text-primary);
  margin-top: 2.4rem;
}

.rd-blog ul {
  padding-left: 1.2rem;
  margin: 1rem 0;
}

.rd-blog li {
  margin-bottom: 0.6rem;
}

.rd-blog__figure {
  margin: 2rem 0;
}

.rd-blog__figure--wrap {
  width: min(45%, 360px);
  margin: 0.5rem 0 1.5rem;
}

.rd-blog__figure--right {
  float: right;
  margin-left: 1.5rem;
}

.rd-blog__figure--left {
  float: left;
  margin-right: 1.5rem;
}

.rd-blog__image {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.6);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.rd-blog__caption {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .rd-feature,
  .rd-feature--reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rd-page .content-shell > .o-section {
    padding: 2.2rem;
  }

  .rd-blog__figure--wrap {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
  }

  .rd-page .rd-accordion__summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .rd-page .rd-accordion__excerpt {
    font-size: 0.9rem;
  }

  .rd-page .rd-accordion__toggle {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
    margin-top: 0.2rem;
  }

  .rd-page .rd-accordion__preview {
    max-width: 100%;
  }

  .rd-nav__chips {
    gap: 0.6rem;
  }

  .rd-nav__chips {
    overflow-x: auto;
    padding-bottom: 0.6rem;
  }

  .rd-nav__chips a {
    white-space: nowrap;
  }

  .rd-feature__card {
    padding: 1.6rem;
  }

  .rd-feature__media {
    padding: 1rem;
  }
}

/* Turul docs */
.turul-hero {
  min-height: 60vh;
  align-items: center;
}

.turul-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 12, 24, 0.92), rgba(6, 10, 18, 0.65)),
    radial-gradient(circle at 75% 25%, rgba(45, 123, 255, 0.22), transparent 55%),
    url('turul.png');
  background-size: cover;
  background-position: center;
}

.turul-docs__layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.turul-docs__nav {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(8, 12, 22, 0.7);
  padding: 1.5rem;
}

.turul-docs__nav h3 {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.turul-docs__nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.35rem;
}

.turul-docs__nav li {
  margin: 0;
}

.turul-docs__nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: none;
}

.turul-docs__nav a:hover {
  color: var(--text-primary);
  border-color: rgba(45, 123, 255, 0.35);
}

.turul-docs__nav a.is-active {
  color: #fff;
  border-color: rgba(45, 123, 255, 0.65);
  background: rgba(45, 123, 255, 0.12);
}

.turul-docs__content {
  min-width: 0;
}

.turul-docs__content a {
  color: #d6e5ff;
  border-bottom: 1px solid rgba(141, 179, 255, 0.6);
  padding: 0.05rem 0.15rem;
  border-radius: 4px;
  background: rgba(45, 123, 255, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.turul-docs__content a:hover {
  color: #fff;
  border-color: rgba(141, 179, 255, 0.9);
  background: rgba(45, 123, 255, 0.2);
}

.turul-docs__content td,
.turul-docs__content th {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.turul-docs__content > :first-child {
  margin-top: 0;
}

.turul-docs__loading {
  margin: 0;
  color: var(--text-secondary);
}

.turul-embed {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.75);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}

.turul-docs__content .turul-embed__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 123, 255, 0.65);
  background: rgba(45, 123, 255, 0.18);
  color: #f4f7ff;
  text-decoration: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.turul-docs__content .turul-embed__button:hover {
  border-color: rgba(45, 123, 255, 0.9);
  background: rgba(45, 123, 255, 0.3);
  color: #ffffff;
}

@media (max-width: 960px) {
  .turul-docs__layout {
    grid-template-columns: 1fr;
  }

  .turul-docs__nav {
    position: static;
  }
}

/* B2C page refresh */
.b2c-page {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.b2c-page .page-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: 0.08em;
}

.b2c-hero {
  min-height: 70vh;
  align-items: center;
}

.b2c-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 12, 24, 0.9), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 20% 30%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/consultant.jpeg');
  background-size: cover;
  background-position: center;
}

.b2c-page .hero-sub {
  max-width: 760px;
  font-size: 1.15rem;
  color: rgba(235, 241, 255, 0.78);
}

.b2c-page .content-shell {
  gap: 3.5rem;
}

.b2c-page .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.b2c-page .o-section--rectangle-ol::before {
  left: -0.8rem;
  width: 4px;
  opacity: 0.7;
}

.b2c-nav {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.b2c-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.b2c-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.b2c-nav__chips a {
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 18, 32, 0.6);
  transition: all 0.3s ease;
}

.b2c-nav__chips a:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 24px rgba(45, 123, 255, 0.25);
}

.b2c-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: center;
}

.b2c-product__media {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 13, 23, 0.7);
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.b2c-product__media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.b2c-product__title {
  font-size: 2.1rem;
  margin-top: 0;
}

.b2c-product__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.b2c-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.b2c-step {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: rgba(9, 13, 23, 0.75);
  padding: 1.8rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.b2c-step__index {
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--accent-primary);
}

@media (max-width: 900px) {
  .b2c-product__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .b2c-page .content-shell > .o-section {
    padding: 2.2rem;
  }

  .b2c-nav__chips {
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.6rem;
  }

  .b2c-nav__chips a {
    white-space: nowrap;
  }

  .b2c-product__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Train pages refresh */
.train-page,
.train-course {
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

.train-page .page-title,
.train-course .page-title {
  font-size: clamp(2.9rem, 5vw, 4.6rem);
  letter-spacing: 0.08em;
}

.train-hero,
.train-course-hero {
  min-height: 65vh;
  align-items: center;
}

.train-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.92), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 25% 25%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/training.jpg');
  background-size: cover;
  background-position: center;
}

.train-course-hero__bg {
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.92), rgba(6, 10, 18, 0.6)),
    radial-gradient(circle at 25% 25%, rgba(45, 123, 255, 0.25), transparent 55%),
    url('/assets/consultant_back.jpeg');
  background-size: cover;
  background-position: center;
}

.train-page .hero-sub,
.train-course .hero-sub {
  max-width: 820px;
  font-size: 1.15rem;
  color: rgba(235, 241, 255, 0.78);
}

.train-course .hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.train-page .content-shell,
.train-course .content-shell {
  gap: 3.5rem;
}

.train-page .content-shell > .o-section,
.train-course .content-shell > .o-section {
  padding: 3rem;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.75), rgba(6, 9, 16, 0.95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.train-page .o-section--rectangle-ol::before,
.train-course .o-section--rectangle-ol::before {
  left: -0.8rem;
  width: 4px;
  opacity: 0.7;
}

.train-course-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(9, 13, 23, 0.75);
  padding: 2rem;
}

.train-course-card__media {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg, rgba(45, 123, 255, 0.15), rgba(6, 10, 18, 0.85));
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.train-course-card__media img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}

.train-course-card__body p {
  color: var(--text-secondary);
}

.train-course-card__list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
  color: var(--text-secondary);
}

.train-course-card__list li {
  margin-bottom: 0.7rem;
}

.train-course-card__list li::before {
  content: "//";
  color: var(--accent-primary);
  margin-right: 0.6rem;
}

.train-course-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.train-nav {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.train-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.train-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.train-nav__chips a {
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(12, 18, 32, 0.6);
  transition: all 0.3s ease;
}

.train-nav__chips a:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 24px rgba(45, 123, 255, 0.25);
}

.train-course .faq-container details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(9, 13, 23, 0.75);
  padding: 0.6rem 1rem;
}

.train-course .o-grid__col > img[width="50"] {
  width: 50px;
  height: 50px;
  aspect-ratio: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(9, 13, 23, 0.9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  padding: 0.35rem;
  margin: 0 auto 0.85rem;
}

.train-course .faq-container details + details {
  margin-top: 1rem;
}

.train-course .faq-container summary {
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.train-course .content-shell img {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.6);
  box-shadow: none;
}

.train-course img.u-fill {
  border: 0;
  background: transparent;
  max-width: 220px;
  max-height: 32px;
  padding: 0;
}

.train-course .o-grid__col > img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 420px;
}

.train-course img.train-inline-image {
  max-width: 420px;
  width: 100%;
  margin: 1.5rem auto;
  display: block;
  max-height: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.train-course img.train-project-image {
  max-width: 980px;
  width: 100%;
  margin: 1.75rem auto;
  display: block;
  max-height: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.train-course .train-curriculum-note {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.train-course .train-foundation {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(9, 13, 23, 0.9), rgba(9, 13, 23, 0.6));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.train-course .train-foundation__diagram {
  display: flex;
  justify-content: center;
  align-items: center;
}

.train-course .train-foundation__svg {
  width: 100%;
  max-width: 900px;
  height: auto;
}

.train-course .train-foundation__line {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.train-course .train-foundation__core {
  fill: rgba(45, 123, 255, 0.2);
  stroke: var(--accent-primary);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.train-course .train-foundation__branch {
  fill: rgba(9, 13, 23, 0.85);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.train-course .train-foundation__label {
  fill: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.02em;
}

.train-course .train-foundation__label--branch {
  font-size: 18px;
  font-family: var(--font-body);
}

@media (max-width: 720px) {
  .train-course .train-foundation {
    padding: 1.5rem;
  }

  .train-course .train-foundation__label {
    font-size: 18px;
  }

  .train-course .train-foundation__label--branch {
    font-size: 16px;
  }
}

.train-course table.faq-container {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.train-course #audience table.faq-container {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 13, 23, 0.4);
}

.train-course #audience table.faq-container thead th {
  background: rgba(45, 123, 255, 0.18);
}

.train-course #audience table.faq-container tbody tr:nth-child(odd) td {
  background: rgba(9, 13, 23, 0.6);
}

.train-course #audience table.faq-container tbody tr:nth-child(even) td {
  background: rgba(9, 13, 23, 0.45);
}

.train-course table.faq-container th,
.train-course table.faq-container td {
  min-width: 220px;
}

.train-course video {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.75);
}

.train-feedback {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.8);
  padding: 2rem;
}

.train-logos {
  margin-top: 2rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 23, 0.7);
}

.train-logos h4 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.train-logos__grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.train-logos__grid img {
  max-height: 60px;
  object-fit: contain;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 0;
  background: rgba(248, 250, 255, 0.95);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.train-logos__grid img.train-logo--dark {
  background: rgba(10, 14, 24, 0.9);
}

.train-logos__grid img.train-logo--invert {
  filter: invert(1);
  background: rgba(10, 14, 24, 0.9);
}

.train-logos__note {
  margin-top: 1rem;
  color: var(--text-secondary);
}

.train-feedback img {
  max-width: 240px;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: block;
  margin: 1rem auto;
}

.train-enroll {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
}

.train-enroll__note {
  text-align: center;
  margin-top: 0.75rem;
  color: var(--text-secondary);
}

.snipcart-add-item:not(.cta-button) {
  border: 0;
  padding: 0;
}

.snipcart-add-item:not(.c-button):not(.cta-button) {
  background: transparent;
}

.snipcart-add-item.c-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent-primary);
  padding: 0.9rem 1.6rem;
}

.train-course .snipcart-add-item.c-button {
  padding: 1.4rem 3.2rem;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  border-radius: 999px;
  min-width: 260px;
  justify-content: center;
  box-shadow: 0 16px 30px rgba(45, 123, 255, 0.25);
}

.github-browser {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(140deg, rgba(12, 18, 32, 0.8), rgba(6, 9, 16, 0.95));
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

@media (max-width: 900px) {
  .github-browser {
    grid-template-columns: 1fr;
  }
}

.github-browser__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.github-browser__panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.github-browser__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.github-browser__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: rgba(235, 241, 255, 0.7);
  margin-bottom: 0.5rem;
}

.github-browser__desc {
  color: rgba(235, 241, 255, 0.75);
}

.github-browser__meta {
  margin-top: 0.25rem;
}

.github-browser__stat {
  font-size: 0.85rem;
  color: rgba(235, 241, 255, 0.6);
}

.github-browser__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(235, 241, 255, 0.7);
}

.github-browser__crumb {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.github-browser__crumb--up {
  color: rgba(235, 241, 255, 0.9);
  font-weight: 500;
}

.github-browser__crumb-sep {
  opacity: 0.6;
}

.github-browser__body {
  display: grid;
  gap: 0.9rem;
}

.github-browser__list {
  list-style: none;
  padding: 0.85rem;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.6);
  max-height: 260px;
  overflow: auto;
}

.github-browser__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.github-browser__item-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 0;
  color: rgba(235, 241, 255, 0.9);
  cursor: pointer;
  padding: 0.25rem 0;
  text-align: left;
}

.github-browser__item-button:hover {
  color: #fff;
}

.github-browser__link {
  font-size: 0.8rem;
  color: rgba(235, 241, 255, 0.6);
}

.github-browser__link:hover {
  color: #fff;
}

.github-browser__preview {
  margin: 0;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.7);
  max-height: 260px;
  overflow: auto;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(235, 241, 255, 0.9);
  font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.github-browser__empty {
  color: rgba(235, 241, 255, 0.6);
}

/* Snipcart widget theming */
#snipcart {
  /* ----------------- 
      Colors
  ----------------- */
  --color-default: hsl(0, 0%, 90%);
  --color-alt: hsl(0, 0%, 50%);
  --color-icon: hsl(200, 90%, 40%);
  --color-success: hsl(144, 50%, 55%);
  --color-error: hsl(6, 55%, 60%);

  --color-link: hsl(220, 70%, 55%);
  --color-link-hover: hsl(220, 70%, 65%);
  --color-link-active: var(--color-link);
  --color-link-focus: var(--color-link);

  --color-input: var(--color-default);
  --color-input-hover: var(--color-input);
  --color-input-focus: var(--color-input);
  --color-input-checked: var(--color-input);
  --color-input-disabled: var(--color-alt);
  --color-input-error: var(--color-error);
  --color-inputLabel: #fff;
  --color-inputLabel-hover: var(--color-inputLabel);
  --color-inputLabel-focus: var(--color-inputLabel);
  --color-inputIcon: var(--color-alt);
  --color-inputIcon-hover: var(--color-default);
  --color-inputIcon-focus: var(--color-inputIcon);
  --color-inputIcon-checked: var(--color-default);
  --color-inputIcon-error: var(--color-error);
  --color-inputPlaceholder: var(--color-alt);

  --color-buttonPrimary: var(--color-default);
  --color-buttonPrimary-hover: hsl(0, 0%, 100%);
  --color-buttonPrimary-active: var(--color-buttonPrimary);
  --color-buttonPrimary-focus: var(--color-buttonPrimary);
  --color-buttonPrimary-disabled: var(--color-alt);
  --color-buttonPrimary-success: var(--color-buttonPrimary);
  --color-buttonPrimary-error: var(--color-buttonPrimary);

  --color-buttonSecondary: var(--color-icon);
  --color-buttonSecondary-hover: hsl(200, 90%, 50%);
  --color-buttonSecondary-active: var(--color-buttonSecondary);
  --color-buttonSecondary-focus: var(--color-buttonSecondary);
  --color-buttonSecondary-disabled: hsl(210, 10%, 25%);
  --color-buttonSecondary-success: var(--color-success);
  --color-buttonSecondary-error: var(--color-error);

  --color-buttonDanger: var(--color-error);
  --color-buttonDanger-hover: hsl(6, 55%, 70%);
  --color-buttonDanger-active: var(--color-buttonDanger);
  --color-buttonDanger-focus: var(--color-buttonDanger);
  --color-buttonDanger-disabled: hsl(210, 10%, 25%);
  --color-buttonDanger-success: var(--color-default);
  --color-buttonDanger-error: var(--color-default);

  --color-badge: var(--color-link);
  --color-badge-active: var(--color-link);
  --color-badge-disabled: var(--color-alt);

  /* ----------------- 
      Border colors
  ----------------- */
  --borderColor-default: hsl(210, 10%, 10%);
  --borderColor-error: hsl(6, 55%, 30%);

  --borderColor-link: currentColor;
  --borderColor-link-hover: currentColor;
  --borderColor-link-active: currentColor;
  --borderColor-link-focus: currentColor;

  --borderColor-input: hsl(210, 10%, 10%);
  --borderColor-input-hover: hsl(200, 90%, 40%);
  --borderColor-input-focus: hsl(210, 10%, 10%);
  --borderColor-input-checked: hsl(210, 10%, 10%);
  --borderColor-input-disabled: hsl(210, 10%, 20%);
  --borderColor-input-error: var(--borderColor-error);

  --borderColor-buttonPrimary: transparent;
  --borderColor-buttonPrimary-hover: transparent;
  --borderColor-buttonPrimary-focus: transparent;
  --borderColor-buttonPrimary-disabled: transparent;
  --borderColor-buttonPrimary-success: transparent;
  --borderColor-buttonPrimary-error: transparent;

  --borderColor-buttonSecondary: transparent;
  --borderColor-buttonSecondary-hover: transparent;
  --borderColor-buttonSecondary-focus: transparent;
  --borderColor-buttonSecondary-disabled: transparent;
  --borderColor-buttonSecondary-success: transparent;
  --borderColor-buttonSecondary-error: transparent;

  --borderColor-badge: transparent;
  --borderColor-badge-active: transparent;
  --borderColor-badge-disabled: transparent;

  /* ----------------- 
      Background colors
  ----------------- */
  --bgColor-default: #000000;
  --bgColor-alt: #000000;
  --bgColor-success: hsl(144, 70%, 15%);
  --bgColor-error: hsl(6, 50%, 15%);
  --bgColor-info: hsl(210, 55%, 15%);

  --bgColor-modal: #000000;
  --bgColor-modalVeil: #05013d;

  --bgColor-link: none;
  --bgColor-link-hover: none;
  --bgColor-link-active: none;
  --bgColor-link-focus: hsl(210, 55%, 10%);

  --bgColor-input: hsl(210, 10%, 10%);
  --bgColor-input-hover: var(--bgColor-input);
  --bgColor-input-focus: var(--bgColor-input);
  --bgColor-input-checked: var(--borderColor-input-hover);
  --bgColor-input-disabled: hsl(210, 10%, 14%);
  --bgColor-input-error: var(--bgColor-input);
  --bgColor-input-autofill: hsl(210, 60%, 15%);

  --bgColor-buttonPrimary: hsl(220, 70%, 22%);
  --bgColor-buttonPrimary-hover: hsl(220, 70%, 30%);
  --bgColor-buttonPrimary-active: var(--bgColor-buttonPrimary);
  --bgColor-buttonPrimary-focus: var(--bgColor-buttonPrimary);
  --bgColor-buttonPrimary-disabled: hsl(210, 10%, 25%);
  --bgColor-buttonPrimary-success: hsl(144, 66%, 30%);
  --bgColor-buttonPrimary-error: hsl(6, 60%, 35%);

  --bgColor-buttonSecondary: var(--bgColor-info);
  --bgColor-buttonSecondary-hover: hsl(210, 60%, 18%);
  --bgColor-buttonSecondary-active: var(--bgColor-buttonSecondary);
  --bgColor-buttonSecondary-focus: var(--bgColor-buttonSecondary);
  --bgColor-buttonSecondary-disabled: hsl(210, 10%, 9%);
  --bgColor-buttonSecondary-success: var(--bgColor-success);
  --bgColor-buttonSecondary-error: var(--bgColor-error);

  --bgColor-buttonDanger: var(--bgColor-error);
  --bgColor-buttonDanger-hover: hsl(6, 50%, 18%);
  --bgColor-buttonDanger-active: var(--bgColor-buttonDanger);
  --bgColor-buttonDanger-focus: var(--bgColor-buttonDanger);
  --bgColor-buttonDanger-disabled: hsl(210, 10%, 9%);
  --bgColor-buttonDanger-success: hsl(144, 66%, 30%);
  --bgColor-buttonDanger-error: hsl(6, 60%, 35%);

  --bgColor-badge: hsl(210, 55%, 10%);
  --bgColor-badge-active: hsl(210, 60%, 15%);
  --bgColor-badge-disabled: hsl(210, 10%, 11%);

  /* ----------------- 
      Shadows
  ----------------- */
  --shadow-default: 0px 20px 24px -20px hsla(0, 0%, 0%, .5);
  --shadow-tooltip: 0px 8px 16px hsla(220, 70%, 22%, .5);

  --shadow-link-focus: 0px 6px 4px -3px hsla(200, 90%, 40%, .5);

  --shadow-input-hover: none;
  --shadow-input-focus: 0px 5px 10px -3px hsla(200, 90%, 40%, .3);
  --shadow-input-checked: none;

  --shadow-buttonPrimary-hover: 0px 10px 4px -8px hsla(0, 0%, 0%, .5);
  --shadow-buttonPrimary-active: none;
  --shadow-buttonPrimary-focus: 0px 0px 6px 2px hsl(200, 90%, 40%);

  --shadow-buttonSecondary-hover: 0px 10px 4px -8px hsla(0, 0%, 0%, .2);
  --shadow-buttonSecondary-active: none;
  --shadow-buttonSecondary-focus: 0px 0px 6px 2px hsla(200, 90%, 40%, .8);

  --shadow-buttonDanger-hover: 0px 10px 4px -8px hsla(0, 0%, 0%, .25);
  --shadow-buttonDanger-active: none;
  --shadow-buttonDanger-focus: 0px 0px 6px 2px hsla(6, 55%, 60%);
}

@media (max-width: 1000px) {
  .train-course-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .train-page .content-shell > .o-section,
  .train-course .content-shell > .o-section {
    padding: 2.2rem;
  }

  .train-nav__chips {
    gap: 0.6rem;
  }

  .train-nav__chips {
    overflow-x: auto;
    padding-bottom: 0.6rem;
  }

  .train-nav__chips a {
    white-space: nowrap;
  }

  .train-course .snipcart-add-item.c-button {
    width: 100%;
  }

  .train-course .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .train-course .hero-actions .cta-button {
    text-align: center;
  }

  .train-logos__grid img {
    max-height: 52px;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .cta-button {
    text-align: center;
  }

  .home-split__grid {
    gap: 2rem;
  }

  .home-split__content {
    padding: 1.6rem;
  }

  .home-split__media {
    min-height: 220px;
    padding: 1rem;
  }

  .home-split__media img {
    height: auto;
    max-height: 260px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .home-split--reverse .home-split__content {
    order: 1;
  }

  .home-split--reverse .home-split__media {
    order: 2;
  }

  .services-page .content-shell > .o-section {
    padding: 1.75rem;
  }

  .services-page .list-ol {
    padding-left: 1.1rem;
  }

  .services-page .list-ol > li {
    padding: 1.1rem;
  }

  .services-page .o-grid--top {
    grid-template-columns: 44px 1fr;
    gap: 0.75rem;
  }

  .services-page .o-grid--top .o-grid__col {
    grid-column: auto;
  }

  .services-page #secure-code-review .u-mb-12 {
    margin-bottom: 2.5rem;
  }

  .services-page #secure-code-review .u-mb-12 img {
    max-width: 100%;
    max-height: 260px;
    margin: 0 auto;
    object-fit: contain;
  }

  .services-page #secure-code-review .o-grid,
  .services-page #software-development .o-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-page #secure-code-review .o-grid__col,
  .services-page #software-development .o-grid__col {
    grid-column: 1 / -1;
  }

  .services-page #software-development .u-mb-12 {
    margin-bottom: 2.5rem;
  }

  .services-page #software-development .u-mb-12 img {
    max-width: 100%;
    max-height: 260px;
    margin: 0 auto;
    object-fit: contain;
  }
}
