/* Asset Property / GC public theme — matches Next marketing design */
:root {
  --blue: #0039a6;
  --navy: #0d295e;
  --deep: #0a1a3a;
  --gold: #ffc947;
  --ink: #121826;
  --muted: #4a5568;
  --line: #e4e8ef;
  --wash: #f4f6fa;
  --paper: #ffffff;
  --mist: #eef2f7;
}

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

html { scroll-behavior: smooth; }

body.ap-body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.ap-container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .ap-container { width: min(1180px, calc(100% - 4rem)); }
}

.ap-rule {
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  margin-bottom: 0.75rem;
}

.ap-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.ap-title {
  margin: 1rem 0 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.15;
}

.ap-lede { margin: 1rem 0 0; color: var(--muted); }

/* Header */
.ap-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.ap-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}
@media (min-width: 768px) {
  .ap-header-inner { padding: 0.75rem 0; }
}

.ap-logo img { height: 34px; width: auto; }
@media (min-width: 768px) {
  .ap-logo img { height: 38px; }
}

.ap-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.ap-nav a,
.ap-nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.ap-nav a:hover,
.ap-nav-drop > button:hover { color: var(--navy); }

.ap-nav-drop { position: relative; }
.ap-nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(13, 41, 94, 0.14);
  padding: 0.5rem 0;
  z-index: 20;
}
.ap-nav-drop:hover .ap-nav-panel,
.ap-nav-drop.open .ap-nav-panel { display: block; }
.ap-nav-panel a {
  display: block;
  padding: 0.75rem 1.1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.ap-nav-panel a:hover { background: var(--mist); }

.ap-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ap-header-actions .ap-login {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.ap-header-actions .ap-login:hover { color: var(--blue); }

.ap-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ap-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 3px 0;
}

.ap-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  max-height: 85vh;
  overflow: auto;
}
.ap-mobile.open { display: block; }
.ap-mobile a {
  display: block;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy);
}
.ap-mobile-auth {
  margin-top: 0.35rem;
  text-align: center;
}
.ap-mobile-auth-primary {
  background: var(--navy);
  color: #fff !important;
  border-bottom: 0 !important;
}

@media (min-width: 1024px) {
  .ap-nav { display: flex; }
  .ap-header-actions .ap-login { display: inline-flex; }
  .ap-burger { display: none; }
  .ap-mobile { display: none !important; }
}

