@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@600&display=swap');

:root {
  --otos-orange: #ff8a00;
  --otos-teal: #5eead4;
  --otos-navy: #0f172a;
  --otos-bg: #f4f5f7;
  --otos-shadow: 0 8px 32px rgba(15,23,42,0.12);
  --otos-shadow-hover: 0 16px 42px rgba(15,23,42,0.16);
  --otos-radius: 22px;
  --otos-max: 1240px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.68;
  color: var(--otos-navy);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,138,0,0.06), transparent 32%),
    linear-gradient(180deg, #fbfbfc 0%, #f4f5f7 38%, #eef1f4 100%);
  overflow-x: hidden;
}

.section-shell, .card, .panel {
  overflow: visible;
}

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

h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.card, .panel, .callout, .stat-panel, .section-shell {
  border-radius: var(--otos-radius);
  /* Glassmorphic depth (locked tokens) */
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--otos-shadow);
}

.card:hover, .panel:hover, .stat-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--otos-shadow-hover);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dark-shell {
  background:
    radial-gradient(circle at top left, rgba(255,138,0,0.08), transparent 28%),
    linear-gradient(180deg, #152033 0%, #0f172a 100%);
  color: #fff;
}

.dark-shell .card, .dark-shell .panel, .dark-shell .stat-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

.strapline, .pull-quote {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  padding-left: 1rem;
  /* Issue 1: visible strapline text + locked accent line */
  border-left: 3px solid var(--otos-orange);
  color: var(--otos-navy);
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.key-number {
  color: var(--otos-orange);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.primary-cta {
  background: linear-gradient(135deg, #ff9a1f 0%, #ff8a00 100%);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 500;
  box-shadow: 0 12px 24px rgba(255,138,0,0.22);
  cursor: pointer;
}

.primary-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(255,138,0,0.26);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--otos-orange);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.site-footer {
  background: #0f172a;
  color: rgba(244,245,247,0.78);
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  text-align: center;
  padding: 1.25rem 2rem;
  width: 100%;
  position: relative;
  bottom: auto;
}

.welcome-section, .portal-intro, .page-intro {
  font-family: inherit !important;
}

/* Issue 2 (CSS consistency check) — page-specific overrides via shared classes */

/* Quote block: formal blockquote styling */
.quote-strip {
  background: transparent;
  border: none;
  border-left: 3px solid var(--otos-orange);
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 0 1rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.quote-strip .quote-line {
  /* Allow the attribution to sit below (quote-source becomes block) */
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  font-style: italic;
  color: var(--otos-navy);
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  font-family: "Playfair Display", serif;
}

.quote-strip .quote-source {
  display: block;
  margin-top: 0.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-caps: small-caps;
  color: rgba(15, 23, 42, 0.65);
}

/* Step panels/cards: glassmorphic depth + locked borders */
.panel,
.step {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.panel {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
}

.step {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--otos-shadow);
}

/* Step number circles: teal accent + dark navy base */
.step-num {
  background: var(--otos-navy);
  color: var(--otos-teal);
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow: var(--otos-shadow);
  font-weight: 600;
}

/* Bottom tag row pills */
.pill {
  background: var(--otos-teal);
  color: var(--otos-navy);
  border: 0;
  box-shadow: none;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* CTA row (← Next: Guided demos →) */
.bottom-nav {
  background: var(--otos-navy);
  border-top: none;
  border-radius: 0;
  box-shadow: none;
  padding: 1rem;
}

.bottom-nav .nav-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--otos-bg);
  font-weight: 500;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.bottom-nav .nav-btn:hover {
  color: var(--otos-orange) !important;
  background: rgba(255, 138, 0, 0.12) !important;
  border-color: rgba(255, 138, 0, 0.35) !important;
}

.bottom-nav .nav-next {
  color: var(--otos-bg) !important;
  font-weight: 500 !important;
}

/* Footer links in dark footer */
.site-footer a {
  color: var(--otos-bg);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* FORCE OVERRIDE — allow scroll and prevent hero/footer trapping */
html, body {
  overflow: auto;
  height: auto;
  min-height: 100%;
  position: static;
}

/* Do NOT use [class*="hero"] — it matches unrelated tokens (.text-gradient-hero, .fs-hero-quote, etc.) */
.hero, .hero-section, .hero-block, .hiw-test-hero {
  position: relative;
  height: auto;
  min-height: 80vh;
  overflow: visible;
}

footer, .site-footer {
  position: relative;
  bottom: auto;
  left: auto;
  width: 100%;
}

/* Floating next button for long pages */
.floating-next {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  z-index: 200 !important;
  background: #0f172a !important;
  color: #f4f5f7 !important;
  font-family: Inter, sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(15,23,42,0.22) !important;
  opacity: 1;
  transition: opacity 0.3s ease !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}

.floating-next:hover {
  background: #ff8a00 !important;
  color: #fff !important;
}
