:root {
  --primary: #172554;
  /* Deep Navy */
  --secondary: #0F766E;
  /* Teal */

  --primary-dark: #0F172A;
  /* Dark Navy */
  --primary-soft: rgba(23, 37, 84, .08);
  --secondary-dark: #115E59;
  /* Deep Teal */
  --secondary-soft: rgba(15, 118, 110, .12);

  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --text: #172554;
  --muted: #5A6472;
  --line: #E2E8F0;
  --on-dark: rgba(255, 255, 255, .78);
  --line-dark: rgba(255, 255, 255, .15);

  --sh-sm: 0 2px 8px rgba(23, 37, 84, .06);
  --sh: 0 10px 30px rgba(23, 37, 84, .09);
  --sh-lg: 0 24px 60px rgba(23, 37, 84, .16);

  --radius: 10px;
  --radius-lg: 16px;
  --nav-h: 74px;
  --pad-section: clamp(4rem, 9vw, 7rem);
  --nav-collapse: 1180px;

  /* Accent and hard-surface variables */
  --blue: #172554;
  --blue-line: rgba(255, 255, 255, .14);
  --crimson-ice: #CCFBF1;
  /* Teal Ice accent */
  --teal-ice: #CCFBF1;
}

/* ---------------- Base ---------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Spectral', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
}

p {
  max-width: 68ch;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

::selection {
  background: var(--secondary);
  color: #fff;
}

.skip-link {
  position: fixed;
  top: -60px;
  inset-inline-start: 14px;
  z-index: 2000;
  background: var(--secondary);
  color: #fff;
  padding: .6rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top .25s;
}

.skip-link:focus {
  top: 14px;
}

/* ---------------- Layout ---------------- */
.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

.section {
  padding-block: var(--pad-section);
}

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

.section-ink {
  background: var(--primary);
  color: var(--on-dark);
}

.section-ink h2,
.section-ink h3 {
  color: #fff;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: .8rem;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.kicker-light {
  color: #fff;
}

.kicker-light::before {
  background: #fff;
}

.section-head {
  max-width: 68ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.8rem);
}

.section-head .kicker {
  margin-inline: auto;
  justify-content: center;
}

.section-head .kicker::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.section-head .kicker-light::after {
  background: #fff;
}

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

.section-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
  margin-inline: auto;
  max-width: 58ch;
}

.section-ink .section-head p {
  color: rgba(255, 255, 255, .72);
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.45rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .94rem;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.btn-solid {
  background: var(--secondary);
  color: #fff;
}

.btn-solid:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

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

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--secondary-soft);
  animation: pulseGlow 2.4s ease-out infinite;
  pointer-events: none;
}

.btn-outline {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.btn-outline:hover {
  border-color: var(--secondary-dark);
  background: var(--secondary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.section-ink .btn-outline,
.hero .btn-outline {
  color: #fff;
  border-color: var(--line-dark);
}

.section-ink .btn-outline:hover,
.hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .07);
}

.btn-lg {
  padding: .92rem 1.8rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ============================================================
   LOGO — identical in navbar, drawer and footer
   ============================================================ */
.brand,
a.brand,
a.brand:visited,
.navbar .brand,
.drawer .brand,
.footer .brand,
.f-brand .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: .6rem !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  color: inherit !important;
  opacity: 1 !important;
}

.brand-mark,
.navbar .brand-mark,
.drawer .brand-mark,
.footer .brand-mark,
.f-brand .brand-mark {
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  display: grid !important;
  place-items: center !important;
  background: var(--secondary) !important;
  color: #FFFFFF !important;
  border-radius: 9px !important;
  font-size: 1.05rem !important;
  transition: transform .3s ease !important;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06) !important;
}

.brand-text,
a.brand:visited .brand-text,
.navbar .brand-text,
.drawer .brand-text,
.footer .brand-text,
.f-brand .brand-text {
  font-family: 'Spectral', Georgia, serif !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: var(--primary) !important;
  letter-spacing: -.01em !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

.brand-accent,
a.brand:visited .brand-accent,
.navbar .brand-accent,
.drawer .brand-accent,
.footer .brand-accent,
.f-brand .brand-accent {
  color: var(--secondary) !important;
  opacity: 1 !important;
}

/* ============================================================
   NAVBAR (sticky top navigation)
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background .3s;
}

.navbar.scrolled {
  box-shadow: var(--sh-sm);
}

.nav-wrap {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .7rem;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset-inline: .7rem;
  bottom: 4px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::before {
  transform: scaleX(1);
}

.caret {
  font-size: .7rem;
  transition: transform .2s;
}

.dropdown-toggle[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

/* Desktop dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  z-index: 30;
  min-width: 208px;
  padding: .4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--sh);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}

.nav-item.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .7rem;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--muted);
  transition: background .18s, color .18s, padding-inline-start .18s;
}

.dropdown-link i {
  color: var(--secondary);
  font-size: .95rem;
}

.dropdown-link:hover {
  background: var(--primary-soft);
  color: var(--primary);
  padding-inline-start: .9rem;
}

.dropdown-link.active {
  background: var(--secondary-soft);
  color: var(--secondary);
  font-weight: 600;
}

/* Desktop utility cluster (RTL / theme / login) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--primary);
  background: var(--surface);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.icon-btn:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.icon-btn.wide {
  width: 100%;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 0 .9rem;
  font-size: .92rem;
  font-weight: 600;
  border-radius: 10px;
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .2s, background .2s;
}

.hamburger:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- Drawer (mobile + tablet) ---------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(19, 30, 47, .5);
  animation: fadeIn .2s ease;
}

.drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  z-index: 950;
  width: min(340px, 88vw);
  min-width: 0;
  box-sizing: border-box;
  height: 100dvh;
  background: var(--surface);
  color: var(--text);
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility .32s;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.drawer-title {
  color: var(--text);
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.err-page ~ .drawer,
.cs-page ~ .drawer,
body:has(.err-page) .drawer,
body:has(.cs-page) .drawer {
  z-index: 1100;
}

.err-page ~ .overlay,
.cs-page ~ .overlay,
body:has(.err-page) .overlay,
body:has(.cs-page) .overlay {
  z-index: 1090;
}

@media (max-width: 1180px) {
  body:has(.cs-page) .drawer-controls {
    grid-template-columns: minmax(0, 1fr);
  }
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1 0 auto;
  padding-block: 1rem;
}

.drawer-nav>a,
.drawer-drop-btn {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .78rem .7rem;
  border-radius: 9px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  text-align: start;
  transition: background .18s, color .18s;
}

.drawer-nav>a i,
.drawer-drop-btn>span>i {
  width: 1.35rem;
  text-align: center;
  flex: 0 0 1.35rem;
  font-size: 1rem;
}

.drawer-drop-btn {
  justify-content: space-between;
}

.drawer-drop-btn>span {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}

.drawer-nav>a:hover,
.drawer-drop-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.drawer-drop-btn.open .caret {
  transform: rotate(180deg);
}

.drawer-submenu {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .25s ease;
}

.drawer-submenu>div {
  overflow: hidden;
  min-height: 0;
}

.drawer-submenu.show {
  grid-template-rows: 1fr;
}

.drawer-submenu-inner {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding-top: .1rem;
}

.drawer-submenu a {
  display: flex;
  align-items: center;
  padding: .6rem .7rem .6rem 2.7rem;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-submenu a:hover {
  color: var(--primary);
}

.drawer-submenu a.active {
  color: var(--secondary);
  font-weight: 600;
}

.drawer-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  gap: .65rem;
  padding-block: .85rem;
  border-top: 1px solid var(--line);
}

.drawer-controls .icon-btn {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 0 .85rem;
  font-size: .92rem;
  font-weight: 600;
  border-radius: 10px;
}

.drawer-controls .icon-btn i {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-foot {
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}

/* ============================================================
   ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 var(--secondary-soft);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(15, 118, 110, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(15, 118, 110, 0);
  }
}

@keyframes sweepUnderline {
  from {
    background-size: 0% 40%;
  }

  to {
    background-size: 100% 40%;
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-16px, 14px) rotate(6deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes h2Drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-26px, 20px) scale(1.08);
  }
}

@keyframes scrollX {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes pulseHalo {

  0%,
  100% {
    transform: scale(1);
    opacity: .7;
  }

  50% {
    transform: scale(1.16);
    opacity: 1;
  }
}

@keyframes twinkle {

  0%,
  100% {
    opacity: .2;
    transform: scale(1);
  }

  50% {
    opacity: .9;
    transform: scale(1.3);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes toastSlide {

  0%,
  100% {
    opacity: 0;
    transform: translateY(16px);
  }

  8%,
  86% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastFloat {

  0%,
  100% {
    opacity: 0;
    transform: translateY(16px);
  }

  8%,
  88% {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-in {
  opacity: 0;
  animation: riseIn .7s cubic-bezier(.22, .61, .36, 1) forwards;
  animation-delay: var(--d, 0s);
}


/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* SVG Scene Animations */
.twinkle {
  animation: twinkle 2.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.spin-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinSlow 26s linear infinite;
}

.draw-sign {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: drawLine 1.4s cubic-bezier(0.4, 0, 0.2, 1) .5s forwards;
}

.in-view .draw-sign {
  animation: drawLine 1.1s ease .35s forwards;
}

/* ============================================================
   1. HERO BANNER — HOME 1 (Wizard preview)
   ============================================================ */
.hero {
  position: relative;
  background: var(--primary);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 30% 30%, rgba(15, 118, 110, .35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, .06), transparent 55%);
  animation: drift 14s ease-in-out infinite;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line-dark);
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.1rem;
}

.eyebrow i {
  color: var(--secondary);
}

.hero h1 {
  color: #fff;
}

.hero .lede {
  color: rgba(255, 255, 255, .76);
  margin-top: 1.3rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1.3rem;
  font-size: .87rem;
  color: rgba(255, 255, 255, .58);
  display: flex;
  align-items: center;
  gap: .45rem;
}

.bar {
  height: 6px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--secondary);
  border-radius: 99px;
  transition: width 1.1s cubic-bezier(.22, .61, .36, 1) .5s;
}

/* Home 1 Floating Chips */

/* ============================================================
   HERO BANNER — HOME 2 (Illustrated Scene + Blobs)
   ============================================================ */

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 40px rgba(9, 13, 22, .28), 0 0 30px rgba(15, 118, 110, .12);
  }

  50% {
    transform: translateY(-13px);
    box-shadow: 0 28px 58px rgba(9, 13, 22, .4), 0 0 55px rgba(20, 184, 166, .24);
  }
}

@keyframes quillFloat {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-3deg) translateY(-3px);
  }
}

/* Home Scene Art Card */
.h2-hero-art {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
}

.h2-art-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 26px;
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--sh-lg);
  animation: floatCard 6s ease-in-out infinite;
  will-change: transform, box-shadow;
  transition: transform .3s ease;
}

.h2-art-card:hover {
  animation-play-state: paused;
  transform: translateY(-16px) scale(1.015);
}

.hero-quill {
  transform-box: fill-box;
  transform-origin: 70px 140px;
  animation: quillFloat 5.5s ease-in-out infinite;
}

.scene-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Shared CTA row */
.h2-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.h2-cta .btn {
  min-width: 196px;
}

/* ============================================================
   2. TRUST HIGHLIGHTS (Strip & Marquee)
   ============================================================ */
.strip {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.4rem, 4.5vw, 3.6rem);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
  text-align: center;
  align-items: center;
}

.strip-item,
.strip-grid div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .4rem;
}

.strip-val,
.strip-grid strong {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
  text-align: center;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .25rem;
}

/* Ensure the counter number is the exact same large size as strong */
.strip-grid strong .counter,
.strip-val .counter {
  font-family: 'Spectral', Georgia, serif !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  line-height: inherit !important;
  color: inherit !important;
}

/* Unit symbols (+, min, states) */
.strip-unit {
  font-family: 'Spectral', Georgia, serif;
  font-size: inherit;
  font-weight: 700;
  color: inherit;
}

/* Subtitle description labels */
.strip-label,
.strip-grid>div>span:not(.counter):not(.strip-unit) {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

/* Trust Marquee (Home 2) */

/* ============================================================
   3. DOCUMENTS SECTION
   ============================================================ */

/* Dossier Cards (Home 1) */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.dossier-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.dossier-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  opacity: 0;
  transition: opacity .3s ease;
}

.dossier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: var(--secondary);
}

.dossier-card:hover::before {
  opacity: 1;
}

.dossier-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: .2rem;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.dossier-card:hover .dossier-icon {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.06);
}

.dossier-card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.5;
}

.dossier-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .15rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: .22rem .55rem;
  border-radius: 99px;
}

.meta-chip i {
  color: var(--secondary);
  font-size: .78rem;
}

.dossier-list {
  display: grid;
  gap: .4rem;
  padding-top: .65rem;
  margin-top: .15rem;
  border-top: 1px solid var(--line);
}

.dossier-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.35;
}

.dossier-list i {
  color: var(--secondary);
  font-size: .78rem;
  flex-shrink: 0;
}

.dossier-link {
  margin-top: auto;
  padding-top: .8rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--secondary);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap .2s ease, color .2s ease;
}

.dossier-card:hover .dossier-link {
  gap: .55rem;
}

/* ============================================================
   4. HOW IT WORKS / STEPS
   ============================================================ */
/* ============================================================
   4. HOW IT WORKS — Layout with Document Center Showcase
   ============================================================ */
.how-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.2rem;
  align-items: center;
  margin-bottom: 2.8rem;
}

.how-layout .steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 0;
}

.how-layout .steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: flex-start;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.25rem;
}

.how-layout .step-n {
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 0;
  padding-top: .15rem;
}

.how-media-wrap {
  position: relative;
}

.how-media-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .04);
}

.how-media-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.how-media-card:hover .how-media-img {
  transform: scale(1.03);
}

/* Floating chips on media */
.how-float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1.15rem;
  border-radius: 14px;
  background: rgba(13, 20, 36, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
  color: #fff;
  font-size: .84rem;
  line-height: 1.35;
  z-index: 2;
  transition: transform .3s ease;
}

.how-float-chip:hover {
  transform: translateY(-2px);
}

.how-float-chip strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
}

.how-float-chip span {
  display: block;
  font-size: .75rem;
  color: rgba(255, 255, 255, .78);
}

.how-float-chip i {
  font-size: 1.4rem;
  color: var(--secondary);
}

.how-float-chip.chip-top {
  top: 1.25rem;
  inset-inline-start: 1.25rem;
}

.how-float-chip.chip-bottom {
  bottom: 1.25rem;
  inset-inline-end: 1.25rem;
}

.chip-pulse {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
  margin-bottom: 2.6rem;
}

.steps li {
  position: relative;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.3rem;
  transition: border-color .3s;
}

.steps li:hover {
  border-top-color: var(--secondary);
}

.step-n {
  font-family: 'Spectral', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary);
  display: block;
  margin-bottom: .5rem;
  transition: transform .3s;
}

.steps li:hover .step-n {
  transform: translateX(4px);
}

.steps h3 {
  margin-bottom: .45rem;
}

.steps p {
  font-size: .94rem;
  color: rgba(255, 255, 255, .7);
}

.check-row {
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.check-row h3 {
  color: #fff;
  font-size: 1.25rem;
}

.check-row p {
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
}

.check-row .btn-solid {
  flex-shrink: 0;
}

/* Interactive Flow (Home 2) */

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* ============================================================
   6. SECURITY BAND (Home 2)
   ============================================================ */

.sec-head p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .72);
}

/* ============================================================
   7. WHY CHOOSE US — Split Layout with Family Photo
   ============================================================ */
.why-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.why-layout .feature-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.why-media-wrap {
  position: relative;
}

.why-media-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .09);
  border: 1px solid var(--line);
  background: var(--surface);
}

.why-media-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-media-card:hover .why-media-img {
  transform: scale(1.03);
}

.why-float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  color: var(--text);
  font-size: .84rem;
  line-height: 1.35;
  z-index: 2;
  transition: transform .3s ease;
}

.why-float-chip:hover {
  transform: translateY(-2px);
}

.why-float-chip strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--primary);
}

.why-float-chip span {
  display: block;
  font-size: .76rem;
  color: var(--muted);
}

.why-float-chip i {
  font-size: 1.45rem;
  color: var(--secondary);
}

.why-float-chip.chip-top {
  top: 1.25rem;
  inset-inline-start: 1.25rem;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.4rem;
  text-align: start;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: var(--primary);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  transition: transform .3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(8deg) scale(1.08);
  background: var(--secondary);
  color: #fff;
}

.feature-card p {
  font-size: .92rem;
  color: var(--muted);
}

/* ============================================================
   8. TESTIMONIALS (Grid & Slider)
   ============================================================ */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quote-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
  transition: transform .28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color .28s ease;
  height: 100%;
}

.quote-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .09), 0 0 0 1px rgba(15, 118, 110, .25);
  border-color: var(--secondary);
}

.quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  flex-wrap: wrap;
}

.quote-stars {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  color: #F59E0B;
  font-size: .92rem;
}

.quote-score {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 700;
  color: var(--primary);
  margin-inline-start: .25rem;
}

.quote-verified {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  color: #0F766E;
  background: #CCFBF1;
  padding: .25rem .55rem;
  border-radius: 99px;
  line-height: 1;
}

.quote-verified i {
  font-size: .76rem;
}

.quote-card blockquote {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
  position: relative;
  z-index: 1;
  font-style: normal;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--surface-2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-width: 0;
}

