/* Advance Wealth Limited - website draft v2 (compliance review only)
   Brand tokens matched to live advancewealth.co.uk (16 Sep 2026): teal primary, white header. */
:root {
  --teal: #0187A4;
  --teal-dark: #016d85;
  --teal-deeper: #015a6e;
  --teal-soft: #e6f4f7;
  --teal-mid: #04a0c0;
  --btn-text: #F4F3F3;
  --white: #ffffff;
  --cream: #f5f8fa;
  --text: #1a1a1a;
  --muted: #4a5560;
  --border: #d7e0e5;
  --amber: #f5e6c8;
  --amber-text: #5c4813;
  --danger-soft: #f7f3ea;
  --focus: #0187A4;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(1, 135, 164, 0.08);
  --max: 1120px;
  --font: "Open Sans", "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Roboto", "Open Sans", "Segoe UI", system-ui, sans-serif;
  --heading: "Raleway", "Open Sans", system-ui, sans-serif;
  --nav-font: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  /* Legacy aliases so older class names still resolve safely */
  --navy: var(--teal);
  --navy-deep: var(--teal-deeper);
  --navy-mid: var(--teal-dark);
  --gold: var(--teal);
  --gold-soft: #b8dde6;
  --gold-dark: var(--teal-dark);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.draft-banner {
  background: linear-gradient(90deg, var(--teal-deeper) 0%, var(--teal) 70%, #0a6b82 100%);
  color: #e8f6fa;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.draft-banner strong { color: #fff; }
.paula-note {
  background: var(--amber);
  color: var(--amber-text);
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border-bottom: 1px solid #e0c98a;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(1, 135, 164, 0.06);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}
.logo-img {
  height: 128px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; gap: 0.15rem; }
.logo-text strong { font-family: var(--heading); font-size: 1.28rem; letter-spacing: -0.01em; color: var(--teal-deeper); font-weight: 600; }
.logo-text span { font-size: 0.95rem; color: #2a4450; font-weight: 600; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--teal-deeper);
  text-decoration: none;
  font-size: 0.95rem;
}
.phone-cta:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  background: var(--teal);
  color: var(--btn-text);
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.primary-nav {
  background: var(--teal);
  border-bottom: 1px solid var(--teal-dark);
}
.primary-nav .nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
}
.primary-nav a {
  display: inline-block;
  padding: 0.72rem 0.8rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--nav-font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.85);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
main { min-height: 55vh; }

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(1, 135, 164, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(1, 135, 164, 0.08), transparent 50%),
    linear-gradient(165deg, #f7fbfc 0%, #eef6f8 45%, #f5f8fa 100%);
  overflow: hidden;
  padding: 3.5rem 0 3.25rem;
  border-bottom: 1px solid var(--border);
}
.hero-motif {
  position: absolute;
  right: -40px;
  top: 20px;
  width: min(420px, 50vw);
  opacity: 0.45;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
  font-family: var(--nav-font);
}
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 1rem;
  max-width: 18ch;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}
.page-hero h1 {
  font-family: var(--heading);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  color: var(--teal);
  margin: 0 0 0.75rem;
  line-height: 1.25;
  max-width: 28ch;
}
.page-hero .lead {
  color: var(--muted);
  max-width: 46rem;
  margin: 0;
  font-size: 1.08rem;
}

.section { padding: 3rem 0; }
.section-alt { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 {
  font-family: var(--heading);
  color: var(--teal);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 1rem;
  line-height: 1.3;
}
.section h3 {
  color: var(--teal-deeper);
  font-family: var(--heading);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
.prose p { margin: 0 0 1rem; max-width: 46rem; }
.prose ul, .prose ol { max-width: 46rem; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--teal);
  color: var(--btn-text);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); color: var(--btn-text); border-color: var(--teal-dark); }
.btn-secondary {
  background: transparent;
  color: var(--teal-deeper);
  border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal); color: var(--btn-text); }
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; font-family: var(--heading); color: var(--teal); }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: var(--teal);
  border: 1px solid #c5e4eb;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-icon-wide {
  /* retained for compatibility; icons are now uniform size */
  width: 44px;
  max-width: none;
  padding: 0;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
}
.feature-list .tick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.person-head { display: flex; gap: 0.9rem; align-items: center; }
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #e8f6fa;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.person-card h3 { margin: 0; font-size: 1.05rem; color: var(--teal-deeper); font-family: var(--heading); }
.person-role { margin: 0.15rem 0 0; font-size: 0.88rem; color: var(--teal); font-weight: 600; }
.person-bio { margin: 0; font-size: 0.95rem; color: var(--muted); flex: 1; }
.person-bio p { margin: 0 0 0.65rem; }
.person-bio p:last-child { margin-bottom: 0; }
.vf-link {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.35rem;
}
.vf-link a { color: var(--teal-dark); }

