/* ==========================================================================
   ScholarBridge — shared stylesheet
   Bridging journals to global publishing standards
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand palette */
  --navy: #0b2545;
  --navy-deep: #071a33;
  --navy-soft: #123459;
  --teal: #13a89e;
  --teal-bright: #2fc5ba;
  --teal-dark: #0e8c83;
  --teal-ink: #087a72;
  --teal-tint: #e6f6f5;
  --teal-wash: #f1faf9;
  --gold: #e8b04b;
  --gold-soft: #f7e4ba;
  --off-white: #f7f9fc;
  --white: #ffffff;
  --slate: #4a5568;

  /* Semantic palette */
  --bg: var(--off-white);
  --surface: var(--white);
  --surface-soft: #eff5fa;
  --heading: var(--navy);
  --body: var(--slate);
  --muted: #5b6b80;
  --line: #dce5ef;
  --line-strong: #c7d5e3;
  --field: #f8fafc;
  --field-border: #d3deea;
  --header-solid: rgba(255, 255, 255, 0.96);
  --selection: #c6f1ed;
  --star: #c88616;

  /* Type */
  --font-heading: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --gutter: 24px;
  --header-height: 84px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Elevation */
  --shadow-card: 0 2px 4px rgba(11, 37, 69, 0.025),
    0 18px 38px -22px rgba(11, 37, 69, 0.18);
  --shadow-card-hover: 0 4px 10px rgba(11, 37, 69, 0.04),
    0 26px 50px -22px rgba(11, 37, 69, 0.28);
  --shadow-panel: 0 30px 80px -30px rgba(2, 15, 30, 0.55);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 220ms;

  /* Logo defaults (light surfaces) */
  --brand-scholar: var(--heading);
  --brand-bridge: var(--teal-dark);
  --brand-tagline: var(--muted);
  --brand-divider: var(--line-strong);
  --brand-book: var(--navy);
  --brand-book-lines: #dce8f4;
  --brand-arch: var(--teal);
  --brand-inner-arch: #7ddad3;
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0a1628;
  --surface: #0f1f35;
  --surface-soft: #0c1b2f;
  --heading: #eef4fb;
  --body: #b6c4d6;
  --muted: #9bacc0;
  --line: #22354e;
  --line-strong: #314761;
  --field: #0b1a2d;
  --field-border: #2a3e59;
  --header-solid: rgba(12, 26, 46, 0.96);
  --teal-ink: #4dd9ce;
  --teal-tint: #0d2a2d;
  --teal-wash: #0b222b;
  --gold-soft: #44361c;
  --selection: #145e5a;
  --star: #f2c46f;

  --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.18),
    0 20px 45px -24px rgba(0, 0, 0, 0.7);
  --shadow-card-hover: 0 5px 14px rgba(0, 0, 0, 0.22),
    0 28px 55px -24px rgba(0, 0, 0, 0.8);
}

/* Dark-surface logo (footer, hero, stacked mark) */
.brand--on-dark {
  --brand-scholar: #ffffff;
  --brand-bridge: var(--teal-bright);
  --brand-tagline: #b7c9db;
  --brand-divider: rgba(255, 255, 255, 0.28);
  --brand-book: #ffffff;
  --brand-book-lines: #49617a;
  --brand-arch: var(--teal-bright);
  --brand-inner-arch: #8ce2da;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 250ms ease, color 250ms ease;
}

body.nav-open {
  overflow: hidden;
}

main {
  display: block;
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

a {
  color: var(--teal-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--heading);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.22;
  letter-spacing: -0.028em;
}

h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.35;
}

h4 {
  font-size: 1rem;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--selection);
  color: var(--heading);
}

:focus-visible {
  outline: 3px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible,
.contact-option :focus-visible,
.price-card--featured :focus-visible,
.custom-package :focus-visible {
  outline-color: var(--gold);
}

[data-theme="dark"] :focus-visible {
  outline-color: var(--gold);
}

.site-header:not(.is-scrolled):not(.nav-open) :focus-visible {
  outline-color: var(--gold);
}

:target {
  scroll-margin-top: calc(var(--header-height) + 96px);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 26px);
}

article[id] {
  scroll-margin-top: calc(var(--header-height) + 100px);
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--container-narrow), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  position: relative;
}

.section--white {
  background: var(--surface);
}

.section--soft {
  background: var(--bg);
}

.section--tint {
  background: var(--teal-tint);
}

.section--flush-top {
  padding-top: 0;
}

.section--flush-bottom {
  padding-bottom: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--gold);
  color: #172337;
  font-weight: 700;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 0;
  color: #172337;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--teal-ink);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--gold);
  transform: rotate(45deg);
}

.eyebrow--light {
  color: #b2ebe5;
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.section-head h2 {
  margin-top: 14px;
}

.section-head p {
  max-width: 620px;
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.section-head--center {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(2.6rem, 4.5vw, 3.8rem);
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center p {
  margin-inline: auto;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  max-width: none;
}

.section-head--split .section-head__main {
  max-width: 700px;
}

.section-head--split .section-head__aside {
  padding-bottom: 6px;
}

.section-head--split .section-head__aside p {
  max-width: 420px;
}

.section-head--split .section-head__aside .text-link {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.text-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform var(--speed) var(--ease);
}

.text-link:hover {
  color: var(--heading);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.edit-flag {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid rgba(156, 108, 17, 0.34);
  border-radius: 4px;
  background: rgba(232, 176, 75, 0.14);
  color: #78500f;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 1px;
}

[data-theme="dark"] .edit-flag {
  border-color: rgba(232, 176, 75, 0.34);
  color: #f0c675;
}

button.edit-flag {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition:
    background-color var(--speed) ease,
    border-color var(--speed) ease,
    color var(--speed) ease;
}

button.edit-flag:hover {
  border-color: rgba(156, 108, 17, 0.6);
  background: rgba(232, 176, 75, 0.26);
  color: #5f400e;
}

button.edit-flag:focus-visible {
  outline: 2px solid var(--teal-ink);
  outline-offset: 2px;
}

.site-footer button.edit-flag:hover,
.about-cta button.edit-flag:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.price-amount[data-edit-trigger] {
  cursor: pointer;
}

.price-amount[data-edit-trigger]:hover {
  color: var(--teal-ink);
}

.price-amount[data-edit-trigger]:focus-visible {
  outline: 2px solid var(--teal-ink);
  outline-offset: 4px;
  border-radius: 3px;
}

.price-card--featured .price-amount[data-edit-trigger]:hover {
  color: var(--teal-bright);
}

.price-card--featured .price-amount[data-edit-trigger]:focus-visible {
  outline-color: var(--gold);
}

/* Editable placeholder popover */
.edit-popover {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 19px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 24px 70px -22px rgba(4, 19, 37, 0.55);
  color: var(--body);
}

.edit-popover[hidden] {
  display: none;
}

.edit-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.edit-popover__eyebrow {
  margin: 0;
  color: var(--teal-ink);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.edit-popover__close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--heading);
  font-size: 1rem;
  line-height: 1;
}

.edit-popover__close:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
}

.edit-popover__context {
  margin-top: 11px;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.edit-popover__source {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  color: var(--body);
  font-size: 0.74rem;
  line-height: 1.55;
}

.edit-popover__source span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.edit-popover__source code {
  display: block;
  color: var(--heading);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.edit-popover__hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.6;
}

.edit-popover__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
}

.edit-popover__copy {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--heading);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
}

.edit-popover__copy:hover {
  border-color: var(--teal);
  color: var(--teal-ink);
}

.edit-popover__copy-status {
  color: var(--teal-ink);
  font-size: 0.69rem;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .edit-popover {
    top: auto !important;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px !important;
    width: auto;
    max-height: min(72dvh, 470px);
  }
}

[data-theme="dark"] .partner-badge__mark {
  color: var(--heading);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0.82rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--speed) ease,
    color var(--speed) ease,
    border-color var(--speed) ease,
    transform var(--speed) var(--ease),
    box-shadow var(--speed) ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #071b2e;
  box-shadow: 0 10px 24px -12px rgba(19, 168, 158, 0.65);
}