.author-info strong {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

.author-role {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.2;
}

.author-doc {
  font-size: .75rem;
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .2rem;
}

.author-doc i {
  font-size: .8rem;
}


/* Testimonial Slider (Home 2) */

.slider-wrap {
  position: relative;
}

.slider-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slider-track {
  display: flex;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.slide {
  flex: 0 0 100%;
  max-width: 100%;
  padding: .3rem;
}

.slider-dots {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.4rem;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--line);
  transition: width .25s, background .25s;
}

.slider-dots button.active {
  width: 28px;
  background: var(--secondary);
}

/* ============================================================
   9. PRICING & CTA BANNER
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.55rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: var(--primary);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--sh);
}

.price-flag {
  position: absolute;
  top: -12px;
  inset-inline-start: 1.55rem;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 99px;
}

.price {
  font-family: 'Spectral', serif;
  font-size: 2.45rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}

.price span {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: .5rem;
  margin-bottom: .5rem;
}

.price-card li {
  font-size: .91rem;
  color: var(--muted);
  padding-inline-start: 1.15rem;
  position: relative;
}

.price-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

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



.cta-banner {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-banner p {
  color: rgba(255, 255, 255, .72);
  margin-top: .4rem;
}

.cta-inner {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}

.f-brand p {
  margin-top: 1rem;
  font-size: .9rem;
  max-width: 40ch;
}

.f-social {
  display: flex;
  gap: .5rem;
  margin-top: 1.2rem;
}

.f-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--primary);
  background: var(--surface);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.f-social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
}

.f-col h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
}

.f-col ul {
  display: grid;
  gap: .55rem;
}

.f-col a,
.f-contact li {
  font-size: .9rem;
  color: var(--muted);
}

.f-col a {
  transition: color .18s, padding-inline-start .18s;
  display: inline-block;
}

.f-col a:hover {
  color: var(--secondary);
  padding-inline-start: .25rem;
}

.f-contact li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.f-contact i {
  color: var(--secondary);
  margin-top: .3rem;
  font-size: .8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
}

.f-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.f-links a:hover {
  color: var(--secondary);
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* Desktop nav visible above 1180px; hamburger + drawer below it */
@media (min-width: 1181px) {
  .hamburger {
    display: none !important;
  }
}

@media (max-width: 1180px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .feature-grid,
  .dossier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .h2-hero-art {
    order: 2;
    margin-top: 1rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    order: -1;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-h: 62px;
  }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.2rem;
  }

  
  .dossier-grid,
  .feature-grid,
  .flow,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .drawer {
    width: 100%;
  }

  .check-row {
    justify-content: center;
    text-align: center;
  }

  .check-row .btn-solid {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .brand-text {
    font-size: 1.15rem;
  }

  .price {
    font-size: 2.05rem;
  }

  .eyebrow {
    font-size: .74rem;
    padding: .35rem .75rem;
  }

  .h2-art-card {
    padding: 1rem;
  }
}

/* Note: Dark mode styles are separated into assets/css/darkmode.css */
/* Note: RTL layout styles are separated into assets/css/rtl.css */

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

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

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

  
  .h1-blob {
    animation: none !important;
  }
}

/* ============================================================
   HOME 1 (index.html) — Original section components
   Unique to Home 1: interview question-card hero, metric cards,
   clause builder map, document selector, dashboard table,
   pricing comparison matrix, FAQ accordion, guarantee strip.
   Home 2 uses different components and shares none of these.
   ============================================================ */

/* ---------------- Hero: the interview (question card) ---------------- */
.h1-hero {
  position: relative;
  background: var(--blue);
  color: var(--on-dark);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 9vw, 7rem);
  overflow: hidden;
}

.h1-hero h1 {
  color: #fff;
}

.h1-hero .lede {
  color: rgba(255, 255, 255, .76);
  margin-top: 1.3rem;
}

.h1-hero .btn-outline {
  color: #fff;
  border-color: var(--blue-line);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}

.h1-hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .22);
}

.h1-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.h1-blob.b1 {
  width: 480px;
  height: 480px;
  top: -10%;
  inset-inline-end: -8%;
  background: radial-gradient(circle at 30% 30%, rgba(15, 118, 110, .45), transparent 62%);
}

.h1-blob.b2 {
  width: 360px;
  height: 360px;
  bottom: -16%;
  inset-inline-start: -6%;
  background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, .08), transparent 60%);
  animation-delay: 3s;
}

.h1-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: center;
}

.h1-stage {
  position: relative;
}

.h1-card {
  position: relative;
  background: var(--surface);
  color: var(--text);
  border-radius: calc(var(--radius-lg) + 6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
}

.h1-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.h1-doc {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Spectral', serif;
  font-weight: 600;
  font-size: 1.05rem;
}

.h1-doc i {
  color: var(--secondary);
}

.h1-save {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .76rem;
  color: #2F7A55;
  font-weight: 600;
}

.h1-ring-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
}

.h1-ring {
  width: 100%;
  height: 100%;
}

.h1-ring circle {
  fill: none;
  stroke-width: 6;
}

.h1-ring-bg {
  stroke: var(--line);
}

.h1-ring-fg {
  stroke: var(--secondary);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1) .3s;
}

.reveal.in-view .h1-ring-fg {
  stroke-dashoffset: 80;
}

/* 60% complete */
.h1-ring-txt {
  position: absolute;
  font-family: 'Spectral', serif;
  font-weight: 600;
  font-size: .82rem;
  color: var(--text);
}

.h1-progress-meta {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.h1-progress-meta strong {
  font-size: .95rem;
}

.h1-progress-meta em {
  font-style: normal;
  font-size: .78rem;
  color: var(--muted);
}

.h1-question h3 {
  font-size: 1.35rem;
  margin-top: 1.25rem;
}

.h1-options {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
  text-align: start;
}

.h1-opt {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  text-align: start;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: .92rem;
  font-weight: 500;
  transition: border-color .2s, background .2s, transform .2s;
}

.h1-opt i:first-child {
  color: var(--secondary);
  font-size: 1rem;
}

.h1-opt:hover {
  border-color: var(--secondary);
  transform: translateY(-1px);
}

.h1-opt.is-on {
  border-color: var(--secondary);
  background: var(--secondary-soft);
  font-weight: 600;
}

.h1-opt-check {
  margin-inline-start: auto;
  opacity: 0;
  transition: opacity .2s;
  font-size: 1rem;
}

.h1-opt.is-on .h1-opt-check {
  opacity: 1;
}

.h1-tip {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--muted);
  align-items: flex-start;
}

.h1-tip i {
  color: var(--secondary);
  font-size: .95rem;
}

.h1-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
  flex-wrap: wrap;
}

.h1-saved {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: #2F7A55;
  font-weight: 600;
}

/* ---------------- Metric cards ---------------- */
.h1-metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.h1-metric-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.4rem;
  transition: transform .25s, box-shadow .25s;
}

.h1-metric-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), rgba(15, 118, 110, .25));
}

.h1-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}

.h1-metric-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.15rem;
}

.h1-num {
  font-family: 'Spectral', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 1rem;
  color: var(--text);
}

.h1-num span:not(.counter) {
  font-size: 1.4rem;
}

.h1-metric-card h3 {
  font-size: 1.02rem;
  margin-top: .35rem;
}

.h1-mnote {
  margin-top: .7rem;
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.h1-mnote i {
  color: var(--secondary);
}

/* ---------------- Clause builder ---------------- */
.h1-build-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.h1-build-map::before {
  content: "";
  position: absolute;
  top: 44px;
  inset-inline: 11% 11%;
  height: 2px;
  border-top: 2px dashed var(--line);
  z-index: 0;
  pointer-events: none;
}

.h1-build-tile {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.4rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}

.h1-build-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
  border-color: var(--secondary);
}

.h1-build-img-wrap {
  position: relative;
  width: 100%;
  height: 135px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: .95rem;
  background: var(--surface-2);
}

.h1-build-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.h1-build-tile:hover .h1-build-img {
  transform: scale(1.06);
}

.h1-build-tile .h1-build-n {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  margin: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.h1-build-tile h3 {
  margin-top: .75rem;
  font-size: 1.05rem;
}

.h1-build-tile p {
  margin: .4rem auto 0;
  font-size: .86rem;
  color: var(--muted);
  max-width: 30ch;
}

.h1-build-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .85rem auto 0;
  padding: .3rem .7rem;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
}

.h1-build-cta {
  max-width: 100% !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 2.5rem auto 0 !important;
  text-align: center !important;
}

/* ---------------- Document selector (two-pane) ---------------- */
.h1-dx-in {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.h1-docsx {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 1.4rem;
}

.h1-dx-nav {
  display: grid;
  gap: .6rem;
  align-content: start;
}

.h1-dx-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.h1-dx-row>i:first-child {
  font-size: 1.15rem;
  color: var(--secondary);
}

.h1-dx-row span {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.h1-dx-row strong {
  font-family: 'Spectral', serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.h1-dx-row em {
  font-style: normal;
  font-size: .78rem;
  color: var(--muted);
  margin-top: .15rem;
}

.h1-dx-chev {
  color: var(--muted);
  font-size: .9rem;
  transition: transform .2s, color .2s;
}

.h1-dx-row:hover {
  border-color: var(--primary);
  box-shadow: var(--sh-sm);
}

.h1-dx-row:hover .h1-dx-chev {
  color: var(--secondary);
  transform: translateX(3px);
}

#dx1:checked~.h1-dx-nav label[for="dx1"],
#dx2:checked~.h1-dx-nav label[for="dx2"],
#dx3:checked~.h1-dx-nav label[for="dx3"],
#dx4:checked~.h1-dx-nav label[for="dx4"] {
  border-color: var(--secondary);
  background: var(--secondary-soft);
  box-shadow: var(--sh-sm);
}

.h1-dx-preview {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  min-height: 340px;
}

.h1-pane {
  display: none;
}

#dx1:checked~.h1-dx-preview .pane1,
#dx2:checked~.h1-dx-preview .pane2,
#dx3:checked~.h1-dx-preview .pane3,
#dx4:checked~.h1-dx-preview .pane4 {
  display: block;
}

.h1-pane-chip {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: 99px;
  background: var(--primary-soft);
  color: var(--secondary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.h1-pane blockquote {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-inline-start: 3px solid var(--secondary);
  border-radius: 0 10px 10px 0;
  background: var(--surface-2);
  color: var(--text);
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
}

.h1-pane-list {
  margin-top: 1rem;
  display: grid;
  gap: .5rem;
}

.h1-pane-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
}

.h1-pane-list i {
  color: #2F7A55;
}

.h1-pane-lead {
  margin-top: 1rem;
  font-size: .87rem;
  color: var(--muted);
}

.h1-pane-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1.2rem;
  color: var(--secondary);
  font-weight: 600;
  transition: gap .2s;
}

.h1-pane-link:hover {
  gap: .55rem;
}


/* ---------------- Dashboard table ---------------- */

.h1-pg {
  display: inline-block;
  width: 120px;
  height: 7px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
  vertical-align: middle;
}

.h1-pg-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), #14B8A6);
  border-radius: 99px;
}

.h1-date {
  color: var(--muted);
  font-size: .84rem;
  white-space: nowrap;
}

.h1-status {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .7rem;
  border-radius: 99px;
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}

.h1-status.ok {
  background: rgba(47, 122, 85, .12);
  color: #2F7A55;
}

.h1-status.draft {
  background: var(--primary-soft);
  color: var(--primary);
}

.h1-status.old {
  background: var(--surface-2);
  color: var(--muted);
}

/* ---------------- Pricing comparison matrix ---------------- */
.h1-cmp-wrap {
  overflow-x: auto;
}

.h1-cmp {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.h1-cmp th,
.h1-cmp td {
  padding: 1rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.h1-cmp thead th {
  font-family: 'Spectral', serif;
  font-size: 1rem;
  font-weight: 600;
  background: var(--surface-2);
  text-align: center;
}

.h1-cmp thead th:first-child {
  text-align: start;
}

.h1-cmp tbody th {
  text-align: start;
  font-weight: 500;
  font-size: .9rem;
}

.h1-cmp tbody th i {
  color: var(--muted);
  margin-inline-end: .5rem;
}

.h1-cmp-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  color: var(--muted);
  margin-top: .15rem;
}

.h1-cmp-feat {
  position: relative;
  background: rgba(15, 118, 110, .07);
}

.h1-cmp-flag {
  display: inline-block;
  margin-inline-start: .4rem;
  padding: .18rem .55rem;
  border-radius: 99px;
  background: var(--secondary);
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.h1-cmp-yes {
  color: var(--secondary);
  font-size: .95rem;
  font-weight: 600;
}

.h1-cmp-yes i {
  font-size: 1.05rem;
}

.h1-cmp-no {
  color: var(--muted);
  font-size: .9rem;
}

.h1-cmp tbody tr:last-child td,
.h1-cmp tbody tr:last-child th {
  border-bottom: none;
}

.h1-cmp-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  max-width: none;
  margin-top: 1.4rem;
  font-size: .86rem;
  color: var(--muted);
}

.h1-cmp-note i {
  color: var(--secondary);
  font-size: 1.1rem;
}

.h1-cmp-cta {
  max-width: 100% !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 2.2rem auto 0 !important;
  text-align: center !important;
}

/* ---------------- FAQ split layout with Unsplash specialist image ---------------- */
.h1-faq-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 3rem;
  align-items: start;
}

.h1-faq-media-wrap {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
}

.h1-faq-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .09);
  border: 1px solid var(--line);
  background: var(--surface);
  height: 400px;
}

.h1-faq-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.h1-faq-card:hover .h1-faq-img {
  transform: scale(1.04);
}

.h1-faq-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  color: var(--text);
  font-size: .84rem;
  line-height: 1.35;
  z-index: 2;
  transition: transform .3s ease;
}

.h1-faq-chip strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
}

.h1-faq-chip span {
  display: block;
  font-size: .75rem;
  color: var(--muted);
}

.h1-faq-chip i {
  font-size: 1.35rem;
  color: var(--secondary);
}


.h1-faq-chip.chip-bottom {
  bottom: 1.2rem;
  inset-inline-end: 1.2rem;
}

@media (max-width: 900px) {
  .h1-faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .h1-faq-card {
    height: 280px;
  }

  .h1-faq-media-wrap {
    position: static;
  }
}

/* ---------------- FAQ accordion ---------------- */
.h1-faq {
  width: 100%;
  display: grid;
  gap: .75rem;
}

.h1-faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.h1-faq-item[open] {
  border-color: var(--secondary);
  box-shadow: var(--sh-sm);
}

.h1-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: 'Spectral', serif;
  font-weight: 600;
  font-size: 1.02rem;
}

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

.h1-faq-chev {
  color: var(--secondary);
  font-size: .9rem;
  transition: transform .25s;
  flex-shrink: 0;
}

.h1-faq-item[open] .h1-faq-chev {
  transform: rotate(180deg);
}

.h1-faq-item p {
  padding: 0 1.25rem 1.15rem;
  font-size: .92rem;
  color: var(--muted);
  max-width: none;
}

/* ---------------- Guarantee strip ---------------- */
.h1-guar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  background: var(--surface-2);
}

.h1-guar-ico {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-size: 1.3rem;
}

.h1-guar-txt {
  flex: 1;
  min-width: 220px;
}

.h1-guar-txt strong {
  font-family: 'Spectral', serif;
  font-size: 1.05rem;
}

.h1-guar p {
  margin-top: .2rem;
  font-size: .87rem;
  color: var(--muted);
  max-width: none;
}

.h1-guar-rate {
  font-size: .85rem;
  color: var(--muted);
  white-space: nowrap;
}

.h1-guar-rate .bi {
  color: #E8A33D;
}

/* Screen-reader-only helper for icon-only table headers */


/* ---------------- Home 1 responsive ---------------- */
@media (max-width: 1000px) {
  .h1-metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .h1-build-map {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

  .h1-build-map::before {
    display: none;
  }

  .h1-docsx {
    grid-template-columns: 1fr;
  }
}

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

  .h1-stage {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .h1-metric-row {
    grid-template-columns: 1fr;
  }

  .h1-build-map {
    grid-template-columns: 1fr;
  }

  .h1-guar {
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
  }

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

  .h1-actions .btn {
    justify-content: center;
  }
}

@media (max-width: 960px) {
  .how-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .how-media-img {
    height: 320px;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .why-media-img {
    height: 340px;
  }
}

@media (max-width: 600px) {
  .why-layout .feature-grid {
    grid-template-columns: 1fr;
  }

  .how-float-chip,
  .why-float-chip {
    padding: .6rem .85rem;
    font-size: .78rem;
  }

  .how-float-chip.chip-top,
  .why-float-chip.chip-top {
    top: .8rem;
    inset-inline-start: .8rem;
  }

  .how-float-chip.chip-bottom {
    bottom: .8rem;
    inset-inline-end: .8rem;
  }
}

/* ============================================================
   ABOUT PAGE (about.html) — Original section components
   Unique to About: rot-seal story hero, roman-numeral values,
   before/after origin panels, team cards, milestone timeline,
   open-letter band, careers list.
   ============================================================ */

/* ---------------- 1 · Story masthead hero ---------------- */
.ab-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.90) 0%, rgba(23, 37, 84, 0.86) 55%, rgba(15, 118, 110, 0.75) 100%),
    url('../images/about-bg.webp') center/cover no-repeat;
  color: var(--on-dark);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 9vw, 7rem);
  overflow: hidden;
}

.ab-hero h1 {
  color: #fff;
}

.ab-hero .lede {
  color: rgba(255, 255, 255, .78);
  margin-top: 1.3rem;
  max-width: 56ch;
}

.ab-hero .btn-outline {
  color: #fff;
  border-color: var(--blue-line);
}

.ab-hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
}

.ab-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ab-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin-top: 2rem;
}

.ab-meta span {
  font-size: .82rem;
  color: rgba(255, 255, 255, .72);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.ab-meta i {
  color: var(--secondary);
}

.ab-seal-wrap {
  position: relative;
  width: clamp(230px, 26vw, 320px);
  margin-inline: auto;
}

.ab-seal {
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: spinSlow 28s linear infinite;
}

.ab-seal-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2.4px;
  fill: rgba(255, 255, 255, .85);
}

.ab-seal-yr {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  fill: #fff;
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

/* ---------------- 2 · Values (roman numerals) ---------------- */
.ab-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ab-pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--secondary);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem 1.5rem;
  transition: transform .25s, box-shadow .25s;
}

.ab-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}

.ab-pillar-num {
  font-family: 'Spectral', Georgia, serif;
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--secondary);
}

.ab-pillar h3 {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
}

.ab-pillar p {
  margin-top: .6rem;
  font-size: .9rem;
  color: var(--muted);
}

