/* Onna Cloud — shared design system
   Light shell (header + content) + high-contrast dark bands (hero, CTA, features) */
:root {
  --navy-950: #060e1a;
  --navy-900: #0b1d36;
  --navy-800: #122847;
  --navy-700: #1a365d;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --orange: #ff6a00;
  --blue: #0047ff;
  /* Light theme surfaces */
  --page: #eef3f8;
  --surface: #f7fafc;
  --surface-elevated: #ffffff;
  --text: #0f2744;
  --text-secondary: #334155;
  --muted: #64748b;
  --border: #d5e0eb;
  --border-strong: #b8c9d9;
  /* Dark theme tokens (hero / dark sections) */
  --dark-text: #e2e8f0;
  --dark-muted: #94a3b8;
  --dark-border: rgba(255, 255, 255, 0.1);
  --radius: 1rem;
  --shadow: 0 10px 30px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 39, 68, 0.12);
  --glow: 0 0 40px rgba(45, 212, 191, 0.15);
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--teal-400);
  color: var(--navy-950);
  border-radius: 0.375rem;
  font-weight: 600;
}

/* Layout */
.container {
  width: min(72rem, 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.section-alt {
  background: linear-gradient(180deg, #f0f7fa 0%, #e8f2f6 100%);
}

.section-dark {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(45, 212, 191, 0.1), transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  border-top-color: rgba(255, 255, 255, 0.06);
  color: var(--dark-text);
}

.section-tight {
  padding: 3.5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--teal-500);
}

.section-dark .section-label {
  color: var(--teal-400);
}

.section-dark .section-label::before {
  background: var(--teal-400);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.2;
}

.section-dark .section-title,
.hero .section-title {
  color: #fff;
}

.section-lead {
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 40rem;
}

.section-dark .section-lead {
  color: var(--dark-muted);
}

.section-lead.center,
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .section-lead {
  margin-inline: auto;
}

/* Header — white bar ~50% shorter; logo size unchanged, vertically centered on the bar */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 39, 68, 0.04), 0 8px 24px rgba(15, 39, 68, 0.06);
  /* Allow logo to sit centered without forcing bar height */
  overflow: visible;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  /* ~50% of previous header height (logo + padding ≈ 14.5rem → 7.25rem) */
  height: 7.25rem;
  min-height: 7.25rem;
  max-height: 7.25rem;
  padding-block: 0;
  box-sizing: border-box;
  overflow: visible;
}

.site-header .logo-link {
  position: relative;
  display: block;
  flex-shrink: 0;
  /* In-flow footprint matches bar; image is centered independently */
  width: min(55vw, 18rem);
  height: 100%;
  border-radius: 0.5rem;
  z-index: 2;
  line-height: 0;
  overflow: visible;
}

.site-header .logo-link:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 4px;
}

.site-header .logo-link img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: auto;
  /* Logo size left alone */
  height: 13.5rem;
  max-width: min(78vw, 34rem);
  object-fit: contain;
  border-radius: 0.3rem;
}

/* Footer logo — unchanged size, normal flow */
.site-footer .logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-footer .logo-link img {
  position: static;
  transform: none;
  height: 12rem;
  max-width: min(85vw, 30rem);
  width: auto;
  object-fit: contain;
  border-radius: 0.3rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Shift desktop menu 20px left */
  transform: translateX(-20px);
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-800);
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--teal-600);
}

.nav-desktop a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--teal-500);
  transition: width 0.2s ease;
}

.nav-desktop a:not(.btn):hover::after,
.nav-desktop a[aria-current="page"]:not(.btn)::after {
  width: 100%;
}

.nav-desktop a.btn-primary {
  color: var(--navy-950);
}

.nav-desktop a.btn-primary:hover {
  color: var(--navy-950);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--navy-800);
  cursor: pointer;
}

.menu-toggle:hover {
  background: rgba(15, 39, 68, 0.06);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  padding: 0.75rem 0 1rem;
  background: #ffffff;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: var(--navy-800);
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-600);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
  .nav-bar {
    /* ~50% of previous desktop header (~16.9rem → 8.45rem) */
    height: 8.45rem;
    min-height: 8.45rem;
    max-height: 8.45rem;
  }
  .site-header .logo-link {
    width: min(42vw, 22rem);
  }
  .site-header .logo-link img {
    /* Logo size left alone */
    height: 15.75rem;
    max-width: min(52vw, 38rem);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-align: center;
}

.btn:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--teal-500);
  color: var(--navy-950);
}

.btn-primary:hover {
  background: var(--teal-400);
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--navy-800);
}

.btn-secondary:hover {
  border-color: var(--teal-500);
  background: rgba(20, 184, 166, 0.08);
  color: var(--navy-900);
}

