:root,
html[data-theme="light"] {
  --ink: #1a1a1a;
  --muted: #5a6a5a;
  --paper: #f7faf7;
  --card: #ffffff;
  --line: rgba(26, 26, 26, 0.1);
  --forest: #3d6544;
  --forest-dark: #1e3d1e;
  --forest-mid: #2d4f34;
  --sage: #8faa8f;
  --mint: #c8dcc8;
  --action: #22c55e;
  --action-dark: #16a34a;
  --teal: #3d6544;
  --sand: #c4a574;
  --no: #9b3b2e;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
  --flash-ok-bg: #edf7f3;
  --flash-err-bg: #fef2f2;
  --flash-err-text: #991b1b;
}

html[data-theme="dark"] {
  --ink: #e8eee9;
  --muted: #9aab9e;
  --paper: #0c110e;
  --card: #151c18;
  --line: rgba(232, 238, 233, 0.12);
  --forest: #3faf7a;
  --forest-dark: #1a3d2a;
  --forest-mid: #2a6b4a;
  --sage: #7a9a80;
  --mint: #1e3328;
  --action: #3faf7a;
  --action-dark: #2a7a54;
  --teal: #3faf7a;
  --sand: #c4a574;
  --no: #ef6b6b;
  --flash-ok-bg: rgba(63, 175, 122, 0.12);
  --flash-err-bg: rgba(239, 107, 107, 0.12);
  --flash-err-text: #ffb4b4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a { color: var(--forest); }

/* Site nav — always fixed so logo/links stay visible while scrolling */
.site-nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-nav.nav-on-hero {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink) !important;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.brand-logo {
  display: block !important;
  height: 40px;
  width: auto;
  max-width: 120px;
  flex-shrink: 0;
  filter: none !important;
  background: #fff;
  padding: 0.15rem 0.3rem;
  border-radius: 6px;
  object-fit: contain;
  visibility: visible !important;
}
.brand-name {
  color: var(--ink) !important;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.03em;
  visibility: visible !important;
}
.brand-mark { display: block; color: var(--forest); }
.nav-on-hero .brand,
.nav-on-hero .brand-name { color: var(--ink) !important; }
.nav-on-hero .brand-mark,
.nav-on-hero .brand-logo { filter: none !important; }

.site-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  visibility: visible !important;
}

.site-nav-links a {
  text-decoration: none;
  color: var(--muted) !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-on-hero .site-nav-links a { color: var(--muted) !important; }
.site-nav-links a:hover { color: var(--ink) !important; }
.nav-on-hero .site-nav-links a:hover { color: var(--ink) !important; }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid rgba(26, 26, 26, 0.2);
  border-radius: 6px;
  color: var(--ink) !important;
}

.nav-on-hero .nav-cta {
  border-color: rgba(26, 26, 26, 0.2);
  color: var(--ink) !important;
}

/* Offset page content under fixed header */
.flash-bar {
  padding-top: 4.75rem !important;
}
.page-home .flash-bar { padding-top: 4.75rem !important; }
.page-home .tav-hero {
  padding-top: 6rem;
}

/* Hero (EPD forest) */
.tav-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 5.5rem 1.5rem 3rem;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 85% 40%, rgba(200, 220, 200, 0.18), transparent 55%),
    linear-gradient(145deg, #245230 0%, var(--forest) 42%, var(--forest-dark) 100%);
}

.tav-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tav-hero-bg::after {
  content: "";
  position: absolute;
  inset: -10% 35% auto auto;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  border: 28px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transform: translate(10%, -5%);
}

.tav-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.tav-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}

.tav-copy h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
}

.tav-lede {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

.tav-cta-row { margin-bottom: 1.5rem; }

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.55rem;
  background: var(--action);
  color: #052e16 !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-action:hover {
  background: #4ade80;
  transform: translateY(-2px);
}

.tav-compat {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.tav-compat .check {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--action);
  color: #052e16;
  font-size: 0.7rem;
  font-weight: 800;
  margin-right: 0.35rem;
}

.tav-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-pill {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  min-width: 7.5rem;
}

.trust-pill strong {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-pill span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); }

