/* Novvy brand system — shared across the public website. */
:root {
  --gold: #2556dc;
  --gold-light: #dfe7fc;
  --gold-dim: #1d43ad;
  --dark-bg: #ffffff;
  --dark-surface: #f3f7ff;
  --dark-card: #fff;
  --dark-border: #dce5f3;
  --text-primary: #152747;
  --text-secondary: #50617b;
  --text-muted: #5f708a;
  --nav-bg: #ffffff;
  --nav-menu-bg: #ffffff;
  --nav-border-rest: #e5ecf7;
  --nav-border-active: #dce5f3;
  --hero-bg: #ffffff;
  --button-secondary-bg: transparent;
  --icon-bg: transparent;
  --label-bg: #edf3ff;
  --subtle-bg: #f3f7ff;
  --hover-border: #94abd1;
  --shadow-card: none;
  --shadow-lift: none;
  --radius: 6px;
  --radius-lg: 8px;
  --page-max: 1160px;
  --page-wide: 1280px;
  --nav-height: 80px;
  color-scheme: light;
}

body, h1, h2, h3, h4, h5, h6 {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { line-height: 1.6; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: -0.045em; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
[hidden] { display: none !important; }
html { scroll-padding-top: 100px; }
.skip-link {
  position: fixed; left: 24px; top: -100px; z-index: 2000;
  padding: 12px 20px; background: var(--text-primary); color: var(--dark-bg);
}
.skip-link:focus { top: 12px; }
.site-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-arrow { width: 18px; height: 18px; }

/* A compact navigation bar; the footer has its own information hierarchy. */
.nav { background: var(--nav-bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-inner { width: min(1280px, calc(100% - 96px)); margin-inline: auto; gap: 32px; }
.nav-logo { gap: 8px; font-size: 27px; font-weight: 700; letter-spacing: -1.3px; }
.nav-logo-img { width: 28px; height: 28px; border-radius: 0; box-shadow: none; }
.nav-links { margin-right: auto; margin-left: 40px; gap: 24px; }
.nav-links a { padding: 8px 0; min-height: 44px; font-size: 13px; font-weight: 500; border-radius: 0; }
.nav-links a:hover, .nav-links a.active { background: none; color: var(--text-primary); }
.nav-links a.active::after { left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-login { font-size: 13px; font-weight: 500; white-space: nowrap; }
.nav-login:hover { color: var(--gold); }
.nav-cta, .btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; width: auto; padding: 0 22px; border-radius: 5px;
  border: 1px solid transparent; font-size: 14px; font-weight: 500; line-height: 1.2;
  box-shadow: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.nav-cta { min-height: 40px; padding: 0 16px; font-size: 13px; }
.nav-cta, .btn-primary { background: var(--gold); color: #fff; }
.nav-cta:hover, .btn-primary:hover { background: #1d43ad; color: #fff; box-shadow: none; transform: none; }
.btn-secondary { background: transparent; color: var(--text-primary); border-color: var(--dark-border); }
.btn-secondary:hover { background: var(--dark-surface); border-color: var(--hover-border); box-shadow: none; transform: none; }
.nav-hamburger { position: static; margin-left: auto; background: none; border: 0; border-radius: 0; }
.nav-hamburger span { height: 1.5px; }
.nav-mobile-menu { padding: 20px 24px 28px; box-shadow: 0 12px 20px #00000008; max-height: calc(100dvh - var(--nav-height)); overflow-y: auto; }
.nav-mobile-menu a { font-weight: 500; font-size: 17px; }
.nav-mobile-menu .btn-primary { margin-top: 16px; color: var(--dark-bg); }

/* Interior pages inherit the same restrained type, spacing and icon language. */
.hero { padding: 168px 48px 88px; background: var(--hero-bg); }
.hero::before, .hero h1 em::after, .eyebrow::before { display: none; }
.hero h1 { width: 100%; max-width: 1000px; font-size: clamp(42px, 5.4vw, 78px); line-height: 1.08; font-weight: 500; letter-spacing: -.055em; }
.hero h1 em { color: var(--gold); background: none; font-style: normal; }
.hero-sub { width: 100%; max-width: 670px; font-size: 18px; line-height: 1.7; margin: 28px auto 38px; }
.hero-btns { width: auto; }
.hero-badge { border: 0; background: none; box-shadow: none; padding: 0; font-size: 11px; letter-spacing: .13em; color: var(--text-secondary); }
.hero-badge img { display: none; }
.eyebrow { color: var(--text-muted); font-size: 11px; font-weight: 500; letter-spacing: .13em; line-height: 1.4; }
.section, .section-alt { padding: 96px 48px; }
.section-inner { width: 100%; max-width: 1160px; margin-inline: auto; }
.section-h2 { max-width: 950px; font-size: clamp(32px, 4vw, 54px); line-height: 1.12; font-weight: 500; }
.section-desc { font-size: 17px; line-height: 1.7; }
.metrics-strip { width: min(1280px, calc(100% - 96px)); margin-inline: auto; background: var(--dark-bg); border-block: 1px solid var(--dark-border); box-shadow: none; }
.metric-num { color: var(--text-primary); font-size: clamp(28px, 3.1vw, 42px); font-weight: 500; letter-spacing: -.04em; }
.metric-label { font-size: 12px; font-weight: 400; letter-spacing: .01em; text-transform: none; }
.feature-card, .reach-card, .category-card, .segment-card, .compare-box, .step-item, .moat-step, .job-row {
  box-shadow: none; border-radius: 6px;
}
.feature-card, .reach-card { background: transparent; }
.feature-card:hover, .reach-card:hover, .category-card:hover, .segment-card:hover {
  transform: none; box-shadow: none; border-color: var(--hover-border);
}
.feature-card h3, .reach-card h4, .step-item h3, .category-card h3, .segment-card h3 { font-weight: 500; letter-spacing: -.025em; }
.feature-card-icon, .reach-card .reach-icon, .format-card .format-icon {
  background: none; color: var(--text-primary); border: 1px solid var(--dark-border);
  box-shadow: none; width: 44px; height: 44px; border-radius: 8px;
}
.format-card .format-icon { margin-bottom: 18px; }
.step-num { color: var(--text-muted); background: transparent; font-size: 13px; font-weight: 400; border: none; }
.cta-block { background: #edf3ff; color: var(--text-primary); border: 1px solid var(--dark-border); border-radius: 8px; box-shadow: none; padding: 64px 40px; }
.cta-block::before, .cta-block::after { display: none; }
.cta-block h2 { color: var(--text-primary); font-size: clamp(32px, 4vw, 52px); line-height: 1.15; font-weight: 500; }
.formats-section { padding: 154px 48px 96px; }
.formats-section-inner { width: 100%; max-width: 1160px; margin-inline: auto; }
.formats-title { font-size: clamp(40px, 5.4vw, 72px); font-weight: 500; line-height: 1.1; letter-spacing: -.055em; }
.format-name { font-family: inherit; font-weight: 500; letter-spacing: -.02em; }
.format-phone, .format-phone:hover { box-shadow: none; transform: none; }
.reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }

/* Footer: brand statement, grouped destinations, then the legal baseline. */
.site-footer { background: #122344; color: #ffffff; padding: 76px 48px 26px; }
.site-footer-inner { max-width: 1280px; margin: auto; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.25fr; gap: 48px; padding-bottom: 72px; }
.footer-wordmark { display: inline-block; font-size: 34px; letter-spacing: -1.8px; font-weight: 600; line-height: 1; margin-bottom: 24px; }
.footer-brand p { color: #b6c7e3; font-size: 14px; line-height: 1.7; max-width: 265px; }
.footer-column h2 { font-size: 11px; font-weight: 500; letter-spacing: .1em; color: #a9bfdf; text-transform: uppercase; margin: 0 0 22px; }
.footer-column li + li { margin-top: 12px; }
.footer-column a { font-size: 13px; color: #e4edff; }
.footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff26; padding-top: 24px; font-size: 11px; color: #b6c7e3; letter-spacing: .02em; }
.site-footer a:focus-visible { outline-color: #a9c4ff; }


@media (max-width: 1100px) {
  .nav-inner { width: calc(100% - 48px); gap: 24px; }
  .nav-links { margin-left: 10px; gap: 18px; }
  .nav-actions { gap: 16px; }
  .footer-main { gap: 28px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .formats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 901px) { .nav-mobile-menu.active { display: none; } }
@media (max-width: 640px) {
  :root { --nav-height: 68px; }
  .nav-inner { width: calc(100% - 40px); }
  .nav-logo { font-size: 26px; }
  .hero { padding: 124px 24px 64px; text-align: left; }
  .hero h1 { width: 100%; max-width: none; margin-left: 0; font-size: clamp(34px, 9vw, 50px); line-height: 1.12; }
  .hero h1 em { display: inline; background: none; }
  .hero-sub { width: 100%; max-width: none; margin-left: 0; font-size: 16px; }
  .hero-btns { width: 100%; gap: 12px; justify-content: flex-start; }
  .hero-btns a { width: auto; }
  .section, .section-alt { padding: 64px 24px; }
  .section-inner { width: 100%; max-width: none; }
  .section-h2 { font-size: 34px; }
  .section-desc { font-size: 16px; }
  .reach-card, .moat-step { flex-direction: row; }
  .metrics-strip { width: calc(100% - 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-item { min-width: 0; padding: 24px 16px; border: 0; }
  .metric-num { font-size: 26px; }
  .cta-block { padding: 44px 24px; }
  .cta-btns { gap: 12px; }
  .cta-btns a { width: 100%; }
  .formats-section { padding: 120px 24px 64px; }
  .formats-title { font-size: 40px; text-align: left; margin-bottom: 48px; }
  .formats-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 52px 24px 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-bottom: 48px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Publisher conversion area uses explicit colors for consistent contrast. */
.cta-block p { color: var(--text-secondary); }
.cta-block .btn-secondary { color: var(--gold); border-color: #b5c8ee; }
.cta-footnote { color: var(--text-secondary) !important; border-color: var(--dark-border); }
.publisher-login { text-align: center; margin-top: 32px; }
.publisher-login p { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; }
.publisher-login .btn-secondary { color: var(--gold); border-color: #b5c8ee; }

/* A direct, browsable entry to the publisher SDK documentation. */
.sdk-docs-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  margin-top: 40px;
  padding: 48px;
  border: 1px solid #d7e3f7;
  border-radius: 20px;
  background: linear-gradient(120deg, #f1f5ff, #e8effe);
  scroll-margin-top: 112px;
}
.sdk-docs-eyebrow { display: block; color: #2556dc; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.sdk-docs-copy h3 { margin: 20px 0 16px; color: #152747; font-size: clamp(30px, 3.2vw, 42px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
.sdk-docs-copy p { max-width: 330px; color: #50617b; font-size: 15px; line-height: 1.8; }
.sdk-repository {
  display: block;
  min-width: 0;
  padding: 28px;
  border: 1px solid #d2def1;
  border-radius: 12px;
  background: #fff;
  color: #152747;
  box-shadow: 0 16px 32px -24px #16315b50;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sdk-repository:hover { border-color: #749dff; box-shadow: 0 20px 36px -24px #2556dc60; transform: translateY(-3px); }
.sdk-repository:focus-visible { outline: 3px solid #2556dc; outline-offset: 5px; }
.sdk-repository-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.sdk-repository-host { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.sdk-github-icon { width: 24px; height: 24px; flex-shrink: 0; }
.sdk-docs-badge { border: 1px solid #dce6fb; border-radius: 20px; padding: 4px 10px; color: #2556dc; background: #f3f7ff; font-size: 10px; white-space: nowrap; }
.sdk-repository-owner { display: block; margin-bottom: 7px; color: #62718a; font-size: 12px; }
.sdk-repository-name { display: block; font-size: clamp(21px, 2.2vw, 28px); font-weight: 500; line-height: 1.3; letter-spacing: -.035em; overflow-wrap: anywhere; }
.sdk-repository-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #e5ebf5; color: #2556dc; font-size: 13px; font-weight: 500; }
.sdk-repository-action .site-icon { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 800px) {
  .sdk-docs-card { gap: 32px; padding: 32px; }
  .sdk-repository { padding: 24px; }
}
@media (max-width: 640px) {
  .sdk-docs-card { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 24px; border-radius: 16px; }
  .sdk-docs-copy p { max-width: none; }
  .sdk-repository { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .sdk-repository:hover { transform: none; }
}
