/* ============================================
   Accrued — Design Tokens
   ============================================ */
:root {
  /* Brand blue (sampled from logo mark) */
  --blue-900: #001433;
  --blue-800: #002566;
  --blue-700: #00408F;
  --blue-600: #0052CC;
  --blue-500: #0066FF; /* primary */
  --blue-400: #3D8BFF;
  --blue-300: #7EB0FF;
  --blue-200: #B2C0D3; /* logo gradient fade */
  --blue-100: #E3EBFB;
  --blue-050: #F2F6FF;

  /* Ink (dark surfaces) */
  --ink-950: #05070D;
  --ink-900: #090C15;
  --ink-800: #10141F;
  --ink-700: #1A2030;
  --ink-600: #262E42;
  --ink-border: #232B3D;

  /* Neutrals (light surfaces) */
  --white: #FFFFFF;
  --paper: #F7F8FA;
  --gray-100: #EEF0F3;
  --gray-200: #E4E7ED;
  --gray-400: #9AA3B2;
  --gray-600: #5B6472;
  --gray-800: #262B33;
  --near-black: #0A0D14;

  /* Semantic */
  --success: #1AA36A;
  --danger: #E5484D;

  /* Text on dark */
  --text-on-dark: #F5F7FA;
  --text-on-dark-muted: #9AA7BD;

  /* Text on light */
  --text-on-light: var(--near-black);
  --text-on-light-muted: var(--gray-600);

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Scale */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-4xl: 3.75rem;
  --fs-5xl: 4.75rem;

  /* Spacing (8pt rhythm) */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4rem;
  --sp-8: 6rem;
  --sp-9: 8rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --container: 1200px;

  --shadow-soft: 0 1px 2px rgba(10, 13, 20, 0.06), 0 8px 24px rgba(10, 13, 20, 0.06);
  --shadow-lifted: 0 4px 12px rgba(10, 13, 20, 0.08), 0 24px 48px rgba(10, 13, 20, 0.10);
  --shadow-glow: 0 0 0 1px rgba(0, 102, 255, 0.18), 0 20px 60px rgba(0, 102, 255, 0.20);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 450ms;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-3);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-3); max-width: 62ch; }

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

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

button { font-family: inherit; }

section { padding: var(--sp-8) 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

.section-head { max-width: 640px; margin: 0 0 var(--sp-6); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-on-light-muted); font-size: var(--fs-lg); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  white-space: nowrap;
  min-height: 44px;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.btn-primary:hover { background: var(--blue-600); box-shadow: var(--shadow-glow); }

.btn-ghost-dark {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(245, 247, 250, 0.22);
}
.btn-ghost-dark:hover { border-color: rgba(245, 247, 250, 0.5); background: rgba(245, 247, 250, 0.06); }

.btn-ghost-light {
  background: transparent;
  color: var(--text-on-light);
  border-color: var(--gray-200);
}
.btn-ghost-light:hover { border-color: var(--gray-400); background: var(--gray-100); }

.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--fs-base); }

/* ============================================
   Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000000;
  border-bottom: 1px solid rgba(245, 247, 250, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--sp-4);
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--sp-4);
}

.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-on-dark-muted);
  transition: color var(--dur-fast) var(--ease-out);
  padding: 0.4rem 0;
  position: relative;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-on-dark); }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-actions .btn { padding: 0.7rem 1.3rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-on-dark);
  padding: 0.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--ink-950);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-4);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  }
  .nav-links a { font-size: var(--fs-lg); }
  body.nav-open .nav-links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-actions .btn-ghost-dark { display: none; }
}

/* ============================================
   Hero (dark)
   ============================================ */
.hero {
  position: relative;
  background: radial-gradient(120% 100% at 50% -10%, var(--ink-800) 0%, var(--ink-950) 55%);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: var(--sp-8) 0 var(--sp-9);
}

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

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5,7,13,0.88) 0%, rgba(5,7,13,0.72) 45%, rgba(5,7,13,0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-7);
  align-items: center;
}

.hero.has-video .hero-inner { grid-template-columns: 1fr; max-width: 760px; margin: 0; }

.hero h1 { color: var(--text-on-dark); margin-bottom: var(--sp-4); }
.hero .lede { font-size: var(--fs-lg); color: var(--text-on-dark-muted); max-width: 46ch; margin-bottom: var(--sp-5); }
.hero .hero-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.hero .hero-note { font-size: var(--fs-xs); color: var(--text-on-dark-muted); }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-page {
  padding: var(--sp-7) 0 var(--sp-8);
}
.hero-page h1 { font-size: var(--fs-4xl); }
.hero > .container { position: relative; z-index: 2; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; order: -1; }
  h1 { font-size: var(--fs-4xl); }
}

/* ============================================
   Trust strip
   ============================================ */
