/* ============================================================
   HARBOR — Design System & Styles
   ============================================================ */

/* === CUSTOM PROPERTIES === */
:root {
  --bg-base:      #07070e;
  --bg-surface:   #0c0c18;
  --bg-elevated:  #121222;

  --text-primary:   #ece9e2;
  --text-secondary: #888899;
  --text-tertiary:  #444458;

  --accent:       #4e8ea8;
  --accent-light: #6ab4cc;

  --border:       rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.11);

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-v: 120px;
  --nav-h: 72px;

  --ease-morph: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 56px;
}

.container-narrow {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 56px;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text-primary);
}

.label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 280ms ease, background 280ms ease, border-color 280ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-base);
}
.btn-primary:hover { opacity: 0.86; }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.04);
}

.btn-pill {
  border-radius: 100px;
}

/* === SPLASH SCREEN === */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  will-change: transform, opacity;
  transition:
    transform 900ms cubic-bezier(0.76, 0, 0.24, 1),
    opacity   900ms ease;
}

.splash.exit {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.splash-word {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  opacity: 0;
  animation: fadeInUp 1.2s var(--ease-morph) 0.35s forwards;
}

.splash-tagline {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 18px;
  opacity: 0;
  animation: fadeIn 1s ease 0.9s forwards;
}

.splash-hint {
  position: absolute;
  bottom: 44px;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}

.splash-ticker {
  position: absolute;
  bottom: 104px;
  width: 1px;
  height: 48px;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s ease 1.1s forwards;
}
.splash-ticker::after {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--text-tertiary), transparent);
  animation: tickerSlide 2.2s ease-in-out 1.6s infinite;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 100;
  padding: 26px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  transition:
    top            600ms var(--ease-morph),
    width          600ms var(--ease-morph),
    max-width      600ms var(--ease-morph),
    padding        600ms var(--ease-morph),
    background     600ms var(--ease-morph),
    border-color   600ms var(--ease-morph),
    border-radius  600ms var(--ease-morph),
    box-shadow     600ms var(--ease-morph);
}

.nav.scrolled {
  top: 14px;
  width: calc(100% - 80px);
  max-width: 940px;
  padding: 13px 26px;
  background: rgba(7, 7, 18, 0.75);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border-color: rgba(255, 255, 255, 0.085);
  border-radius: 100px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: opacity 250ms ease;
}
.nav-logo:hover { opacity: 0.72; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  transition: gap 600ms var(--ease-morph);
}
.nav.scrolled .nav-links { gap: 22px; }

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 250ms ease;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--text-primary);
  color: var(--bg-base);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: opacity 250ms ease, padding 600ms var(--ease-morph);
}
.nav-cta:hover { opacity: 0.84; }
.nav.scrolled .nav-cta { padding: 8px 18px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 300ms ease, opacity 300ms ease;
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 300ms ease;
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
}
.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--text-primary);
  transition: opacity 250ms ease;
}
.nav-mobile a:hover { opacity: 0.55; }

.nav-mobile-close {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 1.25rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 56px 88px;
}

.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 233, 226, 0.55);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeInUp 0.75s ease 0.3s forwards;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.06;
  color: var(--text-primary);
  max-width: 680px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.55), 0 8px 60px rgba(0,0,0,0.35);
  opacity: 0;
  animation: fadeInUp 0.75s ease 0.5s forwards;
}

.hero-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(236, 233, 226, 0.68);
  max-width: 480px;
  margin-top: 22px;
  line-height: 1.72;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeInUp 0.75s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  opacity: 0;
  animation: fadeInUp 0.75s ease 0.9s forwards;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  right: 56px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}
.hero-scroll-cue-label {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236,233,226,0.35);
  writing-mode: vertical-rl;
}
.hero-scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(236,233,226,0.3), transparent);
}

/* === SECTIONS === */
section { padding: var(--section-v) 0; }

.section-label { margin-bottom: 44px; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.125rem, 3.75vw, 3.375rem);
  font-weight: 400;
  line-height: 1.13;
  color: var(--text-primary);
}

.section-body {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.76;
  max-width: 540px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 680ms ease, transform 680ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* === PROBLEM SECTION === */
.problem { border-top: 1px solid var(--border); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}

.problem-copy { padding-top: 0; }
.problem-copy .section-body { margin-top: 28px; }

.problem-cards {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.problem-card {
  padding: 28px 32px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  transition: background 250ms ease;
}
.problem-card:last-child { border-bottom: none; }
.problem-card:hover { background: var(--bg-elevated); }

.problem-card-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 7px;
}
.problem-card-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === SOLUTION SECTION === */
.solution {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.solution-copy .section-body { margin-top: 28px; }

.solution-visual {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-elevated);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-diagram {
  text-align: center;
  padding: 40px;
}

.solution-diagram-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: rgba(236,233,226,0.15);
  margin-bottom: 24px;
}

.solution-diagram-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.solution-diagram-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-surface);
}

.solution-diagram-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent-light);
}

/* === HOW IT WORKS === */
.how { border-top: 1px solid var(--border); }