.trust-pill.pay-logos {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.pay-logos .pp { color: #7dd3fc; font-weight: 800; }
.pay-logos .st { color: #c4b5fd; font-weight: 800; }

.tav-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
}

.tav-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  display: block;
}

.tav-status-card {
  position: absolute;
  left: -0.75rem;
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  animation: floaty 3.5s ease-in-out infinite;
}

.tav-status-card img { filter: none; color: var(--forest); }
.tav-status-card strong { display: block; font-size: 0.88rem; }
.tav-status-card em {
  font-style: normal;
  color: var(--action-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.legal-foot {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 1.5rem 1.25rem;
}

.legal-foot a { color: var(--mint); }
.legal-foot-inner {
  max-width: 1100px;
  margin: 0 auto 1.75rem;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2rem;
}

.legal-brand img {
  display: block;
  margin-bottom: 0.75rem;
  filter: invert(1);
  opacity: 0.95;
}

.legal-brand p { margin: 0; max-width: 22rem; font-size: 0.92rem; }

.legal-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.legal-cols strong {
  display: block;
  color: #fff;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
}

.legal-cols p { margin: 0; font-size: 0.88rem; line-height: 1.55; }

.legal-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* Checkout (TotalAV-style) */
.page-checkout { background: #eef1f4; }
.page-checkout .flash-bar { padding-top: 1rem; }

.co-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  background: #1a1a1a;
}

.brand-dark { color: #fff; }
.brand-dark .brand-name { color: #fff; }
.brand-dark .brand-mark,
.brand-dark .brand-logo { filter: none; }

.co-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.88rem;
}

.co-promo {
  text-align: center;
  padding: 0.85rem 1rem;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
}

.co-promo strong { color: #f87171; }

.co-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}

.co-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.25rem;
  align-items: start;
}

.co-summary,
.co-pay {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 10px;
  padding: 1.35rem 1.35rem 1.5rem;
}

.co-product {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.co-product h1 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0.15rem 0 0.15rem;
  letter-spacing: -0.02em;
}

.co-product p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.co-save {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
}

.co-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.co-features li {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.co-features .ico {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f7f0;
  border-radius: 6px;
  font-size: 0.75rem;
}

.co-pricebox {
  background: #f7faf7;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.co-pricebox .row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}

.co-pricebox .total {
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  font-size: 1.05rem;
}

.co-company {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.co-company p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.co-notice {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 1.1rem;
}

.co-form label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin: 0.75rem 0 0.35rem;
}

.co-account-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.co-account-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.co-account-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.co-signin {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.co-fields { margin-bottom: 0.35rem; }

.co-field { margin-bottom: 0.15rem; }

.co-today {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.co-today strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.co-pay-label {
  margin: 1.1rem 0 0.55rem;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.co-form input[type="email"],
.co-form input[type="password"],
.co-form input[type="text"],
.co-form select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
  background: #fff;
}

.co-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

.co-form input:focus {
  outline: 2px solid rgba(61, 101, 68, 0.35);
  border-color: var(--forest);
}

.co-agree {
  display: flex !important;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 500 !important;
  margin: 1rem 0 0.35rem !important;
  font-size: 0.86rem !important;
  line-height: 1.45;
}

.co-agree input { margin-top: 0.2rem; }

.brand-card {
  width: 42px;
  height: 28px;
  display: block;
  object-fit: contain;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.co-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0;
  align-items: center;
  justify-content: flex-end;
}

.co-card-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.co-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.co-pay-hint {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.co-paypal-setup { margin-bottom: 0.25rem; }

.btn-paypal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 999px;
  padding: 0 1.25rem;
  background: #ffc439;
  cursor: pointer;
  box-shadow: none;
}

.btn-paypal img,
.btn-paypal svg {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  pointer-events: none;
}

.btn-paypal:hover:not(:disabled) { filter: brightness(0.97); }
.btn-paypal:active:not(:disabled) { filter: brightness(0.94); }
.btn-paypal:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.paypal-hit-area {
  position: relative;
  width: 100%;
  height: 48px;
  margin: 0.25rem 0 0.35rem;
}

.paypal-sdk-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.02;
  overflow: hidden;
  border-radius: 999px;
}

.paypal-sdk-overlay > div,
.paypal-sdk-overlay iframe {
  width: 100% !important;
  height: 48px !important;
  min-width: 100% !important;
}

.co-pay-note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.paypal-sdk-wrap {
  width: 100%;
  min-height: 48px;
  margin: 0.25rem 0 0.35rem;
}

.co-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  margin: 0 0 0.85rem;
}

.settings-steps {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.settings-steps li { margin-bottom: 0.35rem; }
.settings-steps a { font-weight: 600; }

.co-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
}

.co-or::before,
.co-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.co-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.card-ico {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: #475569;
  background: #fff;
}

.card-ico.stripe { color: #635bff; }

.btn-purchase {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 6px;
  padding: 1rem 1rem;
  background: var(--action);
  color: #052e16;
  font: inherit;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-purchase:hover { background: #4ade80; }

.co-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.88rem;
}

.co-guarantee .shield {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  font-size: 0.7rem;
}

.co-fine { text-align: center; margin-top: 1rem; }

.co-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.co-foot a {
  color: var(--muted);
  margin-right: 0.85rem;
  text-decoration: none;
}

@media (max-width: 900px) {
  .tav-hero-inner,
  .co-grid,
  .legal-foot-inner,
  .legal-cols { grid-template-columns: 1fr; }
  .tav-visual { justify-self: center; }
  .tav-hero { padding-top: 5rem; }
  .site-nav-links a:not(.nav-cta) { display: none; }
}

/* legacy logo helper */
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(247, 250, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav nav a {
  margin-left: 1.1rem;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav nav a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 1.5rem 3.5rem;
  overflow: hidden;
}

.hero-pro {
  color: #f4f7f9;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  animation: kenburns 20s ease-out forwards;
}

@keyframes kenburns {
  to { transform: scale(1); }
}

.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 18, 0.35) 0%, rgba(10, 14, 18, 0.2) 40%, rgba(10, 14, 18, 0.88) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 0 1.5rem 3.5rem;
}

.brand-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 80% 10%, #b8d4ce 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 80%, #d9cbb8 0%, transparent 45%),
    linear-gradient(160deg, #d5dde6 0%, #eef1f4 45%, #c8d0d8 100%);
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.05) translate(-1.5%, 1%); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-inner .brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.hero-pro .lede {
  color: rgba(244, 247, 249, 0.88);
  font-size: 1.1rem;
}

.hero-cta, .cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.btn.ghost-light {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn.ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav {
  mix-blend-mode: normal;
}

body:has(.hero-pro) .nav {
  background: transparent;
  border-bottom: none;
  color: #fff;
}

body:has(.hero-pro) .nav .logo,
body:has(.hero-pro) .nav nav a {
  color: #f4f7f9;
}

body:has(.hero-pro) .nav nav a { opacity: 0.85; }
body:has(.hero-pro) .nav nav a:hover { opacity: 1; }
body:has(.hero-pro) .nav-admin { color: #9fd4c8 !important; }

body:has(.hero-pro) .flash-bar { padding-top: 4.5rem; }

.value, .how-simple, .trust {
  padding: 4.5rem 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.value-list, .how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.value-list li,
.how-steps li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.value-list li:last-child,
.how-steps li:last-child { border-bottom: 1px solid var(--line); }

.value-list strong {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.value-list span { color: var(--muted); }

.how-steps li {
  flex-direction: row;
  gap: 1.25rem;
  align-items: flex-start;
}

.how-steps span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--teal);
  min-width: 1.5rem;
}

.how-steps strong { display: block; margin-bottom: 0.2rem; }
.how-steps p { margin: 0; color: var(--muted); }

.how-simple { background: #fff; max-width: none; padding-left: max(1.5rem, calc(50% - 430px)); padding-right: max(1.5rem, calc(50% - 430px)); }

.pricing-pro {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, #d5e8e3 0%, transparent 50%),
    #f4f7f4;
}

.pricing-pro .section-title,
.pricing-pro .section-sub {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pricing-pro .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.pricing-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.pricing-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 1.35rem auto 0;
  padding: 0.3rem;
  background: #e8eee8;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.billing-opt {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.billing-opt.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.08);
}

.save-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #166534;
  background: #dcfce7;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.price-alt {
  margin: -0.55rem 0 0.85rem;
  font-size: 0.82rem;
  color: var(--forest);
  font-weight: 600;
}

.trust { text-align: left; }
.trust-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.trust-links a { font-weight: 700; }

.site-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  background: #fff;
}
.site-foot .logo {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.35rem;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.packs {
  padding: 4rem 1.5rem 5rem;
  background: var(--card);
}

.packs h2, .page h1, .dash h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}

.packs h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.sub { color: var(--muted); margin: 0 0 2rem; }

.pack-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 auto;
}

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

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.35rem;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.04);
}

.pack.featured {
  border-color: var(--forest);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, var(--mint), var(--forest)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 18px 44px rgba(61, 101, 68, 0.16);
  transform: translateY(-6px);
}

.tag {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--forest);
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  white-space: nowrap;
}

.pack-top { margin-bottom: 0.85rem; padding-right: 0.5rem; }

.pack h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.pack-audience {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.gb {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 2.55rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gb strong { font-family: var(--display); font-weight: 800; }
.gb span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.price {
  margin: 0.65rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.price strong {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price span {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
}

.pack-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}

.pack-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.42rem 0;
  font-size: 0.9rem;
  color: #2a2a2a;
}

.pack-features .tick {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f3ea;
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 800;
}

.pack-pay {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.pack-pay .pp { color: #003087; font-weight: 800; }
.pack-pay .st { color: #635bff; font-weight: 800; }
.pack-pay .sep { opacity: 0.5; margin: 0 0.15rem; }

.pricing-assurance {
  max-width: 1040px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.pricing-assurance div {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.pricing-assurance strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.pricing-assurance span {
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .pack.featured { transform: none; }
  .pricing-assurance { grid-template-columns: 1fr; max-width: 420px; }
}

.blurb {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.1rem;
}

.pack input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
}

.pack button, .login-bar button {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pack.featured button { background: var(--ink); }

.login-bar {
  margin-top: 2.5rem;
  max-width: 420px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.login-bar label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.login-bar .row { display: flex; gap: 0.5rem; }
.login-bar input { flex: 1; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 2px; font: inherit; }
.login-bar button { width: auto; padding: 0.7rem 1.1rem; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 0.6rem;
}

.page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }

.cards-explain {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cards-explain article {
  padding: 1.35rem 1.25rem;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #fff;
}

.cards-explain .no { border-left: 3px solid var(--no); }
.cards-explain .yes { border-left: 3px solid var(--teal); }

.cards-explain h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.cards-explain ul, .cards-explain ol { margin: 0.75rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.cards-explain li { margin-bottom: 0.4rem; }

.flow h2 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

.steps {
  padding-left: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.steps li { margin-bottom: 0.5rem; }

code {
  font-size: 0.85em;
  background: #e4e9ee;
  padding: 0.1em 0.35em;
  border-radius: 2px;
}

.dash .lede { color: var(--muted); margin-bottom: 1.75rem; }

.meter-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.25rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  color: var(--ink);
}

.meter-head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.meter {
  height: 12px;
  background: color-mix(in srgb, var(--ink) 12%, var(--card));
  border-radius: 99px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: var(--pct);
  background: linear-gradient(90deg, var(--teal), #2a9b86);
  border-radius: 99px;
  animation: fillIn 1s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fillIn {
  from { width: 0; }
}

.meter-note {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.orders {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.orders li {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.orders time { color: var(--muted); font-size: 0.8rem; }

.fine { font-size: 0.88rem; color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.nav-admin { color: var(--teal) !important; }

.flash-bar {
  list-style: none;
  margin: 0;
  padding: 3.5rem 1.5rem 0;
  max-width: 960px;
  margin-inline: auto;
}
.flash-bar li {
  padding: 0.7rem 1rem;
  margin-bottom: 0.4rem;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 600;
}
.flash-bar .ok { background: #d5ebe4; color: var(--teal); }
.flash-bar .error { background: #fde8e4; color: var(--no); }

.az-strip {
  padding: 3rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--line);
}
.az-strip h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}
.az-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  display: grid;
  gap: 0.75rem;
}
.az-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.az-list .letter {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--teal);
  min-width: 1.5rem;
}
.az-list strong { display: block; margin-bottom: 0.15rem; }
.az-list p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.az-list.compact li { padding: 0.65rem 0; }

.dual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  padding: 2rem 1.5rem 4rem;
  max-width: 960px;
  margin: 0 auto;
}
.dual-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: 2px;
}
.dual-card.admin { border-color: var(--teal); }
.dual-card h3 {
  font-family: var(--display);
  margin: 0 0 0.4rem;
}
.dual-card p { color: var(--muted); margin: 0 0 1rem; }
.dual-card .hint { font-size: 0.85rem; }
.dual-card .btn { display: inline-flex; }

.page.wide { max-width: 920px; }
.page.narrow { max-width: 400px; }

.block {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}
.block h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}
.block.highlight { border-left: 3px solid var(--teal); }
.block.warn { border-left: 3px solid var(--no); }
.lede.tight { margin-bottom: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.biz-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.biz-steps li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.biz-steps .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--teal);
  min-width: 1.5rem;
}
.biz-steps strong { display: block; margin-bottom: 0.25rem; }
.biz-steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.simple {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.simple th, .simple td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.simple th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.dash h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}
.muted { color: var(--muted); font-size: 0.9rem; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.upload-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.5rem 0 0.3rem;
}
.upload-form input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
  margin-bottom: 0.5rem;
}
.upload-form .btn { margin-top: 0.5rem; width: 100%; justify-content: center; }

.mini-packs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.mini-packs button:not(.mini-pack-btn) {
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
}
.mini-packs button:not(.mini-pack-btn):hover { border-color: var(--teal); color: var(--teal); }

.orders .empty { color: var(--muted); grid-column: 1 / -1; }

.admin-login label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.6rem 0 0.3rem;
}
.admin-login input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
}
.admin-login .btn { margin-top: 1rem; width: 100%; justify-content: center; }
.hint-box {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 2px;
}
.stat span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.stat strong {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.admin-page section { margin-bottom: 2rem; }
.admin-page h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.inline { display: flex; gap: 0.35rem; align-items: center; }
.inline button {
  padding: 0.35rem 0.55rem;
  border: none;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  font-size: 0.8rem;
}
.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}

.file-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.file-actions a { font-weight: 600; font-size: 0.85rem; }

button.linkish {
  background: none;
  border: none;
  color: var(--no);
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}

.files-list li {
  grid-template-columns: 1fr auto auto;
}

.upload-form input[type="file"] {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
}

@media (max-width: 520px) {
  .orders li { grid-template-columns: 1fr 1fr; }
  .nav nav a:nth-child(1) { display: none; }
  .dash-head { flex-direction: column; }
  .checkout-grid { grid-template-columns: 1fr; }
  .vault-header { flex-direction: column; }
}

/* Pack CTA */
.pack-cta .pack-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: auto;
  padding: 0.95rem 1rem;
  background: var(--forest);
  color: #fff !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 800;
}
.pack.featured .pack-btn {
  background: var(--action);
  color: #052e16 !important;
}
.pack.featured .pack-btn:hover { background: #4ade80; }
.pricing-foot {
  border: none !important;
  padding-top: 1.25rem !important;
  color: var(--muted);
  text-align: center;
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
}

/* Checkout */
.checkout-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}
.checkout-summary,
.checkout-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.75rem 1.5rem;
}
.checkout-summary h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  font-size: 2rem;
}
.checkout-gb {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}
.checkout-gb strong { font-family: var(--display); }
.checkout-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.checkout-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.checkout-perks {
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.checkout-perks li { margin-bottom: 0.4rem; }
.checkout-form-wrap h2 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.lede.tight { margin-bottom: 1.25rem; }
.checkout-form label,
.auth-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
}
.checkout-form input,
.auth-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
  background: #fff;
}
.checkout-submit {
  width: 100%;
  justify-content: center;
  margin-top: 1.25rem;
}

.auth-page { padding-top: 6.5rem; }
.auth-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.25rem;
}

/* Vault */
.vault-page {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 4rem;
  overflow: hidden;
}
.vault-glow {
  pointer-events: none;
  position: absolute;
  inset: -10% -20% auto;
  height: 320px;
  background:
    radial-gradient(ellipse 55% 70% at 20% 30%, color-mix(in srgb, var(--forest) 22%, transparent), transparent 70%),
    radial-gradient(ellipse 45% 60% at 85% 20%, color-mix(in srgb, var(--sage) 18%, transparent), transparent 65%);
  z-index: 0;
}
.vault-page > *:not(.vault-glow) { position: relative; z-index: 1; }

.vault-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.vault-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.vault-header h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  color: var(--ink);
}
.vault-email { color: var(--muted); margin: 0; font-size: 0.95rem; }

.vault-usage {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--forest) 8%, var(--card)), var(--card));
}
.vault-usage-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem 1.25rem;
}
.vault-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.vault-stat-value {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.vault-stat-value small {
  font-size: 0.72em;
  font-weight: 600;
  color: var(--muted);
}
.vault-usage-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line);
  min-height: 2.2rem;
}
.vault-meter {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}
.vault-meter .meter {
  height: 10px;
  background: color-mix(in srgb, var(--ink) 14%, transparent);
}
.vault-meter .meter-note {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-weight: 500;
}