.ab-pillar-tag {
  display: inline-block;
  margin-top: 1.15rem;
  padding: .3rem .75rem;
  border-radius: 99px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---------------- 3 · Origin: before / after ---------------- */

/* ---------------- 4 · Team ---------------- */
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.ab-member {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.3rem 1.4rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.ab-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
  border-color: var(--secondary);
}

.ab-member h3 {
  margin-top: 1.1rem;
  font-size: 1.05rem;
}

.ab-member .ab-role {
  display: block;
  margin-top: .15rem;
  font-size: .74rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ab-member p {
  margin-top: .6rem;
  font-size: .85rem;
  color: var(--muted);
}

.ab-social {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}

.ab-social a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: .78rem;
  color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}

.ab-social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

/* ---------------- 5 · Milestone timeline ---------------- */

/* ---------------- 6 · Open letter band ---------------- */
.ab-letter {
  background: var(--primary-dark);
  color: #fff;
  padding-block: var(--pad-section);
  text-align: center;
}

.ab-letter h2 {
  color: #fff;
}

.ab-letter .ab-letter-body {
  margin: 1.4rem auto 0;
  max-width: 70ch;
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
}

.ab-letter .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  margin-top: 1.8rem;
}

.ab-letter .btn-outline:hover {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
}

/* ---------------- 7 · Careers ---------------- */

/* Drawer active state (About page) */
.drawer-nav a.active {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius);
}

/* ---------------- About dark mode ---------------- */
body.dark .ab-pillar,
body.dark .ab-member {
  background: var(--surface);
}

/* ---------------- About responsive ---------------- */
@media (max-width: 1000px) {
  .ab-pillars {
    grid-template-columns: 1fr;
  }

  .ab-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .ab-seal-wrap {
    width: min(260px, 60%);
  }
}

@media (max-width: 640px) {
  .ab-team-grid {
    grid-template-columns: 1fr;
  }

  .ab-meta {
    gap: .5rem 1rem;
  }
}

/* ============================================================
   ABOUT PAGE — REBUILT SECTIONS
   Who We Are · Mission · Team · How We Work · Process ·
   Privacy & Trust · Commitment
   ============================================================ */

/* Light outline button (secondary CTA on light backgrounds) */
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: var(--secondary-soft);
  transform: translateY(-2px);
}

/* Light section headings (About) */
.sec-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.sec-head .eyebrow,
.ab-wwa-copy .eyebrow {
  background: var(--primary-soft);
  border-color: transparent;
  color: var(--primary);
}

.sec-head .eyebrow i,
.ab-wwa-copy .eyebrow i {
  color: var(--secondary);
}

.sec-head p {
  color: var(--muted);
  margin-inline: auto;
  max-width: 62ch;
}

.sec-head h2 {
  text-align: center;
  margin-inline: auto;
}

.sec-head .eyebrow {
  display: table;
  margin-inline: auto;
  margin-bottom: 1rem;
}

/* ---------------- Who we are (intro + document visual) ---------------- */
.ab-wwa-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ab-wwa-copy h2 {
  margin-top: .2rem;
}

.ab-wwa-copy>p {
  margin-top: 1rem;
  color: var(--muted);
}

.ab-wwa-list {
  margin-top: 1.4rem;
  display: grid;
  gap: .55rem;
}

.ab-wwa-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .93rem;
  font-weight: 500;
}

.ab-wwa-list i {
  color: var(--secondary);
}

.ab-wwa-copy .hero-cta {
  margin-top: 1.8rem;
}

.ab-wwa-visual {
  position: relative;
}

.ab-wwa-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.ab-wwa-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.ab-wwa-media-card:hover .ab-wwa-img {
  transform: scale(1.03);
}


/* ---------------- Privacy & trust ---------------- */
.ab-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ab-trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.ab-trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
  border-color: var(--secondary);
}

.ab-trust-ic {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.15rem;
}

.ab-trust-item h3 {
  font-size: 1.02rem;
}

.ab-trust-item p {
  margin-top: .4rem;
  font-size: .86rem;
  color: var(--muted);
}

/* ---------------- Team photo ---------------- */
.ab-member .ab-photo {
  width: 96px;
  height: 96px;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line), var(--sh-sm);
}

.ab-member .ab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------- Commitment CTA ---------------- */
.ab-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
  margin-top: 1.9rem;
}

.ab-cta .btn {
  margin-top: 0;
}

.ab-letter .ab-cta .btn-outline {
  background: transparent;
}

.ab-letter .ab-cta .btn-outline:hover {
  background: rgba(255, 255, 255, .08);
}

/* ---------------- Dark mode ---------------- */


body.dark .ab-trust-item {
  background: var(--surface);
}

body.dark .btn-ghost {
  color: var(--text);
  border-color: var(--line);
}

/* ---------------- Responsive ---------------- */


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

  .ab-wwa-visual {
    max-width: 460px;
    margin-inline: auto;
  }

  .ab-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ab-wwa-img {
    height: 270px;
  }
}

/* ============================================================
   ABOUT PAGE — ANIMATIONS & RICH HOVER EFFECTS
   ============================================================ */

/* ---- Keyframes ---- */
@keyframes ab-fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ab-scaleIn {
  from {
    opacity: 0;
    transform: scale(.90);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ab-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes ab-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes ab-glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(15, 118, 110, .20);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(15, 118, 110, 0);
  }
}

/* ---- Hero section ---- */
.ab-hero .ab-grid {
  animation: ab-fadeUp .7s ease both;
}

/* Rotating seal floats gently */
.ab-seal-wrap {
  animation: ab-float 6s ease-in-out infinite;
}

/* Glow ring on seal on hover */
.ab-seal-wrap:hover .ab-seal {
  filter: drop-shadow(0 0 18px rgba(15, 118, 110, .45));
  transition: filter .4s ease;
}

/* ---- .sec-head slide-in ---- */

/* ---- Mission pillar cards ---- */
.ab-pillar {
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s ease,
    border-color .3s ease;
}

/* Teal shimmer strip on hover */
.ab-pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 35%,
      rgba(15, 118, 110, .07) 50%,
      transparent 65%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .3s;
}

.ab-pillar:hover::before {
  opacity: 1;
  animation: ab-shimmer 1.4s linear infinite;
}

.ab-pillar:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 40px rgba(15, 118, 110, .12);
  border-color: var(--secondary);
}

/* Number pulse on pillar hover */
.ab-pillar:hover .ab-pillar-num {
  animation: ab-glow-pulse 1.2s ease infinite;
}

/* ---- Team member cards ---- */
.ab-member {
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s ease,
    border-color .3s ease;
}

.ab-member::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), #14B8A6);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.ab-member:hover::after {
  transform: scaleX(1);
}

.ab-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(23, 37, 84, .10);
  border-color: var(--secondary);
}

/* Avatar ring pulse */
.ab-member:hover .ab-photo {
  animation: ab-glow-pulse 1.4s ease infinite;
  box-shadow: 0 0 0 0 rgba(15, 118, 110, .3), var(--sh-sm);
}


/* ---- Privacy trust cards ---- */
.ab-trust-item {
  transition: transform .3s cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s ease,
    border-color .3s ease;
}

.ab-trust-ic {
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.ab-trust-item:hover .ab-trust-ic {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.15) rotate(-6deg);
}

.ab-trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 118, 110, .10);
  border-color: var(--secondary);
}

/* ---- WHO WE ARE image card ---- */
.ab-wwa-media-card {
  transition: box-shadow .35s ease, transform .35s ease;
}

.ab-wwa-media-card:hover {
  box-shadow: 0 24px 60px rgba(15, 118, 110, .18);
  transform: translateY(-4px);
}

/* Badge chips float */

/* Social links in team cards */
.ab-social a {
  transition: background .22s, color .22s, border-color .22s,
    transform .22s cubic-bezier(.22, 1, .36, 1);
}

.ab-social a:hover {
  transform: translateY(-3px) scale(1.15);
}

/* Job listings on careers section */

/* Milestone dots pulse */

/* About page dark mode overrides for animations */
body.dark .ab-pillar::before {
  background: linear-gradient(110deg,
      transparent 35%,
      rgba(15, 118, 110, .1) 50%,
      transparent 65%);
  background-size: 200% 100%;
}

/* ============================================================
   TIMELINE — OUR JOURNEY
   ============================================================ */

@keyframes tl-spine-grow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes tl-dot-pop {
  0% {
    transform: translateY(-50%) scale(0);
    opacity: 0;
  }

  60% {
    transform: translateY(-50%) scale(1.3);
    opacity: 1;
  }

  100% {
    transform: translateY(-50%) scale(1);
  }
}

@keyframes tl-dot-now-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(15, 118, 110, .55);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(15, 118, 110, 0);
  }
}

@keyframes tl-card-in-left {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tl-card-in-right {
  from {
    opacity: 0;
    transform: translateX(36px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tl-shimmer-sweep {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Wrapper */
.tl-wrap {
  position: relative;
  margin-top: 3rem;
  padding-block: .5rem;
}

/* Vertical spine */
.tl-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom,
      transparent,
      var(--secondary) 6%,
      var(--secondary) 94%,
      transparent);
  transform-origin: top center;
  animation: tl-spine-grow 1.4s cubic-bezier(.22, 1, .36, 1) .3s both;
}

/* Row */
.tl-item {
  display: flex;
  width: 50%;
  margin-bottom: 3.5rem;
}

.tl-left {
  justify-content: flex-end;
  padding-right: clamp(2rem, 4vw, 3.5rem);
}

.tl-right {
  margin-left: 50%;
  padding-left: clamp(2rem, 4vw, 3.5rem);
}

/* Card */
.tl-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 1.5rem;
  max-width: 380px;
  width: 100%;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s ease,
    border-color .35s ease;
}

/* Shimmer sweep on hover */
.tl-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 35%,
      rgba(15, 118, 110, .06) 50%,
      transparent 65%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.tl-card:hover::before {
  opacity: 1;
  animation: tl-shimmer-sweep 1.5s linear infinite;
}

.tl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15, 118, 110, .13);
  border-color: var(--secondary);
}

/* Card entrance animations */

/* Today card accent */
.tl-card--now {
  border-color: var(--secondary);
  background: linear-gradient(135deg,
      var(--surface) 70%,
      rgba(15, 118, 110, .06) 100%);
}

/* Spine dot */
.tl-dot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--bg);
  z-index: 2;
}

.tl-left .tl-dot {
  right: calc(-3.5rem - 1px);
  transform: translateY(-50%);
}

.tl-right .tl-dot {
  left: calc(-3.5rem - 1px);
  transform: translateY(-50%);
}

.tl-dot--now {
  width: 18px;
  height: 18px;
  animation: tl-dot-now-pulse 2s ease infinite !important;
}

/* Year badge */
.tl-year {
  display: inline-block;
  font-family: 'Spectral', Georgia, serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: .65rem;
}

/* Icon bubble */
.tl-ic {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: .9rem;
  transition: background .3s, color .3s, transform .3s;
}

.tl-card:hover .tl-ic {
  background: var(--secondary);
  color: #fff;
  transform: rotate(-8deg) scale(1.12);
}

.tl-ic--now {
  background: var(--secondary-soft);
  color: var(--secondary);
}

/* Headings */
.tl-card h3 {
  font-size: 1.08rem;
  margin-bottom: .5rem;
}

.tl-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Tag pill */
.tl-tag {
  display: inline-block;
  margin-top: 1.1rem;
  padding: .28rem .75rem;
  border-radius: 99px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.tl-tag--now {
  background: var(--secondary-soft);
  color: var(--secondary);
}

/* Connector line: card → spine dot */
.tl-left .tl-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1.6rem;
  width: 1.6rem;
  height: 2px;
  background: var(--secondary);
  opacity: .35;
  transform: translateY(-50%);
  transition: opacity .3s;
}

.tl-right .tl-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -1.6rem;
  width: 1.6rem;
  height: 2px;
  background: var(--secondary);
  opacity: .35;
  transform: translateY(-50%);
  transition: opacity .3s;
}

.tl-card:hover::after {
  opacity: .85;
}

/* Dark mode */
body.dark .tl-card {
  background: var(--surface);
}

body.dark .tl-dot {
  border-color: var(--bg);
}

body.dark .tl-card--now {
  background: linear-gradient(135deg, var(--surface) 70%, rgba(15, 118, 110, .12) 100%);
}

/* Responsive: single column */
@media (max-width: 780px) {
  .tl-spine {
    left: 18px;
  }

  .tl-item,
  .tl-left,
  .tl-right {
    width: 100%;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
  }

  .tl-card {
    max-width: 100%;
  }

  .tl-left .tl-dot,
  .tl-right .tl-dot {
    left: calc(-50px + 11px);
    right: auto;
    transform: translateY(-50%);
  }

  .tl-left .tl-card::after,
  .tl-right .tl-card::after {
    left: -1.2rem;
    right: auto;
    width: 1.2rem;
  }
}

/* ============================================================
   SERVICES PAGE
   Hero · What we offer · Document preparation · How it works ·
   Dashboard · What's included · Pricing · FAQ
   ============================================================ */

/* ---------------- 1 · Services hero ---------------- */
.sv-hero {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(15, 118, 110, .65), transparent 60%),
    radial-gradient(700px 420px at 100% 6%, rgba(23, 37, 84, .65), transparent 55%),
    linear-gradient(160deg, rgba(23, 37, 84, 0.90) 0%, rgba(15, 23, 42, 0.92) 55%, rgba(17, 94, 89, 0.85) 140%),
    url('../images/sv-hero.avif') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.sv-hero-inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.sv-hero h1 {
  color: #fff;
}

.sv-hero .lede {
  color: rgba(255, 255, 255, .78);
  margin-top: 1.2rem;
}

.sv-hero-cta {
  justify-content: center;
  margin-top: 2rem;
}

.sv-hero .btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--line-dark);
}

.sv-hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.sv-hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: 2.2rem;
}

.sv-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .9rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
}

.sv-chip i {
  color: #5EEAD4;
}

/* ---------------- 2 · What we offer ---------------- */
.sv-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.sv-offer-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.4rem 1.5rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.sv-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
  border-color: var(--secondary);
}

.sv-offer-num {
  position: absolute;
  top: 1.05rem;
  right: 1.2rem;
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--line);
}

.sv-offer-ic {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.3rem;
}

.sv-offer-card h3 {
  margin-top: 1.1rem;
  font-size: 1.05rem;
}

.sv-offer-card p {
  margin-top: .55rem;
  font-size: .88rem;
  color: var(--muted);
}

/* ---------------- 3 · Document preparation ---------------- */
.sv-doc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.2rem);
}

.sv-doc-row--flip .sv-doc-media {
  order: 2;
}

.sv-doc-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  background: var(--surface-2);
  aspect-ratio: 16 / 11;
}

.sv-doc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sv-doc-tag {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 99px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sv-doc-copy h3 {
  margin-top: .9rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.sv-doc-copy p {
  margin-top: .7rem;
  color: var(--muted);
}

.sv-doc-list {
  margin-top: 1.1rem;
  display: grid;
  gap: .5rem;
}

.sv-doc-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .92rem;
}

.sv-doc-list i {
  color: var(--secondary);
}

.sv-doc-copy .btn {
  margin-top: 1.4rem;
}

/* ---------------- 4 · How it works (4-step) ---------------- */

/* ---------------- 6 · What's included ---------------- */
.sv-included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sv-included-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.25rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.sv-included-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
  border-color: var(--secondary);
}

.sv-included-item>i {
  margin-top: .1rem;
  font-size: 1.25rem;
  color: var(--secondary);
}

.sv-included-item strong {
  display: block;
  font-size: .98rem;
}

.sv-included-item p {
  margin-top: .3rem;
  font-size: .85rem;
  color: var(--muted);
}

/* ---------------- Dark mode ---------------- */
body.dark .sv-offer-num {
  color: #2A2A2A;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .sv-offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sv-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .sv-doc-row {
    grid-template-columns: 1fr;
  }

  .sv-doc-row--flip .sv-doc-media {
    order: 0;
  }
}

@media (max-width: 640px) {

  .sv-offer-grid,
  .sv-included-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICES PAGE — UNIQUE PATTERNS
   Process rail · Inline CTA · Pricing split · Split FAQ · CTA
   ============================================================ */

/* ---------------- Process rail (How it works) ---------------- */
.sv-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: .5rem;
}

.sv-flow::before {
  content: "";
  position: absolute;
  top: calc(1.25rem + 34px);
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(94, 234, 212, .12),
      rgba(94, 234, 212, .55),
      rgba(94, 234, 212, .12));
  z-index: 0;
}

.sv-flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.25rem 1rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #202f5f;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1),
    background .3s ease,
    border-color .3s ease,
    box-shadow .35s ease;
  cursor: default;
}

.sv-flow-step:hover {
  transform: translateY(-6px);
  background: #29406f;
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.45),
    0 0 24px -4px rgba(94, 234, 212, 0.18);
}

.sv-flow-node {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  color: #fff;
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  box-shadow: 0 0 0 8px rgba(15, 118, 110, .12);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1),
    background .3s ease,
    border-color .3s ease,
    box-shadow .35s ease,
    color .3s ease;
}

.sv-flow-step:hover .sv-flow-node {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--secondary) 0%, #0d9488 100%);
  border-color: #5EEAD4;
  color: #fff;
  box-shadow: 0 0 0 10px rgba(94, 234, 212, 0.22),
    0 8px 24px rgba(15, 118, 110, 0.45);
}

.sv-flow-step h3 {
  color: #fff;
  font-size: 1.05rem;
  transition: color .3s ease, transform .3s ease;
}

.sv-flow-step:hover h3 {
  color: #5EEAD4;
  transform: translateY(-2px);
}

.sv-flow-step p {
  margin-top: .5rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  transition: color .3s ease;
}

.sv-flow-step:hover p {
  color: rgba(255, 255, 255, .94);
}

.sv-flow-meta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .9rem;
  padding: .3rem .7rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  font-size: .74rem;
  font-weight: 600;
  color: #5EEAD4;
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}

.sv-flow-meta i {
  display: inline-block;
  transition: transform .3s ease;
}

.sv-flow-step:hover .sv-flow-meta {
  transform: translateY(-2px);
  background: rgba(94, 234, 212, 0.16);
  border-color: rgba(94, 234, 212, 0.45);
  color: #99f6e4;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
}

.sv-flow-step:hover .sv-flow-meta i {
  transform: scale(1.25) rotate(8deg);
}