.btn--primary:hover {
  background: var(--teal-bright);
  border-color: var(--teal-bright);
  color: #071b2e;
  box-shadow: 0 14px 30px -12px rgba(19, 168, 158, 0.75);
}

.btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--heading);
}

.btn--outline:hover {
  background: var(--surface);
  border-color: var(--teal);
  color: var(--heading);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

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

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

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

.btn--light:hover {
  background: var(--teal-tint);
  border-color: var(--teal-tint);
  color: var(--navy);
}

.btn--small {
  min-height: 40px;
  padding: 0.6rem 1.08rem;
  font-size: 0.82rem;
}

.btn--large {
  min-height: 52px;
  padding: 0.92rem 1.7rem;
  font-size: 0.97rem;
}

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

/* --------------------------------------------------------------------------
   5. Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: var(--header-solid);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(4, 20, 40, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
}

/* Brand / logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 1 auto;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-emblem {
  width: 57px;
  height: auto;
  flex: 0 0 auto;
  overflow: visible;
}

.brand-emblem .logo-book {
  fill: var(--brand-book);
  transition: fill 220ms ease;
}

.brand-emblem .logo-book-lines {
  stroke: var(--brand-book-lines);
  transition: stroke 220ms ease;
}

.brand-emblem .logo-arch {
  stroke: var(--brand-arch);
  transition: stroke 220ms ease;
}

.brand-emblem .logo-inner-arch {
  stroke: var(--brand-inner-arch);
  transition: stroke 220ms ease;
}

.brand-divider {
  width: 1px;
  height: 44px;
  flex: 0 0 auto;
  background: var(--brand-divider);
  transition: background-color 220ms ease;
}

.brand-type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.brand-word {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.62rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-scholar {
  color: var(--brand-scholar);
  transition: color 220ms ease;
}

.brand-bridge {
  color: var(--brand-bridge);
  transition: color 220ms ease;
}

.brand-rule {
  position: relative;
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 5px;
}

.brand-rule::before {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.82;
}

.brand-rule::after {
  content: "";
  position: absolute;
  top: 0.5px;
  left: calc(50% - 2.5px);
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.brand-tagline {
  display: block;
  margin-top: 3px;
  color: var(--brand-tagline);
  font-family: var(--font-body);
  font-size: 0.405rem;
  font-weight: 600;
  letter-spacing: 0.155em;
  line-height: 1.45;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 220ms ease;
}

/* Header state colouring */
.site-header {
  --brand-scholar: #ffffff;
  --brand-bridge: var(--teal-bright);
  --brand-tagline: #c0d2e3;
  --brand-divider: rgba(255, 255, 255, 0.28);
  --brand-book: #ffffff;
  --brand-book-lines: #49617a;
  --brand-arch: var(--teal-bright);
  --brand-inner-arch: #8ce2da;
}

.site-header.is-scrolled,
.site-header.nav-open {
  --brand-scholar: var(--heading);
  --brand-bridge: var(--teal-dark);
  --brand-tagline: var(--muted);
  --brand-divider: var(--line-strong);
  --brand-book: var(--navy);
  --brand-book-lines: #dce8f4;
  --brand-arch: var(--teal);
  --brand-inner-arch: #7ddad3;
}

[data-theme="dark"] .site-header.is-scrolled,
[data-theme="dark"] .site-header.nav-open {
  --brand-scholar: #ffffff;
  --brand-bridge: var(--teal-bright);
  --brand-tagline: #b7c9db;
  --brand-divider: rgba(255, 255, 255, 0.2);
  --brand-book: #ffffff;
  --brand-book-lines: #49617a;
  --brand-arch: var(--teal-bright);
  --brand-inner-arch: #8ce2da;
}

/* Desktop navigation */
.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.7vw, 1.55rem);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 4px 0;
  color: #eaf2f9;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.012em;
  text-decoration: none;
  transition: color 220ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width var(--speed) var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

.site-header.is-scrolled .nav-link,
.site-header.nav-open .nav-link {
  color: var(--body);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link[aria-current="page"],
.site-header.nav-open .nav-link:hover,
.site-header.nav-open .nav-link[aria-current="page"] {
  color: var(--heading);
}

[data-theme="dark"] .site-header.is-scrolled .nav-link,
[data-theme="dark"] .site-header.nav-open .nav-link {
  color: var(--body);
}

[data-theme="dark"] .site-header.is-scrolled .nav-link:hover,
[data-theme="dark"] .site-header.is-scrolled .nav-link[aria-current="page"],
[data-theme="dark"] .site-header.nav-open .nav-link:hover,
[data-theme="dark"] .site-header.nav-open .nav-link[aria-current="page"] {
  color: #ffffff;
}

.nav-link[aria-current="page"]::after {
  background: var(--gold);
}

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

.header-cta {
  min-height: 42px;
  padding-inline: 1.15rem;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition:
    background-color var(--speed) ease,
    border-color var(--speed) ease,
    color var(--speed) ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.site-header.is-scrolled .theme-toggle,
.site-header.nav-open .theme-toggle {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--heading);
}

.site-header.is-scrolled .theme-toggle:hover,
.site-header.nav-open .theme-toggle:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
}

/* Menu toggle */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.site-header.is-scrolled .nav-toggle,
.site-header.nav-open .nav-toggle {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--heading);
}

.nav-toggle__box {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: background-color 180ms ease;
}

.nav-toggle__box::before,
.nav-toggle__box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}

.nav-toggle__box::before {
  top: -6px;
}

.nav-toggle__box::after {
  top: 6px;
}

.site-header.nav-open .nav-toggle__box {
  background: transparent;
}

.site-header.nav-open .nav-toggle__box::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle__box::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav-cta {
  display: none;
}

/* --------------------------------------------------------------------------
   6. Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(960px, 100svh);
  padding: calc(var(--header-height) + clamp(3.2rem, 7vw, 6.2rem)) 0
    clamp(4.2rem, 7vw, 6.5rem);
  overflow: hidden;
  color: #eaf2f9;
  background:
    radial-gradient(circle at 81% 16%, rgba(44, 206, 194, 0.22), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(13, 85, 109, 0.46), transparent 42%),
    linear-gradient(116deg, #071a33 0%, #0b2545 45%, #0b4352 74%, #0b716e 105%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.17) 0.8px, transparent 0.8px);
  background-size: 27px 27px;
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.86), transparent 68%);
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.86), transparent 68%);
  opacity: 0.52;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -340px;
  z-index: -1;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.018),
    0 0 0 180px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.hero-art {
  position: absolute;
  right: -5%;
  bottom: -8%;
  z-index: -1;
  width: min(880px, 66vw);
  height: auto;
  color: #b6f0ea;
  opacity: 0.72;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  gap: clamp(2.2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.hero-title {
  max-width: 760px;
  margin-top: 24px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 4.4vw, 4.05rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-title .accent {
  color: #a2e8e1;
  position: relative;
  white-space: nowrap;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.03em;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.92;
}

.hero-lede {
  max-width: 590px;
  margin-top: 25px;
  color: #d5e2ee;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.76;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
  color: #c5d6e4;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-trust li:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.9;
}

/* Hero launch overview image */
.hero-promo {
  justify-self: end;
  width: 100%;
  max-width: 600px;
  margin: 0;
}

.hero-promo__frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 45px 90px -32px rgba(0, 0, 0, 0.7);
}

.hero-promo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-promo figcaption {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.hero-promo figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  color: #d8e7f0;
  font-size: 0.71rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.hero-promo figcaption a:hover {
  border-bottom-color: #ffffff;
  color: #ffffff;
}

.hero-promo figcaption svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 1030px) {
  .hero-promo {
    width: min(100%, 380px);
  }
}

@media (max-width: 940px) {
  .hero-promo {
    justify-self: center;
    width: min(78%, 390px);
    margin-bottom: 8px;
  }
}

@media (max-width: 560px) {
  .hero-promo {
    width: min(92%, 350px);
  }
}

