/* Enhanced CPD Pro — Phase A styles (v0.2: price plans and the contact form; v0.3, 09/10/2026: text-and-phone sections and the six approved app screens — see the v0.3 block; previous version in CPDPRO/OLD/site-2026-10-09-round3-screens/). System fonts only, no external requests. Palette from the live site. */
:root {
  --blue: #4a6ded; --blue-dark: #3550c8; --purple: #8c29d9; --violet: #b94aed;
  --sand: #efd6ae; --sand-light: #faf3e7; --ink: #171515; --muted: #55525a; --line: #e6e3ea;
  --bg: #ffffff; --bg-alt: #f6f5fb; --radius: 14px; --wrap: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: 2px; }
a:hover { color: var(--purple); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.small { font-size: .9rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--blue-dark); text-decoration: underline; }
.site-footer { background: var(--ink); color: #ddd; padding: 40px 0 28px; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer .small { color: #b9b5bf; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 16px; }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--blue); }
.btn:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue-dark); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--purple); }
.btn-small { padding: 7px 16px; font-size: .95rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.more { font-weight: 700; }
.more::after { content: " \2192"; }

/* Hero and page heads */
.hero, .page-head { background: linear-gradient(135deg, var(--sand-light), #eef1fd 60%, #f5ecfd); padding: 72px 0 56px; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--purple); margin-bottom: .6em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.cycle { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; counter-reset: step; }
.cycle li { counter-increment: step; }
.cycle a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; text-decoration: none; color: var(--ink); }
.cycle a::before { content: counter(step) ". "; color: var(--blue-dark); }

/* Steps and sections */
.step, .features, .band, .testimonial, .cta, .pricing, .contact, .legal { padding: 64px 0; }
.step-alt, .features-alt { background: var(--bg-alt); }
.step-grid { display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: start; }
.step-icon { width: 96px; height: 96px; color: var(--blue); }
.step-alt .step-icon { color: var(--purple); }
.band { background: var(--ink); color: #fff; }
.band a { color: #fff; }
.band .kicker { color: var(--sand); }
.testimonial figure { margin: 0; }
.testimonial blockquote { margin: 0 0 12px; padding: 24px 28px; border-left: 6px solid var(--violet); background: var(--sand-light); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; }
.testimonial figcaption { font-weight: 700; }
.cta { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; }
.cta .btn { background: #fff; color: var(--blue-dark); border-color: #fff; }
.cta .btn-ghost { background: transparent; color: #fff; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p:last-child { margin-bottom: 0; }
.card-wide .cols { columns: 2 300px; column-gap: 28px; padding-left: 1.1em; }
.card-wide .cols li { break-inside: avoid; margin-bottom: .6em; }

/* Pricing */
.price { font-size: 2.4rem; font-weight: 800; margin: .2em 0 .6em; }
.price .period { font-size: 1rem; font-weight: 600; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { padding-left: 1.8em; position: relative; margin-bottom: .45em; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; }

/* Price plans (/pricing) */
.pricing .wrap > h2, .pricing-more .wrap > h2 { margin-top: 1.6em; }
.ticks-cols { columns: 2 280px; column-gap: 28px; }
.ticks-cols li { break-inside: avoid; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 20px 0; }
.plans-two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plan:first-child { border-color: var(--blue); }
.plan h3 { margin-bottom: .3em; }
.plan-who { font-size: .92rem; color: var(--muted); }
.plan .price { font-size: 2rem; margin: .1em 0 .1em; }
.price-alt { color: var(--muted); margin-bottom: 1em; }
.plan-cta { margin-top: auto; margin-bottom: 0; }
.offer { display: inline-block; background: var(--sand-light); border-left: 6px solid var(--violet); padding: 10px 16px; border-radius: 0 10px 10px 0; }
.pricing-more { padding-top: 0; }

/* Contact form */
.form { margin-bottom: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 4px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #bdb8c6; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #a3001b; }
.field-error { display: block; color: #a3001b; font-size: .9rem; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 4px 0 12px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.form-status { font-weight: 700; }
.form-status:empty { display: none; }
.form-status.ok { color: #116329; }
.form-status.error { color: #a3001b; }
.fallback { margin-bottom: 0; }
.site-footer .small { max-width: 860px; }

/* Legal and lists */
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }
.updated { color: var(--muted); }
.links { padding-left: 1.2em; }

/* v0.3 (09/10/2026, feedback round 3): text-and-phone sections, and the six approved app screens
   (content/screens/*.html). Screens are drawn at 390x844 and scaled to 0.8 inside a 312x675 frame. */
.duo { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.duo-text { flex: 999 1 420px; min-width: 0; }
.duo.flip .duo-text { order: 2; }
.duo .step-icon { display: block; width: 64px; height: 64px; margin-bottom: 12px; }
.duo .grid { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.card.duo-text { padding: 28px; }
.phone { flex: none; margin: 0 auto; width: 312px; height: 675px; border: 9px solid var(--ink); border-radius: 46px; overflow: hidden; background: var(--ink); box-sizing: content-box; }
.scr { width: 390px; height: 844px; transform: scale(.8); transform-origin: 0 0; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-alt); color: var(--ink); font-size: 15px; line-height: 1.45; text-align: left; }
.scr-w { background: #fff; }
.scr span, .scr b { display: block; }
.scr svg { flex: none; }
.s-top { padding: 28px 20px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s-top-e { align-items: flex-end; }
.s-top > div, .s-bar > span:last-child, .s-item > span:last-child { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.s-bar { padding: 20px 12px 8px; display: flex; align-items: center; gap: 4px; }
.s-bar-t { padding: 0; }
.s-back { width: 44px; height: 44px; display: flex !important; align-items: center; justify-content: center; flex: none; }
.s-kick { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.s-kick-l { font-size: 12px; color: #dfe5ff; }
.s-kick-s { color: #6b4a12; }
.s-kick-b { font-size: 12px; color: var(--blue-dark); }
.s-h { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.s-h-m { font-size: 24px; }
.s-h-s { font-size: 22px; }
.s-h2 { font-size: 18px; font-weight: 750; }
.s-b { font-weight: 700; }
.s-t13 { font-size: 13px; white-space: nowrap; }
.s-t16 { font-size: 16px; }
.s-t17 { font-size: 17px; }
.s-muted { font-size: 13px; color: var(--muted); font-weight: 400; }
.s-lead { color: var(--muted); }
.s-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 4px 20px 20px; overflow: hidden; }
.s-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.s-card-l { border-radius: 18px; padding: 16px; gap: 12px; }
.s-card-r { border-radius: 14px; padding: 12px 14px; gap: 6px; font-size: 14px; }
.s-acc { font-size: 13px; font-weight: 700; color: var(--blue-dark); white-space: nowrap; }
.s-track { height: 8px; border-radius: 999px; background: #eceaf3; overflow: hidden; }
.s-track i { display: block; height: 8px; border-radius: 999px; background: var(--blue-dark); }
.p80 i { width: 80%; } .p33 i { width: 33%; }
.s-hero { background: var(--blue-dark); color: #eef1ff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.s-hero-t { font-size: 19px; font-weight: 750; line-height: 1.25; color: #fff; }
.s-pill { align-self: flex-start; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--blue-dark); font-weight: 800; letter-spacing: .06em; }
.s-ic { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: flex !important; align-items: center; justify-content: center; color: var(--blue-dark); flex: none; }
.s-btn { display: flex !important; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--blue-dark); }
.s-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--line); padding: 8px 8px 22px; }
.s-tabs > span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.s-tabs .on { color: var(--blue-dark); font-weight: 700; }
.s-foot { padding: 12px 20px 28px; border-top: 1px solid var(--line); background: #fff; }
.s-foot-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-cta { text-align: center; padding: 14px; border-radius: 999px; background: var(--blue-dark); color: #fff; font-weight: 800; font-size: 16px; border: 2px solid var(--blue-dark); }
.s-ghost { background: #fff; color: var(--blue-dark); font-size: 15px; }
.s-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--purple); border-radius: 999px; padding: 4px 10px; }
.s-sand { background: var(--sand-light); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.s-tick { padding-left: 28px; position: relative; }
.s-tick::before { content: "\2713"; position: absolute; left: 2px; color: var(--blue-dark); font-weight: 800; }
.s-item { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.s-dot { width: 28px; height: 28px; flex: none; border-radius: 999px; border: 2px solid #c9c4d4; box-sizing: border-box; display: flex !important; align-items: center; justify-content: center; }
.s-dot.done { background: var(--blue-dark); border-color: var(--blue-dark); }
.s-head { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.s-seg { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 8px; }
.s-seg span { text-align: center; padding: 9px 0; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-weight: 700; font-size: 14px; }
.s-seg .on { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.s-chat { padding: 18px 16px; }
.s-chip { align-self: center; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.s-me { align-self: flex-end; max-width: 82%; background: var(--blue-dark); color: #fff; border-radius: 18px 18px 4px 18px; padding: 12px 14px; }
.s-ai { align-self: flex-start; max-width: 88%; display: flex !important; gap: 8px; align-items: flex-end; }
.s-bub { background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 12px 14px; }
.s-av { width: 30px; height: 30px; flex: none; border-radius: 999px; background: var(--purple); color: #fff; display: flex !important; align-items: center; justify-content: center; }
.s-typing { display: flex !important; gap: 5px; padding: 14px 16px; }
.s-typing i { width: 7px; height: 7px; border-radius: 999px; background: var(--purple); }
.s-typing i + i { opacity: .55; } .s-typing i + i + i { opacity: .25; }
.s-ask { background: #fff; border-top: 1px solid var(--line); padding: 12px 16px 28px; display: flex !important; gap: 10px; align-items: center; }
.s-ask-f { border: 0; padding: 0; gap: 8px; }
.s-input { flex: 1; min-height: 48px; box-sizing: border-box; border-radius: 999px; border: 1px solid #c9c4d4; padding: 0 18px; display: flex !important; align-items: center; color: var(--muted); background: var(--bg-alt); }
.s-input-f { border-radius: 14px; padding: 0 14px; background: #fff; color: var(--ink); }
.s-send { width: 48px; height: 48px; flex: none; border-radius: 999px; background: var(--blue-dark); color: #fff; display: flex !important; align-items: center; justify-content: center; }
.s-send-sq { border-radius: 14px; }
.s-steps { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.s-steps i { height: 6px; border-radius: 999px; background: var(--line); }
.s-steps i.d { background: var(--blue-dark); } .s-steps i.c { background: var(--purple); }
.s-steps-l span { font-size: 10.5px; color: var(--muted); text-align: center; }
.s-steps-l .c { color: var(--purple); font-weight: 800; }
.s-prompt { background: #f5ecfd; border-radius: 16px; padding: 14px 16px; display: flex !important; flex-direction: column; gap: 8px; color: #2d1745; }
.s-prompt-h { display: flex !important; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #6a1fa6; }
.s-text { flex: 1; border: 1px solid #c9c4d4; border-radius: 14px; padding: 14px; line-height: 1.55; }
.s-add { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.s-add > span { min-height: 76px; border-radius: 14px; background: #eef1fd; color: var(--blue-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; }
.s-chips { display: flex !important; gap: 6px; flex-wrap: wrap; }
.s-chips span { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }
.k1 { color: var(--blue-dark); background: #eef1fd; } .k2 { color: #6b4a12; background: var(--sand-light); }
.k3 { color: #6a1fa6; background: #f5ecfd; } .k4 { color: #4a5a1a; background: #eef3dd; }
.s-course { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex !important; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.s-ol { display: flex !important; flex-direction: column; gap: 6px; font-size: 14px; }
.s-ol span { display: flex; gap: 10px; }
.s-ol b { width: 18px; color: var(--purple); font-weight: 800; }
.s-ways { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s-ways > span { border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 4px; color: var(--blue-dark); }
.s-ways b { font-size: 15px; font-weight: 750; color: var(--ink); }
.s-ways .s-muted { font-size: 12px; }
@media (max-width: 840px) { .duo.flip .duo-text { order: 0; } } /* stacked: text before its screen */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .step-grid { grid-template-columns: 1fr; gap: 12px; }
  .step-icon { width: 64px; height: 64px; }
  .hero, .page-head { padding: 48px 0 40px; }
  .step, .features, .band, .testimonial, .cta, .pricing, .contact, .legal { padding: 44px 0; }
  .nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