.vault-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.vault-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  color: var(--ink);
}
.vault-panel h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.vault-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  color: var(--ink);
}
.vault-card h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  border: 1.5px dashed color-mix(in srgb, var(--forest) 35%, var(--line));
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted);
  margin: 0.85rem 0;
  cursor: pointer;
  background: color-mix(in srgb, var(--forest) 6%, var(--card));
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.file-drop:hover,
.file-drop.is-drag,
.file-drop.has-file {
  border-color: var(--forest);
  background: color-mix(in srgb, var(--forest) 12%, var(--card));
}
.file-drop.is-drag { transform: scale(1.01); }
.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.file-drop { position: relative; }
.file-drop-icon { color: var(--forest); margin-bottom: 0.15rem; }
.file-drop-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.file-drop-hint { font-size: 0.82rem; color: var(--muted); }
.vault-upload-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.vault-help {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.vault-help a { font-weight: 600; }

.vault-files-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
}
.vault-files-head h2 { margin: 0; }
.vault-file-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--forest) 16%, transparent);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 700;
}

.file-table {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.file-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.35rem;
  border-bottom: 1px solid var(--line);
}
.file-table li:last-child { border-bottom: none; }
.file-meta { min-width: 0; }
.file-meta strong {
  display: block;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 28ch;
}
.file-meta span { font-size: 0.82rem; color: var(--muted); }
.file-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.file-dl {
  font-weight: 650;
  text-decoration: none;
  color: var(--forest);
}
.file-dl:hover { text-decoration: underline; }
.file-del { color: var(--no) !important; }
.empty-state {
  padding: 2rem 0.5rem 1rem;
  text-align: center;
}
.empty-state p { margin: 0.25rem 0; color: var(--ink); }