/* Hero journal illustration */
.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 390px);
  margin-right: 14px;
  padding: 16px 10px 34px 30px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -70px -110px -90px -120px;
  z-index: -1;
  border: 1px solid rgba(170, 239, 232, 0.15);
  border-radius: 50%;
  transform: rotate(-16deg);
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: -36px;
  left: -6px;
  width: 72px;
  height: 72px;
  border: 1px dashed rgba(232, 176, 75, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

.journal-back {
  position: absolute;
  inset: 10% 3% 6% 12%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(5.5deg);
  box-shadow: 0 30px 70px rgba(2, 15, 30, 0.22);
}

.journal-cover {
  position: relative;
  aspect-ratio: 3 / 4.05;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background:
    radial-gradient(circle at 78% 16%, rgba(47, 197, 186, 0.32), transparent 34%),
    linear-gradient(154deg, #071c34 2%, #0a2c42 54%, #0b5f63 100%);
  box-shadow: 0 45px 90px -32px rgba(0, 0, 0, 0.7);
  transform: rotate(-2.2deg);
}

.journal-cover::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 3px;
  pointer-events: none;
}

.journal-cover::after {
  content: "";
  position: absolute;
  top: 31%;
  right: -34%;
  width: 86%;
  aspect-ratio: 1;
  border: 1px solid rgba(142, 226, 218, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(142, 226, 218, 0.03),
    0 0 0 52px rgba(142, 226, 218, 0.02);
  pointer-events: none;
}

.cover-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #d3e8ef;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cover-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cover-brand::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.cover-rule {
  position: relative;
  z-index: 1;
  height: 1px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.cover-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 75%;
}

.cover-overline {
  margin-top: 35px;
  color: #9de4dc;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cover-title {
  margin-top: 18px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.cover-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.cover-bridge {
  width: 74%;
  margin-top: 20px;
  color: #a8e9e2;
  opacity: 0.8;
}

.cover-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #c4d9e5;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.cover-bottom span {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cover-bottom span:not(:last-child)::after {
  content: "/";
  color: var(--gold);
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 174px;
  padding: 12px 15px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px -16px rgba(4, 20, 37, 0.48);
  color: var(--navy);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-chip strong,
.hero-chip small {
  display: block;
}

.hero-chip strong {
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-chip small {
  margin-top: 1px;
  color: #5f6f81;
  font-size: 0.61rem;
  line-height: 1.4;
}

.hero-chip__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.hero-chip__icon svg {
  width: 17px;
  height: 17px;
}

.hero-chip--one {
  top: 23%;
  right: -45px;
}

.hero-chip--two {
  bottom: 8%;
  left: -46px;
}

.hero-chip--two .hero-chip__icon {
  background: #fcf3df;
  color: #8b5d10;
}

/* --------------------------------------------------------------------------
   7. Page hero (subpages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-height) + clamp(3.2rem, 6vw, 5rem)) 0
    clamp(4.2rem, 7vw, 6rem);
  color: #e9f2f9;
  background:
    radial-gradient(circle at 85% 12%, rgba(31, 176, 167, 0.3), transparent 32%),
    radial-gradient(circle at 78% 95%, rgba(24, 124, 132, 0.24), transparent 36%),
    linear-gradient(118deg, #071a33 0%, #0b2545 48%, #0b3e50 78%, #0e716e 115%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.8px, transparent 0.8px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(105deg, rgba(0, 0, 0, 0.8), transparent 72%);
  mask-image: linear-gradient(105deg, rgba(0, 0, 0, 0.8), transparent 72%);
  opacity: 0.45;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: #aebfd0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: #d8e4ee;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
  color: rgba(232, 176, 75, 0.85);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 4rem;
  align-items: center;
}

.page-hero-copy {
  max-width: 800px;
}

.page-hero h1 {
  margin-top: 20px;
  color: #ffffff;
  font-size: clamp(2.65rem, 5vw, 4.2rem);
  max-width: 850px;
}

.page-hero-lede {
  max-width: 680px;
  margin-top: 22px;
  color: #d2dfeb;
  font-size: clamp(1rem, 1.25vw, 1.09rem);
  line-height: 1.75;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  color: #b9eee9;
}

.page-hero-art::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(174, 235, 230, 0.16);
  border-radius: 50%;
}

.page-hero-art::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(232, 176, 75, 0.1);
}

.page-hero-index {
  position: absolute;
  right: 12px;
  bottom: -10px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--font-heading);
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
}

.page-hero-art svg {
  width: 210px;
  opacity: 0.72;
}

/* Home-page launch image reused in the secondary page heroes */
.page-hero-grid .page-hero-promo {
  width: 100%;
  max-width: 280px;
}

@media (max-width: 940px) {
  .page-hero-grid .page-hero-promo {
    max-width: 320px;
    margin-top: 0.25rem;
  }
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--body);
  text-decoration: none;
  transition:
    transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    border-color var(--speed) ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(19, 168, 158, 0.48);
  box-shadow: var(--shadow-card-hover);
  color: var(--body);
}

.service-card__icon,
.icon-circle {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 1px solid rgba(19, 168, 158, 0.16);
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
  transition: background-color var(--speed) ease, color var(--speed) ease;
}

.service-card:hover .service-card__icon {
  background: var(--teal);
  color: #071b2e;
}

.service-card__icon svg,
.icon-circle svg {
  width: 23px;
  height: 23px;
}

.service-card h3 {
  margin-top: 22px;
  color: var(--heading);
  font-size: 1.03rem;
  line-height: 1.38;
  letter-spacing: -0.018em;
}

.service-card p {
  margin-top: 11px;
  color: var(--body);
  font-size: 0.88rem;
  line-height: 1.68;
}

.service-card__link {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--teal-ink);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.service-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--speed) var(--ease);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

.services-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.services-footnote a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. Why journals choose ScholarBridge
   -------------------------------------------------------------------------- */
.why-choose {
  padding-bottom: 0;
}

.why-choose .section-head--center {
  margin-bottom: clamp(2.4rem, 4.5vw, 3.6rem);
}

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

.why-card {
  display: flex;
  flex-direction: column;
  padding: 27px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    border-color var(--speed) ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 168, 158, 0.38);
  box-shadow: var(--shadow-card-hover);
}

.why-card:last-child {
  grid-column: 2 / 3;
}

.why-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(19, 168, 158, 0.16);
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.why-card__icon svg {
  width: 21px;
  height: 21px;
}

.why-card h3 {
  margin-top: 19px;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.018em;
}

.why-card p {
  margin-top: 8px;
  color: var(--body);
  font-size: 0.85rem;
  line-height: 1.7;
}

.promise-strip {
  margin-top: clamp(3.2rem, 6vw, 4.8rem);
  padding: clamp(1.4rem, 2.8vw, 1.85rem) 0;
  border-top: 2px solid var(--gold);
  background: var(--navy);
  color: #ffffff;
}

.promise-strip p {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.03rem, 1.8vw, 1.27rem);
  line-height: 1.55;
  letter-spacing: -0.012em;
  text-align: center;
}

.promise-strip strong {
  color: #f5d79a;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9b. Services by publishing stage
   -------------------------------------------------------------------------- */
.stage-services {
  overflow: hidden;
}

.stage-tabs {
  margin-top: clamp(2.3rem, 4vw, 3.2rem);
}

.stage-tablist {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(950px, 100%);
  margin: 0 auto clamp(1.9rem, 3.5vw, 2.8rem);
}

.stage-tablist::before,
.stage-tablist::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 12.5%;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
  pointer-events: none;
}

.stage-tablist::before {
  right: 12.5%;
}

.stage-tablist::after {
  z-index: 0;
  width: var(--stage-progress, 0%);
  max-width: 75%;
  background: var(--teal);
  transition: width 420ms var(--ease);
}

.stage-tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--body);
  text-align: center;
}

.stage-tab__node {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--teal-ink);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  transition:
    background-color var(--speed) ease,
    border-color var(--speed) ease,
    color var(--speed) ease,
    box-shadow var(--speed) ease;
}

.stage-tab:hover .stage-tab__node {
  border-color: var(--teal);
  background: var(--surface);
}