.section-dark .btn-secondary,
.hero .btn-secondary,
.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section-dark .btn-secondary:hover,
.hero .btn-secondary:hover,
.cta-band .btn-secondary:hover {
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero — top padding clears taller logo nav */
.hero {
  position: relative;
  /* Clears logo bottom when centered on half-height bar */
  padding: 11.5rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 212, 191, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 106, 0, 0.08), transparent),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .hero {
    padding: 13.25rem 0 5rem;
  }
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.hero h1 .gradient {
  display: block;
  background: linear-gradient(90deg, var(--teal-400), #5eead4, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: #cbd5e1;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), var(--glow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Trust bar — light band under hero */
.trust-bar {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f0f7fa 100%);
}

.trust-bar p {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.trust-pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: 0 2px 8px rgba(15, 39, 68, 0.04);
}

/* Cards */
.grid-2 {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  color: var(--text);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: var(--shadow-lg);
}

.section-dark .card {
  background: rgba(18, 40, 71, 0.65);
  border-color: var(--dark-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  color: var(--dark-text);
}

.section-dark .card:hover {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.12);
}

.card-body {
  display: block;
  flex: 1 1 auto;
  padding: 1.35rem 1.35rem 1.5rem;
  background: var(--surface-elevated);
  position: relative;
  z-index: 1;
}

.section-dark .card-body {
  background: transparent;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900) !important;
}

.card-body h3 a {
  color: var(--navy-900) !important;
  text-decoration: none;
}

.card-body h3 a:hover {
  color: var(--teal-600) !important;
}

.section-dark .card-body h3,
.section-dark .card-body h3 a {
  color: #fff !important;
}

.section-dark .card-body h3 a:hover {
  color: var(--teal-400) !important;
}

.card-body p {
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.95rem;
  line-height: 1.55;
}

.section-dark .card-body p {
  color: var(--dark-muted) !important;
}

.card-media {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2eaf2;
  position: relative;
}

.section-dark .card-media {
  background: var(--navy-800);
}

.card-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-meta {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.section-dark .card-meta {
  color: var(--teal-400);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-600);
}

.card-link:hover {
  color: var(--teal-500);
}

.section-dark .card-link {
  color: var(--teal-400);
}

.icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-600);
  margin-bottom: 1rem;
}

.section-dark .icon-box {
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal-400);
}

.icon-box.orange {
  background: rgba(255, 106, 0, 0.15);
  color: var(--orange);
}

/* Split layout */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .split.reverse > :first-child {
    order: 2;
  }
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface-elevated);
}

.section-dark .split-media {
  border-color: var(--dark-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.split-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Metrics */
.metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
  .metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  text-align: center;
  box-shadow: var(--shadow);
}

.section-dark .metric {
  background: rgba(18, 40, 71, 0.55);
  border-color: var(--dark-border);
  box-shadow: none;
}

.metric strong {
  display: block;
  font-size: 1.75rem;
  color: var(--teal-600);
  font-weight: 800;
}

.section-dark .metric strong {
  color: var(--teal-400);
}

.metric span {
  font-size: 0.85rem;
  color: var(--muted);
}

.section-dark .metric span {
  color: var(--dark-muted);
}

/* Process */
.process-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  box-shadow: var(--shadow);
}

.section-dark .process-step {
  background: rgba(18, 40, 71, 0.5);
  border-color: var(--dark-border);
  box-shadow: none;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-600);
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
}

.section-dark .process-step::before {
  color: var(--teal-400);
}

.process-step h3 {
  margin: 0 0 0.5rem;
  color: var(--navy-900);
  font-size: 1.05rem;
}

.section-dark .process-step h3 {
  color: #fff;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-dark .process-step p {
  color: var(--dark-muted);
}

/* Testimonials */
.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  box-shadow: var(--shadow);
}

.section-dark .quote {
  background: rgba(18, 40, 71, 0.55);
  border-color: var(--dark-border);
  box-shadow: none;
}

.quote p {
  flex: 1;
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.section-dark .quote p {
  color: #e2e8f0;
}

.quote footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.section-dark .quote footer {
  border-top-color: var(--dark-border);
}

.quote cite {
  font-style: normal;
}

.quote strong {
  display: block;
  color: var(--navy-900);
}

.section-dark .quote strong {
  color: #fff;
}

.quote span {
  font-size: 0.875rem;
  color: var(--muted);
}

.section-dark .quote span {
  color: var(--dark-muted);
}

/* Forms */
.form-card {
  max-width: 36rem;
  margin-inline: auto;
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-lg);
}

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

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

.form-group label .req {
  color: var(--teal-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border-strong);
  background: #f8fafc;
  color: var(--navy-900);
  font: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #f87171;
}

.form-error.is-visible {
  display: block;
}

.form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: #5eead4;
}

.form-status.error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

