/* =========================================================
   Practice Quotient — Website Stylesheet
   Brand: Navy #1B3A6B · Cyan #4DC8E8 · Teal #2E9BBE
   Type:  Newsreader (headlines/stat numerals/italic CTA)
          Inter (body/UI) · JetBrains Mono (codes)
   ========================================================= */

:root {
  --navy:    #1B3A6B;
  --navy-2:  #16305a;
  --navy-3:  #0f2444;
  --cyan:    #4DC8E8;
  --teal:    #2E9BBE;
  --offwhite:#F7F9FB;
  --ink:     #1a2333;
  --muted:   #56637a;
  --line:    #e2e8f0;
  --white:   #ffffff;
  --shadow:  0 1px 3px rgba(16,36,68,.06), 0 8px 30px rgba(16,36,68,.08);
  --radius:  14px;
  --maxw:    1280px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  text-wrap: balance;
  font-family: "Newsreader", Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
li { text-wrap: pretty; }
a  { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--navy); font-weight: 700; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); }
.eyebrow {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: .8em;
}
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--cyan); color: var(--navy-3); box-shadow: 0 6px 20px rgba(77,200,232,.35); }
.btn--primary:hover { background: #63d2ee; }
.btn--onnavy { background: var(--white); color: var(--navy); }
.btn--onnavy:hover { background: var(--offwhite); }
.btn--ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.arrow::after { content: "\2192"; }
.textlink { font-weight: 600; color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__menu a { color: var(--navy); font-weight: 500; font-size: .98rem; }
.nav__menu a:hover { color: var(--teal); text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__login { font-size: .85rem; color: var(--muted); font-weight: 500; }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
.has-sub { position: relative; }
.has-sub > a::after { content: " \25be"; color: var(--teal); }
.submenu {
  position: absolute; top: 100%; left: -14px; min-width: 240px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 10px; list-style: none; margin: 8px 0 0; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: .18s ease;
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .93rem; }
.submenu a:hover { background: var(--offwhite); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy); color: #dce6f4; }
.trustbar .wrap {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 34px; padding-top: 12px; padding-bottom: 12px; font-size: .86rem;
}
.trustbar__item { display: inline-flex; align-items: center; gap: 9px; }
.trustbar__item img { height: 30px; width: auto; background: #fff; border-radius: 5px; padding: 2px; }
.trustbar__sep { color: #3c5a86; }
.trustbar strong { color: #fff; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(115deg, var(--navy-3) 0%, var(--navy) 58%, var(--navy-2) 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; padding-top: 76px; padding-bottom: 76px; }
.hero h1 { color: #fff; }
.hero p { color: #c9d6ea; font-size: 1.2rem; }
.hero__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.hero__phone { color: #fff; font-weight: 600; }
.hero__phone span { color: var(--cyan); }
.hero__art {
  aspect-ratio: 1/1; border-radius: 24px; position: relative;
  background: radial-gradient(circle at 30% 25%, rgba(77,200,232,.55), transparent 55%),
              radial-gradient(circle at 75% 80%, rgba(46,155,190,.5), transparent 50%),
              linear-gradient(160deg, #21447a, #0f2444);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.hero__art img { width: 58%; opacity: .96; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }

/* ---------- Stat bar ---------- */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num { font-family: "Newsreader", serif; font-size: clamp(2.2rem,4vw,3rem); font-weight: 600; color: var(--navy); line-height: 1; }
.stat__label { font-size: .95rem; color: var(--muted); margin-top: 8px; }
.stats--hero { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 30px; }
.stats--hero .stat__num { color: #fff; }
.stats--hero .stat__label { color: #a9bcda; }
.stats--navy { background: var(--navy); }
.stats--navy .stat__num { color: var(--cyan); }
.stats--navy .stat__label { color: #b7c6e0; }

/* ---------- Generic band backgrounds ---------- */
.band-off { background: var(--offwhite); }
.band-navy { background: var(--navy); color: #dce6f4; }
.band-navy h2, .band-navy h3 { color: #fff; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
/* centered heading, left-aligned body for comfortable reading */
.narrow--head { max-width: 900px; margin: 0 auto 34px; text-align: center; }
/* editorial two-column: heading left, body right — fills the width */
.split-copy { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split-copy h2 { margin-bottom: 0; }
.split-copy p:last-child { margin-bottom: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .textlink { margin-top: auto; padding-top: 14px; display: inline-block; }
/* Why-PQ cards: short accent rule instead of a generic icon */
.card--why h3::before {
  content: ""; display: block; width: 40px; height: 3px; border-radius: 2px;
  background: var(--cyan); margin-bottom: 16px;
}

/* ---------- Steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; counter-reset: step; }
.step { position: relative; }
.step__n {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: "Newsreader", serif; font-size: 1.35rem; display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cyan);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.quote p { font-family: "Newsreader", serif; font-size: 1.18rem; font-style: italic; color: #22304a; }
.quote cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: .95rem; display: block; margin-top: 10px; }
.quote cite span { display: block; color: var(--muted); font-weight: 500; font-size: .88rem; }

/* ---------- Split (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__art {
  border-radius: 20px; min-height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(77,200,232,.4), transparent 55%), linear-gradient(160deg, var(--navy), var(--navy-3));
  display: grid; place-items: center;
}
.split__art img { width: 52%; }

/* ---------- Endorsement cards ---------- */
.endorse { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: center; }
.endorse img { width: 118px; height: auto; }

/* ---------- Final CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-3), var(--navy)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d6ea; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 12px; }
.cta-band .sub { margin-top: 18px; font-size: .95rem; }
.cta-band .sub a { color: var(--cyan); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--navy); font-size: 1.08rem;
  padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { color: var(--muted); padding-bottom: 12px; margin: 0; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.price {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow);
}
.price--feat { border-color: var(--cyan); box-shadow: 0 10px 30px rgba(77,200,232,.2); }
.price__amt { font-family: "Newsreader", serif; font-size: 2.6rem; color: var(--navy); }
.price__amt small { font-size: .9rem; color: var(--muted); font-family: "Inter",sans-serif; }
.price h3 { font-size: 1.1rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-3), var(--navy)); color: #fff; padding: 72px 0; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #c9d6ea; font-size: 1.18rem; max-width: 760px; }
.page-hero .badge-inline { margin-top: 22px; }
.badge-inline img { display: inline-block; height: 92px; background: #fff; padding: 8px; border-radius: 12px; }

/* ---------- Prose lists ---------- */
.prose ul { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 30px; margin-bottom: 14px; }
.prose li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }

/* ---------- Tabs (results) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tabs button {
  font-family: "Inter",sans-serif; font-weight: 600; font-size: .92rem; cursor: pointer;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy);
}
.tabs button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tpanel { display: none; }
.tpanel.is-active { display: block; }

/* ---------- Get Started layout ---------- */
.gs { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.gs__form { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.gs__form label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin: 14px 0 6px; }
.gs__form input, .gs__form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .95rem; color: var(--ink);
}
.gs__form input:focus, .gs__form select:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); }
.gs__form .btn { width: 100%; justify-content: center; margin-top: 20px; }
.gs__note { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Offer callout (campaign LPs) ---------- */
.offer {
  background: linear-gradient(120deg, #e8f6fc 0%, var(--offwhite) 100%);
  border: 1px solid var(--cyan); border-radius: 18px; padding: 40px 44px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  box-shadow: 0 10px 30px rgba(77,200,232,.16);
}
.offer__tag { color: var(--teal); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 10px; }
.offer h3 { font-size: 1.55rem; margin-bottom: 8px; }
.offer p { margin-bottom: 0; color: var(--muted); }
.offer__price { font-family: "Newsreader", serif; color: var(--navy); font-weight: 600; }
.offer__price s { color: var(--muted); font-weight: 400; font-size: .8em; }
.offer__cta { white-space: nowrap; }
@media (max-width: 780px) { .offer { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Small print ---------- */
.disclaimer { font-size: .8rem; color: var(--muted); line-height: 1.55; }
.linklist { list-style: none; padding: 0; margin: 0; }
.linklist li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-3); color: #a9bcda; padding: 62px 0 30px; font-size: .93rem; }
.footer a { color: #c9d6ea; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-family: "Inter",sans-serif; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer__logo img { height: 38px; margin-bottom: 16px; }
.footer__badges { display: flex; gap: 10px; margin-top: 6px; }
.footer__badges img { height: 46px; background: #fff; border-radius: 6px; padding: 3px; }
.footer__bottom { border-top: 1px solid #24365a; margin-top: 42px; padding-top: 22px; font-size: .82rem; color: #7f92b5; text-align: center; }

/* ---------- Also-serve bar ---------- */
.also { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }
.also span { color: var(--muted); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; }
  .grid-3, .grid-4, .steps, .split, .gs, .grid-2, .pricing, .split-copy { grid-template-columns: 1fr; }
  .split-copy { gap: 18px; }
  .split__art { min-height: 240px; }
  .gs__form { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__menu { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav__menu.open { display: flex; }
  .nav__menu li { width: 100%; padding: 8px 0; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 4px 14px; margin: 4px 0; }
  .has-sub:hover .submenu { transform: none; }
  .nav__toggle { display: block; }
  .nav__login { display: none; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
