/* CNP homepage on phones: loaded only at 640px wide or less (Vault 1.186, PS-73). */
body { font-size: 17px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.bar .wrap { padding-block: 9px; gap: 10px; }
.brand { gap: 9px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand b { font-size: 12.5px; white-space: nowrap; }
.brand small { display: block; font-size: 11px; }
.barstart { display: none; }
.btn { font-size: 16px; padding: 14px 20px; }
.btn.small { font-size: 13.5px; padding: 8px 12px; min-height: 40px; }
.bar .btn.small { min-height: 0; }
.wa { display: none; }
.dock { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: #0D1524; border-top: 1px solid var(--line); }
.dock .btn { padding: 13px 10px; white-space: nowrap; }

/* Nothing hides off the side: rows wrap, and cards sit in two columns (PS-87) */
.oneline { display: flex !important; flex-wrap: wrap; justify-content: flex-start; }
.oneline > * { flex: none; }
.swipe { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pains.swipe, .helps.swipe, .fra.still.swipe { grid-template-columns: minmax(0, 1fr); }

/* Opening: brain straight after the headline */
.hero .wrap { padding-block: 20px 26px; gap: 0; }
.hero-copy { display: contents; }
.live { order: 1; justify-self: start; font-size: 12.5px; padding: 6px 12px; }
h1 { order: 2; font-size: 42px; margin-top: 14px; }
#heroStage { order: 3; margin-block: 2px -6px; }
.typed { order: 4; margin-top: 6px; font-size: 20px; }
.lead { order: 5; font-size: 17.5px; margin-top: 6px; }
.hero .cta { order: 6; margin-top: 18px; }
.hero .cta .btn { flex: 1 1 auto; }
.poke { font-size: 13px; bottom: 1%; }

.block { padding-block: 38px; }
h2 { font-size: 33px; }
.kicker { font-size: 14px; }
.lead2, .say-short { font-size: 17.5px; margin-top: 10px; }

/* Your sky: date, then the wheel, then the slider, so the sky stays in view while dragging (PS-86) */
.sky-grid { display: grid; gap: 0; }
.sky-grid > div, .panel { display: contents; }
.sky-grid .kicker { order: 1; } .sky-grid h2 { order: 2; } .say-short { order: 3; }
.p-date { order: 4; margin-top: 14px; }
.dob select, .dob input { font-size: 17px; min-height: 48px; padding: 9px 10px; }
.dob select { padding-right: 24px; background-position: right 8px center; }
.wheelbox { order: 5; margin-top: 10px; max-width: min(100%, calc(100vh - 270px)); max-width: min(100%, calc(100svh - 270px)); }
.readout { order: 6; margin-top: 2px; }
.readout b { font-size: 23px; }
.readout span { font-size: 13.5px; line-height: 1.25; display: block; }
.p-year { order: 7; margin-top: 10px; }
.p-year label { font-size: 14.5px; margin-bottom: 2px; }
#yearSlider { height: 38px; touch-action: pan-y; }
.years { font-size: 13px; margin-top: -3px; }
.p-act { order: 8; margin-top: 10px; gap: 8px; }
.chips { order: 9; margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chip { font-size: 13px; padding: 9px 4px; min-height: 40px; justify-content: center; gap: 5px; white-space: nowrap; }
.chip i { width: 9px; height: 9px; flex: none; }
.fact { order: 10; font-size: 15px; min-height: 2.8em; }
.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.tile { grid-template-columns: minmax(0, 1fr); padding: 12px 8px; gap: 5px; text-align: center; border-radius: 16px; }
.tile svg { width: 50px; height: 50px; margin-inline: auto; }
.tile h3 { font-size: 19px; }
.tile p { font-size: 13.5px; line-height: 1.25; }
.answer { gap: 10px; margin-top: 10px; }
.answer > div { padding: 16px 18px; border-radius: 18px; }
.answer h3 { font-size: 20px; }
.answer p { font-size: 16px; }

/* You and the cosmos: the picture stays beside the switch */
.cos-grid { gap: 8px; margin-top: 0; }
.cos-grid .stage { order: -1; }
.flip { gap: 8px; }
.side { padding: 13px 16px; border-radius: 16px; }
.side b { font-size: 20px; }
.side span { display: none; font-size: 16px; }
.side[aria-pressed="true"] span { display: block; }
.tap { display: none; }
.sig { padding-block: 18px 34px; }
.sig p.line { font-size: 34px; }

/* How it works */
.pains { margin-top: 16px; }
.pain { padding: 14px 16px; }
.machine { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 10px; margin-top: 14px; border-radius: 22px; }
.m-in { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; width: 100%; }
.tok { font-size: 17px; padding: 8px 18px; border-radius: 12px; }
.m-core { width: 140px; justify-self: center; }
.m-core span { font-size: 12.5px; padding: 2px 9px; }
.m-out { justify-self: center; }
.book { width: 104px; }
.m-out b { font-size: 16px; margin-top: 6px; }
.pills { gap: 6px; margin-top: 12px; }
.pill { font-size: 14px; padding: 6px 11px; }
.fades { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.fades > div { padding: 14px; border-radius: 16px; }
.fades h3 { font-size: 19px; line-height: 1.15; }
.fades p { display: none; }

/* Comparison keeps two sides */
.tab { font-size: 14.5px; padding: 10px 14px; border-radius: 11px; }
.tabs { margin-top: 14px; }
.duel { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); border-radius: 20px; margin-top: 10px; }
.c-l, .c-r { padding: 8px 11px; }
.c-l { font-size: 13.5px; line-height: 1.28; }
.c-l em { font-size: 12.5px; }
.c-r b { font-size: 16.5px; }
.c-r span { font-size: 12.5px; line-height: 1.25; }
.c-row { min-height: 70px; }
.c-head { padding-block: 14px 10px; }
.c-head h3 { font-size: 18.5px; }
.c-foot { padding-block: 10px 14px; }
.c-r.c-foot { font-size: 15px; }
.get { justify-content: center; text-align: center; }
.get .btn { width: 100%; font-size: 15.5px; }
.bens { margin-top: 18px; }
details.pro { padding: 13px 16px; }
details.pro summary { font-size: 17px; }
/* The professionals table becomes one card for each factor, with no sideways scroll */
.twrap { overflow: visible; }
.ttable { min-width: 0; display: block; font-size: 15px; }
.ttable thead { display: none; }
.ttable tbody, .ttable tr, .ttable th, .ttable td { display: block; }
.ttable tr { padding-block: 10px; border-top: 1px solid var(--line); }
.ttable th, .ttable td { padding: 0; border: 0; }
.ttable th { font-size: 17px; margin-bottom: 4px; }
.ttable td { margin-top: 7px; }
.ttable td::before { display: block; font-size: 12.5px; font-weight: 700; color: var(--cyan); }
.ttable td:nth-of-type(1)::before { content: "Astrology"; }
.ttable td:nth-of-type(2)::before { content: "Psychometric tests and coaching"; }
.ttable td.t-cnp::before { content: "CNP Advanced Report"; color: var(--gold); }
.ttable td.t-cnp, .ttable tbody tr:last-child .t-cnp { padding: 8px 10px; border: 1px solid rgba(251, 191, 36, .45); border-radius: 10px; }

/* Reports: cover beside the words */
.stairs { gap: 10px; margin-top: 16px; }
.rep { grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; padding: 14px; border-radius: 18px; align-items: start; }
.rep .cov, .rep:nth-child(1) .cov, .rep:nth-child(2) .cov { width: 100%; grid-row: 1 / span 5; transform: none; }
.rep > *:not(.cov) { grid-column: 2; }
.rep h3 { font-size: 21px; }
.rep em { font-size: 13.5px; }
.rep p { font-size: 14.5px; line-height: 1.3; }
.rep a { font-size: 15px; display: inline-block; padding-block: 7px; }
.pals span { display: none; }
.pals img { width: 42px; height: 42px; border-radius: 10px; }
.rail { margin-top: 10px; font-size: 15px; padding: 7px; }
.areas { margin-top: 20px; }
.areas h3 { font-size: 22px !important; }
.areas .tab { font-size: 14.5px; padding: 8px 12px; }
.agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.agrid > div { padding: 12px; border-radius: 14px; }
.agrid em { font-size: 12px; }
.agrid b { font-size: 15.5px; }

/* Inside */
.inside { gap: 12px; margin-top: 6px; }
.legend { font-size: 13px; gap: 5px 12px; }
.card12 { padding: 14px; min-height: 148px; gap: 12px; border-radius: 18px; }
.card12 h3 { font-size: 22px; }
.card12 p { font-size: 15.5px; margin-top: 4px; }
.card12 img { width: 84px; }
.zoom { padding: 13px 16px; margin-top: 10px; border-radius: 16px; }
.zoom label { font-size: 17px; }
.fra { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.fra div { padding: 10px; border-radius: 13px; }
.fra b { font-size: 15px; }
.fra span { font-size: 12.5px; line-height: 1.25; display: block; }
.fra.still span { font-size: 15px; }
.fra.still b { font-size: 18px; }
.remedy { padding: 18px; border-radius: 20px; gap: 12px; margin-top: 10px; }
.remedy h3 { font-size: 30px; }
.remedy p { font-size: 15.5px; margin-top: 4px; }
.dolist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 4px; font-size: 13px; }
.dolist svg { width: 32px; height: 32px; }

/* How to read */
.sheet { padding: 20px 16px; }
.pgrid { gap: 16px; }
.mline { padding: 10px 12px; gap: 7px; border-radius: 13px; }
.mline p { font-size: 16px; line-height: 1.3; }
.mb { font-size: 14px; padding: 9px 11px; min-height: 40px; }
.marks { margin-top: 12px; gap: 7px; }
.mres { font-size: 15px; min-height: 2.8em; }
.wavebox svg { height: 92px; }
.wavebox p { font-size: 15px; }
.feels { margin-top: 12px; }
.fb { font-size: 14.5px; padding: 9px 13px; min-height: 40px; }
.feelans { font-size: 15.5px; min-height: 4.4em; }
.steps5 { margin-top: 12px; }

/* Training */
.tgrid { gap: 12px; margin-top: 12px; }
.ladder { height: 300px; gap: 6px; }
.lv { padding: 7px; border-radius: 12px 12px 0 0; }
.lv .lvl { font-size: 26px; top: 6px; left: 8px; }
.lv .seal { width: 20px; height: 20px; top: 8px; right: 7px; }
.lv small { font-size: 12.5px; line-height: 1.15; margin-bottom: 2px; }
.lv b { font-size: 13.5px; }
.lv .pr { font-size: 14px; }
.climber { width: 24px; height: 24px; }
.lvinfo { padding: 16px; border-radius: 18px; }
.lvinfo h3 { font-size: 21px; }
.lvinfo ul { font-size: 15.5px; gap: 5px; }
.lvinfo p { font-size: 14.5px; margin-top: 8px; }
.gains { margin-top: 10px; }
.fra.still { margin-top: 10px; }
.fra.still div { padding: 13px 15px; }
.mapskill { gap: 12px; padding: 16px; border-radius: 18px; margin-top: 10px; }
.mapskill p.b { font-size: 21px; }
.mapskill p.s { font-size: 14px; }
.mapskill img { width: 72%; margin-inline: auto; }

/* Answers */
.tr2 { gap: 9px; margin-top: 14px; }
.tr2 > div { padding: 16px; border-radius: 16px; }
.tr2 h3 { font-size: 21px; }
.tr2 ul { font-size: 15.5px; gap: 6px; }
.tr-h { font-size: 20px; margin-top: 16px; }
.helps { margin-top: 10px; }
.faq { margin-top: 12px; gap: 7px; }
.faq details { padding: 11px 14px; border-radius: 13px; }
.faq summary { font-size: 16px; }
.faq p { font-size: 15.5px; }
.readers { font-size: 15.5px; margin-top: 12px; }
.close { padding-block: 30px 34px; }
.close h2 { font-size: 32px; }
.path4 { margin-top: 14px; }
.close .cta .btn { flex: 1 1 40%; }

/* Need help */
.hgrid { gap: 10px; margin-top: 12px; }
.hways { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.hway { padding: 12px 16px; border-radius: 16px; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; }
.hway b { font-size: 18px; }
.hway span { font-size: 14.5px; }
.hform { padding: 16px; border-radius: 18px; }
.hform h3 { font-size: 21px; }
.f2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.hform input, .hform textarea { font-size: 16px; }
.hform .btn { justify-self: stretch; }

/* Small phones */
@media (max-width: 375px) {
  .brand b { font-size: 11.5px; }
  .brand small { font-size: 10.5px; }
  .brand img { width: 34px; height: 34px; }
  .btn.small { font-size: 13px; padding: 7px 10px; }
}
@media (max-width: 345px) {
  .brand b { white-space: normal; font-size: 11px; line-height: 1.15; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 37px; }
}

/* the top bar keeps Guide and Pricing (Vault 1.203) */
.brand b { white-space: normal; font-size: 11.5px; line-height: 1.2; }
.bar .barlinks { gap: 8px; flex: none; }
.brand small { display: none; }
.jfacts { margin: 14px 0 20px; }
.jgrid .btn { width: 100%; }

/* Who it's for (Vault 1.209, PS-125) */
.paths-h { margin-top: 28px; font-size: 21px; }
.ptab svg { width: 18px; height: 18px; }
.ptab { gap: 6px; }
.duel.paths .c-l.c-row { font-size: 13.5px; }
.duel.paths .c-r.c-row { gap: 8px; }
.duel.paths .c-r .ri { width: 26px; height: 26px; padding: 5px; border-radius: 8px; }
.duel.paths .c-head h3 { font-size: 16.5px; }
.get-b { width: 100%; flex-direction: column; }
.get-b .btn { width: 100%; }
.bens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#cmpTabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#cmpTabs .ptab { justify-content: center; padding: 10px 6px; font-size: 13.5px; text-align: center; }
.duel.paths .c-r .ri { display: none; }