.disclaimer, .risk-box, .info-box {
  background: var(--danger-soft);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  margin: 1.5rem 0;
  max-width: 46rem;
}
.info-box {
  background: var(--teal-soft);
  border-left-color: var(--teal);
}
.cta-band {
  background: var(--teal);
  color: #fff;
  padding: 2.75rem 0;
  margin-top: 1rem;
}
.cta-band h2 { color: #fff; margin: 0 0 0.65rem; font-family: var(--heading); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 36rem; margin: 0 0 1.25rem; }
.cta-band .btn-primary {
  background: var(--white);
  color: var(--teal-deeper);
  border-color: var(--white);
}
.cta-band .btn-primary:hover { background: var(--teal-soft); color: var(--teal-deeper); border-color: var(--teal-soft); }
.cta-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.65); }
.cta-band .btn-secondary:hover { background: #fff; color: var(--teal-deeper); border-color: #fff; }

.vf-prof-review {
  max-width: 20rem;
  margin: 0;
  min-height: 4rem;
}
.vf-links-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}
.vf-links-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow);
}
.vf-links-list strong { display: block; color: var(--teal-deeper); margin-bottom: 0.2rem; }

.form-disabled {
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 32rem;
}
.form-disabled label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
  color: var(--teal-deeper);
}
.form-disabled input,
.form-disabled textarea,
.form-disabled select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #f0f0f0;
  color: var(--muted);
}
.form-note {
  background: var(--amber);
  color: var(--amber-text);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.map-placeholder {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 0.75rem;
}

.site-footer {
  background: var(--teal-deeper);
  color: rgba(255,255,255,0.88);
  padding: 3rem 0 2rem;
  margin-top: 0;
  font-size: 0.92rem;
}
.site-footer a { color: #b8dde6; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 650;
  font-family: var(--heading);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.reg-block {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.35rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 58rem;
}
.risk-footer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  max-width: 58rem;
}
.yell-discreet {
  font-size: 0.8rem;
  margin-top: 0.75rem;
  opacity: 0.85;
}

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: var(--teal);
  border-top: 1px solid var(--teal-dark);
  box-shadow: 0 -4px 20px rgba(1, 90, 110, 0.25);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0));
  gap: 0.5rem;
}
.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  padding: 0.7rem 0.5rem;
  border-radius: 6px;
  font-family: var(--nav-font);
}
.mobile-cta-bar .m-call {
  background: var(--white);
  color: var(--teal-deeper);
}
.mobile-cta-bar .m-meet {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero h1 { max-width: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav .nav-inner {
    display: none;
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
  }
  .primary-nav.is-open .nav-inner { display: flex; }
  .primary-nav a { border-radius: 8px; }
  .header-inner { flex-wrap: wrap; }
  .site-header { top: 0; }
  .logo-text { display: none; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 4.5rem; }
  .phone-cta { display: none; }
}

@media print {
  .draft-banner, .paula-note { position: static; }
  .site-header, .primary-nav { position: static; box-shadow: none; }
  .btn, .nav-toggle, .mobile-cta-bar { display: none !important; }
  body { padding-bottom: 0; }
  .site-footer { color: #000; background: #fff; border-top: 2px solid #000; }
  .site-footer a { color: #000; }
  a[href]::after { content: none; }
  .hero, .page-hero, .section { break-inside: avoid; }
}


.avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #d7eef3;
  background: #e8f6fa;
}
.person-card .avatar-img { width: 80px; height: 80px; }
.vf-widgets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: flex-start;
  margin: 0.75rem 0 0.25rem;
}
.vf-firm-review {
  max-width: 20rem;
  min-height: 4rem;
  margin: 0;
}
.header-vf-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 11rem;
  flex-shrink: 0;
}
.header-vf-badge {
  display: block;
  line-height: 0;
  text-decoration: none;
  border-radius: 8px;
}
.header-vf-badge img {
  width: 76px;
  height: auto;
  display: block;
}
.header-vf-badge:hover { opacity: 0.92; }
.header-vf-badge:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
/* legacy text-pill class retained empty so old caches do not break */
.header-vf { display: none; }
.vf-explainer {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.vf-explainer-header {
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: center;
  color: var(--teal-deeper);
  font-weight: 600;
  max-width: 11rem;
  text-decoration: none;
}
a.vf-explainer-header:hover {
  color: var(--teal);
  text-decoration: underline;
}
@media (max-width: 720px) {
  .header-vf-block { display: none; }
}

/* lucie-header-02oct2026: desktop prominence + readable brand line; mobile unchanged enough */
.logo-img {
  height: 128px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3;
  gap: 0;
  max-width: 14rem;
}
.logo-text strong { display: none; } /* company name lives in the logo artwork */
.logo-text span {
  font-size: 0.98rem;
  color: #2a4450;
  font-weight: 600;
  line-height: 1.35;
}
.header-inner {
  padding: 1rem 1.25rem;
  align-items: center;
  gap: 1rem;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.header-actions .phone-cta {
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-actions .btn-primary {
  white-space: nowrap;
}
.header-vf-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  max-width: 11rem;
  flex-shrink: 0;
}
.vf-explainer-header {
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--teal-deeper);
  max-width: 12rem;
  text-align: center;
}
@media (min-width: 1101px) {
  .logo-img { height: 120px; max-width: 400px; }
  .header-cta { gap: 1.15rem; flex-wrap: nowrap; }
  .header-actions .btn-primary { padding: 0.72rem 1.15rem; }
  .logo-text { max-width: 15rem; }
  .logo-text span { font-size: 1.02rem; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .logo-img { height: 100px; max-width: 340px; }
  .logo-text span { font-size: 0.9rem; }
  .logo-text { max-width: 12rem; }
}
@media (max-width: 900px) {
  .logo-img { height: 72px; max-width: 240px; }
  .logo-text span { font-size: 0.8rem; }
  .logo-text { max-width: 10rem; }
  .header-actions { gap: 0.3rem; }
}

/* lucie-layout-02oct2026: widen desktop body/CTA so copy is not stuck on the left */
.cta-band .wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.cta-band h2 { max-width: none; }
.cta-band p {
  max-width: 52rem;
  margin: 0 0 1.25rem;
}
.hero .wrap,
.section .wrap {
  max-width: var(--max);
}
.hero-lead {
  max-width: 48rem;
}
.prose p,
.prose ul,
.prose ol {
  max-width: 52rem;
}

/* PREVIEW ONLY - hide draft banners so Chris/Paula see live look */
.draft-banner,
.paula-note,
[class*="draft-banner"],
[class*="Draft"],
.banner-draft { display: none !important; }


/* lucie-punchlist-02oct2026: VF badge local asset + clearer render; header tagline removed */
.header-vf-badge img {
  width: 84px;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}
.logo-text:empty,
.logo-text[aria-hidden="true"] {
  display: none;
}
.form-enabled .form-note {
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}
.form-enabled label {
  display: block;
  margin: 0.65rem 0 0.25rem;
  font-weight: 600;
}
.form-enabled input,
.form-enabled textarea {
  width: 100%;
  max-width: 28rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #c5d0d6;
  border-radius: 6px;
  font: inherit;
}
.yell-discreet { display: none; }
