/* Public websites (File and Go, Novia Connect). One layout, two themes. */

/* ---- Themes ------------------------------------------------------------------ */
.site--fileandgo {
  --brand: #0fb6a0;
  --brand-strong: #0b9886;
  --brand-soft: #e3f7f3;
  --on-brand: #04201c;
  --ink: #0a0c50;
  --ink-2: #1b1f6b;
  --text: #2a3150;
  --muted: #5b6880;
  --bg: #ffffff;
  --bg-muted: #f4f6fa;
  --border: #e3e8f1;
  --accent: #ff8a3d;
  --font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}
.site--noviaconnect {
  --brand: #02c6ae;
  --brand-strong: #01a893;
  --brand-soft: #e2f8f4;
  --on-brand: #032a25;
  --ink: #0b0e0d;
  --ink-2: #1e2624;
  --text: #2a3431;
  --muted: #5f6d69;
  --bg: #ffffff;
  --bg-muted: #f3f6f5;
  --border: #e3eae8;
  --accent: #ff6b3d;
  --font-display: 'Urbanist', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}

/* ---- Base ---------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body.site {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.site img {
  max-width: 100%;
  height: auto;
  display: block;
}
.site a {
  color: var(--brand-strong);
}
:where(.site) :where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.site svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 8px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* ---- Buttons ----------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.site .btn--primary {
  background: var(--brand);
  color: var(--bg);
  box-shadow: 0 6px 18px -8px var(--brand);
}
.site .btn--primary:hover {
  background: var(--brand-strong);
  color: #fff;
}
.site .btn--secondary {
  background: transparent;
  border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  color: var(--ink);
}
.site .btn--secondary:hover {
  border-color: var(--ink);
}
.site .btn--ghost {
  background: transparent;
  color: var(--muted);
}
.btn--sm {
  padding: 8px 16px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.actions--center {
  justify-content: center;
}

/* ---- Header ------------------------------------------------------------------------- */
.preview-bar {
  background: #fde68a;
  color: #713f12;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
}
.announce {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}
.announce[hidden] {
  display: none;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 9px;
  padding-bottom: 9px;
  text-align: center;
}
.announce p {
  margin: 0;
}
.site .announce__link {
  background: none;
  border: 0;
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.announce__close {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 4px;
  display: flex;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(10, 12, 40, 0.5);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.logo img {
  height: 46px;
  width: auto;
  margin: -6px 0;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 19px/1 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-mark__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
}
.site a.logo {
  text-decoration: none;
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 16px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site .nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font: 500 15px/1.2 var(--font-body);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.site .nav__link:hover,
.site .nav__link.is-current {
  color: var(--brand-strong);
  background: var(--brand-soft);
}
.nav__group {
  position: relative;
}
.nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 48px -20px rgba(10, 12, 40, 0.35);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.nav__group:hover .nav__menu,
.nav__group.is-open .nav__menu,
.nav__group:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}
.site .nav__menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}
.site .nav__menu a:hover {
  background: var(--bg-muted);
  color: var(--ink);
}
.site .nav__menu-all {
  font-weight: 600;
  color: var(--brand-strong) !important;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
  border-radius: 8px 8px 0 0 !important;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
}
.nav-toggle__close {
  display: none;
}

@media (max-width: 1000px) {
  .nav-toggle {
    display: flex;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    box-shadow: 0 24px 40px -24px rgba(10, 12, 40, 0.4);
  }
  .site-header.nav-open .nav {
    display: flex;
  }
  .site-header.nav-open .nav-toggle__open {
    display: none;
  }
  .site-header.nav-open .nav-toggle__close {
    display: block;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }
  .site .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 8px;
  }
  .nav__menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
  }
  .nav__group.is-open .nav__menu {
    display: block;
  }
  .nav__group:hover .nav__menu {
    display: none;
  }
  .nav__group.is-open:hover .nav__menu {
    display: block;
  }
  .nav__menu-cols {
    grid-template-columns: 1fr;
  }
  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--border);
    padding-top: 12px;
  }
  .nav__actions .btn {
    margin-top: 6px;
  }
}

