:root {
  --ink: #18212b;
  --muted: #596776;
  --paper: #ffffff;
  --soft: #f6f5fb;
  --soft-teal: #edf8f7;
  --primary: #4b3fa7;
  --primary-dark: #332879;
  --secondary: #0b6f73;
  --secondary-dark: #075458;
  --accent: #f1c75b;
  --accent-ink: #4b3900;
  --line: #d8dce5;
  --success: #1c7d52;
  --danger: #a22b2b;
  --shadow: 0 16px 42px rgba(24, 33, 43, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 46px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; background: var(--ink); color: #fff; padding: .8rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), 800px); margin: 0 auto; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); margin: 0 0 .75rem; }
.kicker { color: var(--primary); font-weight: 750; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin-top: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); margin-bottom: 1.1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 760px; }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
.section { padding: 5.5rem 0; }
.section.soft { background: var(--soft); }
.section.teal { background: var(--soft-teal); }
.section.dark { background: #18212b; color: #fff; }
.section.dark .lead, .section.dark .muted, .section.dark .small { color: #d2d8de; }
/* Keep white cards readable when they sit inside a dark section. */
.section.dark .card { color: var(--ink); }
.section.dark .card label,
.section.dark .card legend,
.section.dark .card .consent { color: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.3rem; }
.section-head > * { max-width: 780px; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(216,220,229,.9); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; width: auto; min-width: 230px; }
.official-logo-mark { width: 58px; height: 58px; object-fit: contain; flex: 0 0 auto; border-radius: 50%; }
.official-logo-text { color: var(--ink); font-size: 1.22rem; font-weight: 900; letter-spacing: .035em; white-space: nowrap; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav a:hover { color: var(--primary); }
.site-nav .button { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 999px; padding: .82rem 1.18rem; font-weight: 800; text-decoration: none; cursor: pointer; background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(75,63,167,.2); }
.button:hover { color: #fff; background: var(--primary-dark); transform: translateY(-1px); }
.button.secondary { background: var(--secondary); box-shadow: 0 8px 22px rgba(11,111,115,.2); }
.button.secondary:hover { background: var(--secondary-dark); }
.button.ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; }
.button.ghost:hover { color: #fff; background: var(--primary); }
.button.light { background: #fff; color: var(--primary-dark); box-shadow: none; }
.button.light:hover { background: #f3f0ff; color: var(--primary-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }
.hero { position: relative; overflow: hidden; padding: 6rem 0 4.5rem; background: radial-gradient(circle at 90% 15%, rgba(241,199,91,.28), transparent 30%), radial-gradient(circle at 75% 75%, rgba(11,111,115,.12), transparent 36%), linear-gradient(160deg, #fff 35%, #f5f2ff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3.5rem; align-items: center; }
.hero h1 span { color: var(--primary); }
.hero-card { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.hero-card .score { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.hero-card .score:last-child { border: 0; }
.score strong { color: var(--secondary); }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #cfd5df; background: #fff; border-radius: 999px; padding: .45rem .75rem; font-size: .88rem; font-weight: 700; }
.chip::before { content: "✓"; color: var(--success); font-weight: 900; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.35rem; box-shadow: 0 8px 22px rgba(24,33,43,.05); }
.card h3 { margin-bottom: .55rem; }
.card p:last-child { margin-bottom: 0; }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: #eeeafd; color: var(--primary); font-weight: 900; margin-bottom: 1rem; }
.step { position: relative; padding-top: 4.2rem; }
.step-number { position: absolute; top: 0; left: 0; font-size: 2.8rem; font-weight: 900; color: rgba(75,63,167,.16); line-height: 1; }
.assessment { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.assessment-grid { display: grid; grid-template-columns: .75fr 1.25fr; }
.assessment-intro { background: linear-gradient(145deg, var(--primary), var(--secondary)); color: #fff; padding: 2rem; }
.assessment-intro .eyebrow { color: #fff4c7; }
.assessment-form { padding: 2rem; }
.question { margin-bottom: 1.3rem; }
.question legend { font-weight: 850; margin-bottom: .65rem; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
.option { display: flex; align-items: flex-start; gap: .6rem; border: 1px solid var(--line); border-radius: 12px; padding: .75rem; cursor: pointer; }
.option:has(input:checked) { border-color: var(--primary); background: #f3f0ff; }
.result-box { margin-top: 1rem; padding: 1rem; border-left: 5px solid var(--secondary); background: var(--soft-teal); border-radius: 10px; }
.result-box[hidden] { display: none; }
.service-card { display: flex; flex-direction: column; gap: .65rem; }
.service-card .price { color: var(--secondary); font-weight: 900; font-size: 1.08rem; }
.service-card .tag { align-self: flex-start; background: #f0edff; color: var(--primary-dark); padding: .32rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.service-card ul, .check-list { padding-left: 1.2rem; margin: .4rem 0 0; }
.service-card .button { margin-top: auto; }
.details-group details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .85rem; overflow: clip; }
.details-group summary { cursor: pointer; list-style: none; font-weight: 850; padding: 1rem 1.15rem; display: flex; justify-content: space-between; gap: 1rem; }
.details-group summary::-webkit-details-marker { display: none; }
.details-group summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; }
.details-group details[open] summary::after { content: "−"; }
.details-content { padding: 0 1.15rem 1.15rem; color: var(--muted); }
.offer-panel { background: linear-gradient(140deg, #17202a, #263646); color: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.offer-panel .eyebrow { color: #ffeca8; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
label, legend { font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #b9c1cc; border-radius: 10px; padding: .78rem .85rem; color: var(--ink); background: #fff; }
textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.consent input { width: auto; margin-top: .3rem; }
.form-status { min-height: 1.5rem; margin-top: .7rem; font-weight: 700; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--success); }
.proof-card { border-top: 5px solid var(--primary); }
.process-line { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .8rem; }
.process-line .card { position: relative; }
.process-line .card:not(:last-child)::after { content: "→"; position: absolute; right: -.72rem; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 1.4rem; font-weight: 900; z-index: 2; }
.callout { border-left: 6px solid var(--accent); background: #fff9df; color: var(--accent-ink); padding: 1rem 1.2rem; border-radius: 10px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { font-weight: 850; cursor: pointer; }
.cta-band { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border-radius: var(--radius); padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { margin-bottom: .5rem; }
.site-footer { background: #111820; color: #d7dde3; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 2rem; }
.site-footer a { color: #fff; }
.footer-title { color: #fff; font-weight: 900; margin-bottom: .6rem; }
.footer-bottom { border-top: 1px solid #35414d; margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mobile-cta { display: none !important; }
.page-hero { padding: 4.5rem 0 3rem; background: linear-gradient(160deg, #fff, #f5f2ff); }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { background: var(--soft); }
.notice { padding: 1rem; border: 1px solid #ebcc67; background: #fff8db; border-radius: 12px; }
.print-only { display: none; }
@media (max-width: 980px) {
  .hero-grid, .assessment-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-line { grid-template-columns: 1fr; }
  .process-line .card::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 1rem; right: 1rem; top: 82px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 16px; padding: 1rem; flex-direction: column; align-items: stretch; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .5rem; }
}
@media (max-width: 680px) {
  .section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4, .form-grid, .option-grid, .footer-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .section-head, .cta-band { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 4rem; }
  h1 { font-size: 2.65rem; }
  .logo { min-width: 0; }
  .official-logo-mark { width: 48px; height: 48px; }
  .official-logo-text { font-size: 1rem; }
  .mobile-cta { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
  .site-header, .mobile-cta, .site-footer, .button, form { display: none !important; }
  .print-only { display: block; }
  body { color: #000; }
  .section, .page-hero { padding: 1.25rem 0; }
  .card { box-shadow: none; break-inside: avoid; }
}

/* === PureAlign Life v3 alignment and header consistency patch === */
/* Brand lockup uses the official circular mark stored locally so every page matches. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  width: auto;
  min-width: 0;
  max-width: 430px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 1 auto;
}
.official-logo-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 56px;
  border-radius: 50%;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}
.official-logo-text {
  display: block;
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: .025em;
  white-space: nowrap;
}
.official-logo-tagline {
  display: block;
  margin-top: .28rem;
  color: var(--primary);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
}

/* Generic text fields may be full width, but radio buttons and checkboxes must not be. */
input[type="radio"],
input[type="checkbox"] {
  width: auto;
  padding: 0;
}
.option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  justify-content: start;
  gap: .72rem;
  min-height: 74px;
  padding: .82rem .9rem;
}
.option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: .15rem 0 0;
  justify-self: start;
  accent-color: var(--primary);
}
.option span {
  min-width: 0;
  text-align: left;
  line-height: 1.35;
}

/* Never show the old fixed mobile CTA bar; navigation handles conversion without blocking content. */
.mobile-cta { display: none !important; }

@media (max-width: 980px) {
  .logo { max-width: calc(100% - 92px); }
}
@media (max-width: 680px) {
  .official-logo-mark { width: 44px; height: 44px; flex-basis: 44px; }
  .official-logo-text { font-size: .96rem; }
  .official-logo-tagline { font-size: .49rem; letter-spacing: .075em; }
  .nav-wrap { min-height: 68px; }
}
@media (max-width: 430px) {
  .official-logo-tagline { white-space: normal; line-height: 1.25; }
}
/* ==================================================
   PUREALIGN LIFE HEADER BRAND
   ================================================== */

.purealign-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: auto;
  min-width: 0;
  text-decoration: none;
}

/* Approximately 50% smaller than the current logo */
.purealign-brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex: 0 0 70px;
}

.purealign-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  line-height: 1;
}

.purealign-brand-name {
  display: block;
  color: #18212b;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.purealign-brand-tagline {
  display: block;
  color: #4b3fa7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 680px) {

  .purealign-brand {
    gap: 9px;
  }

  .purealign-brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .purealign-brand-name {
    font-size: 0.95rem;
  }

  .purealign-brand-tagline {
    font-size: 0.5rem;
    letter-spacing: 0.07em;
  }
}