/* ---------------- Inline CTA (inside ink band) ---------------- */
.sv-cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  border-inline-start: 3px solid var(--secondary);
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.sv-cta-inline:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(94, 234, 212, 0.35);
  border-inline-start-color: #5EEAD4;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.4);
}

.sv-cta-inline h3 {
  color: #fff;
  font-size: 1.15rem;
}

.sv-cta-inline p {
  margin-top: .3rem;
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
}

.sv-cta-inline .btn {
  margin-top: 0;
}

/* ---------------- Pricing split ---------------- */
.sv-plan-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.sv-plan-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(15, 118, 110, .45), transparent 60%),
    linear-gradient(150deg, #172554 0%, #0F172A 60%, #115E59 150%);
  color: #fff;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.sv-plan-badge {
  align-self: flex-start;
  margin-bottom: .9rem;
  padding: .35rem .85rem;
  border-radius: 99px;
  background: var(--secondary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sv-plan-hero h3 {
  color: #fff;
  font-size: 1.25rem;
}

.sv-plan-price {
  margin-top: .6rem;
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.sv-plan-price span {
  margin-inline-start: .5rem;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
}

.sv-plan-sub {
  margin-top: .8rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .75);
}

.sv-plan-list {
  margin-top: 1.3rem;
  display: grid;
  gap: .6rem;
}

.sv-plan-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .9);
}

.sv-plan-list i {
  color: #5EEAD4;
}

.sv-plan-hero .btn {
  margin-top: 1.6rem;
}

.sv-plan-note {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .9rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
}

.sv-plan-note i {
  color: #5EEAD4;
}

.sv-plan-side {
  display: grid;
  align-content: start;
  gap: 1.1rem;
}

.sv-plan-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.sv-plan-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
  border-color: var(--secondary);
}

.sv-plan-row h3 {
  font-size: 1.05rem;
}

.sv-plan-row p {
  margin-top: .3rem;
  font-size: .85rem;
  color: var(--muted);
}

.sv-plan-row-price {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.sv-plan-row-price span {
  display: block;
  margin-top: .1rem;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 500;
  color: var(--muted);
  text-align: end;
}

.sv-plan-row .btn {
  margin-top: 0;
  white-space: nowrap;
}

.sv-plan-compare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--secondary-soft);
  border: 1px dashed var(--secondary);
}

.sv-plan-compare h3 {
  font-size: 1rem;
}

.sv-plan-compare p {
  margin-top: .25rem;
  font-size: .85rem;
  color: var(--muted);
}

.sv-plan-compare .btn {
  margin-top: 0;
}


/* ---------------- Services CTA ---------------- */
.sv-cta {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.4rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(15, 118, 110, .5), transparent 60%),
    linear-gradient(135deg, #172554 0%, #0F172A 65%, #115E59 150%);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.sv-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .9rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
}

.sv-cta-badge i {
  color: #5EEAD4;
}

.sv-cta h2 {
  margin-top: 1.1rem;
  color: #fff;
}

.sv-cta p {
  max-width: 52ch;
  margin: .8rem auto 0;
  color: rgba(255, 255, 255, .75);
}

.sv-cta-actions {
  justify-content: center;
  margin-top: 1.8rem;
}

.sv-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--line-dark);
}

.sv-cta .btn-outline:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.sv-cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.6rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.sv-cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
}

.sv-cta-trust i {
  color: #5EEAD4;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .sv-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.4rem;
  }

  .sv-flow::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .sv-plan-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sv-flow {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .sv-flow-step::after {
    content: "";
    position: absolute;
    top: calc(1.25rem + 68px);
    bottom: -1.6rem;
    inset-inline-start: calc(1rem + 34px - 1px);
    width: 2px;
    background: linear-gradient(180deg,
        rgba(94, 234, 212, .55),
        rgba(94, 234, 212, .15));
  }

  .sv-flow-step:last-child::after {
    display: none;
  }

  .sv-flow-step {
    position: relative;
    min-height: 68px;
    padding: 1.25rem 1rem 1.4rem calc(1rem + 68px + 1rem);
    text-align: start;
  }

  .sv-flow-step:hover {
    transform: translateX(4px);
  }

  .sv-flow-node {
    position: absolute;
    inset-inline-start: 1rem;
    top: 1.25rem;
    margin: 0;
  }

  .sv-cta-inline {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .sv-plan-row {
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .sv-plan-row-price span {
    text-align: start;
  }

  .sv-plan-row .btn {
    justify-self: start;
  }

  .sv-plan-compare {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   DOCUMENTS PAGE — UNIQUE PATTERNS (prefix dm-)
   Uses the existing WillVault navy/teal palette, Spectral &
   Inter fonts, and the standard .btn system. Light & dark
   mode safe via CSS variables.
   ============================================================ */

/* ---------------- 1 · Hero ---------------- */
.dm-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 460px at 88% -22%, rgba(15, 118, 110, .5), transparent 58%),
    radial-gradient(560px 380px at -8% 110%, rgba(20, 184, 166, .2), transparent 55%),
    linear-gradient(152deg, #10192E 0%, #172554 52%, #115E59 135%);
  color: #fff;
}

.dm-hero-bg-filigree {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%);
}

.dm-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(4.2rem, 9vw, 6.5rem);
}

.dm-hero-grid>* {
  min-width: 0;
  width: 100%;
}

.dm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .95rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line-dark);
  color: #5EEAD4;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dm-eyebrow i {
  font-size: .95rem;
}

.dm-hero h1 {
  margin-top: 1.2rem;
  color: #fff;
}

.dm-hero h1 .dm-word {
  color: #5EEAD4;
  font-style: italic;
}

.dm-hero .lede {
  margin-top: 1.2rem;
  color: var(--on-dark);
  max-width: 54ch;
}

.dm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.dm-hero .btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--line-dark);
}

.dm-hero .btn-outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

.dm-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 2.3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.dm-hero-stat {
  transition: transform .25s ease;
}

.dm-hero-stat:hover {
  transform: translateY(-2px);
}

.dm-hero-stat strong {
  display: block;
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #5EEAD4;
  line-height: 1.1;
  transition: text-shadow .25s ease;
}

.dm-hero-stat:hover strong {
  text-shadow: 0 0 16px rgba(94, 234, 212, 0.45);
}

.dm-hero-stat span {
  display: block;
  margin-top: .15rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .66);
}

/* Hero art — fanned document stack */
.dm-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  margin-inline: auto;
  perspective: 1000px;
}

.dm-stack::before {
  content: "";
  position: absolute;
  inset: 6% -10% -8% -4%;
  z-index: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 65%, rgba(20, 184, 166, .35), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.dm-paper {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 16px;
  width: 86%;
  height: 82%;
  min-height: 320px;
  border-radius: 16px;
  padding: 1.7rem 1.8rem;
  background-color: var(--surface);
  background-image: linear-gradient(rgba(23, 37, 84, .045) 1px, transparent 1px);
  background-size: 100% 30px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .6),
    0 28px 50px -15px rgba(0, 0, 0, .55);
  border: 1px solid var(--line);
  transform-origin: bottom left;
  box-sizing: border-box;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s ease, border-color .3s ease;
}

.dm-paper::before {
  content: "WILLVAULT";
  position: absolute;
  top: 0.5rem;
  inset-inline-start: 1.6rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--secondary);
}

.dm-paper--b {
  transform: rotate(-6deg) translate(-10px, 6px);
  opacity: .55;
  z-index: 0;
}

.dm-paper--c {
  inset-inline-start: 24px;
  transform: rotate(-2.5deg) translate(-4px, 2px);
  opacity: .78;
  z-index: 1;
}

.dm-paper--a {
  inset-inline-start: 32px;
  transform: rotate(2deg);
  z-index: 2;
  border-top: 4px solid var(--secondary);
}

/* Stack hover animation: dynamic expanding fan */
.dm-stack:hover .dm-paper--b {
  transform: rotate(-12deg) translate(-22px, -8px);
  opacity: .72;
}

.dm-stack:hover .dm-paper--c {
  transform: rotate(-5.5deg) translate(-10px, -4px);
  opacity: .92;
}

.dm-stack:hover .dm-paper--a {
  transform: rotate(0deg) translate(0px, -8px);
  box-shadow: 0 34px 65px -14px rgba(0, 0, 0, .65);
  border-color: rgba(94, 234, 212, 0.4);
}

.dm-paper-title {
  margin-top: 1.8rem;
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.dm-paper-sub {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: .3rem;
}

.dm-paper-lines {
  margin-top: 1.1rem;
  display: grid;
  gap: .62rem;
}

.dm-paper-lines span {
  height: 7px;
  border-radius: 4px;
  background: var(--line);
}

.dm-paper-lines span:nth-child(1) {
  width: 92%;
}

.dm-paper-lines span:nth-child(2) {
  width: 78%;
}

.dm-paper-lines span:nth-child(3) {
  width: 84%;
}

.dm-paper-lines span:nth-child(4) {
  width: 40%;
}

.dm-paper-sign {
  margin-top: 1.3rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}

.dm-paper-sign svg {
  width: 58px;
  height: 26px;
}

.dm-paper-sign small {
  font-size: .66rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
}

.dm-seal {
  position: absolute;
  bottom: 1.3rem;
  inset-inline-end: 1.3rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Spectral', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(15, 118, 110, .4);
  transition: transform .35s ease, box-shadow .35s ease;
}

.dm-stack:hover .dm-seal {
  transform: scale(1.1) rotate(12deg);
  box-shadow: 0 6px 18px rgba(94, 234, 212, .5);
}

body.dark .dm-seal {
  color: #fff;
}

.dm-stack-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.1rem;
  border-radius: 12px;
  background: rgba(13, 17, 28, .94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .6);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.dm-stack-chip:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .75), 0 0 16px rgba(94, 234, 212, 0.2);
}

.dm-stack-chip i {
  font-size: 1.25rem;
  color: #5EEAD4;
}

.dm-stack-chip strong {
  display: block;
  font-size: .86rem;
}

.dm-stack-chip span {
  display: block;
  font-size: .7rem;
  color: rgba(255, 255, 255, .62);
}

.dm-chip-top {
  top: 10px;
  inset-inline-end: -6px;
}

.dm-chip-bot {
  bottom: 16px;
  inset-inline-start: -8px;
}
body.dark .dm-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

body.dark .dm-hero .btn-outline:hover,
body.dark .dm-cta .btn-outline:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
}

body.dark .dm-paper {
  background-color: #131B2C;
  border-color: rgba(255, 255, 255, .1);
}

body.dark .dm-paper::before {
  color: rgba(94, 234, 212, .8);
}

body.dark .dm-paper--c {
  opacity: .5;
}

body.dark .dm-paper--b {
  opacity: .3;
}

body.dark .dm-paper-lines span {
  background: rgba(255, 255, 255, .16);
}

/* ---------------- 2 · Dossier explorer ---------------- */
.dm-cabinet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}

.dm-cabinet-head .section-head {
  margin: 0;
  text-align: start;
}

.dm-cabinet-head .section-head .kicker {
  margin-inline: 0;
  justify-content: flex-start;
}

.dm-cabinet-head .section-head h2 {
  text-align: start;
  margin-inline: 0;
}

.dm-cabinet-count {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}

.dm-cabinet-count i {
  color: var(--secondary);
}

.dm-dossier {
  display: grid;
  gap: 1rem;
}

.dm-dossier-row {
  display: grid;
  grid-template-columns: 32px 80px 1fr 180px;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow .3s ease,
    border-color .3s ease,
    background .3s ease;
}

.dm-dossier-row:hover {
  transform: translateX(8px);
  border-inline-start-color: var(--primary);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: var(--sh-md);
}

.dm-dossier-num {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1;
  min-width: 24px;
}

.dm-dossier-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.dm-dossier-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dm-dossier-row:hover .dm-dossier-thumb img {
  transform: scale(1.12);
}

.dm-dossier-txt h3 {
  font-size: 1.08rem;
  transition: color .25s ease;
}

.dm-dossier-row:hover .dm-dossier-txt h3 {
  color: var(--secondary);
}

.dm-dossier-txt p {
  margin-top: .2rem;
  font-size: .88rem;
  color: var(--muted);
  max-width: 56ch;
}

.dm-dossier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .55rem;
}

.dm-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .65rem;
  border-radius: 99px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: .72rem;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.dm-dossier-row:hover .dm-tag {
  transform: translateY(-1px);
}

.dm-tag--ink {
  background: var(--primary-soft);
  color: var(--primary);
}

.dm-dossier-row .btn {
  width: 100%;
  min-width: 175px;
  max-width: 180px;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  transition: transform .25s ease, box-shadow .25s ease;
}

.dm-dossier-row:hover .btn {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

/* ---------------- 3 · Anatomy of a document ---------------- */
.dm-anatomy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.dm-anatomy-visual {
  position: relative;
}

.dm-anatomy-paper {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 2rem 3.4rem;
  box-shadow: var(--sh-lg);
  border-top: 4px solid var(--secondary);
  transition: transform .35s ease, box-shadow .35s ease;
}

.dm-anatomy-paper:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-xl);
}

.dm-anatomy-paper::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 64%;
  height: 24px;
  background: radial-gradient(ellipse at 50% 0, rgba(0, 0, 0, .18), transparent 70%);
}

.dm-anatomy-paper .dm-paper-title {
  margin-top: 0;
  font-size: 1.25rem;
}

.dm-anatomy-clause {
  margin-top: 1.2rem;
  display: grid;
  gap: .7rem;
}

.dm-clause {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  padding: .75rem 1rem;
  transition: all .25s ease;
  cursor: default;
}

.dm-clause:hover {
  border-color: var(--secondary);
  background: var(--surface);
  transform: translateX(4px);
  box-shadow: var(--sh-sm);
}

body.dark .dm-clause {
  background: rgba(255, 255, 255, .04);
}

.dm-clause label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--secondary);
  transition: color .2s ease;
}

.dm-clause:hover label {
  color: var(--primary);
}

.dm-clause label i {
  font-size: 1rem;
  transition: transform .25s ease;
}

.dm-clause:hover label i {
  transform: scale(1.2);
}

.dm-clause p {
  margin-top: .3rem;
  font-size: .86rem;
  max-width: none;
  color: var(--muted);
}

.dm-clause.is-active {
  border-color: var(--secondary);
  background: var(--surface);
  border-inline-start: 3px solid var(--secondary);
}

body.dark .dm-clause.is-active {
  background: rgba(15, 118, 110, .1);
}

.dm-annot {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.1rem;
}

.dm-annot-item {
  display: flex;
  gap: 1rem;
  padding: .6rem .8rem;
  border-radius: var(--radius-md);
  transition: background .25s ease, transform .25s ease;
}

.dm-annot-item:hover {
  background: var(--surface-2);
  transform: translateX(4px);
}

.dm-annot-num {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-family: 'Spectral', Georgia, serif;
  font-size: .95rem;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}

.dm-annot-item:hover .dm-annot-num {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px var(--secondary-soft);
}

.dm-annot-item strong {
  font-size: .98rem;
}

.dm-annot-item p {
  margin-top: .2rem;
  font-size: .88rem;
  color: var(--muted);
  max-width: 48ch;
}

/* ---------------- 4 · Answer → clause mapping ---------------- */
.dm-map-wrap {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.dm-map {
  display: grid;
  gap: 1rem;
}

.dm-map-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
}

.dm-map-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.3rem;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease, border-color .3s ease;
}

.dm-map-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--secondary);
}

.dm-map-cell span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--secondary);
}

.dm-map-cell span i {
  font-size: .85rem;
}

.dm-map-cell p {
  margin-top: .4rem;
  font-size: .95rem;
  max-width: none;
}

.dm-map-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.05rem;
  flex: 0 0 42px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}

.dm-map-row:hover .dm-map-arrow {
  transform: scale(1.15);
  background: var(--secondary);
  color: #fff;
}


/* ---------------- 5 · Life timeline ---------------- */
.dm-life-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.dm-life-track::before {
  display: none;
}

.dm-phase {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease, border-color .3s ease;
}

.dm-phase:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: var(--secondary);
}

.dm-phase-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--surface-2);
}

.dm-phase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dm-phase:hover .dm-phase-media img {
  transform: scale(1.08);
}

.dm-phase-body {
  position: relative;
  padding: 2.5rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dm-phase-node {
  position: absolute;
  top: -27px;
  inset-inline-start: 1.5rem;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 0 0 5px var(--surface), 0 6px 16px rgba(0, 0, 0, 0.18);
  z-index: 5;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.dm-phase:hover .dm-phase-node {
  transform: scale(1.12);
  background: linear-gradient(135deg, var(--secondary) 0%, #0d9488 100%);
  box-shadow: 0 0 0 6px var(--surface), 0 8px 22px rgba(15, 118, 110, 0.45);
}

.dm-phase-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .7rem;
  border-radius: 99px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  align-self: flex-start;
  transition: background .25s ease, color .25s ease;
}

.dm-phase:hover .dm-phase-tag {
  background: var(--secondary);
  color: #fff;
}

.dm-phase h3 {
  margin-top: .9rem;
  font-size: 1.12rem;
}

.dm-phase p {
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--muted);
}

.dm-phase-docs {
  margin-top: 1.1rem;
  display: grid;
  gap: .5rem;
}

.dm-phase-docs li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
}

.dm-phase-docs li i {
  color: var(--secondary);
}

/* ---------------- 6 · FAQ ---------------- */
.dm-faq-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.dm-faq-side {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.dm-faq-side h2 {
  margin-top: .4rem;
}

.dm-faq-side p {
  margin-top: .9rem;
  color: var(--muted);
}

.dm-faq-card-note {
  margin-top: 1.4rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--secondary-soft);
  border: 1px dashed var(--secondary);
}

.dm-faq-card-note strong {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
}

.dm-faq-card-note strong i {
  color: var(--secondary);
}

.dm-faq-card-note p {
  margin-top: .35rem;
  font-size: .84rem;
}

.dm-faq {
  display: grid;
  gap: .8rem;
}

.dm-faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.dm-faq-item:hover {
  border-color: var(--secondary);
}

.dm-faq-item[open] {
  border-inline-start-color: var(--secondary);
  box-shadow: var(--sh-sm);
}

.dm-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: 'Spectral', Georgia, serif;
  font-weight: 600;
  font-size: 1.02rem;
  transition: color .2s ease;
}