.trust-strip {
  position: relative;
  background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
  border-top: 1px solid rgba(245, 247, 250, 0.06);
  padding: var(--sp-4) 0 var(--sp-5);
  overflow: hidden;
}
.trust-strip::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -70%;
  left: 50%;
  width: 900px;
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 102, 255, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.trust-strip .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.trust-strip .trust-label {
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: var(--sp-4);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: var(--sp-9);
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 34px;
}
.ticker-item-lg {
  height: 56px;
}
.ticker-item img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============================================
   Cards / Grids
   ============================================ */
.grid { display: grid; gap: var(--sp-4); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lifted); border-color: transparent; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-050);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--text-on-light-muted); margin-bottom: 0; }

/* Dark section variant */
.section-dark {
  background: var(--ink-950);
  color: var(--text-on-dark);
}
.section-dark .section-head p { color: var(--text-on-dark-muted); }
.section-dark .card {
  background: var(--ink-800);
  border-color: var(--ink-border);
}
.section-dark .card p { color: var(--text-on-dark-muted); }
.section-dark .card-icon { background: rgba(0, 102, 255, 0.14); }

.section-paper { background: var(--paper); }

/* ============================================
   Process steps
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  counter-reset: step;
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: var(--sp-2); }
.step-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--blue-300);
  margin-bottom: var(--sp-2);
  display: block;
}
.step h4 { margin-bottom: var(--sp-1); }
.step p { color: var(--text-on-dark-muted); font-size: var(--fs-sm); margin-bottom: 0; }

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  align-items: stretch;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -14px;
  left: var(--sp-5);
  background: var(--blue-500);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}
.price-card h3 { margin-bottom: var(--sp-1); }
.price-card .price-desc { color: var(--text-on-light-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.35rem; margin-bottom: var(--sp-4); }
.price-amount .num { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 600; }
.price-amount .period { color: var(--text-on-light-muted); font-size: var(--fs-sm); }
.price-amount .price-prefix { width: 100%; color: var(--text-on-light-muted); font-size: var(--fs-sm); }
.price-features { margin: 0 0 var(--sp-5); flex-grow: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: var(--fs-sm);
  color: var(--text-on-light-muted);
}
.price-features svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue-500); margin-top: 2px; }

.pricing-note {
  text-align: center;
  color: var(--text-on-light-muted);
  font-size: var(--fs-sm);
  margin-top: var(--sp-5);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--sp-4) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-on-light);
  cursor: pointer;
}
.faq-question .icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-out);
  color: var(--blue-500);
}
.faq-item[data-open="true"] .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq-answer p {
  color: var(--text-on-light-muted);
  padding-bottom: var(--sp-4);
  margin: 0;
}

/* ============================================
   Forms
   ============================================ */
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.field .hint { display: block; font-size: var(--fs-xs); color: var(--text-on-light-muted); margin-top: 0.35rem; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  background: var(--white);
  color: var(--text-on-light);
  min-height: 44px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue-500);
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-050);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.form-status {
  display: none;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  background: var(--blue-050);
  color: var(--blue-700);
  font-size: var(--fs-sm);
  margin-top: var(--sp-3);
}
.form-status.visible { display: block; }

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background: var(--ink-950);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--text-on-dark); margin-bottom: var(--sp-2); }
.cta-band p { color: var(--text-on-dark-muted); margin: 0 auto var(--sp-5); }
.cta-band .hero-actions { justify-content: center; }
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  width: 700px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,102,255,0.25) 0%, transparent 65%);
  pointer-events: none;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--ink-950);
  color: var(--text-on-dark-muted);
  padding: var(--sp-7) 0 var(--sp-5);
  border-top: 1px solid rgba(245, 247, 250, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand img { height: 24px; margin-bottom: var(--sp-3); }
.footer-brand p { font-size: var(--fs-sm); max-width: 30ch; }
.footer-col h4 { color: var(--text-on-dark); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-3); }
.footer-col a, .footer-col span { display: block; font-size: var(--fs-sm); padding: 0.3rem 0; transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--text-on-dark); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(245, 247, 250, 0.08);
  font-size: var(--fs-xs);
}
.footer-legal { display: flex; gap: var(--sp-4); }

/* ============================================
   Photo banners & inline photography
   ============================================ */
.photo-banner, .video-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.video-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.photo-banner::before, .video-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,13,0.55) 0%, rgba(5,7,13,0.35) 40%, rgba(5,7,13,0.92) 100%);
}
.photo-banner-content {
  position: relative;
  z-index: 1;
  padding: var(--sp-6) var(--sp-4);
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  color: var(--text-on-dark);
}
.photo-banner-content .eyebrow { color: var(--blue-300); }
.photo-banner-content h2 { color: var(--text-on-dark); max-width: 20ch; }
.photo-banner-content p { color: var(--text-on-dark-muted); max-width: 48ch; }
.photo-banner-content p.banner-lede-white { color: var(--text-on-dark); }

.inline-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-4);
}
.section-dark .inline-photo, .section-paper .inline-photo { box-shadow: var(--shadow-soft); }

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-500);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

@media (max-width: 640px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  section { padding: var(--sp-7) 0; }
  .cta-band { padding: var(--sp-6) var(--sp-4); }
}
