/* Nimrav Tech — layout aligned with nimrav.com */

:root {
  --color-navy: #1a2744;
  --color-navy-light: #2d4268;
  --color-navy-dark: #152238;
  --text-body: #334155;
  --text-muted: #475569;
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #cbd5e1;
  --color-off-white: #f8f7f4;
  --color-white: #ffffff;
  --color-accent: #c9a227;
  --color-accent-hover: #a8841f;
  --color-border: #d8d4cc;
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header-height: 72px;
  --container-max: 1200px;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(26, 39, 68, 0.08);
  --transition: 0.2s ease;
  --touch-min: 44px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--color-off-white);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--color-accent); }

ul { list-style: none; }

h1, h2, h3 {
  color: var(--color-navy);
  line-height: 1.3;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: max(24px, var(--safe-left));
  padding-right: max(24px, var(--safe-right));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  padding-top: var(--safe-top);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  order: 1;
  text-decoration: none;
  min-height: var(--touch-min);
}

.logo:hover { text-decoration: none; }

.logo-img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-wordmark {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
}

.logo-wordmark em {
  font-style: normal;
  color: var(--color-accent-hover);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  order: 2;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  order: 3;
}

.nav-toggle { order: 4; }
.nav-backdrop { order: 5; }

.nav-list {
  display: flex;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  min-height: var(--touch-min);
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--color-navy);
  background: var(--color-off-white);
  text-decoration: none;
}

.nav-link--cta {
  background: var(--color-navy);
  color: var(--color-white) !important;
}

.nav-link--cta:hover {
  background: var(--color-navy-light);
  color: var(--color-white) !important;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: 36px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background: var(--color-off-white);
}

.lang-btn.active {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: var(--touch-min);
  height: var(--touch-min);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: calc(var(--header-height) + var(--safe-top));
  background: rgba(26, 39, 68, 0.35);
  z-index: 98;
}

.nav-backdrop.visible { display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-primary:hover {
  background: var(--color-navy-light);
  border-color: var(--color-navy-light);
  color: var(--color-white);
  text-decoration: none;
}

.btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-outline-dark:hover {
  background: #fff;
  color: var(--color-navy);
  text-decoration: none;
}

/* Cinematic hero */
.hero-cinematic {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--color-white);
}

.hero-cinematic__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-cinematic__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 16px;
  gap: 10px;
}

.hero-cinematic__emblem {
  flex-shrink: 0;
  width: min(34vmin, 200px);
  height: min(34vmin, 200px);
  animation: emblemFloat 8s ease-in-out infinite;
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-emblem { width: 100%; height: 100%; }

.emblem-chip {
  fill: rgba(56, 189, 248, 0.08);
  stroke: rgba(200, 169, 110, 0.35);
  stroke-width: 1;
}

.emblem-orbit {
  fill: none;
  stroke: rgba(56, 189, 248, 0.25);
  stroke-width: 0.8;
  stroke-dasharray: 6 10;
  animation: orbitSpin 24s linear infinite;
  transform-origin: 200px 200px;
}

@keyframes orbitSpin { to { transform: rotate(360deg); } }

.emblem-wire {
  stroke: rgba(120, 210, 180, 0.4);
  stroke-width: 0.9;
}

.emblem-core { filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.5)); }

.emblem-node { fill: rgba(200, 169, 110, 0.9); }