/* Buttons */
.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.6rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: 0;
  cursor: pointer;
  transition: 0.2s ease;
}
.ap-btn-primary { background: var(--navy); color: #fff !important; }
.ap-btn-primary:hover { background: var(--blue); color: #fff !important; }
.ap-btn-gold { background: var(--gold); color: var(--ink) !important; }
.ap-btn-gold:hover { background: #f0b832; color: var(--ink) !important; }
.ap-btn-light { background: #fff; color: var(--navy) !important; }
.ap-btn-light:hover { background: var(--gold); color: var(--ink) !important; }
.ap-btn-secondary {
  background: #fff;
  color: var(--navy) !important;
  box-shadow: inset 0 0 0 1px var(--navy);
}
.ap-btn-secondary:hover { background: var(--mist); }
.ap-btn-quiet { background: var(--mist); color: var(--navy) !important; }
.ap-btn-block { width: 100%; }

/* Hero */
.ap-hero {
  position: relative;
  min-height: min(78svh, 680px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--deep);
  overflow: hidden;
}
.ap-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
}
.ap-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 26, 58, 0.72), rgba(10, 26, 58, 0.2) 55%, transparent),
    linear-gradient(0deg, rgba(10, 26, 58, 0.8), transparent 45%);
}
.ap-hero-content {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 2.75rem;
}
@media (min-width: 768px) {
  .ap-hero-content { padding: 8rem 0 4rem; }
}
.ap-hero-brand {
  margin: 0;
  font-size: clamp(2.15rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.ap-hero h1 {
  margin: 1.25rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 600;
}
.ap-hero p {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.8;
}
.ap-hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.ap-hero-actions .ap-btn { width: 100%; }
@media (min-width: 560px) {
  .ap-hero-actions {
    flex-direction: row;
    margin-top: 2rem;
  }
  .ap-hero-actions .ap-btn { width: auto; }
}

/* Sections */
.ap-section { padding: 2.75rem 0; border-bottom: 1px solid var(--line); }
.ap-section-lg { padding: 3.5rem 0; }
.ap-section-tight { padding: 2.5rem 0; }
@media (min-width: 768px) {
  .ap-section { padding: 4.5rem 0; }
  .ap-section-lg { padding: 5.5rem 0; }
  .ap-section-tight { padding: 3.5rem 0; }
}
.ap-bg-wash { background: var(--wash); }
.ap-bg-mist { background: var(--mist); }
.ap-bg-paper { background: var(--paper); }
.ap-bg-deep { background: var(--deep); color: #fff; }
.ap-bg-navy { background: var(--navy); color: #fff; }

.ap-grid-2 {
  display: grid;
  gap: 2rem;
}
.ap-grid-3 {
  display: grid;
  gap: 1.25rem;
}
.ap-grid-4 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .ap-grid-2 { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; }
  .ap-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .ap-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.ap-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.6rem;
}
.ap-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--mist);
  color: var(--blue);
}
.ap-icon svg { width: 20px; height: 20px; }

.ap-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.25rem 1.2rem 1.2rem;
  border-radius: 1rem;
  min-width: 0;
}
.ap-plan.featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(13, 41, 94, 0.22);
}
.ap-plans-grid {
  display: grid;
  gap: 0.85rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .ap-plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ap-plans-intro .ap-title {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin-top: 0.85rem;
}
.ap-plan-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.ap-plan-name {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.ap-plan.featured .ap-plan-name { color: var(--gold); }
.ap-plan-range {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
}
.ap-plan.featured .ap-plan-range { color: rgba(255,255,255,0.75); }
.ap-plan-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.85rem 0 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ap-plan-price span {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.2rem;
}
.ap-plan-price.on-dark { color: #fff; }
.ap-plan-price.on-dark span { color: rgba(255,255,255,0.7); }
.ap-plan-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ap-plan-facts.on-dark {
  border-color: rgba(255,255,255,0.14);
}
.ap-plan-facts div { min-width: 0; }
.ap-plan-facts dt {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ap-plan-facts.on-dark dt { color: rgba(255,255,255,0.65); }
.ap-plan-facts dd {
  margin: 0.3rem 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.ap-plan-facts.on-dark dd { color: #fff; }
.ap-plan-cta {
  margin-top: 1rem;
}
.ap-plan-badge {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  padding: 0.2rem 0.5rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ap-plan.featured .ap-plan-top {
  padding-right: 4.25rem;
}
.ap-plans-note {
  margin: 1rem 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}
.ap-plan.featured .ap-check { background: var(--gold); color: var(--ink); }

.ap-quote {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.4rem;
  height: 100%;
}
.ap-quote img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}
.ap-quote-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.ap-quote blockquote {
  margin: 1rem 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.ap-footer {
  background: var(--deep);
  color: #fff;
  padding-top: 2.75rem;
}
.ap-footer-inner {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 860px) {
  .ap-footer-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
.ap-footer-lede {
  margin: 0.85rem 0 0;
  font-size: 13px;
  line-height: 1.65;
  max-width: 22rem;
  color: rgba(255,255,255,0.82);
}
.ap-footer-contact {
  margin: 1rem 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}
.ap-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.ap-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.ap-footer ul { list-style: none; margin: 0; padding: 0; }
.ap-footer li + li { margin-top: 0.45rem; }
.ap-footer a { color: #fff; font-size: 13px; font-weight: 500; }
.ap-footer a:hover { color: var(--gold); }
.ap-footer-bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 0.85rem 0;
}
.ap-footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.ap-footer-copy {
  margin: 0;
  text-align: left;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.ap-footer-lang {
  min-height: 28px;
}
.ap-footer-logo {
  display: block;
  height: 18px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.95;
}

/* Auth pages */
.ap-auth-wrap {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--wash);
}
.ap-auth-card {
  width: min(520px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(13, 41, 94, 0.06);
}
.ap-auth-card.wide { width: min(640px, 100%); }
.ap-field { display: block; margin-top: 1.1rem; font-size: 14px; font-weight: 500; color: var(--ink); }
.ap-field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-weight: 600;
}
.ap-field input[type="text"],
.ap-field input[type="password"],
.ap-field input[type="email"],
.ap-auth-card textarea,
.ap-auth-card select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  background: var(--paper);
}
.ap-field input:focus {
  outline: none;
  border-color: var(--navy);
}
.ap-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
  font-size: 14px;
  border-radius: 8px;
}
.ap-auth-links {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.ap-auth-links a { font-weight: 600; color: var(--navy); }
.ap-auth-links a:hover { color: var(--blue); }

/* Page hero short */
.ap-page-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--deep);
  overflow: hidden;
}
.ap-page-hero .ap-hero-content { padding: 7rem 0 3rem; }

/* Map */
.ap-map {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--mist);
  border: 1px solid var(--line);
}
.ap-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Loader */
.ap-preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.ap-preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ap-preloader-mark {
  position: relative;
  width: 64px;
  height: 64px;
}
.ap-preloader-spin {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  animation: ap-spin 0.85s linear infinite;
}
.ap-preloader-core {
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background: rgba(255, 201, 71, 0.9);
  animation: ap-pulse 1s ease-in-out infinite;
}
@keyframes ap-spin { to { transform: rotate(360deg); } }
@keyframes ap-pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1); opacity: 1; }
}

#google_translate_element .goog-te-combo,
.ap-footer-lang .goog-te-combo {
  font-family: inherit;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 4px 8px;
  color: var(--deep);
  background: #fff;
  max-width: 160px;
}
.ap-footer-lang .goog-te-gadget {
  font-size: 0 !important;
  color: transparent !important;
}
.ap-footer-lang .goog-te-gadget .goog-te-combo {
  font-size: 12px !important;
  color: var(--deep) !important;
}
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.skiptranslate iframe { visibility: hidden !important; }

.ap-main { padding-top: 60px; }
@media (min-width: 768px) {
  .ap-main { padding-top: 64px; }
}
.ap-muted { color: var(--muted); }
.ap-white { color: #fff !important; }
.ap-gold { color: var(--gold); }
.ap-navy { color: var(--navy); }
.ap-mt-2 { margin-top: 0.5rem; }
.ap-mt-3 { margin-top: 0.75rem; }
.ap-mt-4 { margin-top: 1rem; }
.ap-mt-6 { margin-top: 1.5rem; }
.ap-mt-8 { margin-top: 2rem; }
.ap-mt-10 { margin-top: 2.5rem; }
.ap-gap { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ========== Member dashboard ========== */
.ap-member-body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  background: #f3f5f9;
  color: var(--ink);
  min-height: 100vh;
}
.ap-member-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.ap-member-side {
  background: var(--deep);
  color: #fff;
  padding: 1.25rem 1rem 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.ap-member-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1rem;
  text-decoration: none;
  color: #fff;
}
.ap-member-brand img { height: 28px; width: auto; }
.ap-member-brand span { display: none !important; }
.ap-member-nav-label {
  margin: 1.1rem 0.5rem 0.45rem;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}
.ap-member-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.ap-member-nav a:hover,
.ap-member-nav a.is-active {
  background: rgba(255,201,71,0.14);
  color: #fff;
}
.ap-member-nav a svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.9; }
.ap-member-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ap-member-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.ap-member-top-left { display: flex; align-items: center; gap: 0.75rem; }
.ap-member-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.ap-member-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}
.ap-member-user {
  text-align: right;
}
.ap-member-user strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}
.ap-member-user span {
  font-size: 12px;
  color: var(--muted);
}
.ap-member-content {
  padding: 1.5rem;
  flex: 1;
}
.ap-member-page-title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}
.ap-member-alert {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 14px;
  line-height: 1.55;
}
.ap-member-alert a { color: var(--navy); font-weight: 600; }
.ap-member-alert.warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}
.ap-member-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ap-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.2rem;
  position: relative;
  overflow: hidden;
}
.ap-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
}
.ap-stat.navy::before { background: var(--navy); }
.ap-stat.blue::before { background: var(--blue); }
.ap-stat.deep::before { background: var(--deep); }
.ap-stat-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ap-stat-value {
  margin: 0.55rem 0 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.ap-member-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-top: 1rem;
}
.ap-member-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
}
.ap-member-panel h2,
.ap-member-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.ap-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.ap-quick-actions a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  background: var(--wash);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ap-quick-actions a:hover {
  border-color: var(--navy);
  background: #fff;
}
.ap-member-content .card,
.ap-member-content .card-bx {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
  margin-bottom: 1rem;
}
.ap-member-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ap-member-content table td,
.ap-member-content table th {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.ap-member-content table th,
.ap-member-content .inheader {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  background: var(--wash);
}
.ap-member-content input[type="text"],
.ap-member-content input[type="password"],
.ap-member-content input[type="email"],
.ap-member-content input[type="number"],
.ap-member-content select,
.ap-member-content textarea,
.ap-member-content .inpts,
.ap-member-content .form-control {
  width: 100%;
  max-width: 420px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font: inherit;
  background: #fff;
}
.ap-member-content input[type="submit"],
.ap-member-content button[type="submit"],
.ap-member-content .sbmt,
.ap-member-content .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #fff !important;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ap-member-content input[type="submit"]:hover,
.ap-member-content .sbmt:hover,
.ap-member-content .btn-primary:hover {
  background: var(--blue);
}
.ap-member-content h3 {
  color: var(--navy);
  font-weight: 800;
}
.ap-member-content a { color: var(--navy); }
.ap-member-foot {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  background: #fff;
}
.ap-member-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,26,58,0.45);
  z-index: 30;
}
body.ap-member-nav-open .ap-member-overlay { display: block; }
@media (max-width: 980px) {
  .ap-member-shell { grid-template-columns: 1fr; }
  .ap-member-side {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: min(280px, 86vw);
    z-index: 40;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }
  body.ap-member-nav-open .ap-member-side { transform: translateX(0); }
  .ap-member-burger { display: inline-flex; }
  .ap-member-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-member-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ap-member-stats { grid-template-columns: 1fr; }
  .ap-quick-actions { grid-template-columns: 1fr; }
  .ap-member-content { padding: 1rem; }
}