/* ---- Sections ---------------------------------------------------------------------- */
.s {
  padding: 88px 0;
}
.s--first {
  padding-top: 64px;
}
.bg-default {
  background: var(--bg);
}
.bg-muted {
  background: var(--bg-muted);
}
.bg-dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}
.bg-brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: var(--on-brand);
}
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark .stats__value {
  color: #fff;
}
.bg-brand h1,
.bg-brand h2,
.bg-brand h3,
.bg-brand .stats__value {
  color: var(--on-brand);
}
.bg-dark a:not(.btn) {
  color: var(--brand);
}
.bg-brand a:not(.btn) {
  color: var(--on-brand);
}
.bg-brand .btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.bg-dark .btn--secondary,
.bg-brand .btn--secondary {
  color: inherit;
  border-color: currentColor;
}
.bg-dark .card,
.bg-dark .price-card,
.bg-dark .faq__item {
  color: var(--text);
}
.s-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.s-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  margin: 0 0 12px;
  font: 700 13px/1.3 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.bg-dark .eyebrow {
  color: var(--brand);
}
.bg-brand .eyebrow {
  color: var(--on-brand);
  opacity: 0.8;
}
.eyebrow--pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 14px;
}
.s-title {
  font-size: clamp(28px, 3.4vw, 42px);
}
.s-title--left {
  margin-bottom: 16px;
}
.s-intro {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}
.bg-dark .s-intro,
.bg-brand .s-intro {
  color: inherit;
}
.s-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}
.bg-dark .s-note,
.bg-brand .s-note {
  color: inherit;
  opacity: 0.85;
}

