/* ==========================================================================
   Praxis — promsx.com
   Design tokens mirror the application shell (psyc/app/globals.css) so the
   marketing site and the product read as one brand.
   ========================================================================== */

:root {
  --navy-900: #081b33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4e89;
  --navy-500: #2d6bb0;
  --navy-100: #e8eef7;
  --navy-50: #f2f6fb;

  --ink: #16233a;
  --ink-soft: #5a6b85;
  --ink-faint: #8b99b0;

  --surface: #f7f9fc;
  --surface-hover: #eff3f9;
  --border: #e2e8f2;
  --border-strong: #c8d3e4;

  --success: #16805c;
  --success-bg: #e6f4ee;
  --warning: #9a6b0f;
  --danger: #b3372f;
  --danger-bg: #fbeceb;

  /* Signature asymmetric corner rounding — large TL/BR, small TR/BL */
  --radius: 20px 6px 20px 6px;
  --radius-sm: 12px 4px 12px 4px;
  --radius-xs: 10px 3px 10px 3px;
  --radius-lg: 28px 8px 28px 8px;

  --shell: 1140px;
  --gutter: 24px;

  --shadow-sm: 0 1px 2px rgba(8, 27, 51, 0.06);
  --shadow: 0 8px 24px -12px rgba(8, 27, 51, 0.18);
  --shadow-lg: 0 32px 64px -32px rgba(8, 27, 51, 0.35);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #ffffff;
  color: var(--ink);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

a {
  color: var(--navy-600);
  text-decoration: none;
}

a:hover {
  color: var(--navy-800);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--navy-100);
}

:focus-visible {
  outline: 2px solid var(--navy-600);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  color: var(--navy-800);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.35rem + 2.9vw, 3.5rem);
  font-weight: 600;
  /* Balancing a four-line headline produces a ragged stack of short lines. */
  text-wrap: pretty;
}

h2 {
  font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.4rem);
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

p {
  text-wrap: pretty;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--navy-500);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lede {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section--navy {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.75);
}

.section--navy h2,
.section--navy h3 {
  color: #ffffff;
}

.section--navy .eyebrow {
  color: #7fa8dc;
}

.section--navy .section-head p,
.section--navy .lede {
  color: rgba(255, 255, 255, 0.72);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--navy-800);
  color: #ffffff;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 500;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--navy-800);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--navy-700);
  color: #ffffff;
}

.btn--secondary {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--navy-800);
}

.btn--secondary:hover {
  background: var(--surface);
  border-color: var(--navy-600);
  color: var(--navy-800);
}

.btn--onnavy {
  background: #ffffff;
  color: var(--navy-800);
}

.btn--onnavy:hover {
  background: var(--navy-50);
  color: var(--navy-900);
}

.btn--ghost-onnavy {
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.btn--ghost-onnavy:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn--block {
  width: 100%;
}

.btn svg {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

/* Chrome gets a wider track than body copy so the nav fits in both languages. */
.site-header .shell {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
  max-width: 1240px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-800);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--navy-800);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  color: #ffffff;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__by {
  color: var(--ink-faint);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.primary-nav a:not(.btn) {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.primary-nav a:not(.btn):hover {
  background: var(--surface);
  color: var(--navy-800);
}

/* The call to action lives in the header on desktop and in the menu on mobile. */
.primary-nav .btn {
  display: none;
}

.primary-nav a.nav-signin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-800);
}

.primary-nav a.nav-signin svg {
  color: var(--ink-faint);
}

