:root {
  --navy: #102853;
  --navy-light: #1a3a6e;
  --navy-dark: #0a1c3d;
  --gold: #d1b165;
  --gold-light: #e8d7ab;

  /* Constant — used for text/elements on fixed-navy-background sections (hero, nav, footer, cta-final) */
  --on-brand: #f3f6fb;
  --on-brand-muted: #b9c4da;

  /* Adaptive — flip between light/dark theme */
  --surface: #ffffff;
  --page-bg: #f7f5f0;
  --text: #102853;
  --gray: #5b6472;
  --border: #e5e2da;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow: 0 20px 40px -20px rgba(16, 40, 83, 0.25);
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #121b2e;
    --page-bg: #0d1626;
    --text: #eef1f6;
    --gray: #9aa4b8;
    --border: #26314a;
  }
}
:root[data-theme="dark"] {
  --surface: #121b2e;
  --page-bg: #0d1626;
  --text: #eef1f6;
  --gray: #9aa4b8;
  --border: #26314a;
}
:root[data-theme="light"] {
  --surface: #ffffff;
  --page-bg: #f7f5f0;
  --text: #102853;
  --gray: #5b6472;
  --border: #e5e2da;
}

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

html { scroll-behavior: smooth; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(209, 177, 101, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow--center { display: block; text-align: center; margin-inline: auto; width: fit-content; }

.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--text); }
.section-title--center { text-align: center; margin-inline: auto; max-width: 640px; }

.section-subtitle { color: var(--gray); font-size: 1.05rem; margin-top: 12px; }
.section-subtitle--center { text-align: center; max-width: 620px; margin-inline: auto; margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { padding: 10px 20px; font-size: 0.9rem; }
.btn--large { padding: 16px 32px; font-size: 1.05rem; }
.btn--gold { background: var(--gold); color: var(--navy-dark); }
.btn--gold:hover { box-shadow: 0 12px 24px -10px rgba(209, 177, 101, 0.6); }
.btn--navy { background: var(--navy); color: var(--on-brand); border-color: var(--gold); }
.btn--navy:hover { box-shadow: 0 12px 24px -10px rgba(16, 40, 83, 0.5); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--gold); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 42px; width: 42px; border-radius: 8px; object-fit: cover; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  color: #cdd6e6;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--gold-light); }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* Hero — fixed navy background regardless of theme, text stays constant light */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--on-brand);
  padding: 72px 0 96px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--on-brand);
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--on-brand-muted);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust {
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-brand-muted);
}
.hero .btn--ghost { color: var(--on-brand); border-color: rgba(255,255,255,0.3); }
.hero .btn--ghost:hover { border-color: var(--gold); }