.stage-tab__name {
  margin-top: 11px;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.stage-tab__hint {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.45;
}

.stage-tab[aria-selected="true"] .stage-tab__node {
  border-color: var(--teal);
  background: var(--teal);
  color: #071b2e;
  box-shadow: 0 0 0 5px rgba(19, 168, 158, 0.12);
}

.stage-tab[aria-selected="true"] .stage-tab__hint {
  color: var(--teal-ink);
}

.stage-panel[hidden] {
  display: none;
}

.stage-panel:not([hidden]) {
  animation: stage-panel-in 380ms var(--ease) both;
}

@keyframes stage-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.stage-card {
  display: flex;
  flex-direction: column;
  padding: 25px 23px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.stage-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(19, 168, 158, 0.2);
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.stage-card__icon svg {
  width: 19px;
  height: 19px;
}

.stage-card h3 {
  margin-top: 17px;
  font-size: 0.97rem;
  letter-spacing: -0.015em;
  line-height: 1.42;
}

.stage-card > p:not(.stage-card__deliverables) {
  margin-top: 8px;
  color: var(--body);
  font-size: 0.83rem;
  line-height: 1.7;
}

.stage-card__deliverables {
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.stage-card__deliverables span {
  color: var(--muted);
  font-weight: 700;
}

.stage-accordions {
  display: none;
}

.stage-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 2.8rem);
}

@media (max-width: 899px) {
  .stage-tabs {
    display: none;
  }

  .stage-accordions {
    display: grid;
    gap: 12px;
    margin-top: clamp(2rem, 5vw, 2.8rem);
  }

  .stage-acc {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }

  .stage-acc summary {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 66px;
    padding: 14px 17px;
    color: var(--heading);
    cursor: pointer;
    list-style: none;
    transition: background-color var(--speed) ease;
  }

  .stage-acc summary::-webkit-details-marker {
    display: none;
  }

  .stage-acc summary:hover {
    background: var(--teal-wash);
  }

  .stage-acc summary:focus-visible {
    outline: 3px solid var(--teal-ink);
    outline-offset: -3px;
  }

  .stage-acc[open] summary {
    border-bottom: 1px solid var(--line);
    background: var(--teal-wash);
  }

  .stage-acc__node {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--teal-ink);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1;
  }

  .stage-acc[open] .stage-acc__node {
    border-color: var(--teal);
    background: var(--teal);
    color: #071b2e;
  }

  .stage-acc__titles {
    min-width: 0;
    flex: 1;
  }

  .stage-acc__name {
    display: block;
    color: var(--heading);
    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.4;
  }

  .stage-acc__hint {
    display: block;
    margin-top: 1px;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .stage-acc__toggle {
    position: relative;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--surface);
  }

  .stage-acc__toggle::before,
  .stage-acc__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--teal-ink);
    transform: translate(-50%, -50%);
  }

  .stage-acc__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 220ms var(--ease), opacity 220ms ease;
  }

  .stage-acc[open] .stage-acc__toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .stage-acc__body {
    padding: 16px;
  }

  .stage-acc .stage-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .stage-acc .stage-card {
    padding: 19px;
    background: var(--bg);
    box-shadow: none;
  }

  .stage-card h3 {
    margin-top: 13px;
  }

  .stage-card__deliverables {
    padding-top: 13px;
  }
}

/* --------------------------------------------------------------------------
   10. Process
   -------------------------------------------------------------------------- */
.process-head {
  max-width: 720px;
}

.process-head .process-lede {
  max-width: 620px;
  margin-top: 16px;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.75;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 3.8rem);
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 34px 26px 0 0;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: var(--bg);
}

.step:first-child::before {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(19, 168, 158, 0.12);
}

.step + .step {
  padding-left: 26px;
}

.step__num {
  display: block;
  color: var(--teal-ink);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.step h3 {
  margin-top: 14px;
  font-size: 1rem;
}

.step p {
  margin-top: 9px;
  font-size: 0.86rem;
  line-height: 1.68;
}

.process-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 26px;
  margin-top: 42px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.process-note p {
  color: var(--body);
  font-size: 0.89rem;
}

.process-note strong {
  color: var(--heading);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   11. Partners
   -------------------------------------------------------------------------- */
.partners-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(2.3rem, 5vw, 5rem);
  align-items: center;
}

.partner-badges {
  display: grid;
  gap: 16px;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--speed) ease, background-color var(--speed) ease;
}

.partner-badge:hover {
  border-color: rgba(19, 168, 158, 0.38);
  background: var(--teal-wash);
}

.partner-badge__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--navy);
}

.partner-badge__mark svg {
  width: 31px;
  height: 31px;
}

.partner-badge__body {
  min-width: 0;
}

.partner-badge__label {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.partner-badge__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.partner-badge__desc {
  display: block;
  margin-top: 3px;
  color: var(--body);
  font-size: 0.8rem;
  line-height: 1.55;
}

.partners-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

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

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 30px 27px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.quote-card__mark {
  position: absolute;
  top: 10px;
  right: 22px;
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.13;
  pointer-events: none;
}

.quote-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.012em;
}

.quote-card blockquote::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 20px;
  background: var(--gold);
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 25px;
}

.quote-avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
}

