/* site/phosphor-ask.css
 *
 * THE ONE ASK, the partner line and the quiz. Otto, 31 October 2026, on Aster's
 * brief ("Phosphor becomes the fun resource") and Ion's rules for it. Tyler: "Hey,
 * where are you located? ... Talk to us about what you're looking for. If you want
 * to get in direct contact with the dealerships, we'll get you in direct contact."
 *
 * Linked by scripts/phosphor-clean.mjs (rules 9 to 11) on every page, before
 * /contrast.css so Aster's measured fixes still win. Phosphor Night's own palette:
 * night #111714, graphite #171b1c, slate #20272a for doors on dark, lime #C5D957 as
 * the one accent, paper #F1F2E9 and silver blue #A4B8C4 for the quiet words.
 * Measured with the playbook's one liner:
 *   paper #F1F2E9 on night #111714 15.9, on slate #20272a 13.3
 *   silver blue #A4B8C4 on night 8.9, on slate 7.5
 *   lime #C5D957 on night 11.0, night ink #111714 on lime 11.0
 * No oxford commas, no em dashes. */

.ph-ask {
  margin: 40px 40px 16px;
  padding: clamp(36px, 5vw, 64px) clamp(22px, 4vw, 56px);
  border-radius: 22px;
  background: radial-gradient(ellipse 60% 80% at 92% 0%, rgba(197, 217, 87, 0.12), rgba(197, 217, 87, 0) 60%), #111714;
  color: #f1f2e9;
  font-family: 'Phosphor Sans', Geist, Arial, sans-serif;
}
@media (max-width: 760px) {
  .ph-ask {
    margin: 24px 12px 12px;
  }
}
.ph-ask__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ph-ask__in {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ph-ask__k {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #c5d957;
  color: #111714;
  font: 500 12px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ph-ask h2,
.ph-quiz h1,
.ph-res h2 {
  margin: 18px 0 0;
  font-family: 'Phosphor Display', 'Phosphor Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #f1f2e9;
}
.ph-ask__head p {
  max-width: 44ch;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: #a4b8c4;
}
.ph-ask__doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 560px) {
  .ph-ask__doors {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ph-ask__door {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 170px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(241, 242, 233, 0.16);
  border-radius: 18px;
  background: #20272a;
  color: #f1f2e9;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ph-ask__door:hover,
.ph-ask__door:focus-visible {
  border-color: #c5d957;
  transform: translateY(-2px);
}
.ph-ask__door--talk {
  border-color: rgba(197, 217, 87, 0.55);
}
.ph-ask__n {
  font: 500 12px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: #c5d957;
}
.ph-ask__door b {
  font-family: 'Phosphor Display', 'Phosphor Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ph-ask__door span:not(.ph-ask__n) {
  font-size: 15px;
  line-height: 1.5;
  color: #a4b8c4;
}
.ph-ask__door i {
  position: absolute;
  top: 18px;
  right: 20px;
  font-style: normal;
  font-size: 20px;
  color: #c5d957;
}
.ph-ask__doors--sm .ph-ask__door {
  min-height: 0;
}
.ph-ask__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 15px;
}
.ph-ask__more a,
.ph-ask__more button {
  padding: 0;
  border: 0;
  background: none;
  color: #f1f2e9;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #c5d957;
  text-underline-offset: 4px;
  cursor: pointer;
}
.ph-ask__sq {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #c5d957;
}

/* the home hero's one line */
.ph-ask-hero {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
.ph-ask-hero a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* the partner line in every footer (Ion's honest line) */
.ph-partners {
  flex-basis: 100%;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.86;
}

/* ---------------------------------------------------------------- the quiz */
.ph-quiz-page {
  padding: 0 0 8px;
}
.ph-quiz {
  margin: 24px 40px 0;
  padding: clamp(32px, 5vw, 64px) clamp(22px, 4vw, 56px);
  border-radius: 22px;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(197, 217, 87, 0.14), rgba(197, 217, 87, 0) 60%), #111714;
  color: #f1f2e9;
  font-family: 'Phosphor Sans', Geist, Arial, sans-serif;
}
@media (max-width: 760px) {
  .ph-quiz {
    margin: 12px 12px 0;
  }
}
.ph-quiz__intro p {
  max-width: 52ch;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: #a4b8c4;
}
.ph-quiz__form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.ph-q {
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(241, 242, 233, 0.14);
  border-radius: 18px;
  background: #171b1c;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 900px) {
  .ph-q {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .ph-q {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ph-q legend {
  float: left;
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 6px;
  font-family: 'Phosphor Display', 'Phosphor Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  color: #f1f2e9;
}
.ph-q legend span {
  display: block;
  margin-bottom: 8px;
  font: 500 12px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: #c5d957;
}
.ph-q label {
  position: relative;
  display: block;
  cursor: pointer;
}
.ph-q input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.ph-q label span {
  display: flex;
  align-items: center;
  min-height: 64px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(241, 242, 233, 0.2);
  border-radius: 14px;
  background: #20272a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #f1f2e9;
  transition: border-color 0.15s, background 0.15s;
}
.ph-q input:checked + span {
  border-color: #c5d957;
  background: #c5d957;
  color: #111714;
}
.ph-q input:focus-visible + span {
  outline: 3px solid #c5d957;
  outline-offset: 2px;
}
.ph-quiz__go {
  justify-self: start;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #c5d957;
  color: #111714;
  font: 600 17px/1 'Phosphor Sans', Geist, Arial, sans-serif;
  cursor: pointer;
}
.ph-res {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-top: 28px;
}
@media (max-width: 900px) {
  .ph-res {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ph-res__pic {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(241, 242, 233, 0.14), rgba(241, 242, 233, 0) 70%), #171b1c;
}
.ph-res__pic img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}
.ph-res__pic figcaption {
  margin-top: 8px;
  font: 500 11px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a4b8c4;
}
.ph-res__body {
  margin: 10px 0 0;
  font: 500 13px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c5d957;
}
.ph-res__txt > p {
  font-size: 17px;
  line-height: 1.55;
  color: #a4b8c4;
}
.ph-res__txt > p.ph-res__ask {
  margin: 22px 0 12px;
  color: #f1f2e9;
  font-weight: 600;
}
.ph-quiz__nojs a {
  color: #f1f2e9;
}

/* ---------------------------------------------------------------- the seller map
 * /sellers/ (scripts/phosphor-sellers.mjs, site/sellers.js). Otto, 31 October.
 * States on slate #20272a with night #111714 borders, the chosen one outlined in
 * lime, the pins lime on night. Measured: paper on #171b1c 14.9, silver blue 8.4. */
.sp__wrap {
  margin-top: 28px;
}
.sp-pick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 15px;
  color: #f1f2e9;
}
.sp-pick select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(241, 242, 233, 0.24);
  border-radius: 12px;
  background: #171b1c;
  color: #f1f2e9;
  font: inherit;
  font-weight: 500;
}
.sp__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .sp__stage {
    grid-template-columns: minmax(0, 1fr);
  }
}
.sp__map svg {
  display: block;
  width: 100%;
  height: auto;
  touch-action: manipulation;
}
.sp__map .st {
  fill: #20272a;
  stroke: #111714;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.sp__map svg > path {
  stroke: #111714;
  vector-effect: non-scaling-stroke;
}
.sp__map [data-st] {
  cursor: pointer;
  outline: none;
}
.sp__map [data-st]:hover .st,
.sp__map [data-st]:focus-visible .st {
  fill: #2c3538;
}
.sp__map [data-st].is-sel .st {
  fill: #263021;
  stroke: #c5d957;
  stroke-width: 2.5;
}
.sp-pin {
  fill: #c5d957;
  stroke: #111714;
  stroke-width: 2;
}
.sp-pin__halo {
  fill: #c5d957;
  opacity: 0.16;
}
.sp-pins a:hover .sp-pin,
.sp-pins a:focus .sp-pin {
  fill: #f1f2e9;
}
.sp__panel {
  padding: 20px;
  border: 1px solid rgba(241, 242, 233, 0.16);
  border-radius: 18px;
  background: #171b1c;
}
.sp__lead {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #f1f2e9;
}
.sp__small {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #a4b8c4;
}
.sp__name {
  margin: 6px 0 10px;
  font-family: 'Phosphor Display', 'Phosphor Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: #f1f2e9;
}
.sp__list {
  display: grid;
  max-height: 320px;
  margin: 0 0 14px;
  padding: 0;
  overflow: auto;
  list-style: none;
}
.sp__list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(241, 242, 233, 0.14);
  color: #f1f2e9;
  text-decoration: none;
}
.sp__list b {
  font-weight: 600;
  font-size: 15px;
}
.sp__list span {
  grid-column: 1;
  font-size: 13px;
  color: #a4b8c4;
}
.sp__list i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: #c5d957;
}
.sp__go {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0;
}
.sp__back {
  padding: 0;
  border: 0;
  background: none;
  color: #f1f2e9;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #c5d957;
  text-underline-offset: 4px;
  cursor: pointer;
}
.sp__key {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 0;
  font-size: 14px;
  color: #a4b8c4;
}
.sp__key i {
  width: 12px;
  height: 12px;
  border: 2px solid #111714;
  border-radius: 12px;
  background: #c5d957;
  box-shadow: 0 0 0 3px rgba(197, 217, 87, 0.18);
}
.ph-quiz__go {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* ---------------------------------------------------------------- the request
 * /ask/ (scripts/phosphor-ask.mjs, site/ask.js) and the privacy page. Otto,
 * 1 November. Fields on graphite #171b1c with paper text 14.9, labels paper,
 * notes silver blue 8.4, the chosen path lime with night ink 11.0. */
.pf {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-top: 30px;
}
.pf-hp {
  position: absolute;
  left: -9999px;
}
.pf-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
@media (max-width: 560px) {
  .pf-paths {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pf-paths legend,
.pf-reach legend {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #f1f2e9;
}
.pf-path {
  position: relative;
  cursor: pointer;
}
.pf-path input {
  position: absolute;
  opacity: 0;
}
.pf-path span {
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(241, 242, 233, 0.22);
  border-radius: 16px;
  background: #20272a;
  font-size: 14px;
  line-height: 1.45;
  color: #a4b8c4;
}
.pf-path b {
  font-family: 'Phosphor Display', 'Phosphor Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #f1f2e9;
}
.pf-path input:checked + span {
  border-color: #c5d957;
  box-shadow: inset 0 0 0 1px #c5d957;
}
.pf-path input:focus-visible + span {
  outline: 3px solid #c5d957;
  outline-offset: 2px;
}
.pf-dealer {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid #c5d957;
  border-radius: 8px;
  background: #171b1c;
  font-size: 15px;
  color: #f1f2e9;
}
.pf-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 560px) {
  .pf-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pf-f {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}
.pf-f label,
.pf-f > legend {
  font-weight: 600;
  font-size: 14px;
  color: #f1f2e9;
}
.pf-f small {
  font-weight: 500;
  color: #a4b8c4;
}
.pf input[type='text'],
.pf input[type='email'],
.pf input[type='tel'],
.pf select,
.pf textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(241, 242, 233, 0.26);
  border-radius: 12px;
  background: #171b1c;
  color: #f1f2e9;
  font: 500 16px/1.4 'Phosphor Sans', Geist, Arial, sans-serif;
}
.pf input:focus-visible,
.pf select:focus-visible,
.pf textarea:focus-visible {
  outline: 3px solid #c5d957;
  outline-offset: 1px;
}
.pf-reach label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 14px;
  min-height: 44px;
  font-size: 15px;
  color: #f1f2e9;
}
.pf-disclose {
  margin: 4px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #171b1c;
  font-size: 14px;
  line-height: 1.55;
  color: #f1f2e9;
}
.pf-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
  color: #f1f2e9;
  cursor: pointer;
}
.pf-consent input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: #c5d957;
  flex: none;
}
.pf-keep {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #a4b8c4;
}
.pf-keep a,
.ph-quiz__intro p a {
  color: #f1f2e9;
  text-decoration: underline;
  text-decoration-color: #c5d957;
  text-underline-offset: 3px;
}
.pf .ph-quiz__go {
  justify-self: start;
}
.pv__body {
  display: grid;
  max-width: 760px;
  margin-top: 26px;
}
.pv__body section {
  padding: 16px 0;
  border-top: 1px solid rgba(241, 242, 233, 0.14);
}
.pv__body h2 {
  margin: 0;
  font-family: 'Phosphor Display', 'Phosphor Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #f1f2e9;
}
.pv__body p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: #d9ddd3;
}
.pv__body a {
  color: #f1f2e9;
}
.ph-partners a {
  color: inherit;
  text-decoration: underline;
}
.pf-row {
  align-items: start;
}
.pf input[type='radio'] {
  accent-color: #c5d957;
}