/* Page hero — light wash with soft teal tint; dark variant optional */
.page-hero {
  padding: 11.25rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 70% at 20% 0%, rgba(20, 184, 166, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 50% at 100% 20%, rgba(255, 106, 0, 0.06), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--page) 100%);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 13rem 0 3rem;
  }
}

/* Featured primary service (websites + web apps) */
.service-feature {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .service-feature {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    padding: 2rem;
  }
}

.service-feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e2eaf2;
}

.service-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.badge-focus {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 106, 0, 0.12);
  color: var(--orange);
  border: 1px solid rgba(255, 106, 0, 0.28);
}

.service-feature h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--navy-900);
}

.service-feature p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.supporting-label {
  margin: 2.5rem 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* Labeled link tiles — title + description always visible under image */
.tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--navy-900);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: var(--shadow-lg);
  color: var(--navy-900);
}

.tile-dark {
  background: rgba(18, 40, 71, 0.85);
  border-color: var(--dark-border);
  color: #fff;
}

.tile-dark:hover {
  border-color: rgba(45, 212, 191, 0.45);
  color: #fff;
}

.tile-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dbe4ee;
  flex: 0 0 auto;
}

.tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tile:hover .tile-media img {
  transform: scale(1.04);
}

.tile-body {
  display: block;
  flex: 1 1 auto;
  padding: 1.25rem 1.35rem 1.4rem;
  background: #ffffff;
}

.tile-dark .tile-body {
  background: rgba(11, 29, 54, 0.96);
}

.tile-tag {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.tile-dark .tile-tag {
  color: var(--teal-400);
}

.tile-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy-900);
}

.tile-dark .tile-title {
  color: #ffffff;
}

.tile-desc {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
  font-weight: 400;
}

.tile-dark .tile-desc {
  color: #cbd5e1;
}

.tile-metric {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-400);
}

.tile-cta {
  display: inline-block;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-600);
}

.tile-dark .tile-cta {
  color: var(--teal-400);
}

.tile:hover .tile-cta {
  color: var(--teal-500);
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--teal-600);
}

/* Blog */
.blog-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card .card-media {
  aspect-ratio: 16 / 9;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-600);
  margin-bottom: 0.65rem;
}

.section-dark .tag {
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal-400);
}

.article {
  max-width: 48rem;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.article-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.article-body h2 {
  margin: 2rem 0 0.75rem;
  color: var(--navy-900);
  font-size: 1.5rem;
}

.article-body p,
.article-body ul {
  margin: 0 0 1.1rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body a {
  color: var(--teal-600);
  text-decoration: underline;
}

.prose-list {
  padding-left: 1.25rem;
}

/* Team */
.team-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  box-shadow: var(--shadow);
}

.section-dark .team-card {
  background: rgba(18, 40, 71, 0.55);
  border-color: var(--dark-border);
  box-shadow: none;
}

.avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-400), var(--navy-700));
}

.team-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.05rem;
}

.section-dark .team-card h3 {
  color: #fff;
}

.team-card .role {
  color: var(--teal-600);
  font-size: 0.85rem;
  margin: 0.15rem 0 0.5rem;
}

.section-dark .team-card .role {
  color: var(--teal-400);
}

.team-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-dark .team-card p {
  color: var(--dark-muted);
}

/* CTA band — high-contrast dark close */
.cta-band {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(45, 212, 191, 0.14), transparent),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--dark-text);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: var(--dark-muted);
}

/* Footer — light to match header + logo */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 18rem;
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-900);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  display: inline-block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--teal-600);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Utilities */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-white { color: #fff; }
.section-dark .text-white { color: #fff; }
.section-dark .text-muted { color: var(--dark-muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-secondary);
}

.section-dark .check-list li {
  color: #e2e8f0;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%230d9488' d='M10.28 2.28a.75.75 0 00-1.06-1.06L4.5 5.94 2.78 4.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.06 0l5.25-5.25z'/%3E%3C/svg%3E") center/0.7rem no-repeat;
}

.section-dark .check-list li::before {
  background: rgba(45, 212, 191, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%232dd4bf' d='M10.28 2.28a.75.75 0 00-1.06-1.06L4.5 5.94 2.78 4.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.06 0l5.25-5.25z'/%3E%3C/svg%3E") center/0.7rem no-repeat;
}

.check-list .text-white,
.check-list strong.text-white {
  color: var(--navy-900) !important;
}

.section-dark .check-list .text-white,
.section-dark .check-list strong.text-white {
  color: #fff !important;
}

.feature-row {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .feature-row {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 106, 0, 0.15);
  color: var(--orange);
  border: 1px solid rgba(255, 106, 0, 0.3);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
  background: rgba(15, 39, 68, 0.06);
  color: var(--navy-800);
}

.section-dark code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--teal-400);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card,
  .card-media img {
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}