.recharge-card { margin-top: 0.25rem; }
.mini-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.mini-packs form { margin: 0; }
.mini-pack-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--forest) 5%, var(--card));
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.mini-pack-btn:hover:not(:disabled) {
  border-color: var(--forest);
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--forest) 12%, var(--card));
}
.mini-pack-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.mini-pack-btn.is-featured {
  border-color: color-mix(in srgb, var(--forest) 55%, var(--line));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--forest) 25%, transparent);
}
.mini-pack-name { font-weight: 700; font-size: 0.95rem; }
.mini-pack-gb { color: var(--muted); font-size: 0.85rem; }
.mini-pack-price {
  margin-top: 0.35rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest);
}
.vault-pay-note { margin-top: 0.85rem; }

.vault-locked {
  text-align: center;
  padding: 2.25rem 1.5rem;
  margin-bottom: 1rem;
}
.vault-locked-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  color: var(--forest);
  background: color-mix(in srgb, var(--forest) 14%, transparent);
}
.vault-locked .btn { margin-top: 0.75rem; }

@media (max-width: 820px) {
  .vault-grid { grid-template-columns: 1fr; }
  .mini-packs { grid-template-columns: 1fr; }
  .vault-usage-divider { display: none; }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.theme-toggle:hover {
  border-color: var(--forest);
  color: var(--forest);
}
.site-nav-links .theme-toggle {
  margin-left: 0.25rem;
}

html[data-theme="dark"] .site-nav {
  background: rgba(12, 17, 14, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}
html[data-theme="dark"] .site-nav.nav-on-hero {
  background: rgba(12, 17, 14, 0.97);
}
html[data-theme="dark"] .brand-logo {
  filter: none;
}
html[data-theme="dark"] .brand-dark .brand-logo {
  filter: none;
}
html[data-theme="dark"] .vault-panel,
html[data-theme="dark"] .vault-card,
html[data-theme="dark"] .vault-usage {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .btn.ghost {
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .meter {
  background: rgba(232, 238, 233, 0.12);
}
html[data-theme="dark"] .meter-wrap {
  background: var(--card);
  color: var(--ink);
}
html[data-theme="dark"] .meter-head,
html[data-theme="dark"] .meter-note {
  color: var(--ink);
}
html[data-theme="dark"] .meter-note {
  color: var(--muted);
}
html[data-theme="dark"] .legal-foot {
  background: #0a0e0b;
  color: var(--muted);
}

/* Admin private shell */
.admin-body { background: #e8ecf0; }
.admin-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #12151a;
  color: #f4f6f8;
}
.admin-nav .logo {
  color: #f4f6f8;
  font-family: var(--display);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.admin-nav nav a {
  color: rgba(244, 246, 248, 0.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 1rem;
}
.admin-nav-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  border-radius: 2px;
}
.admin-flash { padding-top: 1rem; }
.admin-login-page {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.admin-login-card {
  width: min(400px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  padding: 2rem 1.5rem;
  border-radius: 2px;
}
.admin-login-card h1 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0 0 0.4rem;
}
.admin-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.admin-shell-head h1 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
}
.admin-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}
.admin-panel h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
}
.inline input[type="number"] {
  width: 4rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
}

.site-foot a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.site-foot a:hover { color: var(--teal); }

.settings-form h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.05rem;
}
.settings-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}
.settings-form label em {
  font-weight: 400;
  color: var(--muted);
  font-style: normal;
}
.settings-form input[type="text"],
.settings-form input[type="email"],
.settings-form input[type="password"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
}
.settings-hint {
  font-size: 0.88rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}
.admin-two-col {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
@media (min-width: 900px) {
  .admin-two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.admin-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.admin-panel-head h2 {
  margin: 0;
}
.admin-panel-head a {
  font-size: 0.88rem;
  white-space: nowrap;
}
.admin-shell-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.admin-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.admin-search input[type="search"] {
  min-width: 220px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
}
.admin-bulk-bar {
  margin: 0 0 0.75rem;
  display: flex;
  gap: 0.5rem;
}
.admin-actions {
  white-space: nowrap;
}
.btn.small {
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
}
.btn.danger,
.btn.ghost.danger {
  color: #991b1b;
  border-color: #fecaca;
}
.btn.ghost.danger:hover {
  background: #fef2f2;
}
.settings-form .co-row-2 {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) {
  .settings-form .co-row-2 {
    grid-template-columns: 1fr;
  }
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.status-list li {
  padding: 0.65rem 0.85rem;
  border-radius: 2px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
}
.status-list li.ok {
  background: #edf7f3;
  border-color: #b8ddd0;
}
.status-list li.bad {
  background: #fef6f0;
  border-color: #f0d4c0;
}
.settings-status {
  margin-bottom: 1.25rem;
}
.vault-locked {
  margin-bottom: 1.25rem;
}
.vault-locked .btn {
  margin-top: 0.75rem;
  display: inline-flex;
}
.mode-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  font-weight: 400 !important;
}
.mode-option strong { display: inline; }
.badge-status {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
}
.badge-status.completed { background: #d5ebe4; color: var(--teal); }
.badge-status.pending { background: #f5e6d0; color: #8a5a1a; }
code.tiny { font-size: 0.72rem; color: var(--muted); }

/* Client account */
.account-page {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 4rem;
}
.account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.account-header h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  color: var(--ink);
}
.account-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.account-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.account-stat {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
.account-stat span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.account-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}
.account-stat small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.account-stat.is-due {
  border-color: color-mix(in srgb, var(--no) 45%, var(--line));
  background: color-mix(in srgb, var(--no) 8%, var(--card));
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.account-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.7rem 0 0.3rem;
  color: var(--ink);
}
.account-form input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 70%, var(--card));
  color: var(--ink);
  font: inherit;
}
.account-form input:disabled {
  opacity: 0.7;
}
.account-form .btn { margin-top: 1rem; }
.plan-card {
  margin: 0.75rem 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--forest) 8%, var(--card));
}
.plan-card-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.plan-card-meta,
.plan-card-due {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.account-packs { margin-bottom: 0; }
.account-billing-table { margin-top: 0.25rem; }
.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.account-table th,
.account-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
}
.account-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* Invoice table (WHMCS-style) */
.invoice-panel {
  margin-top: 0.5rem;
  padding: 1.35rem 1.25rem 1.5rem;
}
.invoice-head h2 { margin-bottom: 0.2rem; }
.invoice-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
}
.invoice-count {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.invoice-search input {
  width: min(220px, 100%);
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 70%, var(--card));
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}
.invoice-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: auto;
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
}
.invoice-table thead th {
  background: color-mix(in srgb, var(--ink) 5%, var(--card));
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.invoice-table tbody td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}
.invoice-table tbody tr:last-child td { border-bottom: none; }
.invoice-table tbody tr:hover td {
  background: color-mix(in srgb, var(--forest) 5%, var(--card));
}
.inv-num { font-weight: 700; }
.inv-total { font-weight: 650; white-space: nowrap; }
.inv-ccy {
  font-size: 0.78em;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.15rem;
}
.inv-badge {
  display: inline-block;
  min-width: 5.5rem;
  text-align: center;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.inv-badge.inv-paid { background: #22a06b; }
.inv-badge.inv-unpaid { background: #de350b; }
.inv-badge.inv-cancelled { background: #6b778c; }
.invoice-empty td {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem !important;
}
.invoice-hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
}
.invoice-row-link {
  cursor: pointer;
}
.invoice-row-link:hover td {
  background: color-mix(in srgb, var(--forest) 8%, var(--card));
}
.invoice-table a {
  color: inherit;
  text-decoration: none;
}
.invoice-table a:hover { text-decoration: none; }
.inv-cell-link { display: block; }

/* Invoice detail sheet */
.invoice-sheet { padding: 1.5rem 1.35rem 1.75rem; }
.invoice-sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.invoice-brand-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.invoice-brand-block strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
}
.invoice-brand-block p { margin: 0.15rem 0 0; }
.invoice-status-block { text-align: right; }
.invoice-total-big {
  margin: 0.55rem 0 0;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.invoice-total-big small {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--muted);
}
.invoice-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.invoice-meta-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.invoice-meta-grid p { margin: 0.15rem 0; color: var(--ink); }
.invoice-dl {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.invoice-dl div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.invoice-dl dt { margin: 0; color: var(--muted); }
.invoice-dl dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
.invoice-table tfoot td {
  padding: 0.95rem 1rem;
  border-top: 2px solid var(--line);
  background: color-mix(in srgb, var(--ink) 3%, var(--card));
}
.invoice-pay-cta {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--no) 35%, var(--line));
  background: color-mix(in srgb, var(--no) 8%, var(--card));
}
.invoice-pay-cta p { margin: 0 0 0.75rem; color: var(--ink); }
.invoice-note { margin-top: 1rem; }
@media (max-width: 820px) {
  .invoice-meta-grid { grid-template-columns: 1fr; }
  .invoice-status-block { text-align: left; }
}
@media print {
  .site-nav, .legal-foot, .account-header-actions, .flash-bar, .theme-toggle { display: none !important; }
  .invoice-detail-page { padding-top: 1rem !important; }
  .invoice-sheet { box-shadow: none; border: none; }
}
.status-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--forest) 16%, transparent);
  color: var(--forest);
}
.status-pill.status-overdue,
.status-pill.status-unpaid {
  background: color-mix(in srgb, var(--no) 16%, transparent);
  color: var(--no);
}
.status-pill.status-pending {
  background: rgba(196, 165, 116, 0.2);
  color: #a67c2d;
}
.status-pill.status-none {
  background: color-mix(in srgb, var(--muted) 18%, transparent);
  color: var(--muted);
}
@media (max-width: 820px) {
  .account-grid { grid-template-columns: 1fr; }
  .account-header { flex-direction: column; }
}

.admin-body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.admin-nav .logo,
.admin-shell-head h1,
.admin-panel h2,
.admin-login-card h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