.ap-hero .ap-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
}
.ap-hero .ap-hero-media.is-active { opacity: 1; }
.ap-hero .ap-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,26,58,0.72), rgba(10,26,58,0.28) 55%, transparent),
    linear-gradient(0deg, rgba(10,26,58,0.78), transparent 55%);
}
.ap-hero-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.5rem;
}
.ap-hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
}
.ap-hero-dots button.is-active {
  background: var(--gold);
  width: 22px;
}

@media (max-width: 980px) {
  .ap-header-account-desktop { display: none !important; }
}

/* ===== Next visual parity upgrades ===== */
.ap-section { padding: 2.75rem 0; }
@media (min-width: 768px) {
  .ap-section { padding: 4.5rem 0; }
}

.ap-card,
.ap-who-card {
  padding: 1.15rem;
  border-radius: 1rem;
}
.ap-desk-card-body { padding: 1rem 1.05rem; }
.ap-desk-card h3 { font-size: 1.05rem; }
.ap-btn {
  min-height: 44px;
  padding: 0 1.35rem;
  font-size: 13px;
}
.ap-card:hover,
.ap-desk-card:hover {
  border-color: rgba(13, 41, 94, 0.3);
  box-shadow: 0 12px 28px rgba(13, 41, 94, 0.1);
}
.ap-plan.featured { border-radius: 1.5rem; box-shadow: 0 20px 50px rgba(13, 41, 94, 0.25); }