.dm-faq-item summary:hover {
  color: var(--secondary);
}

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

.dm-faq-chev {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: .85rem;
  transition: transform .25s ease, background .25s ease;
}

.dm-faq-item[open] .dm-faq-chev {
  transform: rotate(180deg);
  background: var(--secondary);
  color: #fff;
}

.dm-faq-item p {
  padding: 0 1.25rem 1.15rem;
  font-size: .92rem;
  color: var(--muted);
  max-width: none;
}

/* ---------------- 7 · Closing CTA ---------------- */
.dm-cta {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.4rem);
  background:
    radial-gradient(700px 340px at 90% -20%, rgba(15, 118, 110, .65), transparent 60%),
    linear-gradient(150deg, rgba(16, 25, 46, 0.94) 0%, rgba(23, 37, 84, 0.92) 60%, rgba(17, 94, 89, 0.88) 135%),
    url('../images/doc1.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  box-shadow: var(--sh-lg);
  transition: transform .3s ease, box-shadow .3s ease;
}

.dm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.45);
}

.dm-cta h2 {
  color: #fff;
}

.dm-cta h2 .dm-word {
  color: #5EEAD4;
  font-style: italic;
}

.dm-cta>p {
  max-width: 54ch;
  margin: .9rem auto 0;
  color: var(--on-dark);
}

.dm-cta-actions {
  justify-content: center;
  margin-top: 1.9rem;
}

.dm-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--line-dark);
}

.dm-cta .btn-outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

.dm-cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.8rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.dm-cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .83rem;
  color: rgba(255, 255, 255, .8);
}

.dm-cta-trust i {
  color: #5EEAD4;
}


/* ---------------- Documents page — responsive ---------------- */
@media (max-width: 1000px) {
  .dm-hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .dm-stack {
    height: clamp(360px, 78vw, 420px);
    max-width: 420px;
  }

  .dm-anatomy {
    grid-template-columns: 1fr;
  }

  .dm-anatomy-visual {
    margin-bottom: 1rem;
  }

  .dm-faq-head {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .dm-faq-side {
    position: static;
  }

  .dm-life-track {
    grid-template-columns: 1fr;
  }

  .dm-life-track::before {
    display: none;
  }

  .dm-phase-node {
    margin-inline: 0;
  }
}

@media (max-width: 680px) {
  .dm-hero-stats {
    gap: 1.2rem 1.6rem;
  }

  .dm-stack {
    display: none;
  }

  .dm-dossier-row {
    grid-template-columns: 64px 1fr;
    gap: .9rem;
  }

  .dm-dossier-thumb {
    width: 64px;
    height: 64px;
  }

  .dm-dossier-num {
    display: none;
  }

  .dm-dossier-tags {
    grid-column: 1 / -1;
  }

  .dm-dossier-row .btn {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
  }

  .dm-map-row {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .dm-map-arrow {
    transform: rotate(90deg);
  }
}

/* ============================================================
   PRICING PAGE — UNIQUE PATTERNS (prefix pr-)
   Receipt hero, one-time rate-sheet plans, comparison matrix,
   dashboard mock and pricing FAQ. Distinct from all other pages.
   Light & dark safe via CSS variables.
   ============================================================ */

/* ---------------- 1 · Pricing hero + receipt ---------------- */
.pr-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(820px 460px at 88% -22%, rgba(15, 118, 110, .55), transparent 58%),
    radial-gradient(620px 420px at -6% 112%, rgba(20, 184, 166, .22), transparent 55%),
    linear-gradient(152deg, #10192E 0%, #172554 52%, #115E59 135%);
}

.pr-hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 18% 30%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 60% at 18% 30%, #000 20%, transparent 72%);
}

.pr-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.pr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .95rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line-dark);
  color: #5EEAD4;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pr-eyebrow i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  line-height: 1;
}

.pr-hero h1 {
  margin-top: 1.2rem;
  color: #fff;
}

.pr-hero h1 .pr-word {
  color: #5EEAD4;
  font-style: italic;
}

.pr-lede {
  margin-top: 1.1rem;
  color: var(--on-dark);
  max-width: 54ch;
  font-size: 1.08rem;
}

.pr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.pr-hero .btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--line-dark);
}

.pr-hero .btn-outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

.pr-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.9rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  padding-left: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
  margin-bottom: 0;
}

.pr-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .86rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.4;
  transition: transform .25s ease, color .25s ease;
  cursor: default;
}

.pr-hero-facts li:hover {
  transform: translateY(-2px);
  color: #fff;
}

.pr-hero-facts li i {
  color: #5EEAD4;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s ease, color .25s ease;
}

.pr-hero-facts li:hover i {
  transform: scale(1.2);
  color: #99f6e4;
}

/* Receipt card */
.pr-receipt-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
}

.pr-receipt {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #172554;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: 0 34px 64px -24px rgba(0, 0, 0, .65);
  transform: rotate(-1.5deg);
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pr-receipt-wrap:hover .pr-receipt {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 42px 76px -20px rgba(15, 118, 110, .28), 0 20px 42px -16px rgba(0, 0, 0, .55);
}

.pr-receipt-head {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.pr-rc-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--secondary);
  color: #fff !important;
  font-size: 1.25rem !important;
  line-height: 1;
  transition: transform .3s ease;
}

.pr-receipt-wrap:hover .pr-rc-logo {
  transform: scale(1.08) rotate(-3deg);
}

.pr-rc-logo i {
  color: #fff !important;
  font-size: 1.25rem !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pr-rc-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.pr-rc-meta strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

.pr-rc-meta span {
  display: block;
  font-size: .74rem;
  color: var(--muted);
  margin-top: .15rem;
  line-height: 1.3;
}

.pr-rc-rule {
  height: 1px;
  margin: 1rem 0;
  background-image: linear-gradient(90deg, #cbd5e1 50%, transparent 50%);
  background-size: 9px 1px;
}

.pr-rc-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.pr-rc-items li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: .82rem;
  color: var(--muted);
  padding: .2rem .4rem;
  border-radius: 6px;
  transition: background-color .2s ease, color .2s ease;
}

.pr-rc-items li:hover {
  background-color: rgba(15, 118, 110, .07);
  color: #172554;
}

.pr-rc-items b {
  color: #172554;
  font-weight: 600;
  font-size: .84rem;
}

.pr-rc-items .pr-rc-hot {
  color: #172554;
  font-weight: 600;
  font-size: .88rem;
}

.pr-rc-items .pr-rc-muted b {
  color: var(--muted);
}

.pr-rc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .9rem;
  padding: .95rem 1.1rem;
  border-radius: 12px;
  background: rgba(15, 118, 110, .1);
  border: 1px dashed rgba(15, 118, 110, .5);
  transition: background-color .25s ease, border-color .25s ease;
}

.pr-receipt-wrap:hover .pr-rc-total {
  background: rgba(15, 118, 110, .14);
  border-color: rgba(15, 118, 110, .75);
}

.pr-rc-total>span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.pr-rc-total strong {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.7rem;
  color: var(--secondary);
}

.pr-rc-total strong small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
}

.pr-rc-seal {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  font-size: .76rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  transition: transform .2s ease;
}

.pr-receipt-wrap:hover .pr-rc-seal {
  transform: translateX(3px);
}

.pr-rc-seal i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  line-height: 1;
}

.pr-rc-barcode {
  margin-top: 1.1rem;
  height: 26px;
  background-image: repeating-linear-gradient(90deg,
      #94a3b8 0 2px, transparent 2px 6px, #94a3b8 6px 7px,
      transparent 7px 12px, #94a3b8 12px 15px, transparent 15px 19px);
}

.pr-receipt-chip {
  position: absolute;
  z-index: 2;
  bottom: -14px;
  inset-inline-start: -14px;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.05rem;
  border-radius: 12px;
  background: rgba(13, 17, 28, .94);
  border: 1px solid var(--line-dark);
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .6);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.pr-receipt-wrap:hover .pr-receipt-chip,
.pr-receipt-chip:hover {
  transform: translateY(-4px);
  border-color: #5EEAD4;
  box-shadow: 0 20px 42px -12px rgba(94, 234, 212, .32);
}

.pr-receipt-chip i {
  font-size: 1.25rem;
  color: #5EEAD4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  transition: transform .3s ease;
}

.pr-receipt-chip:hover i {
  transform: scale(1.15);
}

.pr-receipt-chip strong {
  display: block;
  font-size: .84rem;
}

.pr-receipt-chip span {
  display: block;
  font-size: .7rem;
  color: rgba(255, 255, 255, .6);
}

body.dark .pr-receipt {
  background: #0F172A;
  color: #EDF0F5;
}

body.dark .pr-rc-meta strong {
  color: #EDF0F5;
}

body.dark .pr-rc-meta span {
  color: #9AA6B8;
}

body.dark .pr-rc-items b,
body.dark .pr-rc-items .pr-rc-hot {
  color: #EDF0F5;
}

body.dark .pr-rc-items .pr-rc-muted b {
  color: #9AA6B8;
}

body.dark .pr-rc-rule {
  background-image: linear-gradient(90deg, #334155 50%, transparent 50%);
}

body.dark .pr-rc-barcode {
  background-image: repeating-linear-gradient(90deg,
      #475569 0 2px, transparent 2px 6px, #475569 6px 7px,
      transparent 7px 12px, #475569 12px 15px, transparent 15px 19px);
}

body.dark .pr-hero .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

body.dark .pr-hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
}

/* ---------------- 2 · One-time plan cards (rate sheet) ---------------- */
.pr-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.pr-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--sh-sm);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease;
}

.pr-plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px -14px rgba(15, 118, 110, .22), var(--sh);
  border-color: rgba(15, 118, 110, .55);
}

.pr-plan .btn {
  margin-top: auto;
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.pr-plan-list i {
  color: var(--secondary);
  font-size: 1.05rem;
  line-height: 1;
  height: 1.45em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0;
  transition: transform .25s ease, color .25s ease;
}

.pr-plan:hover .pr-plan-list i {
  transform: scale(1.18);
  color: var(--secondary);
}

.pr-flag {
  position: absolute;
  top: -12px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: .3rem .85rem;
  border-radius: 99px;
  background: var(--secondary);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--sh-sm);
  transition: transform .25s ease;
}

.pr-plan:hover .pr-flag {
  transform: translateX(-50%) translateY(-2px);
}

.pr-plan-top {
  margin-top: .25rem;
}

.pr-plan-name {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  transition: color .2s ease;
}

.pr-plan:hover .pr-plan-name {
  color: var(--secondary);
}

.pr-price {
  margin-top: 1rem;
  font-family: 'Spectral', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  transition: transform .25s ease;
}

.pr-plan:hover .pr-price {
  transform: scale(1.02);
}

.pr-price span {
  display: block;
  margin-top: .5rem;
  font-family: 'Inter', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
}

.pr-plan-list {
  list-style: none;
  margin: 1.3rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: .65rem;
  flex: 1;
}

.pr-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--muted);
  transition: color .2s ease;
}

.pr-plan:hover .pr-plan-list li {
  color: var(--text);
}

.pr-plan.is-featured {
  background: linear-gradient(165deg, #10192E 0%, #172554 58%, #0F766E 150%);
  border-color: rgba(20, 184, 166, .5);
  color: #fff;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease;
}

.pr-plan.is-featured:hover {
  transform: translateY(-9px);
  box-shadow: 0 28px 56px -12px rgba(20, 184, 166, .45), 0 0 0 1.5px rgba(94, 234, 212, .75);
  border-color: rgba(94, 234, 212, .85);
}

.pr-plan.is-featured:hover .pr-plan-name {
  color: #a7f3d0;
}

.pr-plan.is-featured .pr-plan-name,
.pr-plan.is-featured .pr-price {
  color: #5EEAD4;
}

.pr-plan.is-featured .pr-plan-list li {
  color: rgba(255, 255, 255, .82);
}

.pr-plan.is-featured:hover .pr-plan-list li {
  color: #fff;
}

.pr-plan.is-featured .pr-plan-list i {
  color: #5EEAD4;
}

.pr-plan.is-featured:hover .pr-plan-list i {
  color: #99f6e4;
}

.pr-plan.is-featured .btn {
  box-shadow: 0 10px 26px -10px rgba(20, 184, 166, .6);
}

/* ---------------- 3 · Comparison matrix ---------------- */
.pr-cmp-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  background: var(--surface);
  transition: box-shadow .3s ease;
}

.pr-cmp-wrap:hover {
  box-shadow: var(--sh);
}

.pr-cmp {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .9rem;
}

.pr-cmp th,
.pr-cmp td {
  padding: .95rem 1.1rem;
  text-align: center;
  vertical-align: middle;
}

.pr-cmp thead th {
  background: var(--surface-2);
  font-family: 'Spectral', Georgia, serif;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.pr-cmp thead th:first-child,
.pr-cmp tbody th {
  text-align: start;
}

.pr-cmp thead th span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: .15rem;
}

.pr-cmp tbody tr {
  transition: background-color .2s ease;
}

.pr-cmp tbody tr:hover {
  background-color: rgba(15, 118, 110, .05);
}

body.dark .pr-cmp tbody tr:hover {
  background-color: rgba(94, 234, 212, .06);
}

.pr-cmp tbody th {
  font-weight: 600;
  color: var(--text);
  vertical-align: middle;
  transition: color .2s ease;
}

.pr-cmp tbody tr:hover th {
  color: var(--primary);
}

.pr-cmp tbody tr+tr th,
.pr-cmp tbody tr+tr td {
  border-top: 1px solid var(--line);
}

.pr-cmp th[scope="row"] i {
  color: var(--secondary);
  width: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  vertical-align: middle;
  margin-inline-end: .55rem;
  flex-shrink: 0;
  transition: transform .2s ease, color .2s ease;
}

.pr-cmp tbody tr:hover th[scope="row"] i {
  transform: scale(1.22);
  color: #0d9488;
}

.pr-cmp td {
  color: var(--muted);
  transition: color .2s ease;
}

.pr-cmp td i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: middle;
  transition: transform .2s ease;
}

.pr-cmp tbody tr:hover td i {
  transform: scale(1.16);
}

.pr-cmp .pr-cmp-feat {
  background: rgba(15, 118, 110, .07);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, .35);
  transition: background-color .2s ease;
}

.pr-cmp tbody tr:hover .pr-cmp-feat {
  background: rgba(15, 118, 110, .12);
}

.pr-cmp thead .pr-cmp-feat {
  background: rgba(15, 118, 110, .1);
}

.pr-yes {
  color: var(--secondary);
  font-weight: 700;
}

.pr-no {
  color: #94a3b8;
}

.pr-cmp-cta {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
}

/* ---------------- 4 · Every plan includes (dashboard + add-ons) ---------------- */
.pr-bundled {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pr-bundled-copy h2 {
  margin-bottom: .8rem;
}

.pr-bundled-copy>p {
  color: var(--muted);
  max-width: 52ch;
}

.pr-features {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.pr-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .95rem;
  align-items: start;
  padding: .65rem .85rem;
  border-radius: 14px;
  transition: background-color .25s ease, transform .25s ease;
}

.pr-features li:hover {
  background: rgba(15, 118, 110, .05);
  transform: translateX(4px);
}

body.dark .pr-features li:hover {
  background: rgba(94, 234, 212, .06);
}

.pr-features li>i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.pr-features li:hover>i {
  transform: scale(1.1) rotate(3deg);
  background: var(--secondary);
  color: #fff;
}

.pr-features strong {
  display: block;
  color: var(--text);
}

.pr-features li p {
  margin: .25rem 0 0;
  font-size: .9rem;
  color: var(--muted);
}

/* Mini dashboard mock */
.pr-dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pr-dash:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px -16px rgba(15, 118, 110, .22), var(--sh-lg);
}

.pr-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.pr-dash-user {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.pr-dash-ava {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: .92rem !important;
  line-height: 1 !important;
  text-align: center;
  margin: 0;
  transition: transform .25s ease;
}

.pr-dash:hover .pr-dash-ava {
  transform: scale(1.08);
}

.pr-dash-user-info strong,
.pr-dash-user strong {
  display: block;
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.25;
}

.pr-dash-user-info span,
.pr-dash-user span:not(.pr-dash-ava) {
  display: block;
  font-size: .74rem;
  color: var(--muted);
  margin-top: .15rem;
  line-height: 1.25;
}

.pr-dash-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  font-weight: 700;
  color: var(--secondary);
  border: 1px solid rgba(15, 118, 110, .4);
  background: rgba(15, 118, 110, .08);
  border-radius: 99px;
  padding: .3rem .7rem;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}

.pr-dash-badge:hover {
  transform: scale(1.05);
  background: rgba(15, 118, 110, .16);
}

.pr-dash-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  line-height: 1;
}

.pr-dash-body {
  padding: .5rem 1.3rem;
  display: grid;
}

.pr-dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem .6rem;
  margin-inline: -.6rem;
  border-radius: 10px;
  border-bottom: 1px dashed var(--line);
  transition: background-color .2s ease, transform .2s ease;
}

.pr-dash-row:hover {
  background-color: rgba(15, 118, 110, .055);
  transform: translateX(3px);
}

body.dark .pr-dash-row:hover {
  background-color: rgba(94, 234, 212, .055);
}

.pr-dash-row:last-child {
  border-bottom: 0;
}

.pr-dash-doc {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
  line-height: 1.3;
}

.pr-dash-doc i {
  color: var(--secondary);
  width: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.pr-dash-row:hover .pr-dash-doc i {
  transform: scale(1.18);
}

.pr-dash-gauge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.pr-dash-bar {
  height: 8px;
  width: 110px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.pr-dash-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--secondary), #14B8A6);
  transition: width .4s ease;
}

.pr-dash-state {
  font-size: .72rem;
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
}

.pr-dash-state.is-empty {
  color: var(--muted);
}

.pr-dash-chip {
  font-size: .7rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(15, 118, 110, .12);
  padding: .25rem .6rem;
  border-radius: 99px;
  white-space: nowrap;
  transition: transform .2s ease;
}

.pr-dash-row:hover .pr-dash-chip {
  transform: scale(1.05);
}

.pr-dash-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.3rem 1.1rem;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}

.pr-dash-foot>span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.pr-dash-foot>span i {
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform .2s ease;
}

.pr-dash-foot:hover>span i {
  transform: translateY(-2px);
}