/* ---- Prose (Markdown) --------------------------------------------------------------------- */
.prose > :first-child {
  margin-top: 0;
}
.prose > :last-child {
  margin-bottom: 0;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose .table-wrap {
  margin: 0 0 1em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin: 0.3em 0;
}
.prose li::marker {
  color: var(--brand-strong);
}
.prose h2 {
  font-size: 28px;
  margin: 1.6em 0 0.6em;
}
.prose h3 {
  font-size: 21px;
  margin: 1.5em 0 0.5em;
}
.prose h4 {
  font-size: 17px;
  margin: 1.3em 0 0.4em;
}
.prose strong {
  color: var(--ink);
  font-weight: 650;
}
.bg-dark .prose strong,
.bg-brand .prose strong {
  color: inherit;
}
.prose blockquote {
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}
.prose blockquote > :last-child {
  margin-bottom: 0;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}
.prose code {
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
}
.prose--article {
  font-size: 17.5px;
  line-height: 1.75;
}
.prose--article p,
.prose--article li {
  color: var(--text);
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
}
.table-wrap table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.table-wrap thead th {
  background: var(--bg-muted);
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}
.table-wrap tbody tr:last-child > * {
  border-bottom: 0;
}
.table tbody th {
  color: var(--ink);
  font-weight: 600;
}
.table__group th {
  background: var(--brand-soft);
  color: var(--brand-strong) !important;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- Hero ------------------------------------------------------------------------------------- */
.hero--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero--centered {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.hero--centered .actions,
.hero--centered .points--inline {
  justify-content: center;
}
.hero__title {
  font-size: clamp(36px, 5.2vw, 62px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.hero__body {
  margin-top: 20px;
  font-size: 19px;
  color: var(--muted);
}
.bg-dark .hero__body,
.bg-brand .hero__body {
  color: inherit;
}
.hero__media {
  position: relative;
}
.hero__media::before {
  content: '';
  position: absolute;
  inset: 8% -4% -4% 8%;
  background: radial-gradient(circle at 30% 30%, var(--brand-soft), transparent 70%);
  border-radius: 40px;
  z-index: 0;
}
.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}
.hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 48px 0 0;
}
.hero__stats > div {
  display: flex;
  flex-direction: column-reverse;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}
.bg-muted .hero__stats > div {
  background: var(--bg);
}
.hero__stats dd {
  margin: 0;
  font: 700 34px/1.1 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.03em;
}
.hero__stats dt {
  color: var(--muted);
  font-size: 14px;
}

/* ---- Points (check lists) ------------------------------------------------------------------------ */
.points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.points__icon {
  margin-top: 4px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px;
  width: 18px !important;
  height: 18px !important;
}
.bg-brand .points__icon {
  background: rgba(255, 255, 255, 0.35);
  color: var(--on-brand);
}
.points--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
}

/* ---- Cards ---------------------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.bg-default .card {
  background: var(--bg-muted);
  border-color: transparent;
}
.card:hover {
  box-shadow: 0 22px 40px -28px rgba(10, 12, 40, 0.45);
}
.card--highlight {
  border: 2px solid var(--brand) !important;
  background: var(--bg) !important;
}
.site a.card--link {
  text-decoration: none;
  color: inherit;
}
.card--link:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 24px;
  margin-bottom: 18px;
}
.bg-default .card__icon {
  background: var(--bg);
}
.card__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 10px;
}
.card__title {
  font-size: 21px;
  margin-bottom: 10px;
}
.card__body {
  color: var(--muted);
  font-size: 15.5px;
}
.card .points {
  font-size: 15px;
}
.site .card__link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand-strong);
}
.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
.badge--soft {
  position: static;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

/* ---- Steps & timeline ---------------------------------------------------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 24px;
  counter-reset: step;
}
.steps--2 {
  grid-template-columns: repeat(2, 1fr);
}
.steps--3 {
  grid-template-columns: repeat(3, 1fr);
}
.steps--4 {
  grid-template-columns: repeat(4, 1fr);
}
.steps--5 {
  grid-template-columns: repeat(5, 1fr);
}
.steps__item {
  position: relative;
}
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 18px/1 var(--font-display);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}
.bg-muted .steps__num {
  box-shadow: 0 0 0 6px var(--bg-muted);
}
.steps__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 23px;
  left: 46px;
  right: -24px;
  border-top: 2px dashed color-mix(in srgb, var(--brand) 55%, transparent);
}
.steps__title {
  font-size: 19px;
  margin-bottom: 8px;
}
.steps__body {
  color: var(--muted);
  font-size: 15.5px;
}
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.timeline__item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.timeline__dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.timeline__item:nth-child(2) .timeline__dot {
  background: #f5b62d;
  box-shadow: 0 0 0 5px #fdf1d4;
}
.timeline__item:nth-child(3) .timeline__dot {
  background: #ef5a4c;
  box-shadow: 0 0 0 5px #fde3e0;
}
.timeline__item:last-child .timeline__dot {
  background: #22a35c;
  box-shadow: 0 0 0 5px #dcf3e6;
}

/* ---- Stats ------------------------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  margin: 0;
  text-align: center;
}
.stats__item {
  display: flex;
  flex-direction: column;
  padding: 24px 12px;
}
.stats__value {
  order: -1;
  margin: 0;
  font: 700 clamp(38px, 4.5vw, 54px) / 1 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.035em;
}
.stats__label {
  margin-top: 10px;
  font-weight: 600;
  color: var(--ink);
}
.bg-dark .stats__label,
.bg-brand .stats__label {
  color: inherit;
}
.stats__detail {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---- Image + text, contact ------------------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media {
  order: -1;
}
.split--no-media {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
}
.split__media img {
  border-radius: 24px;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  box-shadow: 0 30px 60px -36px rgba(10, 12, 40, 0.55);
}
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact__details {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact__details li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact__icon {
  margin-top: 3px;
  color: var(--brand-strong);
  font-size: 20px;
}
.contact__label {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.contact__img {
  margin-top: 28px;
  border-radius: 20px;
}
.form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -40px rgba(10, 12, 40, 0.45);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.form label {
  display: grid;
  gap: 6px;
  align-content: start;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.form input,
.form textarea {
  font: 400 15px/1.4 var(--font-body);
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg-muted);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg);
}
.form [aria-invalid='true'] {
  border-color: #dc2626;
}
.form .btn {
  justify-self: start;
}
.form__status {
  margin: 0;
  font-size: 14px;
  min-height: 1.4em;
}
.form__status.is-error {
  color: #b91c1c;
}
.form__status.is-ok {
  color: #15803d;
  font-weight: 600;
}
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- FAQ ------------------------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
}
.faq__item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 22px;
  transition: box-shadow 0.2s;
}
.bg-default .faq__item {
  background: var(--bg-muted);
  border-color: transparent;
}
.faq__item[open] {
  box-shadow: 0 18px 36px -28px rgba(10, 12, 40, 0.45);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font: 600 17px/1.4 var(--font-body);
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__chev {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-soft);
  position: relative;
}
.faq__chev::before,
.faq__chev::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 13px;
  height: 2px;
  background: var(--brand-strong);
  border-radius: 2px;
  transition: transform 0.2s;
}
.faq__chev::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__chev::after {
  transform: rotate(0);
}
.faq__answer {
  padding-bottom: 20px;
  color: var(--muted);
}

/* ---- Call to action, testimonial, tags ------------------------------------------------------------------------ */
.cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta__title {
  font-size: clamp(30px, 4vw, 46px);
}
.cta__body {
  margin-top: 16px;
  font-size: 18px;
}
.cta__note {
  margin: 18px 0 0;
  font-size: 14px;
  opacity: 0.75;
  text-align: center;
}
.quote {
  margin: 0 auto;
  max-width: 860px;
  text-align: center;
}
.quote blockquote {
  margin: 0;
}
.quote blockquote p {
  margin: 0;
  font: 500 clamp(21px, 2.6vw, 28px) / 1.45 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.bg-dark .quote blockquote p,
.bg-brand .quote blockquote p {
  color: inherit;
}
.quote blockquote p::before {
  content: '“';
  display: block;
  font-size: 80px;
  line-height: 0.6;
  color: var(--brand);
  margin-bottom: 12px;
}
.quote figcaption {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}
.quote__photo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}
.quote figcaption strong {
  display: block;
  color: var(--ink);
}
.quote__role {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.quote__link {
  font-size: 14px;
}
.pills {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
}
.pills li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.bg-default .pills li {
  background: var(--bg-muted);
}

/* ---- Pricing ------------------------------------------------------------------------------------- */
.toggle {
  display: flex;
  width: max-content;
  margin: -16px auto 40px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}
.bg-muted .toggle {
  background: var(--bg);
}
.toggle button {
  border: 0;
  background: none;
  padding: 9px 20px;
  border-radius: 999px;
  font: 600 14px/1 var(--font-body);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.toggle button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}
.toggle__save {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
}
.plans[data-interval='monthly'] .price-annual,
.plans[data-interval='annual'] .price-monthly {
  display: none;
}
.price-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
.price-grid--1 {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.price-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
}
.price-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.price-grid--5,
.price-grid--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 32px;
}
.price-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  border-radius: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.bg-default .price-card {
  background: var(--bg-muted);
  border-color: transparent;
}
.price-card--highlight {
  background: var(--ink) !important;
  color: rgba(255, 255, 255, 0.82);
  border-color: var(--ink) !important;
  box-shadow: 0 30px 60px -30px rgba(10, 12, 40, 0.6);
}
.price-card--highlight .price-card__name,
.price-card--highlight .price-card__amount,
.price-card--highlight strong {
  color: #fff;
}
.price-card--highlight .price-card__tagline,
.price-card--highlight .price-card__sub,
.price-card--highlight .price-card__per {
  color: rgba(255, 255, 255, 0.65);
}
.price-card--highlight .points__icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--brand);
}
.price-card--highlight .btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 12px;
  font-weight: 700;
}
.price-card__name {
  font-size: 22px;
}
.price-card__tagline {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
  min-height: 2.8em;
}
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
}
.price-card__amount {
  font: 700 42px/1 var(--font-display);
  color: var(--ink);
  letter-spacing: -0.04em;
}
.price-card__per {
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
}
.price-card__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 2.6em;
}
.price-card__lines {
  font-size: 14.5px;
  margin: 18px 0 22px;
  flex: 1;
}
.price-card__extra {
  font-size: 14px;
  margin-bottom: 16px;
}
.price-card__best {
  font-size: 13.5px;
  margin: 0 0 20px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.price-card__best strong {
  display: block;
  color: var(--brand-strong);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.share {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--ink);
}
.price-card--highlight .share {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.share__label {
  font-size: 13px;
}
.share__value {
  font: 700 22px/1 var(--font-display);
}

/* ---- Articles --------------------------------------------------------------------------------------- */
.article-group + .article-group {
  margin-top: 48px;
}
.article-group__title {
  font-size: 20px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.article-head {
  padding: 56px 0 48px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.site .crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.site .crumbs a:hover {
  color: var(--brand-strong);
}
.article-head__title {
  font-size: clamp(32px, 4.4vw, 50px);
  letter-spacing: -0.03em;
}
.article-head__excerpt {
  margin: 18px 0 0;
  font-size: 19px;
  color: var(--muted);
}
.article-head__meta {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.s--richText {
  padding: 48px 0;
}
.s--richText.bg-default + .s--richText.bg-default,
.s--richText.bg-muted + .s--richText.bg-muted {
  padding-top: 0;
}
.article-head + .s--richText.bg-default {
  padding-top: 56px;
}

/* ---- Novia Connect widgets --------------------------------------------------------------------------- */
.calc__panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -40px rgba(10, 12, 40, 0.45);
}
.calc__budget {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}
.calc__budget output {
  font: 700 40px/1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.calc__budget input[type='range'] {
  width: 100%;
  accent-color: var(--brand);
  height: 28px;
}
.calc__range {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.calc__results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 0;
}
.calc__results > div {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 16px;
  background: var(--bg-muted);
}
.calc__results dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.calc__results dd {
  margin: 8px 0 4px;
  font: 700 30px/1 var(--font-display);
  color: var(--ink);
}
.calc__results p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}
.mock {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 40px 80px -48px rgba(10, 12, 40, 0.6);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}
.mock__dots {
  display: flex;
  gap: 6px;
}
.mock__dots i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d5dbe3;
}
.mock__url {
  flex: 1;
  max-width: 360px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 13px;
  color: var(--muted);
}
.mock__page {
  padding: 20px;
  display: grid;
  gap: 16px;
}
.mock__ad {
  border: 2px dashed var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: color-mix(in srgb, var(--accent) 80%, #000);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mock__ad b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
}
.mock__ad em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.mock__ad--top,
.mock__ad--bottom {
  min-height: 64px;
}
.mock__body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 16px;
}
.mock__main {
  display: grid;
  gap: 12px;
  align-content: start;
}
.mock__line {
  height: 12px;
  border-radius: 6px;
  background: var(--bg-muted);
}
.mock__line--title {
  height: 22px;
  width: 55%;
  background: color-mix(in srgb, var(--ink) 14%, transparent);
}
.mock__line--short {
  width: 40%;
}
.mock__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mock__card {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.mock__ad--side {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.mock__sample {
  font-weight: 500;
  font-size: 13px;
}
.placements {
  list-style: none;
  padding: 0;
  margin: 32px auto 0;
  max-width: 980px;
  display: grid;
  gap: 8px;
}
.placements li {
  display: grid;
  grid-template-columns: 32px 1.2fr 2fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 15px;
}
.bg-default .placements li {
  background: var(--bg-muted);
  border-color: transparent;
}
.placements__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.placements__name {
  font-weight: 700;
  color: var(--ink);
}
.placements__where {
  color: var(--muted);
}
.placements__avail {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  white-space: nowrap;
}
.report-wrap {
  grid-template-columns: 0.8fr 1.2fr !important;
  max-width: none !important;
}
.report {
  padding: 28px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -40px rgba(10, 12, 40, 0.45);
}
.report__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--ink);
}
.report__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.report__metrics > div {
  display: flex;
  flex-direction: column-reverse;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-muted);
}
.report__metrics dd {
  margin: 0;
  font: 700 28px/1.1 var(--font-display);
  color: var(--ink);
}
.report__metrics dt {
  font-size: 13px;
  color: var(--muted);
}
.report__bars-title {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}
.report__bars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.report__bars li {
  display: grid;
  grid-template-columns: 110px 1fr 60px;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.report__track {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-muted);
  overflow: hidden;
}
.report__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong));
}
.report__value {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---- Dialog (announcement) ------------------------------------------------------------------------------- */
.dialog {
  width: min(560px, calc(100vw - 32px));
  border: 0;
  border-radius: 24px;
  padding: 36px;
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(10, 12, 40, 0.6);
}
.dialog::backdrop {
  background: rgba(10, 12, 40, 0.55);
  backdrop-filter: blur(3px);
}
.dialog h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: var(--bg-muted);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--brand-soft);
  font-size: 14px;
}
.code code {
  font: 700 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
  letter-spacing: 0.06em;
}