.ap-cta-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--deep);
  color: #fff;
}
@media (min-width: 768px) {
  .ap-cta-panel {
    grid-template-columns: 1.2fr auto;
    padding: 3.5rem;
  }
}

.ap-page-hero {
  min-height: 56vh;
}
@media (min-width: 768px) {
  .ap-page-hero { min-height: 62vh; }
}
.ap-page-hero .ap-hero-content {
  padding: 8rem 0 3.5rem;
}
.ap-page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 40rem;
}
.ap-page-hero .ap-hero-media::after {
  background:
    linear-gradient(90deg, rgba(10,26,58,0.7), rgba(10,26,58,0.35) 55%, transparent),
    linear-gradient(0deg, rgba(10,26,58,0.75), transparent 45%),
    rgba(0,0,0,0.35);
}

/* Market pulse */
.ap-market {
  border-bottom: 1px solid var(--line);
  background: var(--wash);
  padding: 2.5rem 0;
}
@media (min-width: 768px) {
  .ap-market { padding: 3rem 0; }
}
.ap-market-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .ap-market-board { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.ap-market-cell {
  padding: 1.25rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ap-market-cell p { margin: 0; }
.ap-market-pair {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.ap-market-value {
  margin-top: 0.75rem !important;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.ap-market-meta {
  margin-top: 0.5rem !important;
  font-size: 12px;
  color: var(--muted);
}
.ap-market-meta.up { color: #047857; font-weight: 600; }
.ap-market-meta.down { color: #be123c; font-weight: 600; }
.ap-desk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}
.ap-desk-links a { color: var(--navy); }
.ap-desk-links a:hover { color: var(--blue); }

/* Desk carousel */
.ap-desk-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ap-desk-nav {
  display: flex;
  gap: 0.5rem;
}
.ap-desk-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 16px;
}
.ap-desk-nav button:hover { background: var(--mist); }
.ap-desk-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(13, 41, 94, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ap-desk-card-media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.ap-desk-card-body { padding: 1.25rem; }
.ap-desk-card h3 {
  margin: 0.5rem 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.ap-desk-card:hover h3 { color: var(--blue); }

/* Asset focus panel */
.ap-focus {
  display: grid;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--navy);
  color: #fff;
}
@media (min-width: 1024px) {
  .ap-focus { grid-template-columns: 1.15fr 0.85fr; }
}
.ap-focus-media {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}
@media (min-width: 1024px) {
  .ap-focus-media { min-height: 420px; }
}
.ap-focus-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,58,0.8), transparent);
}
.ap-focus-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem;
}
@media (min-width: 768px) {
  .ap-focus-copy { padding: 2.5rem; }
}
.ap-focus-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.ap-focus-tabs button {
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}
.ap-focus-tabs button.is-active {
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}

/* Catalogue list like Next ProductCard */
.ap-catalogue {
  border-top: 1px solid var(--line);
}
.ap-catalogue-row {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.ap-catalogue-row:hover { background: rgba(244,246,250,0.8); }
@media (min-width: 768px) {
  .ap-catalogue-row {
    grid-template-columns: 160px 1.1fr 1.4fr auto;
    gap: 2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
.ap-catalogue-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--wash);
}
@media (min-width: 768px) {
  .ap-catalogue-thumb {
    width: 160px;
    height: 100px;
    aspect-ratio: auto;
  }
}
.ap-catalogue-row h3 {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}
.ap-catalogue-row:hover h3 { color: var(--blue); }

.ap-who-card {
  height: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(13, 41, 94, 0.04);
}

/* ---- Design parity: desks, plans, legal, auth, about ---- */
.ap-page-hero-short .ap-hero-content { padding-top: 7rem; padding-bottom: 2.5rem; }
.ap-page-hero-tall .ap-hero-content { padding-top: 9rem; padding-bottom: 4rem; }
.ap-page-hero-desk .ap-hero-content { padding-top: 8.5rem; padding-bottom: 3.5rem; }

.ap-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--line);
}
@media (min-width: 640px) {
  .ap-stat-grid { grid-template-columns: 1fr 1fr; }
}
.ap-stat-cell {
  background: var(--paper);
  padding: 1.5rem 1.75rem;
}