.hero-cinematic__copy {
  text-align: center;
  max-width: 600px;
  animation: heroCopyIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero-cinematic__eyebrow {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8d5a8;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-cinematic__title {
  font-size: clamp(1.24rem, 3.38vw, 1.88rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 14px;
}

.hero-cinematic__desc {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: #d4bc82;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, rgba(200, 169, 110, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

.tech-scene {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #2a3f66 0%, #1e3050 50%, #1a2744 100%);
  overflow: hidden;
}

.tech-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.tech-ambient--purple {
  width: 50%;
  height: 45%;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(100, 80, 160, 0.22) 0%, transparent 70%);
  animation: ambientDrift 12s ease-in-out infinite;
}

.tech-ambient--teal {
  width: 45%;
  height: 40%;
  bottom: 5%;
  right: 10%;
  background: radial-gradient(circle, rgba(70, 180, 150, 0.18) 0%, transparent 68%);
  animation: ambientDrift 10s ease-in-out infinite reverse;
}

@keyframes ambientDrift {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  50% { transform: translate(3%, 2%); opacity: 1; }
}

.tech-grid {
  position: absolute;
  inset: -40%;
  width: 180%;
  height: 180%;
  background-image:
    linear-gradient(rgba(200, 169, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 169, 110, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(800px) rotateX(62deg) translateY(-6%);
  opacity: 0.35;
}

.tech-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 0, 0, 0.2), transparent 70%);
}

/* Stats band — bright section for readability */
.story-stats {
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
}

.story-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.story-stat {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 22px 14px;
  box-shadow: var(--shadow);
}

.story-stat.is-visible {
  opacity: 1;
  transform: none;
}

.story-stat-num {
  display: block;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--color-navy);
}

.story-stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.page-body {
  background: var(--color-off-white);
}

/* Company story — between stats and services */
.section-story {
  padding: clamp(48px, 7vw, 72px) 0;
}

.story-block {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.story-founded {
  margin-bottom: 1.25rem;
}

.story-founded time {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent-hover);
  letter-spacing: 0.02em;
}

.story-text {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.75;
  text-align: left;
  margin-bottom: 1rem;
}

.story-text:last-child {
  margin-bottom: 0;
}

/* Business facts — PayPal / compliance */
.business-facts {
  max-width: 36rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.business-fact {
  display: grid;
  grid-template-columns: minmax(7.5rem, 34%) 1fr;
  gap: 0.5rem 1rem;
  padding: 1rem 1.15rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.business-fact dt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.business-fact dd {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.business-fact dd a {
  font-weight: 600;
}

.business-policies {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.95rem;
}

.business-policies a {
  font-weight: 600;
}

.footer-entity {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

/* Sections */
.section { padding: clamp(56px, 8vw, 88px) 0; }
.section-alt { background: var(--color-white); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 12px; }

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  margin-bottom: 10px;
}

#services .section-label,
#story .section-label,
#process .section-label,
#business .section-label {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

#services .section-header h2,
#story .section-header h2,
#process .section-header h2,
#business .section-header h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.split-content .section-label { text-align: left; }

.split-content h2 { margin-bottom: 16px; }

.split-content p {
  margin-bottom: 1rem;
  color: var(--text-body);
  font-size: 1.02rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card-grid--four {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.12);
}

.card--featured {
  border-color: rgba(26, 39, 68, 0.25);
  box-shadow: 0 8px 28px rgba(26, 39, 68, 0.1);
}

.card-icon { font-size: 1.75rem; margin-bottom: 12px; }

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.65;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.card-tags li {
  font-size: 0.8rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--color-navy);
  font-weight: 600;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.checklist li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--color-navy);
  font-weight: 500;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent-hover);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps > li {
  list-style: none;
}

.step-card {
  padding: 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.step-num {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-accent-hover);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.step-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* CTA */
.cta-banner--echo {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 96px) 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(165deg, #3d4d63 0%, #2d3a4d 45%, #252f3f 100%);
}

.tech-scene--echo {
  opacity: 0.92;
  background: radial-gradient(ellipse 100% 90% at 50% 20%, #45566d 0%, #2d3a4d 55%, #1e2836 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  font-weight: 700;
}

.cta-desc {
  color: var(--text-on-dark);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-note {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-policies {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.contact-policies a {
  color: #e8d5a8;
  font-weight: 600;
}

.contact-policies a:hover {
  color: #fff;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #1e3050 0%, var(--color-navy) 100%);
  color: var(--text-on-dark-muted);
  padding-bottom: var(--safe-bottom);
}

.footer-main {
  padding: clamp(56px, 8vw, 80px) 0 clamp(40px, 6vw, 56px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 0;
}

.footer-logo:hover { text-decoration: none; }

.logo-img--footer {
  width: 36px;
  height: 36px;
}

.logo-wordmark--footer {
  color: #fff;
}

.logo-wordmark--footer em { color: var(--color-accent); }

.footer-tagline {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
}

.footer-col-title {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-meta-label {
  font-size: 0.85rem;
  color: #94a3b8;
  display: block;
}

.footer-meta-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

a.footer-meta-value:hover { color: var(--color-accent); }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  color: var(--text-on-dark);
  font-size: 0.98rem;
  font-weight: 500;
}

.footer-nav a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.footer-legal-inner { padding: 1.5rem 0 1.75rem; }

.footer-copy {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-policy-links {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  text-align: center;
}

.footer-policy-links a {
  color: var(--text-on-dark);
  font-weight: 500;
}

.footer-policy-links a:hover {
  color: #fff;
}

.footer-policy-links span {
  margin: 0 0.5rem;
  color: #64748b;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.page-legal .header-inner {
  flex-wrap: wrap;
  row-gap: 10px;
}

.page-legal .site-header {
  height: auto;
  min-height: var(--header-height);
}

.page-legal .header-inner {
  min-height: var(--header-height);
  padding-bottom: 8px;
}

.legal-main {
  max-width: 42rem;
  padding: clamp(2rem, 6vw, 3rem) max(24px, var(--safe-left)) clamp(3rem, 8vw, 4rem);
}

.legal-main > h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
}

.legal-related {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  color: var(--text-muted);
}

.policy-lang h2 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-navy);
}

.site-footer--compact .footer-legal-inner {
  padding: 1.25rem 0 1.5rem;
}

.policy-lang p,
.policy-lang li {
  color: var(--text-body);
  line-height: 1.75;
  font-size: 0.98rem;
}

.policy-lang ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0.5rem 0 1rem;
}

.policy-lang li {
  margin-bottom: 0.35rem;
}

.policy-lang a {
  color: var(--color-navy-light);
  font-weight: 600;
  word-break: break-word;
}

.policy-updated {
  margin-top: 1.25rem !important;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

@media (min-width: 769px) {
  .hero-cinematic {
    min-height: min(88vh, 820px);
  }

  .hero-cinematic__inner {
    justify-content: center;
    flex: 1;
    padding: 32px 16px 40px;
  }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }

  .container {
    padding-left: max(1.35rem, 6vw, var(--safe-left));
    padding-right: max(1.35rem, 6vw, var(--safe-right));
  }

  .hero-cinematic {
    min-height: auto;
    padding-bottom: 8px;
  }

  .hero-cinematic__inner {
    padding: 16px 0 24px;
  }

  .hero-cinematic__title {
    font-size: 1.16rem;
  }

  .hero-cinematic__eyebrow {
    font-size: 0.98rem;
  }

  .split-content,
  .split-content h2,
  .split-content .section-label,
  .split-content p {
    text-align: left;
  }

  .checklist {
    padding: 1.35rem 1.5rem 1.35rem 1.65rem;
    margin-inline: auto;
    width: 100%;
    max-width: 100%;
  }

  .checklist li {
    padding-left: 2rem;
    padding-right: 0.35rem;
    text-align: left;
  }

  .card,
  .step-card {
    padding-inline: 1.35rem;
  }

  .section-header {
    padding-inline: 0.35rem;
  }

  .cta-inner {
    padding-inline: 0.5rem;
  }

  .contact-note {
    padding-inline: 0.75rem;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .business-fact {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .page-legal .btn-sm {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: calc(var(--header-height) + var(--safe-top));
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    flex: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 32px;
    background: var(--color-white);
    border-left: 1px solid var(--color-border);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 99;
    order: 6;
  }

  .main-nav.is-open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-link { font-size: 1.05rem; }

  .story-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .split-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(26, 39, 68, 0.1);
  padding: 14px 0 max(14px, var(--safe-bottom));
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.cookie-banner__text {
  flex: 1 1 260px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}

.cookie-banner__text a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

body.has-cookie-banner {
  padding-bottom: calc(5.5rem + var(--safe-bottom));
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  body.has-cookie-banner {
    padding-bottom: calc(9rem + var(--safe-bottom));
  }
}

/* Hide Chrome / Google auto-translate UI if it still injects */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic__emblem,
  .emblem-orbit,
  .tech-ambient,
  .hero-scroll-line { animation: none; }
  .story-stat { opacity: 1; transform: none; }
}