.primary-nav a.nav-signin:hover svg {
  color: var(--navy-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}

.lang-switch a {
  padding: 4px 11px;
  border-radius: 7px 2px 7px 2px;
  color: var(--ink-faint);
  font-size: 0.8125rem;
  font-weight: 500;
  transition:
    background-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.lang-switch a:hover {
  color: var(--navy-800);
}

.lang-switch a[aria-current="true"] {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  color: var(--navy-800);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--navy-800);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--surface);
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

@media (max-width: 1200px) {
  .nav-toggle {
    display: grid;
    order: 3;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .btn {
    display: none;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    margin: 0;
    padding: 12px var(--gutter) 22px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-width: 1240px;
    margin-inline: auto;
  }

  .primary-nav a:not(.btn) {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .primary-nav .btn {
    display: flex;
    margin-top: 12px;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 0%, var(--navy-50) 0%, rgba(242, 246, 251, 0) 62%),
    #ffffff;
  padding-block: clamp(52px, 6vw, 92px) clamp(56px, 7vw, 104px);
  border-bottom: 1px solid var(--border);
}

.hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 6px 14px 6px 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.hero__badge span {
  padding: 2px 10px;
  background: var(--navy-50);
  border-radius: 999px;
  color: var(--navy-600);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 em {
  color: var(--navy-500);
  font-style: normal;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta svg {
  color: var(--success);
  flex-shrink: 0;
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__card {
  position: absolute;
  left: -22px;
  bottom: -26px;
  width: min(268px, 76%);
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.hero__card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__card-value {
  margin-top: 4px;
  color: var(--navy-800);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__card-delta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success);
  font-size: 0.8125rem;
  font-weight: 500;
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
  margin-top: 12px;
}

.spark i {
  flex: 1;
  background: var(--navy-100);
  border-radius: 3px 1px 3px 1px;
}

.spark i:nth-child(n + 4) {
  background: var(--navy-500);
}

@media (max-width: 900px) {
  .hero .shell {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
    margin-bottom: 38px;
  }

  .hero__media img {
    aspect-ratio: 4 / 3;
  }

  .hero__card {
    left: auto;
    right: 12px;
    bottom: -24px;
    width: min(240px, 66%);
    padding: 13px 15px;
  }
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.trust {
  padding-block: 34px;
  background: var(--navy-800);
}

.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 34px;
}

.trust__label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.trust__items {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust__items li {
  padding: 6px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xs);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-sm);
  color: var(--navy-600);
}

/* Icon and an optional flag share one row above the card title. */
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.card__head .card__icon {
  margin-bottom: 0;
}

.card__badge {
  padding: 4px 11px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 999px;
  color: var(--navy-600);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.card__list {
  /* auto top margin pushes the list down so cards in a row line up. */
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-block: 3px;
}

.card__list svg {
  margin-top: 5px;
  color: var(--navy-500);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Split sections (workflow, assessments)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

.split--reverse .split__media {
  order: -1;
}

.split .lede {
  margin-top: 18px;
}

.split .steps {
  margin-top: 38px;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

  .split--reverse .split__media {
    order: 0;
  }
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 30px 62px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 52px;
  bottom: 8px;
  width: 1px;
  background: var(--border-strong);
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:last-child::after {
  display: none;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* Instrument chips on the navy assessments panel */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xs);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
}

.panel {
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.panel__row:first-child {
  padding-top: 0;
}

.panel__name {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
}

.panel__note {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  font-weight: 400;
}

.panel__score {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 600;
  white-space: nowrap;
}

.panel__score small {
  color: #6ee7b7;
  font-size: 0.8125rem;
  font-weight: 500;
}

.panel__score small.is-flag {
  color: #fca5a5;
}

/* --------------------------------------------------------------------------
   Billing and contacts
   -------------------------------------------------------------------------- */

/* Checked benefit list for split sections. */
.checklist {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding-block: 6px;
}

.checklist svg {
  margin-top: 6px;
  color: var(--navy-500);
  flex-shrink: 0;
}

/* Invoice ledger visual — the light-background counterpart to .panel. */
.ledger {
  padding: 26px 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.ledger__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--border);
}

.ledger__title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.ledger__meta {
  color: var(--ink-faint);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.ledger__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-block: 18px;
  border-bottom: 1px solid var(--border);
}

.ledger__stat-label {
  color: var(--ink-faint);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ledger__stat-value {
  color: var(--navy-800);
  font-size: 1.0625rem;
  font-weight: 600;
}

.ledger__stat-value.is-overdue {
  color: var(--danger);
}

.ledger__rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ledger__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 13px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.ledger__rows li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ledger__ref {
  color: var(--ink-soft);
}

.ledger__ref strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

.ledger__amount {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.tag {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tag--paid {
  background: var(--success-bg);
  color: var(--success);
}

.tag--sent {
  background: var(--navy-50);
  color: var(--navy-600);
}

.tag--overdue {
  background: var(--danger-bg);
  color: var(--danger);
}

@media (max-width: 400px) {
  .ledger__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* --------------------------------------------------------------------------
   Security
   -------------------------------------------------------------------------- */

.security-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.security-list li {
  display: flex;
  gap: 15px;
}

.security-list svg {
  margin-top: 3px;
  color: var(--navy-500);
  flex-shrink: 0;
}

.security-list h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.security-list p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.notice {
  display: flex;
  gap: 13px;
  margin-top: 44px;
  padding: 18px 20px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.notice svg {
  margin-top: 3px;
  color: var(--navy-600);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Audience cards
   -------------------------------------------------------------------------- */

.audience-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.audience-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.audience-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.audience-card__body {
  padding: 24px 24px 28px;
}

.audience-card h3 {
  margin-bottom: 8px;
}

.audience-card p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-card {
  max-width: 620px;
  margin-inline: auto;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pricing-card__head {
  padding: 36px 38px 32px;
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.pricing-card__tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: #ffffff;
}

.price__currency {
  font-size: 1.75rem;
  font-weight: 500;
  align-self: flex-start;
  margin-top: 8px;
}

.price__amount {
  font-size: clamp(3.25rem, 2.4rem + 3vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price__period {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  font-weight: 400;
}

.pricing-card__sub {
  margin-top: 12px;
  font-size: 0.9375rem;
}

.pricing-card__body {
  padding: 34px 38px 38px;
}

.pricing-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

@media (max-width: 560px) {
  .pricing-list {
    grid-template-columns: 1fr;
  }

  .pricing-card__head,
  .pricing-card__body {
    padding-inline: 24px;
  }
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-block: 6px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.pricing-list svg {
  margin-top: 5px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card__foot {
  margin-top: 18px;
  color: var(--ink-faint);
  font-size: 0.8125rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: 0;
  color: var(--navy-800);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.faq__question:hover {
  color: var(--navy-600);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.22s var(--ease);
}

.faq__icon::before {
  width: 14px;
  height: 1.5px;
}

.faq__icon::after {
  width: 1.5px;
  height: 14px;
}

.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq__answer {
  overflow: hidden;
  height: 0;
  transition: height 0.26s var(--ease);
}

.faq__answer p {
  padding: 0 44px 24px 4px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

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

.contact__points {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.contact__points li {
  display: flex;
  gap: 12px;
  padding-block: 9px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.contact__points svg {
  margin-top: 4px;
  color: var(--navy-500);
  flex-shrink: 0;
}

.form {
  padding: 32px 32px 34px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (max-width: 520px) {
  .form {
    padding: 24px 20px 26px;
  }
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field--full {
  grid-column: 1 / -1;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  color: var(--navy-800);
  font-size: 0.8125rem;
  font-weight: 500;
}

.field label .opt {
  color: var(--ink-faint);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  color: var(--ink);
  font-size: 0.9375rem;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6b85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(29, 78, 137, 0.14);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field__error {
  display: none;
  color: var(--danger);
  font-size: 0.75rem;
}

.field__error.is-visible {
  display: block;
}

.form__foot {
  margin-top: 24px;
}

.form__note {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
}

.form__status {
  display: none;
  gap: 11px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.form__status.is-visible {
  display: flex;
}

.form__status[data-state="success"] {
  background: var(--success-bg);
  color: var(--success);
}

.form__status[data-state="error"] {
  background: #fae9e7;
  color: var(--danger);
}

.form__status svg {
  margin-top: 2px;
  flex-shrink: 0;
}

.form__status .icon-error,
.form__status[data-state="error"] .icon-success {
  display: none;
}

.form__status[data-state="error"] .icon-error {
  display: block;
}

/* Honeypot — hidden from people, visible to naive bots */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: 60px 34px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

.site-footer .brand,
.site-footer .brand:hover {
  color: #ffffff;
}

.site-footer .brand__mark {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer .brand__by {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__blurb {
  max-width: 34ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.site-footer li {
  padding-block: 5px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.18s var(--ease);
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
}

.site-footer__bottom p {
  margin: 0;
}
