/* /pricing/ configurator. Builds on pv.css tokens; no new colours outside the token set. */

.pr-hero { padding-bottom: 28px; }
.pr-hero h1 { font-size: clamp(40px, 5.4vw, 68px); margin: 18px 0 18px; }
.pr-hero .lede { margin: 0; }

/* Configurator layout */
.cfg { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 36px); align-items: start; position: relative; }
@media (max-width: 960px) { .cfg { grid-template-columns: minmax(0, 1fr); } }
.cfg-main { display: grid; gap: 18px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow-1); min-width: 0; }
.panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.panel-h h2 { font-family: var(--font-ui); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.step-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent-ink); margin-right: 10px; }
.hint { font-size: 14px; color: var(--ink-3); }

/* Segmented toggles */
.toggles { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); position: relative; }
.seg button { appearance: none; border: 0; background: transparent; font: inherit; font-size: 14.5px; font-weight: 650; color: var(--ink-2); padding: 8px 14px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 1; transition: color .2s ease; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 9px; background: var(--surface); box-shadow: var(--shadow-1); transition: transform .32s cubic-bezier(.2,.8,.2,1), width .32s cubic-bezier(.2,.8,.2,1); }
.save-badge { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; padding: 3px 7px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); white-space: nowrap; }

/* Seats */
.seats-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 0%; }
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line-2) var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line-2); }
.range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(18,21,27,.18); transition: transform .15s ease; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(18,21,27,.18); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 30%, transparent); }
.num { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.num button { appearance: none; border: 0; background: transparent; color: var(--ink-2); width: 38px; height: 44px; font-size: 20px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.num button:hover { background: var(--bg-2); color: var(--ink); }
.num button:active { transform: scale(.94); }
.num input { width: 64px; height: 44px; border: 0; background: transparent; text-align: center; font: 600 18px var(--font-mono); color: var(--ink); -moz-appearance: textfield; }
.num input::-webkit-outer-spin-button, .num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num input:focus { outline: none; }
.num:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); }
.ticks { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); margin-top: 6px; padding: 0 2px; }
.note { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); display: none; }
.note.show { display: block; animation: noteIn .35s ease; }
@keyframes noteIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Setup options: full-width radio rows, price on the right */
.setups { display: flex; flex-direction: column; gap: 10px; }
.setup { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface-2); cursor: pointer; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease; min-width: 0; }
.setup:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); transform: translateX(2px); }
.setup:active { transform: scale(.995); }
.setup input { position: absolute; opacity: 0; pointer-events: none; }
.setup:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.setup.on { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 12%, transparent), var(--shadow-1); transform: none; }
.setup::before { content: ""; position: absolute; left: -1.5px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); transform: scaleY(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.setup.on::before { transform: scaleY(1); }
.setup .tick { align-self: start; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .2s ease, border-color .2s ease; }
.setup .tick svg { opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1); color: #fff; }
.setup.on .tick { background: var(--accent); border-color: var(--accent); }
.setup.on .tick svg { opacity: 1; transform: none; }
:root[data-theme="dark"] .setup.on .tick svg { color: #0b0e13; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .setup.on .tick svg { color: #0b0e13; } }
.s-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.s-title { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.s-desc { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
span.lg { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px 0 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: border-color .2s ease, color .2s ease, transform .25s cubic-bezier(.2,.8,.2,1); }
span.lg svg { width: 15px; height: 15px; flex: none; color: var(--ink); }
.lg-sep { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 2px; }
.setup.on .lg { border-color: var(--line-2); color: var(--ink); }
.setup.on .lg { animation: lgIn .45s cubic-bezier(.2,.8,.2,1) both; }
.setup.on .lg:nth-child(2) { animation-delay: .04s; } .setup.on .lg:nth-child(3) { animation-delay: .08s; }
.setup.on .lg:nth-child(5) { animation-delay: .12s; } .setup.on .lg:nth-child(6) { animation-delay: .16s; } .setup.on .lg:nth-child(7) { animation-delay: .2s; }
@keyframes lgIn { from { transform: translateY(3px); opacity: .6; } to { transform: none; opacity: 1; } }
.setup .from { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding-left: 8px; }
.setup .from b { color: var(--ink); font-weight: 700; font-size: 20px; font-family: var(--font-mono); letter-spacing: -.01em; }
.setup .from small { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 560px) {
  .setup { grid-template-columns: 22px minmax(0, 1fr); row-gap: 10px; column-gap: 12px; padding: 14px; }
  .setup .from { grid-column: 2; flex-direction: row; align-items: baseline; gap: 6px; text-align: left; padding-left: 0; }
  .setup .from b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .setup, .setup::before, .lg { transition: none; }
  .setup:hover { transform: none; }
  .setup.on .lg { animation: none; }
}

/* setup icon motion: subtle, only when selected */
.ico-flow { stroke-dasharray: 2 4; }
.setup.on .ico-flow { animation: icoFlow 1.4s linear infinite; }
@keyframes icoFlow { to { stroke-dashoffset: -12; } }
.ico-led { fill: currentColor; opacity: .45; }
.setup.on .ico-led { animation: led 2.2s ease-in-out infinite; }
.setup.on .ico-led:nth-of-type(2) { animation-delay: .5s; }
.ico-pin { transform-box: fill-box; transform-origin: 50% 100%; }
.setup.on .ico-pin { animation: pinDrop .6s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pinDrop { from { transform: translateY(-5px); } to { transform: none; } }

/* Country picker */
.country { display: grid; gap: 14px; overflow: hidden; }
.country[hidden] { display: none; }
.country.open { animation: noteIn .35s ease; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 42px 12px 14px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); pointer-events: none; }
.select select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); }
.providers { display: flex; flex-wrap: wrap; gap: 8px; }
.prov { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 650; animation: noteIn .4s ease both; }
.prov i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.prov small { font-weight: 500; color: var(--ink-3); font-size: 12.5px; }

/* Price panel */
.quote { position: sticky; top: 88px; background: var(--deep); color: var(--deep-ink); border-radius: 20px; padding: clamp(22px, 2.6vw, 30px); overflow: hidden; box-shadow: var(--shadow-2); min-width: 0; }
.quote::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(124,156,255,.24), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(76,199,154,.08), transparent 70%); pointer-events: none; }
.quote > * { position: relative; }
:root[data-theme="dark"] .quote { border: 1px solid rgba(255,255,255,.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .quote { border: 1px solid rgba(255,255,255,.08); } }
@media (max-width: 960px) { .quote { position: relative; top: 0; } }
.q-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.q-setup { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a3b8ff; }
.q-pill { font-family: var(--font-mono); font-size: 10.5px; padding: 4px 9px; border-radius: 999px; background: rgba(76,199,154,.14); color: #6fdcb2; display: none; }
.q-pill.show { display: inline-block; animation: noteIn .35s ease; }
.q-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 16px 0 2px; }
.q-big { font-family: var(--font-display); font-size: clamp(52px, 6vw, 68px); line-height: 1; letter-spacing: -.02em; color: #f4f6fa; font-variant-numeric: tabular-nums; }
.q-unit { color: #9aa3b2; font-size: 15px; }
.q-was { color: #7f8897; text-decoration: line-through; font-size: 15px; display: none; }
.q-was.show { display: inline; }
.q-lines { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.q-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; color: #c3c9d4; }
.q-lines li b { color: #f4f6fa; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.q-lines li.disc { color: #6fdcb2; display: none; }
.q-lines li.disc.show { display: flex; }
.q-lines li.total { font-size: 17px; color: #f4f6fa; border-bottom: 0; padding-top: 14px; }
.q-lines li.total b { font-size: 21px; }
.q-sub { font-size: 13.5px; color: #8f9ab0; margin: 2px 0 0; min-height: 1.3em; }
.q-est { margin-top: 18px; border: 1px dashed rgba(255,255,255,.22); border-radius: 14px; padding: 14px 16px; }
.q-est .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9aa3b2; display: flex; align-items: center; gap: 8px; }
.q-est .lbl span { padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.08); color: #c3c9d4; letter-spacing: .08em; }
.q-est .val { margin-top: 6px; font-size: 18px; font-weight: 700; color: #eef1f6; }
.q-est .val small { font-weight: 500; font-size: 13.5px; color: #9aa3b2; }
.q-est p { margin: 6px 0 0; font-size: 13px; color: #8f9ab0; line-height: 1.5; }
.q-cta { display: grid; gap: 10px; margin-top: 20px; }
.q-cta .btn { justify-content: center; width: 100%; }
.quote .btn-primary { background: #f2f4f8; color: #0d1117; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.quote .btn-primary:hover { background: #fff; }
.quote .btn-ghost { color: #e9ecf2; border-color: #36404f; background: transparent; }
.quote .btn-ghost:hover { border-color: #7f8897; }
.q-fine { margin: 14px 0 0; font-size: 13px; color: #8f9ab0; line-height: 1.55; }
.q-fine a { color: #c3cffc; text-decoration: underline; text-underline-offset: 3px; }
.q-over { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(124,156,255,.12); color: #d6defc; font-size: 14px; }
.q-over.show { display: block; animation: noteIn .35s ease; }
.bump { animation: bump .45s cubic-bezier(.2,.8,.2,1); }
@keyframes bump { 0% { transform: none; } 40% { transform: translateY(-2px); } 100% { transform: none; } }

/* Compare */
.cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .cmp { grid-template-columns: minmax(0, 1fr); } }
.cmp .card { display: flex; flex-direction: column; }
.cmp .card h3 { margin: 14px 0 6px; }
.cmp .card .price-from { font-family: var(--font-display); font-size: 30px; color: var(--ink); margin: 6px 0 2px; }
.cmp .card .price-from small { font-family: var(--font-ui); font-size: 14px; color: var(--ink-3); }
.cmp ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.cmp li { display: flex; gap: 10px; align-items: flex-start; }
.cmp li svg { flex: none; margin-top: 4px; color: var(--ok); }
.cmp .who { margin-top: auto; padding-top: 18px; font-size: 14.5px; color: var(--ink-2); border-top: 1px dashed var(--line-2); margin-top: 18px; }
.cmp .who b { color: var(--ink); }
.cmp .ic svg { width: 26px; height: 26px; }

.faq-sec .faq a { color: var(--accent-ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .seats-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .num { justify-self: start; }
  .toggles { justify-content: flex-start; }
  .seg button { padding: 8px 11px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .seg .thumb { transition: none; }
}