.ap-desk-detail-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .ap-desk-detail-grid { grid-template-columns: 1.35fr 0.85fr; align-items: start; }
}

.ap-highlight-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.ap-highlight-list li {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.ap-highlight-list li > span:first-child {
  margin-top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  flex-shrink: 0;
}

.ap-mist-aside {
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 1.75rem;
}
@media (min-width: 768px) {
  .ap-mist-aside { padding: 2rem; }
}

.ap-group-card {
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(13, 41, 94, 0.04);
}

.ap-pillar-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--line);
}
@media (min-width: 768px) {
  .ap-pillar-grid { grid-template-columns: repeat(3, 1fr); }
}
.ap-pillar-cell {
  background: var(--paper);
  padding: 2rem;
}

.ap-belief-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .ap-belief-grid { grid-template-columns: repeat(3, 1fr); }
}
.ap-belief {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.ap-deep-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 1.5rem;
  background: var(--deep);
  color: #fff;
  padding: 2rem;
}
@media (min-width: 768px) {
  .ap-deep-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
  }
}

.ap-steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.ap-steps li {
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .ap-steps li { grid-template-columns: 88px 1fr; }
}
.ap-step-num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.ap-steps h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.ap-steps p {
  margin: 0.75rem 0 0;
  max-width: 48rem;
  line-height: 1.7;
  color: var(--muted);
}

.ap-tip-card {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.75rem;
}