.pr-dash-foot .btn {
  margin: 0;
  transition: transform .2s ease;
}

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

/* Add-ons */
.pr-addons-label {
  display: block;
  margin-bottom: .9rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-top: .5rem;
}

.pr-addons {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pr-addon {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--sh-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: default;
}

.pr-addon:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
  border-color: rgba(15, 118, 110, .45);
}

.pr-addon-ico {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.25rem !important;
  line-height: 1;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.pr-addon-ico i {
  font-size: 1.25rem !important;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform .25s ease, color .25s ease;
}

.pr-addon:hover .pr-addon-ico {
  transform: scale(1.1);
  background: var(--secondary);
}

.pr-addon:hover .pr-addon-ico i {
  color: #fff !important;
  transform: rotate(4deg);
}

.pr-addon-info strong,
.pr-addon strong {
  display: block;
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
}

.pr-addon-info span,
.pr-addon span:not(.pr-addon-ico) {
  display: block;
  font-size: .76rem;
  color: var(--muted);
  margin-top: .15rem;
  line-height: 1.3;
}

/* ---------------- 5 · Pricing FAQ + guarantee + CTA ---------------- */
.pr-faq-head {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.pr-faq-side {
  position: sticky;
  top: 7rem;
}

.pr-faq-side h2 {
  margin-bottom: .8rem;
}

.pr-faq-side>p {
  color: var(--muted);
}

.pr-guar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--secondary);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--sh-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pr-guar:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
  border-color: rgba(15, 118, 110, .4);
}

.pr-guar-seal {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.pr-guar:hover .pr-guar-seal {
  transform: scale(1.1) rotate(8deg);
  background: var(--secondary);
  color: #fff;
}

.pr-guar-seal i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color .25s ease;
}

.pr-guar:hover .pr-guar-seal i {
  color: #fff;
}

.pr-guar strong {
  display: block;
  color: var(--text);
  font-size: .95rem;
}

.pr-guar p {
  margin: .3rem 0 0;
  font-size: .86rem;
  color: var(--muted);
}

.pr-faq-side .btn {
  margin-top: 1.2rem;
  width: 100%;
}

.pr-faq {
  display: grid;
  gap: .9rem;
}

.pr-faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .35rem 1.3rem;
  box-shadow: var(--sh-sm);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.pr-faq-item:hover {
  border-color: rgba(15, 118, 110, .4);
  box-shadow: var(--sh);
  transform: translateY(-2px);
}

.pr-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  transition: color .2s ease;
}

.pr-faq-item summary:hover {
  color: var(--secondary);
}

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

.pr-faq-item summary .pr-faq-chev {
  color: var(--secondary);
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  transition: transform .25s ease;
}

.pr-faq-item summary:hover .pr-faq-chev {
  transform: scale(1.2);
}

.pr-faq-item[open] summary .pr-faq-chev {
  transform: rotate(180deg);
}

.pr-faq-item[open] summary:hover .pr-faq-chev {
  transform: rotate(180deg) scale(1.2);
}

.pr-faq-item p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: .92rem;
  max-width: 62ch;
}

.pr-faq-item[open] summary {
  padding-bottom: .6rem;
}

/* Closing CTA band */
.pr-cta {
  margin-top: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg, #10192E 0%, #172554 58%, #0F766E 150%);
  box-shadow: var(--sh);
  transition: transform .35s ease, box-shadow .35s ease;
}

.pr-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -15px rgba(15, 118, 110, .35), var(--sh-lg);
}

.pr-cta h2 {
  color: #fff;
  margin-bottom: .35rem;
}

.pr-cta p {
  color: var(--on-dark);
  margin: 0;
  max-width: 52ch;
}

.pr-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.pr-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--line-dark);
}

.pr-cta .btn-outline:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

body.dark .pr-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

body.dark .pr-cta .btn-outline:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
}

/* ---------------- Pricing page — responsive ---------------- */
@media (max-width: 1000px) {
  .pr-hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pr-receipt-wrap {
    max-width: 420px;
  }

  .pr-plans {
    grid-template-columns: 1fr 1fr;
  }

  .pr-bundled {
    grid-template-columns: 1fr;
  }

  .pr-dash {
    max-width: 520px;
    margin-inline: auto;
  }

  .pr-addons {
    grid-template-columns: repeat(2, 1fr);
  }

  .pr-faq-head {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pr-faq-side {
    position: static;
  }
}

@media (max-width: 520px) {
  .pr-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .pr-receipt-chip {
    inset-inline-start: -6px;
    right: auto;
    bottom: -12px;
  }

  .pr-plans {
    grid-template-columns: 1fr;
  }

  .pr-addons {
    grid-template-columns: 1fr;
  }

  .pr-rc-items li {
    flex-wrap: wrap;
    gap: .35rem;
  }

  .pr-rc-total {
    flex-wrap: wrap;
    gap: .4rem;
  }

  .pr-cmp-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .pr-hero-inner {
    padding-block: 3.2rem 2.4rem;
    gap: 2.4rem;
  }

  .pr-receipt {
    transform: none;
  }

  .pr-receipt-chip {
    bottom: -12px;
    inset-inline-start: -6px;
  }

  .pr-rc-total strong {
    font-size: 1.5rem;
  }

  .pr-plans {
    grid-template-columns: 1fr;
  }

  .pr-addons {
    grid-template-columns: 1fr;
  }

  .pr-cmp-wrap {
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .pr-cmp {
    min-width: 0;
  }

  .pr-cmp thead {
    display: none;
  }

  .pr-cmp,
  .pr-cmp tbody {
    display: block;
  }

  .pr-cmp tbody {
    display: grid;
    gap: .9rem;
  }

  .pr-cmp tr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem .6rem;
    padding: 1rem 1rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--sh-sm);
  }

  .pr-cmp tbody th {
    display: block;
    grid-column: 1 / -1;
    padding: 0 0 .45rem;
    margin-bottom: .35rem;
    font-size: .93rem;
    border-bottom: 1px dashed var(--line);
  }

  .pr-cmp tbody td {
    display: grid;
    gap: .25rem;
    justify-items: start;
    text-align: start;
    padding: 0;
    border: 0;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
  }

  .pr-cmp tbody td::before {
    content: attr(data-label);
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
  }

  .pr-cmp .pr-cmp-feat {
    background: transparent;
    box-shadow: none;
    color: var(--secondary);
  }

  .pr-cmp tbody tr+tr th,
  .pr-cmp tbody tr+tr td {
    border-top: 0;
  }

  .pr-yes,
  .pr-no {
    font-size: .95rem;
  }

  .pr-dash-row {
    flex-wrap: wrap;
  }

  .pr-dash-gauge {
    width: 100%;
    justify-content: space-between;
  }

  .pr-dash-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .pr-dash-foot .btn {
    width: 100%;
  }

  .pr-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

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

  .pr-cta-actions .btn {
    flex: 1 1 auto;
  }
}

/* ============================================================
   CONTACT PAGE — UNIQUE PATTERNS (prefix ct-)
   Support console hero, contact channels, message form,
   response pipeline and contact FAQ. Distinct from all other pages.
   Light & dark safe via CSS variables.
   ============================================================ */

/* ---------------- 1 · Contact hero ---------------- */
.ct-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(152deg, rgba(16, 25, 46, 0.90) 0%, rgba(23, 37, 84, 0.86) 52%, rgba(15, 118, 110, 0.80) 135%),
    url('../images/contact-hero-bg.jpg') center/cover no-repeat;
}

.ct-hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
}

.ct-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(100%, 820px);
  box-sizing: border-box;
  max-width: 820px;
  margin-inline: auto;
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

.ct-hero .reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1.15rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #5EEAD4;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.ct-hero h1 {
  margin-top: 1.3rem;
  color: #fff;
  text-align: center;
  max-width: 22ch;
}

.ct-hero h1 .ct-word {
  color: #5EEAD4;
  font-style: italic;
}

.ct-lede {
  margin-top: 1.1rem;
  color: var(--on-dark);
  max-width: 58ch;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin-inline: auto;
}

.ct-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

.ct-hero-actions .btn {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.ct-hero-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(94, 234, 212, 0.35);
}

.ct-hero .btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--line-dark);
}

.ct-hero .btn-outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

.ct-hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem 2.2rem;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  list-style: none;
  margin-bottom: 0;
  width: 100%;
}

.ct-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .85);
  transition: transform .2s ease, color .2s ease;
  cursor: default;
}

.ct-hero-facts li:hover {
  transform: translateY(-2px);
  color: #fff;
}

.ct-hero-facts i {
  color: #5EEAD4;
  font-size: .95rem;
  transition: transform .2s ease;
}

.ct-hero-facts li:hover i {
  transform: scale(1.2);
}

/* Support console art */

@keyframes ctPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, .55);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(20, 184, 166, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
  }
}

body.dark .ct-hero .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

body.dark .ct-hero .btn-outline:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
}

/* ---------------- 2 · Contact channels ---------------- */
.ct-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
}

.ct-channel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem 1.45rem 1.45rem;
  box-shadow: var(--sh-sm);
  transition: transform .28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .28s ease, border-color .28s ease;
}

.ct-channel:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px -10px rgba(15, 118, 110, 0.22), 0 0 0 1px rgba(15, 118, 110, 0.3);
  border-color: rgba(15, 118, 110, 0.6);
}

.ct-c-ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.3rem;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color .3s ease, color .3s ease, box-shadow .3s ease;
}

.ct-channel:hover .ct-c-ico {
  transform: translateY(-2px) scale(1.12) rotate(4deg);
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 8px 18px -4px rgba(15, 118, 110, 0.45);
}

.ct-channel h3 {
  margin-top: 1.15rem;
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0;
}

.ct-channel .ct-c-value {
  display: block;
  margin-top: .4rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease;
}

.ct-channel:hover .ct-c-value {
  color: var(--secondary-dark);
}

.ct-channel .ct-c-best {
  display: block;
  margin-top: .6rem;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--muted);
  min-height: 2.7rem;
}

.ct-channel .ct-c-time {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1.15rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.ct-channel .ct-c-time i {
  color: var(--secondary);
  font-size: .85rem;
}

.ct-channel .btn {
  margin-top: .9rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1rem;
  font-size: .92rem;
  border-radius: 12px;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ct-channel .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(15, 118, 110, 0.4);
}

/* ---------------- 3 · Message form + help side ---------------- */
.ct-form-sec {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}

.ct-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh-sm);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
}

.ct-field {
  display: grid;
  gap: .4rem;
}

.ct-field--wide {
  grid-column: 1 / -1;
}

.ct-field label {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
}

.ct-field label .ct-opt {
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
}

.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  min-width: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .78rem .95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ct-textarea {
  resize: vertical;
  min-height: 150px;
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .18);
  background: var(--surface);
}

.ct-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235A6472' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-inline-end: 2.6rem;
}

.ct-hint {
  font-size: .72rem;
  color: var(--muted);
  grid-column: 1 / -1;
  margin-top: -.2rem;
}

.ct-privacy-note {
  font-size: .76rem;
  color: var(--muted);
  grid-column: 1 / -1;
  margin: 0;
}

.ct-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: .2rem;
}

.ct-form-actions .ct-sla {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: var(--muted);
}

.ct-form-actions .ct-sla i {
  color: var(--secondary);
}

/* Help side panel */
.ct-help {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1.2rem;
}

.ct-help-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--sh-sm);
  padding: 1.4rem 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ct-help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
  border-color: rgba(15, 118, 110, .35);
}

.ct-help-card h3 {
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.02rem;
  margin-bottom: .9rem;
}

.ct-help-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.ct-help-links a {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  padding: .55rem .65rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.ct-help-links a i {
  color: var(--secondary);
  transition: transform .2s ease;
}

.ct-help-links a:hover {
  color: var(--secondary);
  background: var(--secondary-soft);
  border-color: rgba(15, 118, 110, .25);
  transform: translateX(4px);
}

.ct-help-links a:hover i {
  transform: scale(1.15);
}

.ct-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.ct-help-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .86rem;
  color: var(--muted);
  transition: transform .2s ease, color .2s ease;
}

.ct-help-list li:hover {
  transform: translateX(3px);
  color: var(--text);
}

.ct-help-list li i {
  color: var(--secondary);
  margin-top: .15rem;
}

/* ---------------- 4 · Response pipeline ---------------- */
.ct-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: ct-step;
}

.ct-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--sh-sm);
  padding: 1.5rem 1.5rem 1.6rem;
  transition: transform .28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .28s ease, border-color .28s ease;
}

.ct-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: rgba(15, 118, 110, .45);
}

.ct-step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-family: 'Spectral', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 22px -8px rgba(15, 118, 110, .6);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease;
}

.ct-step:hover .ct-step-num {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 12px 24px -6px rgba(15, 118, 110, .8);
}

.ct-step h3 {
  margin-top: 1rem;
  font-family: 'Spectral', Georgia, serif;
  font-size: 1.05rem;
}

.ct-step p {
  margin: .45rem 0 0;
  font-size: .88rem;
  color: var(--muted);
}

.ct-step::after {
  content: "\F138";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 1.6rem;
  inset-inline-end: -1.05rem;
  z-index: 2;
  color: var(--secondary);
  font-size: 1.05rem;
}

.ct-step:last-child::after {
  display: none;
}


/* ---------------- 5 · Office location map section & closing CTA ---------------- */
.ct-map-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: stretch;
  margin-top: 2.2rem;
}

.ct-map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.8rem, 3.2vw, 2.5rem);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
  transition: transform .28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .28s ease, border-color .28s ease;
}

.ct-map-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(15, 118, 110, 0.2), 0 0 0 1px rgba(15, 118, 110, 0.3);
  border-color: rgba(15, 118, 110, .55);
}

.ct-map-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--secondary);
  background: var(--secondary-soft);
  padding: .35rem .85rem;
  border-radius: 99px;
  align-self: flex-start;
  margin-bottom: .8rem;
}

.ct-map-card h3 {
  font-size: 1.45rem;
  color: var(--text);
  margin: 0 0 .6rem;
  font-weight: 700;
}

.ct-map-desc {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
  margin: 0;
}

.ct-map-details {
  display: grid;
  gap: 1.15rem;
  padding: 1.3rem 0;
  border-block: 1px solid var(--line);
}

.ct-map-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .45rem .6rem;
  border-radius: 12px;
  transition: background-color .2s ease, transform .2s ease;
}

.ct-map-item:hover {
  background: var(--secondary-soft);
  transform: translateX(4px);
}

.ct-map-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.ct-map-item:hover .ct-map-icon {
  transform: scale(1.1);
  background: var(--secondary);
  color: #fff;
}

.ct-map-info strong {
  display: block;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: .2rem;
}

.ct-map-info span,
.ct-map-info a {
  display: block;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease;
}

.ct-map-info a:hover {
  color: var(--secondary);
}

.ct-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.ct-map-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ct-map-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(15, 118, 110, 0.4);
}

.ct-map-frame-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  background: var(--surface);
  min-height: 450px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.ct-map-frame-box:hover {
  border-color: rgba(15, 118, 110, 0.4);
  box-shadow: var(--sh);
}

.ct-map-frame-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
}

body.dark .ct-map-frame-box iframe {
  filter: contrast(0.92) brightness(0.88);
}

/* Closing CTA band */
.ct-cta {
  margin-top: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg, #10192E 0%, #172554 58%, #0F766E 150%);
  box-shadow: var(--sh);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ct-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px -10px rgba(16, 25, 46, 0.4);
}

.ct-cta h2 {
  color: #fff;
  margin-bottom: .35rem;
}

.ct-cta p {
  color: var(--on-dark);
  margin: 0;
  max-width: 52ch;
}

.ct-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.ct-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--line-dark);
}

.ct-cta .btn-outline:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

body.dark .ct-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

body.dark .ct-cta .btn-outline:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
}