/* ---- Footer ------------------------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 32px;
  font-size: 15px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}
.site-footer__brand p {
  margin: 16px 0 0;
  max-width: 300px;
}
.site-footer .logo img {
  height: 36px;
}
.site-footer .logo--invert img {
  filter: brightness(0) invert(1);
}
.site-footer .logo-mark {
  color: #fff;
}
.site-footer__contact {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 6px;
}
.site-footer h2 {
  font: 700 13px/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 6px 0 16px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site .site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.site .site-footer a:hover {
  color: #fff;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
}
.site-footer__legal p {
  margin: 0;
}

/* ---- Responsive ------------------------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .grid--4,
  .steps--4,
  .steps--5,
  .calc__results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3,
  .price-grid--3,
  .price-grid--4,
  .price-grid--5,
  .price-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps--3 {
    grid-template-columns: 1fr;
  }
  .steps__item::after {
    display: none;
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
  .hero--split,
  .split,
  .contact,
  .report-wrap {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .split--reverse .split__media {
    order: 0;
  }
}
@media (max-width: 680px) {
  .s {
    padding: 64px 0;
  }
  .container {
    padding: 0 16px;
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .steps--2,
  .steps--4,
  .steps--5,
  .price-grid--2,
  .price-grid--3,
  .price-grid--4,
  .price-grid--5,
  .price-grid--6,
  .calc__results,
  .mock__body,
  .mock__cards,
  .report__metrics {
    grid-template-columns: 1fr;
  }
  .placements li {
    grid-template-columns: 32px 1fr;
  }
  .placements__where,
  .placements__avail {
    grid-column: 2;
  }
  .placements__avail {
    justify-self: start;
  }
  .report__bars li {
    grid-template-columns: 90px 1fr 50px;
  }
  .announce__inner {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .form,
  .calc__panel,
  .report,
  .dialog {
    padding: 22px;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