.quote-attribution {
  color: var(--heading);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.quote-role {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
}

.testimonial-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-section {
  overflow: hidden;
  border-top: 1px solid rgba(19, 168, 158, 0.12);
  border-bottom: 1px solid rgba(19, 168, 158, 0.12);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.cta-copy h2 {
  margin-top: 16px;
}

.cta-copy p {
  max-width: 600px;
  margin-top: 16px;
  color: var(--body);
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: flex-end;
}

.cta-note {
  grid-column: 1 / -1;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
}

.cta-section .cta-art {
  position: absolute;
  top: 50%;
  right: 3%;
  width: 330px;
  color: var(--teal-dark);
  opacity: 0.08;
  transform: translateY(-50%);
  pointer-events: none;
}

[data-theme="dark"] .cta-section .cta-art {
  color: var(--teal-bright);
  opacity: 0.12;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: 0;
  background: var(--navy);
  color: #aebfd0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(130px, 0.8fr) minmax(165px, 0.95fr) minmax(205px, 1.1fr);
  gap: 2.2rem;
  padding: clamp(3rem, 6vw, 3.5rem) 0 clamp(2rem, 4vw, 2.4rem);
}

.footer-brand .brand {
  gap: 11px;
}

.footer-brand .brand-emblem {
  width: 51px;
}

.footer-brand .brand-word {
  font-size: 1.48rem;
}

.footer-brand .brand-tagline {
  font-size: 0.38rem;
}

.footer-description {
  max-width: 330px;
  margin-top: 1.15rem;
  color: #aebfd0;
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-heading {
  margin: 3px 0 1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #b4c5d6;
  font-size: 0.87rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color var(--speed) ease;
}

.footer-links a:hover {
  color: var(--teal-bright);
}

.footer-contact {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #b4c5d6;
  font-size: 0.85rem;
  line-height: 1.65;
}

.footer-contact a {
  color: #d2dfea;
  text-decoration: underline;
  text-decoration-color: rgba(210, 223, 234, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--speed) ease;
}

.footer-contact a:hover {
  color: var(--teal-bright);
}

.footer-contact .edit-flag,
.site-footer .edit-flag {
  margin-left: 3px;
  border-color: rgba(232, 176, 75, 0.36);
  background: rgba(232, 176, 75, 0.12);
  color: #f0c675;
  font-size: 0.55rem;
  letter-spacing: 0.04em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 11px 26px;
  padding: 1.3rem 0 1.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #8599ad;
  font-size: 0.76rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  color: #a9bdce;
  font-size: 0.76rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--speed) ease;
}

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

/* Floating WhatsApp action */
.wa-float {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #ffffff;
  box-shadow: 0 12px 28px -10px rgba(7, 27, 51, 0.65);
  transition: background-color var(--speed) ease, transform var(--speed) var(--ease), box-shadow var(--speed) ease;
}

.wa-float:hover {
  background: #0b6f68;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -12px rgba(7, 27, 51, 0.7);
}

.wa-float svg {
  width: 27px;
  height: 27px;
}

.wa-float:focus-visible {
  outline-color: var(--gold);
}

@media print {
  .wa-float {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   14b. Legal page
   -------------------------------------------------------------------------- */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.legal-toc__label {
  margin: 0 0 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 7px 0;
  color: var(--body);
  font-size: 0.82rem;
  line-height: 1.5;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--teal-ink);
}

.legal-note {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 34px;
  padding: 15px 17px;
  border: 1px solid rgba(232, 176, 75, 0.34);
  border-radius: 8px;
  background: rgba(232, 176, 75, 0.1);
  color: var(--body);
  font-size: 0.83rem;
  line-height: 1.65;
}

.legal-note .edit-flag {
  flex: 0 0 auto;
}

.legal-updated {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.76rem;
}

.legal-content {
  max-width: 760px;
}

.legal-content section {
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.legal-content section + section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
}

.legal-content p {
  margin-top: 12px;
  color: var(--body);
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.7;
}

.legal-content a {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   15. Services page
   -------------------------------------------------------------------------- */
.services-catalogue {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: var(--surface);
}

.services-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(2.4rem, 4.5vw, 4.8rem);
  align-items: start;
}

.services-sidebar {
  align-self: stretch;
  min-width: 0;
}

.services-sidebar__inner {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  max-height: calc(100svh - var(--header-height) - 56px);
  overflow-y: auto;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.services-sidebar__label {
  margin: 0 0 11px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.services-nav {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-nav a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--body);
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--speed) ease, background-color var(--speed) ease;
}

.services-nav a:hover {
  background: var(--bg);
  color: var(--heading);
}

.services-nav a.is-active {
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.services-nav a:focus-visible {
  outline-offset: 1px;
}

.services-nav__num {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.services-nav a.is-active .services-nav__num {
  color: var(--teal-ink);
}

.services-blocks {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.service-block {
  padding: clamp(26px, 4.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.service-block--alt {
  background: var(--bg);
}

.service-block:target {
  border-color: rgba(19, 168, 158, 0.55);
  box-shadow: 0 0 0 3px rgba(19, 168, 158, 0.1);
}

.service-block__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
}

.service-block__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(19, 168, 158, 0.18);
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.service-block__icon svg {
  width: 22px;
  height: 22px;
}

.service-block__num {
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-block h2 {
  max-width: 720px;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.service-block__description {
  max-width: 700px;
  margin-top: 13px;
  color: var(--body);
  font-size: 0.94rem;
  line-height: 1.78;
}

.service-turnaround {
  margin-top: 16px;
  color: var(--teal-ink);
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.65;
}

.service-turnaround .edit-flag {
  margin-left: 2px;
  font-size: 0.57rem;
}

.service-block h3 {
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.service-block__list {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.service-block__list li {
  position: relative;
  padding-left: 22px;
  color: var(--body);
  font-size: 0.86rem;
  line-height: 1.65;
}

.service-block__list li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 10px;
  height: 6px;
  border-left: 1.7px solid var(--teal-ink);
  border-bottom: 1.7px solid var(--teal-ink);
  transform: rotate(-45deg);
}

.service-request {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(8, 122, 114, 0.34);
  color: var(--teal-ink);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--speed) ease, border-color var(--speed) ease;
}

.service-request svg {
  width: 15px;
  height: 15px;
  transition: transform var(--speed) var(--ease);
}

.service-request:hover {
  border-color: var(--teal-ink);
  color: var(--heading);
}

.service-request:hover svg {
  transform: translateX(4px);
}

.custom-package {
  background:
    radial-gradient(circle at 91% 12%, rgba(47, 197, 186, 0.22), transparent 30%),
    var(--navy);
  color: #c5d6e4;
}

.custom-package__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.custom-package h2 {
  margin-top: 12px;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.custom-package p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 13px;
  color: #c5d6e4;
  font-size: 0.94rem;
  line-height: 1.75;
}

.custom-package__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.custom-package__actions .btn {
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   16. Pricing page
   -------------------------------------------------------------------------- */
.pricing-note {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.price-card--featured {
  overflow: hidden;
  border-color: rgba(19, 168, 158, 0.45);
  background:
    radial-gradient(circle at 90% 6%, rgba(47, 197, 186, 0.25), transparent 33%),
    linear-gradient(155deg, #0a213d, #0b2545 56%, #0b4b55);
  box-shadow: 0 32px 70px -30px rgba(7, 27, 51, 0.65);
  color: #d2e0eb;
  transform: translateY(-9px);
}

.price-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.price-card--featured h2,
.price-card--featured .price-amount,
.price-card--featured .price-from,
.price-card--featured .price-period,
.price-card--featured .plan-name {
  color: #ffffff;
}

.price-card--featured .plan-desc,
.price-card--featured .price-list li {
  color: #c5d6e4;
}

.price-card--featured .price-list li::before {
  border-color: var(--gold);
}

.price-card--featured .price-rule {
  background: rgba(255, 255, 255, 0.16);
}

.price-card--featured .price-list li svg {
  color: var(--gold);
}

.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.plan-name {
  color: var(--teal-ink);
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.price-card--featured .plan-name {
  color: #a4e8e1;
}

.plan-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: #3d2a07;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card h2 {
  margin-top: 10px;
  font-size: clamp(1.55rem, 2.4vw, 1.98rem);
}

.plan-desc {
  min-height: 48px;
  margin-top: 9px;
  color: var(--body);
  font-size: 0.84rem;
  line-height: 1.6;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 23px;
}

.price-from {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-amount {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 3.5vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price-period {
  color: var(--muted);
  font-size: 0.72rem;
}

.price-annual {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.price-annual__label {
  color: var(--teal-ink);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-annual__amount {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-annual__note {
  color: var(--muted);
}

.price-rule {
  height: 1px;
  margin: 25px 0 22px;
  background: var(--line);
}

.price-list {
  display: grid;
  gap: 11px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--body);
  font-size: 0.84rem;
  line-height: 1.55;
}

.price-list li svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--teal-ink);
}

.price-card .btn {
  margin-top: auto;
}

.pricing-footnote {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.compare-block {
  margin-top: clamp(4.5rem, 8vw, 6.5rem);
}

.compare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.compare-head h2 {
  margin-top: 10px;
}

.compare-head p {
  max-width: 440px;
  color: var(--body);
  font-size: 0.88rem;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.5;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--surface-soft);
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare-table thead th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: center;
}

.compare-table tbody th {
  color: var(--heading);
  font-weight: 600;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover {
  background: var(--bg);
}

.compare-check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.compare-check svg {
  width: 12px;
  height: 12px;
}

.compare-dash {
  color: var(--muted);
}

.pricing-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pricing-help h3 {
  font-size: 1.08rem;
}

.pricing-help p {
  margin-top: 6px;
  color: var(--body);
  font-size: 0.84rem;
}

/* --------------------------------------------------------------------------
   17. About page
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.8fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.story-copy h2 {
  max-width: 540px;
  margin-top: 14px;
}

.story-copy p {
  max-width: 600px;
  margin-top: 18px;
  font-size: 0.98rem;
  line-height: 1.8;
}

.story-copy blockquote {
  margin: 30px 0 0;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--gold);
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
}

.mark-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 46px 34px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 84% 10%, rgba(44, 206, 194, 0.26), transparent 34%),
    linear-gradient(150deg, #081d36, #0b2545 54%, #0a4c53);
  box-shadow: var(--shadow-panel);
  text-align: center;
}

.mark-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 76%);
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.mark-card::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(168, 233, 226, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(168, 233, 226, 0.025);
}

.mark-card .brand {
  flex-direction: column;
  gap: 18px;
  max-width: 100%;
}

.mark-card .brand-divider {
  display: none;
}

.mark-card .brand-emblem {
  width: 105px;
}

.mark-card .brand-type {
  align-items: center;
}

.mark-card .brand-word {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
}

.mark-card .brand-rule {
  width: 70%;
  margin-top: 9px;
}

.mark-card .brand-tagline {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.mark-card__caption {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin-top: 34px;
  color: #b8cedd;
  font-size: 0.75rem;
  line-height: 1.7;
}

.mark-card__caption strong {
  color: #ffffff;
  font-weight: 600;
}

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

.value-card {
  padding: 27px 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.value-card__icon svg {
  width: 20px;
  height: 20px;
}

.value-card h3 {
  margin-top: 19px;
  font-size: 0.98rem;
}

.value-card p {
  margin-top: 8px;
  font-size: 0.83rem;
  line-height: 1.7;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(2.3rem, 4vw, 3.2rem);
}

.audience-item {
  display: flex;
  gap: 18px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.audience-item__mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  border: 1px solid rgba(19, 168, 158, 0.2);
  border-radius: 50%;
  color: var(--teal-ink);
}

.audience-item__mark svg {
  width: 18px;
  height: 18px;
}

.audience-item h3 {
  font-size: 0.95rem;
}

.audience-item p {
  margin-top: 5px;
  font-size: 0.83rem;
  line-height: 1.65;
}

/* About page — structured overview */
.about-intro h2 {
  max-width: 760px;
  margin-top: 14px;
}

.about-prose {
  max-width: 800px;
  margin-top: 24px;
}

.about-prose p {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.82;
}

.about-prose p + p {
  margin-top: 17px;
}

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

.role-card {
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.role-card:nth-child(2) {
  border-top-color: var(--gold);
}

.role-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.role-card__icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.role-card:nth-child(2) .role-card__icon {
  background: rgba(232, 176, 75, 0.14);
  color: var(--star);
}

.role-card__icon svg {
  width: 21px;
  height: 21px;
}

.role-card__overline {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.role-card h3 {
  font-size: 1.12rem;
}

.role-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.role-list li {
  position: relative;
  padding-left: 22px;
  color: var(--body);
  font-size: 0.86rem;
  line-height: 1.65;
}

.role-list li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 10px;
  height: 6px;
  border-left: 1.7px solid var(--teal-ink);
  border-bottom: 1.7px solid var(--teal-ink);
  transform: rotate(-45deg);
}

.roles-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 740px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
  text-align: center;
}

.roles-note__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1;
}

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

.standards-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--body);
  font-size: 0.86rem;
  line-height: 1.65;
}

.standard-badge {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  border: 1px solid rgba(19, 168, 158, 0.18);
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.standard-badge svg {
  width: 17px;
  height: 17px;
}

.standards-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.65;
}

.not-do-box {
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid #efd1d1;
  border-left: 4px solid #bd5b5b;
  border-radius: var(--radius);
  background: #fbebeb;
}

.eyebrow--red {
  color: #8f3535;
}

.eyebrow--red::before {
  background: #b95252;
}

.not-do-box h2 {
  margin-top: 12px;
  color: #642d2d;
}

.not-do-intro {
  margin-top: 10px;
  color: #4f4141;
  font-size: 0.92rem;
  line-height: 1.7;
}

.not-do-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 28px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.not-do-list li {
  position: relative;
  padding-left: 20px;
  color: #563e3e;
  font-size: 0.86rem;
  line-height: 1.65;
}

.not-do-list li::before {
  content: "×";
  position: absolute;
  top: -1px;
  left: 1px;
  color: #a33f3f;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.not-do-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  color: #8b3535;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.not-do-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--speed) var(--ease);
}

.not-do-link:hover {
  color: #642d2d;
}

.not-do-link:hover svg {
  transform: translateX(4px);
}

[data-theme="dark"] .not-do-box {
  border-color: #4a292e;
  border-left-color: #a95d61;
  background: #2a171a;
}

[data-theme="dark"] .not-do-box h2,
[data-theme="dark"] .not-do-link:hover {
  color: #f0c6c6;
}

[data-theme="dark"] .not-do-intro,
[data-theme="dark"] .not-do-list li {
  color: #d7bebe;
}

[data-theme="dark"] .eyebrow--red {
  color: #e9a4a4;
}

[data-theme="dark"] .not-do-link {
  color: #e9a4a4;
}

.trust-strip {
  padding: 26px 0;
  background: var(--navy);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip__grid li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 2px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.trust-strip__grid li:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-strip__label {
  color: var(--teal-bright);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.trust-strip__copy {
  color: #c8d8e5;
  font-size: 0.79rem;
  line-height: 1.55;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.about-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(4rem, 7vw, 6.2rem);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(118deg, #075b55 0%, #0b6f68 52%, #0b8077 100%);
  color: #ffffff;
}

.about-cta::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -290px;
  z-index: -1;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 68px rgba(255, 255, 255, 0.025),
    0 0 0 136px rgba(255, 255, 255, 0.018);
}

.about-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: center;
}

.about-cta .eyebrow {
  color: #ffffff;
}

.about-cta .eyebrow::before {
  background: var(--gold);
}

.about-cta h2 {
  max-width: 700px;
  margin-top: 14px;
  color: #ffffff;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
}

.about-cta p {
  max-width: 590px;
  margin-top: 14px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}

.about-cta__actions .btn--light {
  color: #075b55;
}

.about-cta__actions .btn--light:hover {
  color: #075b55;
}

.about-cta__contact {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(2, 30, 32, 0.17);
}

.about-cta__contact-label {
  margin: 0 0 5px !important;
  color: #ffffff !important;
  font-size: 0.64rem !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.about-cta__contact a {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
}

.about-cta__contact a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.about-cta__contact > p:not(.about-cta__contact-label) {
  margin: 3px 0 0;
  color: #ffffff;
  font-size: 0.77rem;
  line-height: 1.55;
}

.about-cta__contact .edit-flag {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(2, 30, 32, 0.24);
  color: #ffffff;
}

@media (max-width: 940px) {
  .roles-grid,
  .standards-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .not-do-list {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .trust-strip__grid li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .about-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.3rem;
  }

  .about-cta__contact {
    max-width: 460px;
  }
}

@media (max-width: 620px) {
  .trust-strip__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .trust-strip__grid li,
  .trust-strip__grid li:first-child,
  .trust-strip__grid li:nth-child(3) {
    padding: 0 0 0 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.17);
  }

  .trust-strip__grid li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .about-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .about-cta__actions .btn {
    width: 100%;
  }

  .roles-note {
    text-align: left;
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   18. FAQ page
   -------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.faq-aside h2 {
  margin-top: 14px;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.faq-aside > p {
  margin-top: 16px;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-aside__card {
  margin-top: 28px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.faq-aside__card h3 {
  font-size: 0.97rem;
}

.faq-aside__card p {
  margin-top: 7px;
  color: var(--body);
  font-size: 0.82rem;
  line-height: 1.65;
}

.faq-aside__card .btn {
  margin-top: 16px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 0.99rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--teal-ink);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--teal-ink);
  outline-offset: 4px;
  border-radius: 3px;
}

.faq-toggle {
  position: relative;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color var(--speed) ease, border-color var(--speed) ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--teal-ink);
  transform: translate(-50%, -50%);
  transition: transform 220ms var(--ease), opacity 220ms ease;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item summary:hover .faq-toggle {
  border-color: var(--teal);
  background: var(--teal-tint);
}

.faq-item[open] .faq-toggle {
  border-color: var(--teal);
  background: var(--teal);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: #071b2e;
}

.faq-item[open] .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-width: 670px;
  padding: 0 0 24px;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.78;
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-answer a {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   19. Contact page
   -------------------------------------------------------------------------- */
.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--body);
  text-decoration: none;
  transition:
    transform var(--speed) var(--ease),
    border-color var(--speed) ease,
    box-shadow var(--speed) var(--ease);
}

.contact-option:hover,
.contact-option:focus-within {
  transform: translateY(-4px);
  border-color: rgba(19, 168, 158, 0.45);
  box-shadow: var(--shadow-card-hover);
}

a.contact-option__value {
  display: inline-block;
  color: var(--heading);
  text-decoration: none;
  transition: color var(--speed) ease;
}

a.contact-option__value:hover {
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-option--static {
  min-height: 188px;
}

.contact-option__icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 22px;
  border: 1px solid rgba(19, 168, 158, 0.18);
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.contact-option__icon svg {
  width: 20px;
  height: 20px;
}

.contact-option__label {
  color: var(--teal-ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-option__value {
  margin-top: 5px;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-option__meta {
  margin-top: auto;
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: start;
}

.contact-help h2 {
  margin-top: 13px;
}

.contact-help__intro {
  margin-top: 15px;
  color: var(--body);
  font-size: 0.93rem;
  line-height: 1.75;
}

.contact-checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--body);
  font-size: 0.86rem;
  line-height: 1.7;
}

.contact-check {
  position: relative;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--teal-tint);
}

.contact-check::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--teal-ink);
  border-bottom: 1.5px solid var(--teal-ink);
  transform: rotate(-45deg);
}

.contact-note {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(232, 176, 75, 0.32);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  background: var(--surface);
}

.contact-note h3 {
  font-size: 0.96rem;
}

.contact-note ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.contact-note li {
  position: relative;
  padding-left: 15px;
  color: var(--body);
  font-size: 0.8rem;
  line-height: 1.65;
}

.contact-note li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.form-card {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.form-card__head {
  margin-bottom: 26px;
}

.form-card__head h2 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
}

.form-card__head > p {
  margin-top: 9px;
  color: var(--body);
  font-size: 0.88rem;
  line-height: 1.65;
}

.plan-context {
  margin-top: 16px;
  padding: 11px 14px;
  border: 1px solid rgba(19, 168, 158, 0.28);
  border-radius: 8px;
  background: var(--teal-tint);
  color: var(--body);
  font-size: 0.8rem;
  line-height: 1.6;
}

.plan-context[hidden] {
  display: none;
}

.plan-context strong {
  color: var(--heading);
  font-weight: 700;
}

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

.form-field {
  min-width: 0;
}

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

.form-field label,
.form-field legend {
  display: block;
  margin-bottom: 7px;
  padding: 0;
  color: var(--heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.5;
}

.required-mark {
  color: var(--teal-ink);
}

.form-field input:not([type="checkbox"]):not([type="file"]),
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--field-border);
  border-radius: 9px;
  background: var(--field);
  color: var(--heading);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: border-color var(--speed) ease, box-shadow var(--speed) ease, background-color var(--speed) ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--line-strong);
}

.form-field input:not([type="checkbox"]):not([type="file"]):focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--teal-ink);
  outline-offset: 1px;
  border-color: var(--teal-ink);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(19, 168, 158, 0.13);
}

[data-theme="dark"] .form-field input:not([type="checkbox"]):not([type="file"]):focus,
[data-theme="dark"] .form-field select:focus,
[data-theme="dark"] .form-field textarea:focus {
  outline-color: var(--teal-bright);
  border-color: var(--teal-bright);
}

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

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.services-field {
  margin: 0;
  padding: 0;
  border: 0;
}

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

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: var(--field);
  color: var(--body);
  font-size: 0.77rem;
  line-height: 1.55;
  cursor: pointer;
  transition: border-color var(--speed) ease, background-color var(--speed) ease;
}

.check-option:hover {
  border-color: var(--line-strong);
}

.check-option:has(input:checked) {
  border-color: rgba(19, 168, 158, 0.55);
  background: var(--teal-tint);
  color: var(--heading);
}

.check-option input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--teal-ink);
  cursor: pointer;
}

.check-option:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.form-field input[type="file"] {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--field-border);
  border-radius: 9px;
  background: var(--field);
  color: var(--body);
  font-size: 0.8rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-field input[type="file"]:focus {
  outline: 2px solid var(--teal-ink);
  outline-offset: 1px;
  border-color: var(--teal-ink);
}

.form-field input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.field-hint {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.field-error {
  margin-top: 6px;
  color: #9d3535;
  font-size: 0.73rem;
  font-weight: 500;
  line-height: 1.5;
}

.field-error[hidden] {
  display: none;
}

[data-theme="dark"] .field-error {
  color: #f0a6a6;
}

.form-field.has-error input:not([type="checkbox"]):not([type="file"]),
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #b44a4a;
}

.form-field.has-error .check-option {
  border-color: rgba(180, 74, 74, 0.5);
}

.consent-field {
  padding-top: 3px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  margin: 0 !important;
  color: var(--body) !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  line-height: 1.65;
  cursor: pointer;
}

.consent-label input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--teal-ink);
  cursor: pointer;
}

.consent-label a {
  font-weight: 600;
}

.consent-label input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
}

.form-submit .btn {
  min-width: 178px;
}

.form-submit .btn[disabled] {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.form-endpoint-note {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.form-endpoint-note code {
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--bg);
  color: var(--heading);
  font-size: 0.96em;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.83rem;
  line-height: 1.6;
}

.form-status.is-visible {
  display: block;
}

.form-status[data-state="success"] {
  border-color: rgba(19, 168, 158, 0.42);
  background: var(--teal-tint);
  color: var(--heading);
}

.form-status[data-state="notice"] {
  border-color: rgba(232, 176, 75, 0.48);
  background: rgba(232, 176, 75, 0.1);
  color: var(--heading);
}

.form-status[data-state="error"] {
  border-color: rgba(164, 66, 66, 0.4);
  background: rgba(164, 66, 66, 0.08);
  color: var(--heading);
}

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

@media (max-width: 900px) {
  .contact-main-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .contact-help {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-field--full {
    grid-column: auto;
  }

  .checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .contact-options-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-option,
  .contact-option--static {
    min-height: 0;
  }

  .contact-option__icon {
    margin-bottom: 16px;
  }

  .contact-option__meta {
    margin-top: 7px;
    padding-top: 0;
  }
}

@media (max-width: 380px) {
  .checkbox-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-card {
    padding-inline: 18px;
  }
}

/* --------------------------------------------------------------------------
   20. Reveal & motion
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 680ms var(--ease),
    transform 680ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal--left {
  transform: translateX(-24px);
}

.js .reveal--right {
  transform: translateX(24px);
}

.js .reveal--left.is-visible,
.js .reveal--right.is-visible {
  transform: translate(0);
}

.services-grid .reveal:nth-child(2),
.values-grid .reveal:nth-child(2),
.quotes-grid .reveal:nth-child(2),
.audience-grid .reveal:nth-child(2) {
  --reveal-delay: 70ms;
}

.services-grid .reveal:nth-child(3),
.values-grid .reveal:nth-child(3),
.quotes-grid .reveal:nth-child(3),
.audience-grid .reveal:nth-child(3) {
  --reveal-delay: 140ms;
}

.services-grid .reveal:nth-child(4),
.values-grid .reveal:nth-child(4),
.audience-grid .reveal:nth-child(4) {
  --reveal-delay: 40ms;
}

.services-grid .reveal:nth-child(5) {
  --reveal-delay: 110ms;
}

.services-grid .reveal:nth-child(6) {
  --reveal-delay: 180ms;
}

.services-grid .reveal:nth-child(7) {
  --reveal-delay: 80ms;
}

.services-grid .reveal:nth-child(8) {
  --reveal-delay: 150ms;
}

.services-grid .reveal:nth-child(9) {
  --reveal-delay: 220ms;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 110;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    margin-left: 0;
    padding: 14px max(24px, calc((100vw - var(--container)) / 2)) 28px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 30px 50px -30px rgba(3, 18, 36, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 220ms var(--ease),
      transform 220ms var(--ease),
      visibility 220ms;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: flex;
    width: 100%;
    min-height: 52px;
    padding: 12px 0;
    color: var(--heading);
    font-size: 0.95rem;
  }

  .nav-link::after {
    left: 0;
    bottom: 0;
    transform: none;
  }

  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after {
    width: 26px;
  }

  .mobile-nav-cta {
    display: block;
    padding-top: 20px;
    border-bottom: 0 !important;
  }

  .mobile-nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .theme-toggle,
  .nav-toggle {
    border-color: rgba(255, 255, 255, 0.32);
  }

  .js .reveal--left,
  .js .reveal--right {
    transform: translateY(22px);
  }

  .js .reveal--left.is-visible,
  .js .reveal--right.is-visible {
    transform: translateY(0);
  }
}

@media (max-width: 1030px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.73fr);
    gap: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2.7rem, 5.3vw, 3.9rem);
  }

  .hero-visual {
    width: min(100%, 350px);
  }

  .hero-chip {
    min-width: 158px;
  }

  .hero-chip--one {
    right: -25px;
  }

  .hero-chip--two {
    left: -28px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid {
    gap: 3.2rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    gap: 16px;
  }

  .price-card {
    padding: 24px;
  }
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 4.6rem);
    padding-bottom: 5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 4rem;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-title {
    max-width: 720px;
    font-size: clamp(2.8rem, 7.5vw, 4.2rem);
  }

  .hero-visual {
    justify-self: center;
    width: min(78%, 360px);
    margin-right: 0;
    margin-bottom: 10px;
  }

  .hero-visual::before {
    inset: -50px -70px -65px -80px;
  }

  .hero-chip--one {
    right: -32px;
  }

  .hero-chip--two {
    left: -34px;
  }

  .hero-art {
    width: min(800px, 100vw);
    opacity: 0.55;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-art {
    display: none;
  }

  .section-head--split,
  .partners-layout,
  .story-grid,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc(50% - 10px);
  }

  .section-head--split {
    gap: 1.4rem;
    align-items: start;
  }

  .section-head--split .section-head__aside {
    padding-bottom: 0;
  }

  .partners-layout {
    gap: 2.2rem;
  }

  .partner-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-badge {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .cta-note {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
  }

  .faq-aside {
    position: static;
    max-width: 620px;
  }

  .faq-aside__card {
    max-width: 420px;
  }

  .story-grid {
    gap: 2.8rem;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
  }

  .services-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .services-sidebar__inner {
    position: static;
    max-height: none;
    overflow: visible;
  }

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

  .custom-package__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .mark-card {
    min-height: 390px;
  }

  .story-copy {
    order: 1;
  }

  .mark-card {
    order: 2;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .price-card {
    padding: 28px;
  }

  .price-card--featured {
    transform: none;
  }

  .plan-desc {
    min-height: 0;
  }

  .price {
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --header-height: 76px;
  }

  .header-cta {
    display: none;
  }

  .brand-emblem {
    width: 48px;
  }

  .brand-divider {
    height: 38px;
  }

  .brand-word {
    font-size: 1.42rem;
  }

  .brand-tagline {
    font-size: 0.36rem;
  }

  .brand-rule {
    margin-top: 4px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 3.8rem);
  }

  .hero-trust {
    row-gap: 8px;
    column-gap: 12px;
    font-size: 0.62rem;
  }

  .hero-trust li {
    gap: 12px;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 3.7rem);
    padding-bottom: 4.2rem;
  }

  .breadcrumb {
    margin-bottom: 1.9rem;
  }

  .services-grid,
  .quotes-grid,
  .values-grid,
  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-card:last-child {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }

  .service-card {
    min-height: 0;
  }

  .quotes-grid {
    gap: 16px;
  }

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

  .step:nth-child(odd) {
    padding-left: 0;
  }

  .step:nth-child(even) {
    padding-left: 24px;
  }

  .step:nth-child(n + 3) {
    margin-top: 34px;
  }

  .step:nth-child(3) {
    border-top: 1px solid var(--line-strong);
  }

  .partner-badges {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-note .btn {
    width: 100%;
  }

  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .compare-head {
    display: block;
  }

  .compare-head p {
    margin-top: 10px;
  }

  .compare-wrap {
    overflow: visible;
  }

  .compare-table {
    min-width: 0;
    display: block;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody {
    display: block;
  }

  .compare-table tbody tr {
    display: block;
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }

  .compare-table tbody tr:last-child {
    border-bottom: 0;
  }

  .compare-table tbody th {
    display: block;
    padding: 0 0 13px;
    border: 0;
    color: var(--heading);
    font-size: 0.92rem;
  }

  .compare-table td {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 33.333%;
    padding: 0 5px;
    border: 0;
    color: var(--body);
    font-size: 0.7rem;
    line-height: 1.45;
    text-align: center;
    vertical-align: top;
  }

  .compare-table td::before {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .compare-table td:nth-child(2)::before {
    content: "Starter";
  }

  .compare-table td:nth-child(3)::before {
    content: "Professional";
  }

  .compare-table td:nth-child(4)::before {
    content: "Complete";
  }

  .compare-table tbody tr:hover {
    background: transparent;
  }

  .pricing-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-card {
    padding: 24px 20px;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit .btn {
    width: 100%;
  }

  .mark-card {
    padding: 36px 22px;
    min-height: 360px;
  }

  .mark-card .brand-word {
    font-size: 2.2rem;
  }

  .mark-card .brand-tagline {
    font-size: 0.43rem;
  }

  .audience-grid {
    margin-top: 1.8rem;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  h2 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .section {
    padding-block: 4rem;
  }

  .brand {
    gap: 10px;
  }

  .brand-emblem {
    width: 42px;
  }

  .brand-divider {
    height: 34px;
  }

  .brand-word {
    font-size: 1.24rem;
  }

  .brand-rule,
  .brand-tagline {
    display: none;
  }

  .brand-type {
    min-height: 33px;
    justify-content: center;
  }

  .theme-toggle,
  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .header-actions {
    gap: 8px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10.4vw, 3.2rem);
  }

  .hero-title .accent {
    white-space: normal;
  }

  .hero-title .accent::after {
    bottom: -0.02em;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 9px 11px;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .hero-trust li {
    gap: 11px;
  }

  .hero-trust li:nth-child(4) {
    display: none;
  }

  .hero-trust li:nth-child(3)::after {
    display: none;
  }

  .hero-visual {
    width: min(88%, 330px);
    padding-left: 18px;
    padding-right: 0;
  }

  .journal-cover {
    padding: 22px;
  }

  .cover-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .cover-overline {
    margin-top: 25px;
  }

  .hero-chip {
    min-width: 148px;
    padding: 9px 11px 9px 9px;
  }

  .hero-chip strong {
    font-size: 0.67rem;
  }

  .hero-chip small {
    font-size: 0.56rem;
  }

  .hero-chip__icon {
    width: 29px;
    height: 29px;
  }

  .hero-chip--one {
    right: -13px;
    top: 18%;
  }

  .hero-chip--two {
    left: -12px;
    bottom: 3%;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2.4rem;
  }

  .step,
  .step + .step {
    padding: 26px 0 0;
    margin-top: 28px;
    border-top: 1px solid var(--line-strong);
  }

  .step:first-child {
    margin-top: 0;
  }

  .step:nth-child(n + 3) {
    margin-top: 28px;
  }

  .step:nth-child(3) {
    border-top: 1px solid var(--line-strong);
  }

  .process-note {
    padding: 20px;
  }

  .partner-badge {
    flex-direction: row;
    align-items: center;
    padding: 18px;
  }

  .partner-badge__mark {
    width: 48px;
    height: 48px;
  }

  .quote-card {
    padding: 25px 21px 23px;
  }

  .cta-copy h2 {
    font-size: 1.7rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-top: 2.8rem;
  }

  .footer-bottom {
    gap: 14px;
  }

  .footer-legal-links {
    gap: 8px 16px;
  }

  .legal-layout {
    gap: 1.8rem;
  }

  .legal-toc {
    padding: 18px;
  }

  .services-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-sidebar__inner {
    padding: 17px;
  }

  .service-block {
    padding: 24px 20px;
  }

  .custom-package__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .custom-package__actions .btn {
    width: 100%;
  }

  .wa-float {
    width: 50px;
    height: 50px;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .wa-float svg {
    width: 25px;
    height: 25px;
  }

  .footer-brand .brand-tagline {
    display: block;
    font-size: 0.32rem;
  }

  .footer-brand .brand-emblem {
    width: 42px;
  }

  .footer-brand .brand-word {
    font-size: 1.25rem;
  }

  .footer-brand .brand-rule {
    display: block;
  }

  .footer-brand .brand-wrapper {
    display: flex;
  }

  .form-card {
    border-radius: var(--radius);
  }

  .mark-card .brand-tagline {
    display: block;
  }

  .mark-card .brand-rule {
    display: block;
  }

  .mark-card .brand-divider {
    display: none;
  }

  .page-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero-actions .btn {
    width: 100%;
  }

  .pricing-footnote {
    font-size: 0.7rem;
  }
}

/* Ensure logo parts remain visible at the smallest sizes */
@media (max-width: 360px) {
  .brand-emblem {
    width: 37px;
  }

  .brand-word {
    font-size: 1.1rem;
  }

  .theme-toggle,
  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-chip--one {
    display: none;
  }
}


/* Hero promotional graphic — responsive sizing overrides */
@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.6rem, 5vw, 4rem);
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-promo {
    justify-self: center;
    width: min(90%, 620px);
    max-width: none;
    margin: 0 0 8px;
  }
}

@media (max-width: 700px) {
  .hero-promo {
    width: 100%;
    max-width: none;
  }
}