/* ---------------- Contact page — responsive ---------------- */
@media (max-width: 1000px) {
  .ct-hero-inner {
    padding-block: clamp(3.8rem, 8vw, 5.5rem);
  }

  .ct-channels {
    grid-template-columns: 1fr 1fr;
  }

  .ct-form-sec {
    grid-template-columns: 1fr;
  }

  .ct-help {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .ct-steps {
    grid-template-columns: 1fr 1fr;
  }

  .ct-step::after {
    display: none;
  }

  .ct-map-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ct-map-frame-box {
    min-height: 380px;
    height: 380px;
  }
}

@media (max-width: 680px) {
  .ct-channels,
  .ct-form,
  .ct-help,
  .ct-steps {
    grid-template-columns: 1fr;
  }

  .ct-channel .ct-c-value,
  .ct-channel .ct-c-time {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .ct-hero-inner {
    width: 100%;
    padding: 3.2rem 1rem 2.5rem;
  }

  .ct-hero h1 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    overflow-wrap: anywhere;
  }

  .ct-lede {
    width: 100%;
    max-width: 58ch;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .ct-eyebrow {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .ct-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ct-hero-actions .btn {
    width: 100%;
  }

  .ct-hero-facts {
    flex-direction: column;
    align-items: center;
    gap: .75rem;
  }

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

  .ct-form-actions .btn {
    width: 100%;
  }

  .ct-cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .ct-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .ct-map-actions {
    flex-direction: column;
  }

  .ct-map-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .ct-map-frame-box {
    min-height: 300px;
    height: 300px;
  }

  .ct-form {
    grid-template-columns: 1fr;
    padding: 1.4rem 1.2rem;
  }

  .ct-field--wide {
    grid-column: auto;
  }

  .ct-hint,
  .ct-privacy-note,
  .ct-form-actions {
    grid-column: auto;
  }

  .ct-help {
    grid-template-columns: 1fr;
  }

  .ct-steps {
    grid-template-columns: 1fr;
  }

  .ct-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

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

  .ct-cta-actions .btn {
    flex: 1 1 auto;
  }
}

/* ============================================================
   ADMIN DASHBOARD (admin-dashboard.html)
   Clean white shell · left sidebar · top header · green accent ·
   rounded cards · subtle shadows · responsive mobile sidebar.
   ============================================================ */

body.admin {
  background: var(--surface-2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.adm-shell {
  display: flex;
  min-height: 100vh;
  background: var(--surface-2);
}

/* ---------------- Sidebar ---------------- */
.adm-sidebar {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 268px;
  flex: 0 0 268px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-inline-end: 1px solid var(--line);
  padding: 1.15rem 1rem;
  overflow-y: auto;
}

.adm-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .3rem .4rem 1rem;
  border-bottom: 1px solid var(--line);
}

.adm-close {
  display: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--primary);
  background: var(--surface);
  transition: background .2s, border-color .2s, color .2s;
}

.adm-close:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.adm-nav-label {
  display: block;
  margin: 1.2rem .7rem .5rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.adm-nav {
  display: grid;
  gap: .2rem;
}

.adm-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .74rem .8rem;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: background .18s, color .18s;
}

.adm-link i {
  width: 1.2rem;
  flex: 0 0 1.2rem;
  text-align: center;
  font-size: 1.02rem;
  color: var(--muted);
  transition: color .18s;
}

.adm-link > span:not(.adm-link-note) {
  flex: 1;
  min-width: 0;
}

.adm-link .adm-link-note {
  flex: 0 0 auto;
  min-width: 3.6rem;
  margin-inline-start: auto;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: .68rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: 99px;
  background: var(--secondary-soft);
  color: var(--secondary);
}

.adm-link:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.adm-link:hover i {
  color: var(--secondary);
}

.adm-link.active {
  background: var(--secondary-soft);
  color: var(--secondary);
  font-weight: 600;
}

.adm-link.active i {
  color: var(--secondary);
}

.adm-side-foot {
  margin-top: auto;
  padding-top: 1rem;
  display: grid;
  gap: .7rem;
}

.adm-site-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  padding: .55rem .7rem;
  border-radius: 10px;
  transition: background .18s, color .18s;
}

.adm-site-link:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.adm-site-link i {
  color: var(--secondary);
}

/* Return to home button */
.adm-home-link {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-size: .82rem;
  padding: .65rem .8rem;
}

.adm-home-link:hover {
  background: var(--secondary-soft);
  color: var(--secondary);
  border-color: rgba(15, 118, 110, .35);
}

/* Desktop Topbar Toggles vs Sidebar Toggles */
.adm-topbar-toggles {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.adm-side-toggles {
  display: none;
}

.adm-side-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .6rem .75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.adm-side-toggle-btn:hover {
  background: var(--secondary-soft);
  color: var(--secondary);
  border-color: rgba(15, 118, 110, .35);
}

/* Avatar Image Wrap */
.adm-ava.adm-ava-img-wrap {
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  background: transparent;
}

.adm-ava.adm-ava-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ---------------- Page column ---------------- */
.adm-page {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.adm-topbar {
  position: sticky;
  top: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem clamp(1.2rem, 3vw, 2rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.adm-tb-crumb {
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
}

.adm-tb-crumb strong {
  color: var(--text);
  font-weight: 600;
}

.adm-burger {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .2s, background .2s;
}

.adm-burger:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.adm-burger span {
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

.adm-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.adm-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.adm-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.adm-spacer {
  flex: 1;
}

.adm-hgroup {
  position: relative;
  display: inline-flex;
}

.adm-topbar>.adm-hgroup:last-child {
  margin-inline-start: auto;
}

/* Dropdown popover */
.adm-pop {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  z-index: 70;
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  overflow: hidden;
}

.adm-hgroup.open .adm-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.adm-notif {
  display: flex;
  gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background .18s;
}

.adm-notif:last-child {
  border-bottom: 0;
}

.adm-notif:hover {
  background: var(--surface-2);
}

.adm-notif.unread {
  background: var(--secondary-soft);
}

.adm-notif.unread:hover {
  background: var(--secondary-soft);
}

/* Profile button + menu */
.adm-profile {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .3rem .55rem .3rem .3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.adm-profile:hover {
  border-color: var(--secondary);
  box-shadow: var(--sh-sm);
}

.adm-profile .caret {
  color: var(--muted);
  font-size: .72rem;
  transition: transform .2s, color .2s;
}

.adm-profile-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: inline-start;
}

.adm-profile-meta strong {
  font-size: .84rem;
  font-weight: 600;
}

.adm-profile-meta small {
  font-size: .7rem;
  color: var(--muted);
}

.adm-pop-profile {
  width: 236px;
}

.adm-pop-menu {
  display: grid;
  padding: .4rem;
  gap: .1rem;
}

.adm-pop-menu a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem .7rem;
  border-radius: 9px;
  font-size: .87rem;
  color: var(--muted);
  transition: background .16s, color .16s, padding-inline-start .16s;
}

.adm-pop-menu a i {
  color: var(--secondary);
  width: 1.1rem;
  text-align: center;
}

.adm-pop-menu a:hover {
  background: var(--primary-soft);
  color: var(--primary);
  padding-inline-start: .95rem;
}

.adm-pop-menu a.danger {
  color: #C0392B;
}

.adm-pop-menu a.danger:hover {
  background: rgba(192, 57, 43, .08);
  color: #A93226;
}

.adm-pop-menu a.danger i {
  color: inherit;
}

.adm-pop-divider {
  height: 1px;
  background: var(--line);
  margin: .3rem .4rem;
}

/* ---------------- Main area ---------------- */
.adm-main {
  flex: 1;
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(1.3rem, 2.6vw, 2.3rem);
}

.adm-panel {
  display: none;
}

.adm-panel.active {
  display: block;
  animation: riseIn .45s cubic-bezier(.22, .61, .36, 1);
}

.adm-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.adm-h1 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.adm-sub {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .94rem;
  max-width: 60ch;
}

.adm-head-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

@media (min-width: 861px) {
  .adm-head-actions {
    flex-wrap: nowrap;
    flex: 0 0 auto;
  }

  .adm-head-actions > .adm-select,
  .adm-head-actions > .adm-custom-select {
    flex: 0 0 190px;
    width: 190px;
  }
}

.adm-select {
  max-width: 100%;
  min-height: 42px;
  appearance: none;
  -webkit-appearance: none;
  padding: .6rem 2.1rem .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .86rem;
  font-weight: 500;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2393A3B8' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: .75rem;
  transition: border-color .2s, box-shadow .2s;
}

body.admin .adm-select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary-soft);
}

/* Responsive select replacement. Native option menus choose their own width
   in Chromium, which can extend beyond a phone or tablet viewport. */
.adm-custom-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.adm-head-actions > .adm-custom-select {
  flex: 1 1 190px;
  max-width: 260px;
}

@media (min-width: 861px) {
  .adm-head-actions > .adm-custom-select {
    flex: 0 0 190px;
    width: 190px;
    max-width: 190px;
  }
}

.adm-card-opt .adm-custom-select {
  flex: 0 1 150px;
  width: 150px;
}

.adm-custom-select-native {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.adm-custom-select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  width: 100%;
  min-height: 42px;
  min-width: 0;
  padding: .6rem .8rem .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .86rem;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
}

.adm-field .adm-custom-select-toggle {
  background: var(--surface-2);
  font-size: .9rem;
  font-weight: 400;
}

.adm-custom-select-toggle > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-custom-select-toggle i {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .75rem;
  transition: transform .18s ease;
}

.adm-custom-select.open .adm-custom-select-toggle,
.adm-custom-select-toggle:focus-visible {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary-soft);
}

.adm-custom-select.open .adm-custom-select-toggle i {
  transform: rotate(180deg);
}

.adm-custom-select-menu {
  position: absolute;
  z-index: 72;
  top: calc(100% + .35rem);
  inset-inline: 0;
  display: none;
  max-width: 100%;
  max-height: min(16rem, 48vh);
  padding: .3rem;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--sh);
}

.adm-custom-select.open .adm-custom-select-menu {
  display: grid;
}

.adm-custom-select-option {
  width: 100%;
  padding: .58rem .7rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .86rem;
  text-align: start;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.adm-custom-select-option:hover,
.adm-custom-select-option:focus-visible,
.adm-custom-select-option[aria-selected="true"] {
  outline: none;
  background: var(--secondary-soft);
  color: var(--secondary);
}

/* ---------------- Stat cards ---------------- */
.adm-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.adm-stat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh-sm);
  transition: transform .22s, box-shadow .22s;
}

.adm-stat::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), rgba(15, 118, 110, .2));
}

.adm-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
}

.adm-stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.adm-stat-ico {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1.08rem;
}

.adm-stat-tag {
  font-size: .76rem;
  font-weight: 700;
  padding: .28rem .6rem;
  border-radius: 99px;
  color: var(--secondary);
  background: var(--secondary-soft);
}

.adm-stat-val {
  font-family: 'Spectral', serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--text);
}

.adm-stat-val small {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
}

.adm-stat-lab {
  font-size: .8rem;
  color: var(--muted);
}

.adm-stat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  flex-wrap: wrap;
}

.adm-trend {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
}

.adm-trend.up {
  color: #2F7A55;
}

.adm-trend.down {
  color: #B45309;
}

.adm-stat-note {
  font-size: .72rem;
  color: var(--muted);
}

.adm-stat--s {
  padding: 1rem 1.05rem;
  gap: .7rem;
}

.adm-stat--s .adm-stat-val {
  font-size: 1.35rem;
}

.adm-stat--s .adm-stat-ico {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: .95rem;
}

/* ---------------- Cards & grids ---------------- */
.adm-grid {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.adm-grid-2 {
  grid-template-columns: 1.6fr 1fr;
}

.adm-grid--coverage {
  grid-template-columns: 1fr;
}

.adm-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

.adm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.adm-card-title {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Spectral', serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}

.adm-card-title i {
  color: var(--secondary);
  font-size: 1rem;
}

.adm-card-opt {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.adm-card-opt .btn {
  padding: .42rem .85rem;
  font-size: .8rem;
}

.adm-card-body {
  padding: 1.3rem;
}

.adm-card-body--nopad {
  padding: 0;
}

.adm-card-foot {
  padding: .9rem 1.3rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}

.adm-card-foot a {
  color: var(--secondary);
  font-weight: 600;
}

.adm-legend {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.adm-legend span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .76rem;
  color: var(--muted);
  font-weight: 500;
}

.adm-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

/* ---------------- Bar chart ---------------- */
.adm-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem;
  height: 248px;
  padding-top: .4rem;
  margin-top: .4rem;
}

.adm-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
  height: 100%;
  min-width: 0;
}

.adm-bar-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
}

.adm-bar {
  flex: 1;
  max-width: 15px;
  min-height: 3px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #2AA89A, #0F766E);
  transition: height .5s cubic-bezier(.22, .61, .36, 1), filter .2s;
}

.adm-bar.draft {
  background: linear-gradient(180deg, #40598C, #172554);
}

.adm-bar-col:hover .adm-bar {
  filter: brightness(1.1);
}

.adm-bar-x {
  font-size: .7rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------------- Donut ---------------- */
.adm-donut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.adm-donut {
  position: relative;
  width: 158px;
  height: 158px;
  border-radius: 50%;
  margin-inline: auto;
  background: conic-gradient(#0F766E 0 54%, #14B8A6 54% 76%, #172554 76% 92%, var(--line) 92% 100%);
}

.adm-donut::after {
  content: "";
  position: absolute;
  inset: 29px;
  border-radius: 50%;
  background: var(--surface);
}

.adm-donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  z-index: 1;
}

.adm-donut-center strong {
  font-family: 'Spectral', serif;
  font-size: 1.25rem;
  line-height: 1;
}

.adm-donut-center span {
  font-size: .7rem;
  color: var(--muted);
  margin-top: .2rem;
}

.adm-donut-list {
  flex: 1;
  min-width: 168px;
  display: grid;
  gap: .6rem;
}

.adm-donut-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .84rem;
}

.adm-donut-item i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: 0 0 10px;
}

.adm-donut-item strong {
  margin-inline-start: auto;
  font-weight: 600;
}

.adm-donut-item span {
  color: var(--muted);
  font-size: .76rem;
}

/* ---------------- Estate plan gauge (member dashboard) ---------------- */
.adm-gauge {
  position: relative;
  flex: 0 0 168px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  margin-inline: auto;
  background: conic-gradient(#0F766E 0 calc(var(--pct) * 1%), rgba(15, 118, 110, .16) calc(var(--pct) * 1%) 100%);
}

.adm-gauge::after {
  content: "";
  position: absolute;
  inset: 21px;
  border-radius: 50%;
  background: var(--surface);
}

.adm-gauge-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  z-index: 1;
}

.adm-gauge-center strong {
  font-family: 'Spectral', serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

.adm-gauge-center span {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* ---------------- Revenue (SVG area) chart ---------------- */
.adm-rev-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}

.adm-rev-total {
  font-family: 'Spectral', serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}

.adm-rev-label {
  font-size: .76rem;
  color: var(--muted);
}

.adm-rev-wrap {
  position: relative;
  height: 232px;
}

.adm-rev {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  direction: ltr;
}

.adm-rev-area {
  animation: admFade .7s ease;
}

.adm-rev-line {
  animation: admDraw 1.1s ease .2s both;
}

.adm-rev-dot {
  animation: admFade .4s ease .9s both;
}

@keyframes admDraw {
  from {
    stroke-dashoffset: 900;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes admFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.adm-rev-labels {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  direction: ltr;
}

.adm-rev-labels span {
  text-align: center;
  font-size: .7rem;
  color: var(--muted);
}

/* ---------------- Customers mini list ---------------- */
.adm-cust {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .72rem .15rem;
  border-bottom: 1px solid var(--line);
}

.adm-cust:last-child {
  border-bottom: 0;
}

.adm-cust-main {
  flex: 1;
  min-width: 0;
}

.adm-cust-main strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-cust-main span {
  display: block;
  font-size: .73rem;
  color: var(--muted);
}

.adm-cust-amt {
  font-weight: 600;
  font-size: .86rem;
  color: var(--secondary);
  white-space: nowrap;
}

/* ---------------- Avatars ---------------- */
.adm-ava {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  overflow: hidden;
}

.adm-ava.sm {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: .7rem;
}

.adm-ava.navy {
  background: #172554;
}

.adm-ava.gold {
  background: #B45309;
}

.adm-ava.red {
  background: #C0392B;
}

.adm-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ---------------- Tables ---------------- */
.adm-table-wrap {
  overflow-x: auto;
}

.adm-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: .9rem;
}

.adm-table th {
  text-align: start;
  padding: .75rem 1rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  white-space: nowrap;
}

.adm-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.adm-table tbody tr {
  transition: background .15s;
}

.adm-table tbody tr:hover {
  background: var(--surface-2);
}

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

.adm-cell {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}

.adm-file {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1rem;
}

.adm-file.pdf {
  background: rgba(192, 57, 43, .1);
  color: #C0392B;
}

.adm-file.navy {
  background: var(--primary-soft);
  color: var(--primary);
}

.adm-file.gold {
  background: rgba(180, 83, 9, .12);
  color: #B45309;
}

.adm-cell-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.adm-cell-main strong {
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-cell-main small {
  font-size: .72rem;
  color: var(--muted);
}

.adm-row-actions {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
}

.adm-act {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  font-size: .9rem;
  transition: color .18s, border-color .18s, background .18s, transform .18s;
}

.adm-act:hover {
  color: var(--secondary);
  border-color: var(--secondary);
  background: var(--secondary-soft);
  transform: translateY(-1px);
}

.adm-act.danger:hover {
  color: #C0392B;
  border-color: #C0392B;
  background: rgba(192, 57, 43, .08);
}

/* Status pill variants (complements .h1-status.ok / .h1-status.draft) */
.h1-status.pending {
  background: #FEF3C7;
  color: #B45309;
}

.h1-status.refund {
  background: #FEE2E2;
  color: #C0392B;
}

.h1-status.info {
  background: #E0F2FE;
  color: #0369A1;
}

/* ---------------- Draft cards ---------------- */
.adm-draft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.adm-draft {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: var(--sh-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}

.adm-draft:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
  border-color: var(--secondary);
}

.adm-draft-top {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}

.adm-draft-top .adm-file {
  flex-basis: 44px;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

.adm-draft-meta {
  flex: 1;
  min-width: 0;
}

.adm-draft-meta strong {
  display: block;
  font-size: .95rem;
  font-weight: 600;
}

.adm-draft-meta span {
  display: block;
  font-size: .76rem;
  color: var(--muted);
}

.adm-draft-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  font-size: .78rem;
  color: var(--muted);
}

.adm-draft-pct {
  font-weight: 700;
  color: var(--secondary);
}

.adm-draft-actions {
  display: flex;
  gap: .5rem;
}

.adm-draft-actions .btn {
  flex: 1;
  justify-content: center;
}

/* ---------------- Settings ---------------- */
.adm-settings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
  align-items: start;
}

/* Grid items otherwise keep their content's intrinsic minimum width.  This is
   especially noticeable for select controls on narrow tablets and phones. */
.adm-settings > *,
.adm-grid > *,
.adm-draft-grid > * {
  min-width: 0;
}

.adm-field {
  display: grid;
  gap: .5rem;
  margin-bottom: 1rem;
}

.adm-field label {
  font-size: .8rem;
  font-weight: 600;
}

.adm-field input,
.adm-field select,
.adm-field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: .6rem .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.adm-field input:focus,
.adm-field select:focus,
.adm-field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--secondary-soft);
}

.adm-field input:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.adm-hint {
  font-size: .74rem;
  color: var(--muted);
}

.adm-suite {
  display: grid;
}

.adm-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.adm-line:last-child {
  border-bottom: 0;
}

.adm-line-info strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
}

.adm-line-info span {
  display: block;
  font-size: .78rem;
  color: var(--muted);
}

.adm-switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
}

.adm-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.adm-switch i {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: var(--line);
  transition: background .2s;
  pointer-events: none;
}

.adm-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: inset-inline-start .2s;
}

.adm-switch input:checked+i {
  background: var(--secondary);
}

.adm-switch input:checked+i::after {
  inset-inline-start: 21px;
}

