/* FAFO Marketing — Plan Your Website (plan.html).
   Uses fafo.css tokens only: 6px controls, 14px cards, 999px pills. */

/* ---------- hero ---------- */
.pl-hero .wrap { padding-block: clamp(56px, 7vw, 104px) clamp(32px, 4vw, 52px); }
.pl-hero h1 { font-size: clamp(2.2rem, 0.9rem + 5.2vw, 4.6rem); }
.pl-motto { color: var(--ice); font-weight: 600; }
.pl-promise { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 4px 0 0; padding: 0; color: var(--muted); font-size: .9rem; }
.pl-promise li { display: inline-flex; align-items: center; gap: 9px; }
.pl-promise li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }

/* ---------- layout ---------- */
.pl-section { padding-block: clamp(28px, 4vw, 56px) clamp(72px, 9vw, 120px); }
.pl-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) {
  .pl-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .pl-layout.is-review { grid-template-columns: minmax(0, 1fr); }
}
.pl { position: relative; background: linear-gradient(180deg, rgba(30, 27, 51, .55), rgba(23, 21, 39, .9)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3.2vw, 40px); min-width: 0; }
.pl::before { content: ""; position: absolute; inset: -1px -1px auto; height: 1px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, transparent, rgba(123, 44, 255, .9) 30%, rgba(0, 217, 255, .7) 70%, transparent); }

