:root {
  --ink: #0B0F14;
  --navy: #132236;
  --off: #FAFAFC;
  --muted: #64748B;
  --gold: #C2A86D;
  --border: #E6E8EC;
  --bg: #F6F7FA;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --shadow-card: 0 6px 24px rgba(0,0,0,.06);
  --container: 1200px;
  --h1: clamp(40px, 8vw, 102px);
  --h2: clamp(28px, 5.1vw, 70px);
  --h3: clamp(20px, 3.7vw, 45px);
  --lead: 20px;
  --body: 18px;
}

* {
  box-sizing: border-box;
}

/* Fix for content disappearing on mobile */
.container, .row, h1, h2, h3, h4, p, a, img, video {
  opacity: 1 !important;
  visibility: visible !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 400 var(--body)/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: #0B0F14;
  background: #fff;
}

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

a {
  color: var(--navy);
  text-underline-offset: 2px;
}

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

.section {
  padding: 96px 0;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.section:first-of-type {
  padding-top: 48px;
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
  
  .section:first-of-type {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  
  
  /* Force all content visible on mobile */
  * {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Hero section: two equal columns */
  .section:first-of-type .container.row.center {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
    align-items: stretch !important;
    height: auto;
  }
  
  /* Left column: text content */
  .section:first-of-type .container.row.center > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 8px 0 0;
  }
  
  /* Right column: video */
  .section:first-of-type .container.row.center > div:last-child {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    position: relative;
  }
  
  /* Make video container define the height */
  .section:first-of-type #demo {
    width: 100% !important;
    aspect-ratio: 9/16 !important;
    position: relative;
    margin: 0 !important;
  }
  
  /* Video fills container */
  .section:first-of-type #demo video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 8px;
  }
  
  /* Adjust H1 for mobile - responsive sizing */
  .section:first-of-type .h1 {
    font-size: clamp(28px, 6.5vw, 36px) !important;
    line-height: 1.05;
    margin: 0;
    font-weight: 800;
    word-wrap: break-word;
  }
  
  /* Show line breaks on mobile */
  .mobile-break {
    display: block !important;
  }
  
  /* Adjust lead text for mobile - 10% bigger */
  .section:first-of-type .lead {
    font-size: 14.3px;
    line-height: 1.3;
    margin: 12px 0 0 0;
  }
  
  /* Buttons styling */
  .section:first-of-type .btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    justify-content: center;
    white-space: nowrap;
  }
}

/* Headlines — serif with optical sizing */
h1, h2, h3, .h1, .h2, .h3 {
  margin: 0 0 .5em;
  font-feature-settings: "kern", "liga";
  color: rgba(11, 15, 20, 0.9);
}

/* Hide mobile breaks on desktop */
.mobile-break {
  display: none;
}

/* Mobile/Desktop visibility utilities - Default (Desktop) */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

/* Mobile overrides */
@media (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }
  
  .desktop-only {
    display: none !important;
  }
}

h1, .h1 {
  font-family: "Newsreader", serif;
  font-weight: 700;
  font-size: var(--h1);
  line-height: 1.05;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 64;
  text-wrap: balance;
}

h2, .h2 {
  font-family: "Newsreader", serif;
  font-weight: 700;
  font-size: var(--h2);
  line-height: 1.12;
  letter-spacing: -0.003em;
  font-variation-settings: "opsz" 40;
  text-wrap: balance;
}

h3, .h3 {
  font-family: "Newsreader", serif;
  font-weight: 600;
  font-size: var(--h3);
  line-height: 1.18;
  letter-spacing: -0.002em;
  font-variation-settings: "opsz" 28;
}

h4 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}

/* Lead + body in Inter for clarity */
.lead {
  font: 400 var(--lead)/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1F2937;
  max-width: 60ch;
}

p {
  max-width: 72ch;
  font-variant-numeric: oldstyle-nums proportional-nums;
}

.muted {
  color: var(--muted);
}

/* Eyebrow + buttons (calm, controlled UI) */
.eyebrow {
  font: 600 12px/1.1 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748B;
  margin-bottom: 3px;
}

.maxw {
  max-width: 72ch;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 992px) {
  .row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 17px/1.15 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: .01em;
  font-feature-settings: "tnum", "lnum";
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: #EDF2F7;
}

/* btn-call removed - using btn-primary for consistency */

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.metric {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  background: #fff;
}

.darkband {
  background: var(--navy);
  color: #fff;
}

.darkband h1, .darkband h2, .darkband h3, 
.darkband .h1, .darkband .h2, .darkband .h3 {
  color: #fff;
}

.darkband .btn-outline {
  border-color: #fff;
  color: #fff;
}

.darkband .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(19, 34, 54, 0.8);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

/* Keep button styling in header */
header .nav .btn-primary {
  background: #fff;
  color: var(--navy);
}

header .nav .btn-primary:hover {
  background: #f0f0f0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.brand img {
  height: 72px;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .brand img {
    height: 36px;
  }
}

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

/* Make header 30% bigger on desktop */
@media (min-width: 769px) {
  header .container {
    height: 83px;
    padding: 0 24px;
  }
  
  header .brand img {
    height: 52px !important;
  }
}

.media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: transparent;
  box-shadow: none;
}

.poster {
  background: #000;
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  color: #fff;
}

.audiochip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.audiochip button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.audiochip .label {
  font-weight: 600;
}

.call-widget {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.call-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.call-widget-container {
  margin: 24px 0;
}

:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

.video-play-overlay {
  opacity: 0.4;
}

.video-play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 1) !important;
  opacity: 1;
}

/* Video controls padding to prevent buttons touching edges */
video::-webkit-media-controls-panel {
  padding-left: 10px;
  padding-right: 10px;
}

video::-webkit-media-controls-enclosure {
  padding: 0 10px;
}

/* For Firefox */
video::-moz-media-controls {
  padding: 0 10px;
}

@media (max-width: 768px) {
  .video-play-overlay {
    opacity: 1;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(73, 80, 87, 0.95);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  
  header .nav.open {
    display: flex;
  }
  
  header .btn {
    display: none;
  }
  
  header .nav.open .btn {
    display: inline-flex;
  }
  
}

/* Fade-in animations removed to prevent content disappearing */

.bg-pattern {
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: 200% 200%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

blockquote {
  font-style: italic;
  border-left: 3px solid var(--navy);
  padding-left: 20px;
  margin: 32px 0;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.scenario-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

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

.scenario-card h4 {
  margin: 0 0 8px 0;
  color: var(--navy);
}

.scenario-card .time {
  font-size: 14px;
  color: var(--muted);
}

form {
  display: grid;
  gap: 20px;
  max-width: 500px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

input, textarea {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

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

details {
  margin: 16px 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}

summary:hover {
  color: var(--navy);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid #fff;
}

.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 12px;
    z-index: 100;
  }
  
  .sticky-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Video container for mobile */
  #demo.mobile-video-large,
  .mobile-video-large {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative;
  }
  
  /* Play button positioning on mobile - scale with video */
  .section:first-of-type .video-play-overlay {
    width: 44px !important;
    height: 44px !important;
    opacity: 1 !important;
  }
  
  .section:first-of-type .video-play-overlay svg {
    width: 16px !important;
    height: 16px !important;
  }
  
  /* Other sections remain as single column on mobile */
  .section:not(:first-of-type) .row {
    grid-template-columns: 1fr !important;
  }
  
  /* Remove mobile-video-large class override that was making it too wide */
  .section:first-of-type .mobile-video-large {
    width: 100% !important;
    max-width: 100% !important;
  }
}