.adm-form-actions {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ---------------- Mobile sidebar / overlay ---------------- */
.adm-overlay {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(19, 30, 47, .5);
  animation: fadeIn .2s ease;
}

@media (min-width: 1025px) {
  .adm-overlay {
    display: none;
  }
}

/* ---------------- Admin responsive ---------------- */
/* Fix desktop RTL sidebar visibility: NEVER translate sidebar off-screen on desktop */
@media (min-width: 1025px) {
  html[dir="rtl"] .adm-sidebar {
    transform: none !important;
  }
}

@media (max-width: 1360px) {
  .adm-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 1024px) {
  .adm-burger {
    display: flex;
  }

  .adm-close {
    display: grid;
  }

  .adm-sidebar {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    height: 100dvh;
    width: min(300px, 86vw);
    transform: translateX(calc(-100% - 14px));
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: var(--sh-lg);
  }

  .adm-sidebar.open {
    transform: translateX(0) !important;
  }

  /* RTL Mobile / Tablet Sidebar Drawer */
  html[dir="rtl"] .adm-sidebar {
    transform: translateX(calc(100% + 14px));
  }

  html[dir="rtl"] .adm-sidebar.open {
    transform: translateX(0) !important;
  }

  /* Hide topbar toggles on tablet & mobile; show sidebar toggles */
  .adm-topbar-toggles {
    display: none !important;
  }

  .adm-side-toggles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    margin-bottom: .85rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--line);
  }

  .adm-profile-meta {
    display: none;
  }

  .adm-profile {
    padding: .28rem .45rem .28rem .28rem;
    gap: .35rem;
  }

  .adm-main {
    padding: 1.5rem clamp(1rem, 3vw, 1.75rem) 2.5rem;
  }

  .adm-head {
    align-items: flex-start;
  }

  .adm-head-actions {
    justify-content: flex-start;
    max-width: 100%;
  }

  .adm-head-actions .adm-select {
    flex: 1 1 190px;
    min-width: 0;
  }

  .adm-head-actions .btn {
    min-height: 42px;
  }
}

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

  .adm-head-actions {
    width: 100%;
  }
}

/* Tablet: keep all dashboard controls inside the page column.  The settings
   grid's desktop minimum (320px) can otherwise create a page-wide scrollbar
   once card padding is included. */
@media (max-width: 768px) {
  .adm-shell,
  .adm-page,
  .adm-main,
  .adm-panel,
  .adm-card,
  .adm-card-head,
  .adm-card-body,
  .adm-card-foot,
  .adm-settings,
  .adm-field {
    min-width: 0;
    max-width: 100%;
  }

  .adm-main {
    overflow-x: clip;
  }

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

  .adm-card-opt {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }

  .adm-card-opt .adm-select {
    flex: 1 1 150px;
    width: 100%;
    min-width: 0;
  }

  .adm-card-opt .adm-custom-select {
    flex: 1 1 150px;
    width: 100%;
  }

  .adm-head-actions > .adm-select {
    width: min(100%, 260px);
    min-width: 0;
  }

  .adm-head-actions > .adm-custom-select {
    width: min(100%, 260px);
    min-width: 0;
  }

  .adm-head-actions > .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .adm-field select,
  .adm-select {
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

@media (max-width: 680px) {
  .adm-topbar {
    gap: .6rem;
    padding: .7rem .9rem;
  }

  .adm-tb-crumb {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .adm-spacer {
    flex: 1 1 auto;
    min-width: 0;
  }

  .adm-topbar>.adm-hgroup:last-child {
    margin-inline-start: auto;
  }

  .adm-hgroup .adm-pop {
    width: min(290px, calc(100vw - 2rem));
  }

  .adm-head {
    flex-direction: column;
    align-items: stretch;
    gap: .9rem;
  }

  .adm-head-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
  }

  .adm-head-actions .btn,
  .adm-head-actions .adm-select,
  .adm-head-actions .adm-custom-select {
    flex: 1 1 auto;
    min-width: 130px;
  }

  .adm-table {
    min-width: 640px;
  }
}

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

  .adm-page {
    padding-inline: 0;
  }

  .adm-main {
    padding: 1rem .8rem 2.5rem;
  }

  .adm-card {
    border-radius: 14px;
  }

  .adm-card-head {
    padding: .9rem 1rem;
    flex-wrap: wrap;
    gap: .6rem;
  }

  .adm-card-body {
    padding: 1rem;
  }
}

/* ---------------- Member dashboard spacing ---------------- */
/* Keep the dashboard sections visually separate without changing the admin view. */
.member-dashboard #panel-dashboard > .adm-stats,
.member-dashboard #panel-dashboard > .adm-grid {
  margin-bottom: 1.75rem;
}

.member-dashboard .adm-recent-documents {
  margin-top: 1.75rem;
}

/* Member dashboard filter/action pairs always share one horizontal row. */
.member-dashboard #panel-dashboard > .adm-head > .adm-head-actions,
.member-dashboard #panel-documents > .adm-head > .adm-head-actions,
.member-dashboard #panel-payments > .adm-head > .adm-head-actions {
  display: grid;
  grid-template-columns: minmax(180px, 260px) max-content;
  align-items: center;
  flex-wrap: nowrap;
}

.member-dashboard #panel-dashboard > .adm-head > .adm-head-actions > .btn,
.member-dashboard #panel-documents > .adm-head > .adm-head-actions > .btn,
.member-dashboard #panel-payments > .adm-head > .adm-head-actions > .btn {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .member-dashboard #panel-dashboard > .adm-head > .adm-head-actions,
  .member-dashboard #panel-documents > .adm-head > .adm-head-actions,
  .member-dashboard #panel-payments > .adm-head > .adm-head-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
  }

  .member-dashboard .adm-head-actions > .adm-select,
  .member-dashboard .adm-head-actions > .adm-custom-select,
  .member-dashboard .adm-head-actions > .btn {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .member-dashboard .adm-head-actions > .btn {
    width: auto;
    justify-content: center;
    padding-inline: .6rem;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .member-dashboard .adm-head-actions > .btn {
    padding-inline: .4rem;
    font-size: .78rem;
  }
}

/* ============================================================
   Sign Up / Create Account page (signup.html)
   ============================================================ */
.auth-section {
  min-height: 60vh;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.auth-head {
  margin-bottom: clamp(1.25rem, 3vw, 1.8rem);
}

.auth-head p {
  max-width: 46ch;
  margin-inline: auto;
}

.auth-card {
  max-width: 460px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh-sm);
  padding: clamp(1.35rem, 3vw, 1.8rem);
}

.auth-form {
  display: grid;
  gap: .8rem;
}

.auth-field {
  display: grid;
  gap: .4rem;
}

.auth-field label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
}

.auth-input {
  padding-inline-end: 3.1rem;
}

.auth-input-wrap {
  position: relative;
}

.auth-eye {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: .55rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
  font-size: 1.05rem;
  transition: color .2s ease, background .2s ease;
}

.auth-eye:hover,
.auth-eye:focus-visible {
  color: var(--secondary);
  background: var(--secondary-soft);
}

.auth-hint {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.5;
}

.auth-error {
  display: none;
  font-size: .72rem;
  font-weight: 600;
  color: #C0392B;
}

.auth-field.is-error .auth-error {
  display: block;
}

.auth-field.is-error .ct-input {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .15);
}

.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}

.auth-terms input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: .18rem;
  accent-color: var(--secondary);
  cursor: pointer;
}

.auth-terms a {
  color: var(--secondary);
  font-weight: 600;
}

.auth-terms a:hover {
  text-decoration: underline;
}

.auth-submit {
  margin-top: .3rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 .85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.auth-social {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}

.auth-soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .68rem .6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.auth-soc i {
  font-size: 1.05rem;
}

.auth-google i {
  color: #4285F4;
}

.auth-facebook i {
  color: #1877F2;
}

.auth-apple i {
  color: var(--text);
}

.auth-soc:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  box-shadow: var(--sh-sm);
}

.auth-alt {
  margin-top: 1rem;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}

.auth-alt a {
  color: var(--secondary);
  font-weight: 700;
}

.auth-alt a:hover {
  text-decoration: underline;
}

/* Auth pages intentionally use a distraction-free navigation bar. */
.auth-page .nav-links,
.auth-page .nav-login,
.auth-page .hamburger,
.auth-page .drawer,
.auth-page .overlay,
.auth-page .footer {
  display: none !important;
}

.auth-page .nav-wrap {
  justify-content: space-between;
}

.auth-page .navbar {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
}

.auth-page main {
  padding-top: var(--nav-h);
}

.auth-page .nav-actions {
  display: flex !important;
  align-items: center;
  gap: .45rem;
  margin-inline-start: auto;
}

.auth-home-btn {
  margin-top: .8rem;
  justify-content: center;
  padding: .25rem;
  border: 0;
  background: transparent;
  color: var(--secondary);
  box-shadow: none;
}

.auth-home-btn:hover,
.auth-home-btn:focus-visible {
  border: 0;
  background: transparent;
  color: var(--primary);
  box-shadow: none;
}

@media (max-width: 680px) {
  .auth-card {
    padding: 1.5rem 1.25rem;
  }

  .auth-social {
    gap: .5rem;
  }

  .auth-soc {
    padding: .6rem .3rem;
    font-size: .82rem;
    gap: .35rem;
  }
}

/* Keep authentication forms fully usable on narrow phones. */
@media (max-width: 520px) {
  .auth-section {
    min-height: auto;
    padding-block: .55rem .75rem;
  }

  .auth-head {
    margin-bottom: .65rem;
  }

  .auth-card {
    width: 100%;
    max-width: 100%;
    padding: .9rem 1rem;
    border-radius: 14px;
  }

  .auth-form,
  .auth-field,
  .auth-input-wrap {
    min-width: 0;
  }

  .auth-form {
    gap: .6rem;
  }

  .auth-divider {
    margin: .7rem 0 .6rem;
  }

  .auth-alt {
    margin-top: .65rem;
  }

  .auth-home-btn {
    margin-top: .45rem;
  }

  .auth-input,
  .auth-home-btn,
  .auth-submit {
    width: 100%;
    max-width: 100%;
  }

  .auth-row {
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .auth-page .brand-text {
    font-size: 1.05rem;
  }

  .auth-page .nav-wrap {
    gap: .45rem;
  }

  .auth-social {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-soc span {
    display: none;
  }

  .auth-soc {
    min-width: 0;
    padding-inline: .25rem;
  }

  .auth-row {
    flex-direction: column;
    gap: .7rem;
  }
}

/* ---------------- Login page (login.html) ---------------- */
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}

.auth-remember {
  margin: 0;
}

.auth-forgot {
  font-size: .82rem;
  font-weight: 600;
  color: var(--secondary);
}

.auth-forgot:hover {
  text-decoration: underline;
}

/* Inline styles extracted from HTML */
.inline-style-1 { transition-delay:.08s }
.inline-style-2 { transition-delay:.16s }
.inline-style-3 { transition-delay:.24s }
.inline-style-4 { transition-delay:.1s }
.inline-style-5 { transition-delay:.2s }
.inline-style-6 { transition-delay:.3s }
.inline-style-7 { transition-delay:.4s }
.inline-style-8 { transition-delay:.5s }
.bg-0F766E { background:#0F766E }
.bg-172554 { background:#172554 }
.inline-style-9 { height:38% }
.inline-style-10 { height:100% }
.inline-style-11 { height:66% }
.inline-style-12 { height:45% }
.inline-style-13 { height:49% }
.inline-style-14 { height:71% }
.inline-style-15 { height:55% }
.inline-style-16 { height:62% }
.inline-style-17 { height:77% }
.inline-style-18 { height:69% }
.inline-style-19 { height:79% }
.inline-style-20 { height:65% }
.inline-style-21 { height:73% }
.inline-style-22 { height:81% }
.inline-style-23 { height:82% }
.inline-style-24 { height:86% }
.inline-style-25 { height:83% }
.inline-style-26 { height:93% }
.inline-style-27 { height:85% }
.bg-14B8A6 { background:#14B8A6 }
.bg-E2E8F0 { background:#E2E8F0 }
.inline-style-28 { font-size:.9rem;color:var(--muted) }
.inline-style-29 { stroke-dasharray:900 }
.inline-style-30 { margin-top:.55rem }
.w-62 { width:62% }
.inline-style-31 { flex:0 0 40px;height:40px }
.w-41 { width:41% }
.w-85 { width:85% }
.w-18 { width:18% }
.w-73 { width:73% }
.w-55 { width:55% }
.inline-style-32 { margin-top:1rem }
.inline-style-33 { padding-inline:0 }
.delay-pt06 { --d:.06s }
.delay-pt12 { --d:.12s }
.delay-pt18 { --d:.18s }
.delay-pt08 { --d:.08s }
.delay-pt14 { --d:.14s }
.delay-pt15 { --d:.15s }
.delay-pt24 { --d:.24s }
.delay-pt1 { --d:.1s }
.delay-pt16 { --d:.16s }
.delay-pt2 { --d:.2s }
.delay-0 { --d:0s }
.delay-pt32 { --d:.32s }
.inline-style-34 { margin-top:0 }
.delay-0pt06 { --d:0.06s }
.w-80 { width:80% }
.delay-pt3 { --d:.3s }
.pct-86 { --pct:86 }
.bg-B45309 { background:#B45309 }
.w-100 { width:100% }
.w-62 { width:62%;background:linear-gradient(90deg,#B45309,#EEA03F) }
.w-50 { width:50%;background:linear-gradient(90deg,#B45309,#EEA03F) }
.w-0 { width:0% }
.bg-D97706 { background:#D97706 }

/* ============================================================
   404 & Coming Soon pages
   ============================================================ */

/* Shared hero wrapper */
.err-page,
.cs-page {
  min-height: calc(100dvh - var(--navbar-h, 72px) - var(--footer-h, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ---- 404 ---- */
.err-bg-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.err-bg-icon i {
  font-size: clamp(16rem, 50vw, 32rem);
  color: var(--navy, #172554);
  opacity: .04;
  line-height: 1;
}
.err-inner,
.cs-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  width: 100%;
}
.err-code {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(6rem, 20vw, 11rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #172554 0%, #0F766E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.03em;
  margin-bottom: .25rem;
}
.err-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem auto;
  max-width: 260px;
}
.err-divider::before,
.err-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border, #e2e8f0);
}
.err-divider span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted, #64748b);
  white-space: nowrap;
}
.err-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--heading, #0f172a);
  margin-bottom: .75rem;
}
.err-body {
  color: var(--muted, #64748b);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}
.err-actions,
.cs-actions {
  display: flex;
  gap: .875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.err-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.err-links a {
  font-size: .9rem;
  color: var(--muted, #64748b);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: color .2s;
}
.err-links a:hover { color: var(--teal, #0F766E); }

/* Floating animated dots */
@keyframes float-dot {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50%       { transform: translateY(-8px); opacity: 1; }
}
.err-dots {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.err-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0F766E;
  animation: float-dot 1.8s ease-in-out infinite;
}
.err-dot:nth-child(2) { animation-delay: .3s; background: #172554; }
.err-dot:nth-child(3) { animation-delay: .6s; background: #B45309; }

/* ---- Coming Soon ---- */
.cs-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .12;
  animation: orb-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.cs-orb-1 {
  width: 500px; height: 500px;
  background: #0F766E;
  top: -120px; left: -100px;
  animation-duration: 14s;
}
.cs-orb-2 {
  width: 400px; height: 400px;
  background: #172554;
  bottom: -80px; right: -80px;
  animation-duration: 10s;
  animation-delay: -5s;
}
.cs-orb-3 {
  width: 280px; height: 280px;
  background: #B45309;
  top: 40%; right: 15%;
  animation-duration: 16s;
  animation-delay: -8s;
  opacity: .07;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1.1rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(15,118,110,.12), rgba(23,37,84,.12));
  border: 1px solid rgba(15,118,110,.25);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0F766E;
  margin-bottom: 2rem;
}
.cs-badge i { font-size: 1rem; }
.cs-title {
  font-family: 'Spectral', Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading, #0f172a);
  margin-bottom: 1rem;
}
.cs-title span {
  background: linear-gradient(135deg, #172554 0%, #0F766E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-body {
  color: var(--muted, #64748b);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 460px;
  margin-inline: auto;
}
.cs-countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.cs-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  min-width: 72px;
}
.cs-num {
  font-family: 'Spectral', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--heading, #0f172a);
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: .75rem;
  width: 78px; height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(15,118,110,.08);
}
@keyframes flip-num {
  0%   { transform: scaleY(1); }
  50%  { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}
.cs-num.flip { animation: flip-num .3s ease; }
.cs-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted, #64748b);
  font-weight: 600;
}
.cs-sep {
  font-family: 'Spectral', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted, #64748b);
  padding-top: .8rem;
  opacity: .4;
}
.cs-form {
  display: flex;
  gap: .625rem;
  max-width: 420px;
  margin: 0 auto 1.5rem;
  flex-wrap: wrap;
}
.cs-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: .5rem;
  font-size: .95rem;
  font-family: inherit;
  background: var(--surface, #fff);
  color: var(--text, #1e293b);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cs-form input[type="email"]:focus {
  border-color: #0F766E;
  box-shadow: 0 0 0 3px rgba(15,118,110,.15);
}
.cs-form input[type="email"]::placeholder { color: var(--muted, #94a3b8); }
.cs-notify-msg {
  font-size: .88rem;
  color: #0F766E;
  margin-bottom: 1.5rem;
  display: none;
}
.cs-notify-msg.visible { display: block; }
.cs-progress-wrap {
  max-width: 380px;
  margin: 0 auto 2.25rem;
}
.cs-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--muted, #64748b);
  margin-bottom: .5rem;
}
.cs-progress-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--border, #e2e8f0);
  overflow: hidden;
}
.cs-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0F766E, #14B8A6);
  border-radius: 3px;
  transition: width 2s cubic-bezier(.4,0,.2,1);
}
.cs-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.cs-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted, #64748b);
  font-size: 1rem;
  text-decoration: none;
  transition: border-color .2s, color .2s, transform .2s;
}
.cs-social a:hover {
  border-color: #0F766E;
  color: #0F766E;
  transform: translateY(-2px);
}

/* Dark mode */
.dark .cs-num {
  background: var(--surface-2, #1e293b);
  border-color: var(--border, #334155);
}

/* Responsive */
@media (max-width: 480px) {
  .cs-countdown { gap: .5rem; }
  .cs-num { width: 62px; height: 62px; font-size: 2rem; }
  .cs-sep { font-size: 1.4rem; padding-top: .6rem; }
  .cs-form { flex-direction: column; }
  .cs-form input[type="email"],
  .cs-form .btn { width: 100%; }
}