/* Inbox mock — a fixed light "email client" card, always the same regardless of site theme */
.inbox-mock {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--navy);
}
.inbox-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e2da;
  background: #f7f5f0;
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--red { background: #f26d5b; }
.dot--yellow { background: #f5c451; }
.dot--green { background: #57c785; }
.inbox-mock__title {
  margin-left: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5b6472;
}
.inbox-mock__list { padding: 6px 0; }
.inbox-mock__item {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e2da;
}
.inbox-mock__item:last-child { border-bottom: none; }
.inbox-mock__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inbox-mock__content { flex: 1; min-width: 0; }
.inbox-mock__row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.inbox-mock__sender { font-weight: 600; font-size: 0.88rem; }
.inbox-mock__time { font-size: 0.78rem; color: #5b6472; flex-shrink: 0; }
.inbox-mock__subject { font-weight: 600; font-size: 0.92rem; margin-bottom: 2px; }
.inbox-mock__preview {
  font-size: 0.85rem;
  color: #5b6472;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox-mock__item--highlight { background: #f7f5f0; padding: 18px 20px; }
.inbox-mock__metric-row { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.metric-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(87, 199, 133, 0.15);
  color: #1c8f56;
}
.metric-pill--gold { background: rgba(209, 177, 101, 0.25); color: #8a6a1f; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__subtitle { max-width: none; }
}

/* Clients */
/* Positioning statement */
.positioning { padding: 88px 0 64px; background: var(--surface); }
.positioning__inner { max-width: 720px; margin: 0 auto; }
.positioning__statement {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.benefits {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefits__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.benefits__icon { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.benefits__item h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.benefits__item p { color: var(--gray); font-size: 0.9rem; }

@media (max-width: 700px) {
  .benefits { grid-template-columns: 1fr; }
}

/* Trust — merged "current client" + "founder's professional track record" into one compact section */
.trust { padding: 56px 0; background: var(--page-bg); }
.trust__row:first-child { margin-bottom: 40px; }
.trust__divider { height: 1px; background: var(--border); margin: 0 0 40px; }
.clients__label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}
.clients__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.clients__logo { height: 44px; width: auto; background: #fff; padding: 6px 12px; border-radius: 8px; }
.experience__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.experience__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  height: 50px;
}
.experience__logo { height: 26px; width: auto; }
.experience__logo--photo { height: 40px; width: 40px; border-radius: 6px; object-fit: cover; }
.experience__badge:has(.experience__logo--photo) { padding: 5px; }
.experience__note {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
}

/* Results */
.results { padding: 96px 0; background: var(--page-bg); }
.stats-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.stat-card--gold { background: var(--navy); border-color: var(--navy); }
.stat-card--gold .stat-card__number { color: var(--gold); }
.stat-card--gold .stat-card__label { color: var(--on-brand-muted); }
.stat-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text);
}
.stat-card__label { display: block; margin-top: 10px; font-size: 0.88rem; color: var(--gray); }

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stats-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray);
}

/* Inline CTA banner, reused between sections */
.inline-cta {
  margin-top: 56px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.inline-cta p { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text); }
.inline-cta--alt { background: var(--page-bg); }

/* Case study — text block, then a full-width framed screenshot below (this dashboard capture
   is a wide/short shape, so squeezing it into a narrow side column made it look flattened) */
.case-study { padding: 96px 0; background: var(--surface); }
.case-study__copy { max-width: 640px; margin: 0 auto; text-align: center; }
.case-study__copy p { color: var(--gray); margin-top: 16px; }
.case-study__copy .btn { margin-top: 32px; }
.case-study__list {
  display: inline-block;
  text-align: left;
  margin: 22px 0 28px;
  padding-left: 20px;
}
.case-study__list li { margin-bottom: 10px; color: var(--gray); }
.case-study__list strong { color: var(--text); }
.case-study__visual {
  max-width: 900px;
  margin: 48px auto 0;
  background: var(--page-bg);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.case-study__image { border-radius: 8px; width: 100%; height: auto; }

/* Founder — text only, no photo */
.founder { padding: 96px 0; background: var(--surface); }
.founder__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.founder__inner p:not(.eyebrow) { color: var(--gray); margin-top: 16px; }
.founder__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.founder__badge {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(209, 177, 101, 0.14);
  color: var(--text);
  border: 1px solid rgba(209, 177, 101, 0.35);
}
.founder__inner .btn--navy { margin-top: 32px; }

/* Process */
.process { padding: 96px 0; background: var(--page-bg); }
.process__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process__step {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.process__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}
.process__step h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.process__step p { color: var(--gray); font-size: 0.92rem; }

@media (max-width: 900px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process__grid { grid-template-columns: 1fr; }
}

/* Email showcase — infinite horizontal marquee of real Ofertec email designs */
.email-showcase { padding: 96px 0; background: var(--page-bg); overflow: hidden; }
.email-showcase .section-title,
.email-showcase .eyebrow { padding: 0 24px; }
.email-marquee {
  margin-top: 48px;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.email-marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: email-scroll 34s linear infinite;
}
.email-marquee:hover .email-marquee__track { animation-play-state: paused; }
.email-marquee__card {
  height: 420px;
  width: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
@keyframes email-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .email-marquee__track { animation: none; overflow-x: auto; }
}

/* FAQ */
.faq { padding: 96px 0; background: var(--surface); }
.accordion { max-width: 720px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.accordion__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.accordion__icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 24px;
}
.accordion__panel p { color: var(--gray); padding-bottom: 20px; }
.accordion__item.is-open .accordion__panel { max-height: 300px; }

/* CTA final — fixed navy background, text stays constant light */
.cta-final {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--on-brand);
  padding: 96px 0;
  text-align: center;
}
.cta-final__inner { max-width: 620px; margin: 0 auto; }
.cta-final h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 16px; color: var(--on-brand); }
.cta-final p { color: var(--on-brand-muted); margin-bottom: 32px; font-size: 1.05rem; }

/* Booking — qualifying filter form, then embedded Calendly widget or decline message */
.booking { padding: 96px 0; background: var(--surface); }
.booking .calendly-inline-widget { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.qualify-form {
  max-width: 640px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.qualify-form__question { font-family: var(--font-display); font-weight: 700; margin-bottom: 14px; }
.qualify-form__options { display: flex; flex-direction: column; gap: 10px; }
.qualify-form__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.qualify-form__option:hover { border-color: var(--gold); }
.qualify-form__option:has(input:checked) { border-color: var(--gold); background: rgba(209, 177, 101, 0.1); }
.qualify-form__option input { accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.qualify-form__submit { align-self: center; margin-top: 8px; }

.qualify-result[hidden] { display: none; }
.qualify-result__card {
  max-width: 560px;
  margin: 48px auto 0;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--page-bg);
  border: 1px solid var(--border);
  text-align: center;
}
.qualify-result__card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 14px; }
.qualify-result__card p { color: var(--gray); }

/* Footer */
.footer { background: var(--navy-dark); padding: 32px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__logo { height: 34px; width: 34px; border-radius: 6px; }
.footer p { color: #7c8aa3; font-size: 0.85rem; }

/* Sticky floating CTA */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(16, 40, 83, 0.5);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sticky-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta:hover { box-shadow: 0 16px 32px -8px rgba(16, 40, 83, 0.6); }

@media (max-width: 560px) {
  .sticky-cta { right: 16px; bottom: 16px; padding: 12px 20px; font-size: 0.88rem; }
}