.how-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 64px;
}
.how-header .section-body { margin-top: 20px; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.how-step {
  padding: 52px 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-right: none;
  transition: background 250ms ease;
}
.how-step:last-child { border-right: 1px solid var(--border); }
.how-step:first-child { border-radius: 14px 0 0 14px; }
.how-step:last-child { border-radius: 0 14px 14px 0; }
.how-step:hover { background: var(--bg-elevated); }

.how-step-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.how-step-title {
  font-family: var(--font-serif);
  font-size: 1.4375rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.how-step-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.67;
}

/* === FEATURES === */
.features {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.features-header {
  max-width: 560px;
  margin-bottom: 64px;
}
.features-header .section-body { margin-top: 20px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  padding: 44px 40px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-right: none;
  border-bottom: none;
  transition: background 250ms ease;
}
.feature:nth-child(3n) { border-right: 1px solid var(--border); }
.feature:nth-child(4), .feature:nth-child(5), .feature:nth-child(6) {
  border-bottom: 1px solid var(--border);
}
.feature:hover { background: var(--bg-surface); }

/* Rounded corners for grid */
.feature:nth-child(1)  { border-radius: 14px 0 0 0; }
.feature:nth-child(3)  { border-radius: 0 14px 0 0; border-right: 1px solid var(--border); }
.feature:nth-child(4)  { border-radius: 0 0 0 14px; border-bottom: 1px solid var(--border); }
.feature:nth-child(6)  { border-radius: 0 0 14px 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.feature-icon {
  width: 32px;
  height: 32px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === COMPARE === */
.compare { border-top: 1px solid var(--border); }

.compare-header { margin-bottom: 56px; }
.compare-header .section-body { margin-top: 20px; }

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--border);
}

.compare-col {
  background: var(--bg-surface);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.compare-col.harbor {
  background: var(--bg-elevated);
}

.compare-col-head {
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--border);
}

.compare-col-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.compare-col.harbor .compare-col-label {
  color: var(--accent-light);
}

.compare-col-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
}

.compare-rows { flex: 1; }

.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.compare-row:last-child { border-bottom: none; }

.compare-row-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.compare-row-icon.yes { color: #72c97e; }
.compare-row-icon.no  { color: #c97272; }
.compare-row-icon.partial { color: #c9a96a; }

/* === CTA SECTION === */
.cta-band {
  border-top: 1px solid var(--border);
  padding: 148px 0;
  text-align: center;
}

.cta-band .section-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  max-width: 600px;
  margin: 0 auto;
}

.cta-band .section-body {
  margin: 24px auto 0;
  text-align: center;
  max-width: 440px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
}

/* === FOOTER === */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-col-head {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 18px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 250ms ease;
}
.footer-col-links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.footer-legal {
  display: flex;
  gap: 22px;
}
.footer-legal a {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  transition: color 250ms ease;
}
.footer-legal a:hover { color: var(--text-secondary); }

/* === INNER PAGE HERO === */
.page-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--border);
}

.page-hero .label { margin-bottom: 14px; }

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.875rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.page-hero-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.72;
}

/* === PROSE === */
.prose {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: var(--text-secondary);
  padding: 72px 0 120px;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--text-primary);
  margin: 56px 0 18px;
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 36px 0 12px;
}

.prose p { margin-bottom: 18px; }

.prose ul, .prose ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.prose li { margin-bottom: 7px; }

.prose strong {
  color: var(--text-primary);
  font-weight: 500;
}

.prose a {
  color: var(--accent-light);
  transition: opacity 250ms ease;
}
.prose a:hover { opacity: 0.72; }

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.prose pre {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  overflow-x: auto;
  margin: 20px 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.prose code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.875em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text-primary);
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 1em;
}

/* === DOCS LAYOUT === */
.docs-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  padding: 64px 0 120px;
}

.docs-sidebar {
  position: sticky;
  top: 110px;
  height: fit-content;
  align-self: start;
}

.docs-sidebar-group { margin-bottom: 32px; }

.docs-sidebar-group-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.docs-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-sidebar-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 5px;
  display: block;
  transition: color 220ms ease, background 220ms ease;
}
.docs-sidebar-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.docs-sidebar-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 72px 0 120px;
}

.contact-card {
  padding: 44px 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-surface);
  transition: border-color 260ms ease, background 260ms ease;
}
.contact-card:hover {
  border-color: var(--border-light);
  background: var(--bg-elevated);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-card-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.67;
  margin-bottom: 28px;
}

.contact-card-note {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-style: italic;
  margin-top: 12px;
}

/* === KEYFRAMES === */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes tickerSlide {
  0%   { transform: translateY(-100%); }
  40%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .container, .container-narrow { padding: 0 36px; }

  .problem-grid,
  .solution-grid { grid-template-columns: 1fr; gap: 52px; }

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

  /* Fix border radii for 2-col features */
  .feature { border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; }
  .feature:nth-child(1) { border-radius: 14px 0 0 0 !important; }
  .feature:nth-child(2) { border-radius: 0 14px 0 0 !important; }
  .feature:last-child   { border-radius: 0 0 14px 14px !important; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 44px; }
  .docs-wrap  { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
}

@media (max-width: 768px) {
  :root { --section-v: 72px; }

  .container, .container-narrow { padding: 0 24px; }

  .nav { padding: 18px 24px; }
  .nav.scrolled { top: 10px; width: calc(100% - 40px); padding: 11px 20px; }
  .nav-links, .nav-cta { display: none !important; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 0 24px 64px; }
  .hero-scroll-cue { display: none; }

  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .solution-grid { grid-template-columns: 1fr; gap: 40px; }

  .how-steps { grid-template-columns: 1fr; }
  .how-step {
    border: 1px solid var(--border) !important;
    border-bottom: none !important;
    border-radius: 0 !important;
  }
  .how-step:first-child { border-radius: 14px 14px 0 0 !important; }
  .how-step:last-child  { border-radius: 0 0 14px 14px !important; border-bottom: 1px solid var(--border) !important; }

  .features-grid { grid-template-columns: 1fr; }
  .feature { border-radius: 0 !important; border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
  .feature:first-child { border-radius: 14px 14px 0 0 !important; }
  .feature:last-child  { border-radius: 0 0 14px 14px !important; }

  .compare-grid { grid-template-columns: 1fr; gap: 0; border-radius: 0; }
  .compare-col { border-radius: 0 !important; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

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

  .cta-actions { flex-direction: column; }

  .hero-actions { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
}