/* ---------- progress ---------- */
.pl-progress { display: grid; gap: 12px; margin-bottom: clamp(22px, 3vw, 34px); }
.pl-progress__count { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: .92rem; }
.pl-progress__n { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pl-progress__name { color: var(--ice); font-weight: 600; }
.pl-bar { height: 2px; background: var(--line); border-radius: 999px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(.14); background: linear-gradient(90deg, var(--violet), var(--cyan)); transition: transform .5s var(--ease-out); }
.pl-steps { display: none; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) {
  .pl-progress__count { display: none; }
  .pl-bar { order: 2; }
  .pl-steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
}
.pl-steps button { width: 100%; display: grid; gap: 3px; justify-items: start; padding: 8px 2px 4px; background: none; border: 0; border-radius: var(--radius); color: var(--muted); font: 500 .84rem/1.2 var(--body); text-align: left; cursor: pointer; transition: color .2s; }
.pl-steps button span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--muted); }
.pl-steps button:hover:not(:disabled) { color: var(--ice); }
.pl-steps button.is-done { color: var(--steel); }
.pl-steps button.is-done span { color: var(--cyan); }
.pl-steps button[aria-current="step"] { color: var(--ice); font-weight: 650; }
.pl-steps button[aria-current="step"] span { color: #B48CFF; }
.pl-steps button:disabled { cursor: default; opacity: .7; }

/* ---------- steps ---------- */
.pl-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.pl-step[hidden] { display: none; }
.pl-step > legend { padding: 0; margin-bottom: 4px; display: grid; gap: 10px; float: left; width: 100%; }
.pl-step > legend + * { clear: both; }
.pl-kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #B48CFF; }
.pl-q { font-family: var(--display); font-stretch: 112%; font-weight: 750; font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.35rem); letter-spacing: -.025em; line-height: 1.05; color: var(--ice); outline: none; }
.pl-q:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
.pl-help { margin: 0; color: var(--steel); max-width: 62ch; font-size: .98rem; }
.pl-help--sm { font-size: .88rem; color: var(--muted); }
.pl-help a, .pl-pkg__note a, .pl-next a { color: var(--ice); text-decoration-color: var(--violet); text-underline-offset: 3px; }
.pl-count { display: inline-block; margin-left: 6px; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: var(--cyan); text-transform: uppercase; }
.pl-sub { display: grid; gap: 12px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.pl-subq { font-family: var(--body); font-size: 1.02rem; font-weight: 650; color: var(--ice); margin: 0; padding: 0; }
.pl-err { margin: 0; color: var(--bad); font-size: .92rem; font-weight: 500; display: flex; gap: 8px; align-items: center; }
.pl-err::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 999px; background: rgba(255, 92, 122, .16); font: 700 .72rem/1 var(--body); }
@media (prefers-reduced-motion: no-preference) {
  .pl-step.is-in { animation: pl-in .45s var(--ease-out) both; }
  @keyframes pl-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* ---------- selectable cards (real radios / checkboxes underneath) ---------- */
.pl-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.pl-cards--ind { grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); }
.pl-cards--style { grid-template-columns: repeat(auto-fill, minmax(min(100%, 156px), 1fr)); gap: 12px; }
.pl-cards--feat { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.pl-cards--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pl-cards--size, .pl-cards--budget { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
@media (max-width: 420px) {
  .pl-cards--ind, .pl-cards--goal, .pl-cards--size, .pl-cards--budget { grid-template-columns: 1fr 1fr; }
  .pl-cards--style { grid-template-columns: 1fr 1fr; }
}
.pl-card { position: relative; display: block; min-width: 0; }
.pl-card input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.pl-card input:disabled { cursor: not-allowed; }
.pl-card__box { position: relative; height: 100%; display: grid; align-content: start; gap: 4px; padding: 14px 40px 14px 16px; min-height: 76px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: rgba(10, 10, 15, .35); transition: border-color .2s, background-color .2s, transform .25s var(--ease-out); }
.pl-card__box b { font-weight: 650; font-size: .98rem; line-height: 1.25; color: var(--ice); }
.pl-card__box small { font-size: .84rem; line-height: 1.35; color: var(--muted); }
.pl-card__box::after { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 999px; border: 1px solid var(--line-strong); transition: background-color .2s, border-color .2s; }
.pl-card input[type=checkbox] + .pl-card__box::after { border-radius: var(--radius); }
.pl-card input:hover:not(:disabled) + .pl-card__box { border-color: rgba(180, 140, 255, .65); background: rgba(123, 44, 255, .07); }
.pl-card input:checked + .pl-card__box { border-color: var(--violet); background: linear-gradient(160deg, rgba(123, 44, 255, .2), rgba(123, 44, 255, .06)); box-shadow: inset 0 0 0 1px rgba(123, 44, 255, .55); }
.pl-card input:checked + .pl-card__box::after { border-color: var(--cyan); background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230A0A0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pl-card input:checked + .pl-card__box small { color: var(--steel); }
.pl-card input:focus-visible + .pl-card__box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pl-card input[aria-invalid="true"] + .pl-card__box { border-color: rgba(255, 92, 122, .6); }
.pl-card.is-off .pl-card__box { opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .pl-card input:active:not(:disabled) + .pl-card__box { transform: scale(.985); }
}
.pl-card--row .pl-card__box { min-height: 64px; }
.pl-card--tight .pl-card__box { min-height: 64px; padding-block: 12px; }
.pl-badge { justify-self: start; margin-top: 4px; font: 500 .66rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: #CDB4FF; border: 1px solid rgba(123, 44, 255, .6); border-radius: 999px; padding: 4px 8px; }
.pl-other, .pl-siteinfo { max-width: 520px; }
.pl-siteinfo { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(10, 10, 15, .3); }
.pl-siteinfo[hidden], .pl-other[hidden] { display: none; }

/* ---------- style swatches (typographic specimens, not website previews) ---------- */
.pl-card--style .pl-card__box { padding: 10px 10px 14px; gap: 6px; }
.pl-card--style .pl-card__box::after { top: 18px; right: 18px; background-color: rgba(10, 10, 15, .55); }
.pl-card--style b, .pl-card--style small { padding-inline: 4px; }
.pl-card--style b { margin-top: 6px; }
.pl-sw { position: relative; display: block; height: 92px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); }
.pl-sw__aa { position: absolute; left: 14px; bottom: 10px; font-size: 2.6rem; line-height: 1; }
.pl-sw__rule { position: absolute; left: 14px; top: 16px; width: 34px; height: 3px; border-radius: 999px; }
.pl-sw__dots { position: absolute; right: 12px; bottom: 14px; display: flex; gap: 4px; }
.pl-sw__dots i { width: 10px; height: 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.pl-sw--bold { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 77, 46, .28), transparent 55%), #0B0B10; }
.pl-sw--bold .pl-sw__aa { font-family: var(--display); font-stretch: 125%; font-style: italic; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.pl-sw--bold .pl-sw__rule { background: #FF4D2E; width: 48px; }
.pl-sw--bold .pl-sw__dots i:nth-child(1) { background: #FF4D2E; } .pl-sw--bold .pl-sw__dots i:nth-child(2) { background: #F5F7FA; } .pl-sw--bold .pl-sw__dots i:nth-child(3) { background: #3A3A48; }
.pl-sw--modern { background: #F7F8FA; }
.pl-sw--modern .pl-sw__aa { font-family: var(--body); font-weight: 600; color: #101318; letter-spacing: -.04em; }
.pl-sw--modern .pl-sw__rule { background: #2F6BFF; height: 2px; }
.pl-sw--modern .pl-sw__dots i:nth-child(1) { background: #2F6BFF; } .pl-sw--modern .pl-sw__dots i:nth-child(2) { background: #101318; } .pl-sw--modern .pl-sw__dots i:nth-child(3) { background: #D9DEE7; }
.pl-sw--warm { background: radial-gradient(90% 80% at 0% 100%, rgba(194, 96, 47, .18), transparent 60%), #F3E7D6; }
.pl-sw--warm .pl-sw__aa { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; color: #5A3522; }
.pl-sw--warm .pl-sw__rule { background: #C2602F; border-radius: 999px; height: 5px; width: 26px; }
.pl-sw--warm .pl-sw__dots i:nth-child(1) { background: #C2602F; } .pl-sw--warm .pl-sw__dots i:nth-child(2) { background: #7A8B4F; } .pl-sw--warm .pl-sw__dots i:nth-child(3) { background: #5A3522; }
.pl-sw--luxury { background: linear-gradient(180deg, #161514, #0E0E0D); }
.pl-sw--luxury .pl-sw__aa { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #E9DFC9; letter-spacing: .06em; font-size: 2.3rem; }
.pl-sw--luxury .pl-sw__rule { background: #BFA06A; height: 1px; width: 56px; }
.pl-sw--luxury .pl-sw__dots i:nth-child(1) { background: #BFA06A; } .pl-sw--luxury .pl-sw__dots i:nth-child(2) { background: #E9DFC9; } .pl-sw--luxury .pl-sw__dots i:nth-child(3) { background: #2A2A2A; }
.pl-sw--classic { background: #14284A; }
.pl-sw--classic .pl-sw__aa { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: #fff; }
.pl-sw--classic .pl-sw__rule { background: #D9B45A; }
.pl-sw--classic .pl-sw__dots i:nth-child(1) { background: #D9B45A; } .pl-sw--classic .pl-sw__dots i:nth-child(2) { background: #FFFFFF; } .pl-sw--classic .pl-sw__dots i:nth-child(3) { background: #6E86AD; }
.pl-sw--unsure { background: linear-gradient(115deg, #0B0B10 0 24%, #F7F8FA 24% 44%, #F3E7D6 44% 64%, #161514 64% 82%, #14284A 82%); }
.pl-sw--unsure .pl-sw__aa { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 999px; background: rgba(10, 10, 15, .82); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font: 700 1.3rem/1 var(--body); }

/* ---------- bottom navigation ---------- */
.pl-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: clamp(24px, 3vw, 36px); padding-top: 20px; border-top: 1px solid var(--line); }
.pl-nav [hidden] { display: none; }
.pl-nav__note { margin: 0; color: var(--muted); font-size: .84rem; flex: 1 1 200px; }
.pl-nav__go { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
#pl-back { order: -1; }
.pl-nav.is-review { justify-content: flex-start; }
.pl-nav.is-review .pl-nav__note { display: none; }
@media (max-width: 599px) {
  .pl-nav__note { order: 3; flex-basis: 100%; text-align: center; }
  .pl-nav__go { flex: 1 1 auto; justify-content: flex-end; }
  #pl-next { flex: 1 1 auto; justify-content: center; }
}

/* ---------- live brief (desktop) ---------- */
.pl-brief { display: none; }
@media (min-width: 1000px) {
  .pl-brief { display: grid; gap: 16px; position: sticky; top: 92px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(23, 21, 39, .6); }
  .pl-brief[hidden] { display: none; }
}
.pl-brief .field-label { margin: 0; }
.pl-brief__list { margin: 0; display: grid; }
.pl-brief__list > div { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.pl-brief__list dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pl-brief__list dd { margin: 0; font-size: .92rem; color: var(--muted); }
.pl-brief__list .is-set dd { color: var(--ice); }
.pl-brief__list .is-set dt { color: #B48CFF; }
.pl-brief__note { margin: 0; font-size: .84rem; color: var(--muted); }

/* ---------- review ---------- */
.pl-review { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .pl-review { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .pl-review__plan { position: sticky; top: 92px; } }
.pl-review[hidden] { display: none; }
.pl-review__plan, .pl-review__next { display: grid; gap: 16px; align-content: start; min-width: 0; }
.pl-plan__line { margin: 0; color: var(--steel); }
.pl-sum { margin: 0; display: grid; border-top: 1px solid var(--line); }
.pl-sum > div { display: grid; grid-template-columns: minmax(96px, 132px) minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pl-sum dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pl-sum dd { margin: 0; color: var(--ice); font-size: .95rem; overflow-wrap: anywhere; }
.pl-sum .pl-sum__edit .linkbtn { font-size: .84rem; color: var(--steel); text-decoration-color: var(--violet); min-height: 32px; }
.pl-sum .pl-sum__edit .linkbtn:hover { color: var(--cyan); }
@media (max-width: 480px) {
  .pl-sum > div { grid-template-columns: minmax(0, 1fr) auto; }
  .pl-sum dt { grid-column: 1; }
  .pl-sum dd:not(.pl-sum__edit) { grid-column: 1; grid-row: 2; }
  .pl-sum .pl-sum__edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
.pl-pkg { position: relative; display: grid; gap: 8px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--radius-lg); border: 1px solid rgba(123, 44, 255, .55); background: radial-gradient(90% 120% at 100% 0%, rgba(123, 44, 255, .22), transparent 60%), var(--panel-2); }
.pl-pkg .field-label { margin: 0; }
.pl-pkg .field-label + .pl-pkg__why { margin-top: -4px; }
.pl-pkg__name { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 750; font-size: var(--step-2); letter-spacing: -.02em; line-height: 1.05; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pl-pkg__name .pl-badge { margin: 0; }
.pl-pkg__price { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.pl-pkg__price b { font-family: var(--display); font-stretch: 112%; font-weight: 750; font-size: var(--step-3); letter-spacing: -.03em; color: var(--ice); line-height: 1; }
.pl-pkg__price span { color: var(--muted); }
.pl-pkg__terms { margin: 0 0 6px; color: var(--steel); font-size: .9rem; }
.pl-pkg__why { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pl-pkg__why li { position: relative; padding-left: 18px; color: var(--steel); font-size: .92rem; }
.pl-pkg__why li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--cyan); }
.pl-pkg__note { margin: 6px 0 0; font-size: .84rem; color: var(--muted); }
.pl-request { margin: 0; padding: 0; border: 0; }
.pl-contact { align-items: start; }
.pl-request > legend { margin-bottom: 12px; }
.pl-times { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 16px; background: rgba(10, 10, 15, .3); }
.pl-times[hidden] { display: none; }
.pl-times > summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: .95rem; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pl-times > summary::-webkit-details-marker { display: none; }
.pl-times > summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--cyan); font-weight: 500; transition: transform .25s var(--ease-out); }
.pl-times[open] > summary::before { transform: rotate(45deg); }
.pl-times > summary .hint { color: var(--muted); font-weight: 400; font-size: .84rem; }
.pl-times[open] { padding-bottom: 18px; }
.pl-submit .btn { width: 100%; justify-content: center; min-height: 54px; font-size: 1rem; }
@media (min-width: 600px) { .pl-submit .btn { width: auto; } }
.pl-next { padding-top: 16px; border-top: 1px solid var(--line); }
.pl-next .field-label { margin-bottom: 10px; }
.pl-next ol, ol.pl-next { margin: 0; padding: 0; list-style: none; counter-reset: pl; display: grid; gap: 10px; }
.pl-next li { counter-increment: pl; position: relative; padding-left: 34px; color: var(--steel); font-size: .92rem; }
.pl-next li::before { content: "0" counter(pl); position: absolute; left: 0; top: 1px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: #B48CFF; }
.pl #pl-status { margin-top: -4px; }

/* ---------- done ---------- */
.pl-done { display: grid; gap: 20px; justify-items: start; padding: clamp(28px, 5vw, 64px); border: 1px solid rgba(123, 44, 255, .5); border-radius: var(--radius-lg); background: radial-gradient(60% 100% at 100% 0%, rgba(123, 44, 255, .2), transparent 60%), var(--panel); }
.pl-done[hidden] { display: none; }
.pl-done .h2 { outline: none; }
.pl-done .h2:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
.pl-done .lede b { white-space: nowrap; color: var(--ice); font-family: var(--mono); font-size: .95em; letter-spacing: .04em; }
ol.pl-next--done { border-top: 1px solid var(--line); padding-top: 18px; width: 100%; max-width: 620px; }

/* ---------- phones ---------- */
@media (max-width: 759px) {
  .pl-step > legend .pl-kicker, .pl-review__plan > .pl-kicker { display: none; }
  .pl-hero .lede { font-size: 1.08rem; }
}
@media (max-width: 480px) {
  .pl-card__box { padding: 12px 30px 12px 12px; min-height: 68px; }
  .pl-card__box::after { top: 12px; right: 10px; width: 16px; height: 16px; }
  .pl-card__box b { font-size: .93rem; }
  .pl-card__box small { font-size: .8rem; }
  .pl-card--style .pl-card__box { padding: 8px 8px 12px; }
  .pl-card--style .pl-card__box::after { top: 14px; right: 14px; }
  .pl-sw { height: 76px; }
  .pl-sw__aa { font-size: 2.2rem; }
}

/* Without JavaScript the planner cannot work; the noscript notice shows instead. Shown by default so the layout does not jump when the script starts. */
.no-js #planner, .no-js #pl-brief { display: none; }
/* Optional related services on the review step */
.pl-pairs { margin: 18px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); display: grid; gap: 12px; min-width: 0; }
.pl-pairs legend { padding: 0; margin-bottom: 4px; }
.pl-pairs .check span { min-width: 0; }
.pl-pairs .check b { color: var(--ice); font-weight: 600; }
.pl-pairs .check a { color: var(--ice); text-decoration-color: var(--violet); text-underline-offset: 3px; white-space: nowrap; }