.ap-plan { position: relative; display: flex; flex-direction: column; }
.ap-plan-badge {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  padding: 0.2rem 0.5rem;
  font-size: 9px;
  font-weight: 700;
}
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ap-plan-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ap-plan-metrics.on-dark {
  border-color: rgba(255,255,255,0.15);
}
.ap-metric-icon {
  width: 18px;
  height: 18px;
  margin-bottom: 0.35rem;
  color: var(--blue);
}
.ap-plan-metrics.on-dark .ap-metric-icon { color: var(--gold); }
.ap-metric-label {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ap-plan-metrics.on-dark .ap-metric-label { color: rgba(255,255,255,0.7); }
.ap-metric-value {
  margin: 0.2rem 0 0;
  font-size: 12.5px;
  font-weight: 600;
}

.ap-faq {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.ap-faq[open] { border-color: rgba(13, 41, 94, 0.3); }
.ap-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.ap-faq-plus {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.ap-faq[open] .ap-faq-plus { transform: rotate(45deg); }
.ap-faq p {
  margin: 0.75rem 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.ap-topic-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.ap-topic-list li {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  font-size: 14px;
  color: var(--muted);
}
.ap-topic-list li > span:first-child {
  margin-top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  flex-shrink: 0;
}

.ap-legal-banner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .ap-legal-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
  }
}

.ap-legal-layout {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .ap-legal-layout { grid-template-columns: 220px 1fr; }
}
.ap-legal-nav {
  display: none;
  position: sticky;
  top: 6rem;
  align-self: start;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.25rem;
}
@media (min-width: 1024px) {
  .ap-legal-nav { display: block; }
}
.ap-legal-nav ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.ap-legal-nav a {
  display: block;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.ap-legal-nav a:hover { background: #eef2f7; }

.ap-legal-docs { display: grid; gap: 1.25rem; }
.ap-legal-card {
  display: block;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(13, 41, 94, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ap-legal-card:hover {
  border-color: rgba(13, 41, 94, 0.35);
  box-shadow: 0 8px 24px rgba(13, 41, 94, 0.08);
}
.ap-legal-card {
  display: grid;
}
@media (min-width: 768px) {
  .ap-legal-card { grid-template-columns: 110px 1fr; }
}
.ap-legal-num {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep);
  color: var(--gold);
  font-size: 2.25rem;
  font-weight: 800;
  padding: 2rem 1rem;
}
.ap-legal-body { padding: 1.5rem; }
@media (min-width: 768px) {
  .ap-legal-body { padding: 2rem; }
}
.ap-legal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.ap-legal-head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.ap-legal-card:hover .ap-legal-head h2 { color: var(--blue); }
.ap-legal-head span {
  border-radius: 999px;
  background: var(--gold);
  color: var(--deep);
  padding: 0.25rem 0.75rem;
  font-size: 12px;
  font-weight: 600;
}
.ap-legal-body > p {
  margin: 0.75rem 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.ap-legal-body ul {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .ap-legal-body ul { grid-template-columns: repeat(3, 1fr); }
}
.ap-legal-body li {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 0.75rem;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
}

.ap-legal-mobile-actions {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .ap-legal-mobile-actions { display: none; }
}

.ap-legal-prose {
  max-width: 48rem;
  margin-inline: auto;
}
.ap-legal-prose h2 {
  margin: 2.5rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}
.ap-legal-prose h2:first-child { margin-top: 0; }
.ap-legal-prose h3 {
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.ap-legal-prose p,
.ap-legal-prose li {
  color: var(--muted);
  line-height: 1.8;
}
.ap-legal-prose p { margin: 0.85rem 0 0; }
.ap-legal-prose ul {
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
}
.ap-legal-prose a {
  font-weight: 600;
  color: var(--navy);
}
.ap-legal-prose a:hover { color: var(--blue); }

.ap-auth-wrap {
  background: var(--wash);
  padding: 3rem 1.25rem 4rem;
}
@media (min-width: 768px) {
  .ap-auth-wrap { padding: 3.5rem 2rem 5rem; }
}
.ap-auth-card {
  box-shadow: 0 12px 40px rgba(13, 41, 94, 0.06);
}

@media (prefers-reduced-motion: no-preference) {
  .ap-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .ap-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .ap-reveal-delay-1 { transition-delay: 0.08s; }
  .ap-reveal-delay-2 { transition-delay: 0.16s; }
  .ap-reveal-delay-3 { transition-delay: 0.24s; }
}
@keyframes ap-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.ap-quote-country {
  display: block;
  margin-top: 0.25rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Access panel (replaces footer login strip) */
.ap-access-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 0.25rem 0;
}
@media (min-width: 768px) {
  .ap-access-panel {
    grid-template-columns: 1.35fr auto;
    gap: 2.5rem;
  }
}
.ap-access-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ap-access-actions .ap-btn { width: 100%; }
@media (min-width: 480px) {
  .ap-access-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ap-access-actions .ap-btn { width: auto; min-width: 10rem; }
}

/* footer logo size is set once above in .ap-footer */

/* Client voices: mature quote rows */
.ap-voices {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.ap-voices-intro { max-width: 40rem; }
.ap-voice-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.ap-voice-row {
  margin: 0;
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 720px) {
  .ap-voice-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1.75rem;
    padding: 2rem 0;
  }
}
.ap-voice-row img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
@media (min-width: 720px) {
  .ap-voice-row img {
    width: 112px;
    height: 112px;
  }
}
.ap-voice-row blockquote {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.ap-voice-row figcaption {
  margin-top: 1.1rem;
}
.ap-voice-row figcaption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.ap-voice-row figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-size: 13px;
  color: var(--muted);
}
.ap-voice-row figcaption em {
  display: inline-block;
  margin-top: 0.45rem;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Company documents */
.ap-docs-layout {
  display: grid;
  gap: 2rem;
  position: relative;
  isolation: isolate;
}
@media (min-width: 980px) {
  .ap-docs-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}
.ap-docs-nav {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1rem;
  background: var(--wash);
  border: 1px solid var(--line);
}
@media (min-width: 980px) {
  .ap-docs-nav {
    position: sticky;
    top: 5.75rem;
    z-index: 2;
    align-self: start;
    max-height: calc(100vh - 6.5rem);
    overflow: auto;
  }
}
.ap-docs-main {
  position: relative;
  z-index: 1;
  min-width: 0;
  background: var(--paper);
}
.ap-docs-block {
  scroll-margin-top: 6.5rem;
}
.ap-docs-nav-label {
  margin: 0 0 0.85rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ap-docs-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.ap-docs-nav a {
  display: block;
  padding: 0.55rem 0.65rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
.ap-docs-nav a:hover { background: #fff; }
.ap-docs-nav-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.ap-docs-nav-note p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.ap-docs-nav-note a {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.ap-docs-banner {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .ap-docs-banner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
.ap-docs-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ap-docs-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ap-docs-status-pill.is-soft {
  background: var(--mist);
  color: var(--navy);
}
.ap-docs-index {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.ap-docs-index-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ap-docs-index-item:hover {
  border-color: var(--navy);
  background: var(--wash);
}
.ap-docs-index-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--deep);
  text-align: center;
  padding: 0.55rem 0;
}
.ap-docs-index-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--navy);
}
.ap-docs-index-item em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.ap-cert {
  position: relative;
  border: 1px solid #c8ccd6;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f5f0 100%);
  color: #1a1a1a;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(10, 26, 58, 0.08);
}
.ap-cert-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: rotate(-18deg);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(13, 41, 94, 0.07);
}
.ap-cert-head,
.ap-cert-body,
.ap-cert-foot {
  position: relative;
  z-index: 1;
}
.ap-cert-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #c8ccd6;
  background: #fff;
}
.ap-cert-agency {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b6472;
}
.ap-cert-cite {
  margin: 0.4rem 0 0;
  font-size: 12px;
  color: #5b6472;
}
.ap-cert-seal {
  width: 84px;
  height: 84px;
  object-fit: contain;
  flex-shrink: 0;
}
.ap-cert-body { padding: 2.25rem 1.5rem 2rem; }
@media (min-width: 720px) {
  .ap-cert-head,
  .ap-cert-body { padding-left: 2rem; padding-right: 2rem; }
  .ap-cert-foot { padding-left: 2rem; padding-right: 2rem; }
}
.ap-cert-body h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.ap-cert-body h2 span { font-weight: 600; }
.ap-cert-copy {
  max-width: 34rem;
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
}
.ap-cert-entity {
  margin: 0.85rem 0;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.ap-cert-facts {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid #c8ccd6;
  display: grid;
  gap: 0.85rem;
  text-align: left;
}
@media (min-width: 640px) {
  .ap-cert-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ap-cert-facts li {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #dedfe5;
}
.ap-cert-facts span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b6472;
}
.ap-cert-facts strong {
  font-size: 14px;
  color: var(--navy);
}
.ap-cert-note {
  margin: 1.5rem 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #5b6472;
  text-align: left;
}
.ap-cert-foot {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem 1.6rem;
  border-top: 1px solid #c8ccd6;
  background: #fff;
}
@media (min-width: 720px) {
  .ap-cert-foot { grid-template-columns: 1.2fr 1fr; }
}
.ap-cert-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5b6472;
}
.ap-cert-address,
.ap-cert-meta {
  margin: 0.55rem 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--navy);
}
.ap-cert-meta { font-weight: 500; color: #3d4656; }

.ap-docs-block { margin-top: 2.75rem; }
.ap-docs-block-head { margin-bottom: 1.25rem; }
.ap-particulars {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
}
.ap-particular {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.ap-particular:last-child { border-bottom: 0; }
@media (min-width: 720px) {
  .ap-particular {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: baseline;
    gap: 1rem;
  }
}
.ap-particular span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ap-particular strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}
.ap-particular a {
  color: var(--blue);
  text-decoration: none;
}
.ap-office-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .ap-office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ap-office-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--wash);
}
.ap-office-address {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--navy);
}
.ap-office-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 14px;
  color: var(--ink);
}
.ap-office-list a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.ap-verify-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: verify;
  display: grid;
  gap: 0.85rem;
}
.ap-verify-steps li {
  counter-increment: verify;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.ap-verify-steps li::before {
  content: counter(verify, decimal-leading-zero);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: var(--deep);
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-verify-steps strong {
  display: block;
  font-size: 0.98rem;
  color: var(--navy);
}
.ap-verify-steps span {
  display: block;
  margin-top: 0.35rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.ap-verify-steps a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.ap-docs-related {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .ap-docs-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ap-docs-related a {
  display: block;
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--wash);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.ap-docs-related a:hover { border-color: var(--navy); }
.ap-docs-related strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
}
.ap-docs-related span {
  display: block;
  margin-top: 0.4rem;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.ap-docs-about {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  .ap-docs-about {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2.5rem;
  }
}
.ap-docs-about-list {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.ap-docs-about-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}
.ap-docs-about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  background: var(--gold);
}
.ap-docs-about-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff 0%, var(--wash) 100%);
  padding: 1.35rem 1.25rem 1.4rem;
}
.ap-docs-about-seal {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1rem;
}
.ap-docs-about-seal img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.ap-docs-about-seal strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}
.ap-docs-about-seal span {
  display: block;
  margin-top: 0.25rem;
  font-size: 12.5px;
  color: var(--muted);
}
.ap-docs-about-dl {
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.ap-docs-about-dl div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.ap-docs-about-dl dt {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ap-docs-about-dl dd {
  margin: 0.3rem 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy);
}
.ap-docs-about-dl a {
  color: var(--blue);
  text-decoration: none;
}
.ap-docs-about-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

/* Access panel (replaces footer login strip) */
.ap-plans-rail {
  width: 100%;
}
.ap-plans-grid {
  align-items: stretch;
}
.ap-plan {
  min-width: 0;
}

/* Market pulse mobile calm */
@media (max-width: 767px) {
  .ap-container {
    width: min(1180px, calc(100% - 1.5rem));
  }
  .ap-header-inner {
    padding: 0.55rem 0;
  }
  .ap-logo img { height: 30px; }
  .ap-main { padding-top: 54px; }
  .ap-hero {
    min-height: min(72svh, 620px);
  }
  .ap-hero-content {
    padding: 6.5rem 0 2.5rem;
  }
  .ap-section {
    padding: 2.1rem 0;
  }
  .ap-section-tight {
    padding: 1.85rem 0;
  }
  .ap-title {
    font-size: clamp(1.35rem, 6vw, 1.7rem) !important;
  }
  .ap-market {
    padding: 1.5rem 0;
  }
  .ap-market .ap-grid-2 {
    gap: 0.85rem;
  }
  .ap-market .ap-grid-2 > div:last-child {
    justify-content: flex-start !important;
  }
  .ap-market-board {
    margin-top: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ap-market-cell {
    padding: 0.85rem;
  }
  .ap-market-value {
    font-size: 1.15rem !important;
  }
  .ap-desk-links {
    gap: 0.45rem 0.7rem;
    font-size: 12.5px;
  }
  .ap-desk-carousel-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .ap-who-card {
    padding: 1rem;
  }
  .ap-catalogue-row {
    grid-template-columns: 72px 1fr;
    gap: 0.75rem;
    padding: 1rem 0;
  }
  .ap-catalogue-thumb {
    width: 72px;
    height: 54px;
    aspect-ratio: auto;
    border-radius: 8px;
  }
  .ap-catalogue-row > p,
  .ap-catalogue-row > div:last-child {
    grid-column: 1 / -1;
  }
  .ap-focus {
    min-height: auto;
    border-radius: 1rem;
  }
  .ap-focus-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  .ap-focus-tabs button {
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 11px;
    padding: 0.45rem 0.7rem;
  }
  .ap-btn {
    min-height: 44px;
    font-size: 13px;
  }

  /* Plans: swipeable card rail on mobile */
  .ap-plans-rail {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(0.75rem, calc(50vw - 50%));
    padding-right: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: max(0.75rem, calc(50vw - 50%));
  }
  .ap-plans-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0.75rem;
    width: max-content;
    padding-bottom: 0.35rem;
  }
  .ap-plans-grid .ap-plan {
    width: min(78vw, 270px);
    flex: 0 0 min(78vw, 270px);
    scroll-snap-align: start;
    padding: 1.1rem;
  }
  .ap-plan-price {
    font-size: 1.35rem;
  }
  .ap-plan-facts dd {
    font-size: 12px;
  }
  .ap-plan-cta.ap-btn,
  .ap-plan-cta {
    min-height: 42px;
  }
  .ap-plans-note {
    text-align: left;
    margin-top: 0.85rem;
  }

  .ap-access-panel h2 {
    font-size: 1.35rem !important;
  }
  .ap-footer {
    padding-top: 2rem;
  }
  .ap-footer-inner {
    gap: 1.5rem;
  }
  .ap-footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Desk carousel: one card on small screens */
@media (max-width: 767px) {
  #ap-desk-carousel.ap-grid-3 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #ap-desk-carousel.ap-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

