/* /loadout — loaded after landing.css + services.css and only uses their tokens. */

.lo-hero { padding: 4.5rem 0 2.5rem; }
.lo-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.lo-boot { margin: 1.6rem 0 0; color: var(--phosphor); font-size: 0.85rem; }
.lo-cursor { animation: svc-blink 1s steps(2, start) infinite; }

.lo-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 2rem;
  align-items: start;
  padding-bottom: 4rem;
}

.lo-step { padding: 2.2rem 0; border-top: 1px solid var(--border); }
.lo-step[hidden] { display: none; }
.lo-step-head { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.lo-step-head h2 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.8rem); letter-spacing: -0.01em; }
.lo-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--phosphor);
  color: var(--phosphor);
  font-size: 0.75rem;
  font-weight: 700;
}
.lo-sub {
  margin: 1.8rem 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lo-sub::before { content: "// "; color: var(--phosphor); }
.lo-note { margin: -0.4rem 0 0; color: var(--muted); font-family: var(--font-read); font-size: 0.92rem; }
.lo-plans + .lo-note { margin-top: 0.9rem; }

.lo-tag {
  justify-self: start;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--border);
  color: var(--phosphor);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.lo-desc { color: var(--muted); font-family: var(--font-read); font-size: 0.84rem; line-height: 1.45; }
.lo-price { font-weight: 700; white-space: nowrap; }
.lo-price small, .lo-plan-price small { font-weight: 500; color: var(--muted); font-size: 0.72em; }

/* --- selectable cards --- */
.lo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.8rem; }
.lo-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lo-card {
  position: relative;
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 1.1rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.lo-card:hover { border-color: color-mix(in srgb, var(--phosphor) 55%, var(--border)); transform: translateY(-2px); }
.lo-card input { position: absolute; opacity: 0; pointer-events: none; }
.lo-card b { font-size: 1rem; }
.lo-card:has(input:checked) {
  border-color: var(--phosphor);
  background: color-mix(in srgb, var(--phosphor) 8%, var(--card));
  box-shadow: 0 0 0 1px var(--phosphor);
}
.lo-card:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  color: var(--phosphor);
  font-weight: 700;
}
.lo-card:has(input:focus-visible) { outline: 2px solid var(--phosphor); outline-offset: 2px; }
.lo-card .lo-price { margin-top: 0.3rem; color: var(--phosphor); }

.lo-plans .lo-card.is-featured .lo-tag { background: var(--phosphor); color: var(--on-phosphor); border-color: var(--phosphor); }
.lo-plan-price { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; }
.lo-tokens { color: var(--phosphor); font-size: 0.75rem; font-weight: 600; }
.lo-card ul { margin: 0.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.25rem; font-size: 0.76rem; }
.lo-card li::before { content: "› "; color: var(--phosphor); }

/* --- billing toggle --- */
.lo-billing { display: inline-flex; margin-left: auto; border: 1px solid var(--border); }
.lo-billing label { cursor: pointer; }
.lo-billing input { position: absolute; opacity: 0; pointer-events: none; }
.lo-billing span { display: block; padding: 0.35rem 0.75rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.lo-billing em { font-style: normal; color: var(--phosphor); }
.lo-billing input:checked + span { background: var(--phosphor); color: var(--on-phosphor); }
.lo-billing input:checked + span em { color: inherit; }
.lo-billing input:focus-visible + span { outline: 2px solid var(--phosphor); outline-offset: -2px; }

/* --- item rows --- */
.lo-rows { display: grid; border: 1px solid var(--border); }
.lo-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto 7rem;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, var(--card) 88%, transparent);
}
.lo-row + .lo-row { border-top: 1px solid var(--border); }
.lo-row:has(.lo-qty.is-on), .lo-row:has(input:checked) { background: color-mix(in srgb, var(--phosphor) 7%, var(--card)); }
.lo-row-copy { display: grid; gap: 0.15rem; }
.lo-row-copy b { font-size: 0.9rem; }
.lo-row.is-fixed { opacity: 0.85; }
.lo-auto { justify-self: end; font-size: 0.72rem; color: var(--phosphor); font-weight: 700; }

.lo-qty { justify-self: end; display: inline-grid; grid-template-columns: 2rem 2.2rem 2rem; border: 1px solid var(--border); }
.lo-qty button {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.3rem 0;
}
.lo-qty button:hover { background: color-mix(in srgb, var(--phosphor) 14%, transparent); color: var(--phosphor); }
.lo-qty output { display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; border-inline: 1px solid var(--border); }
.lo-qty.is-on { border-color: var(--phosphor); }
.lo-qty.is-on output { color: var(--phosphor); }

.lo-check { justify-self: end; display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.lo-check input { accent-color: var(--phosphor); width: 1rem; height: 1rem; }
.lo-check:has(input:checked) { color: var(--phosphor); }

.lo-included {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.4rem 1.2rem;
  font-size: 0.82rem;
}
.lo-included li::before { content: "[x] "; color: var(--phosphor); font-weight: 700; }

/* --- score panel --- */
.lo-score { position: sticky; top: 5rem; padding-top: 2.2rem; }
.lo-score-in {
  border: 1px solid var(--phosphor);
  background: var(--panel);
  box-shadow: 0 24px 60px var(--shadow);
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}
.lo-score-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.lo-class { background: var(--phosphor); color: var(--on-phosphor); padding: 0.15rem 0.5rem; }
.lo-lines {
  margin: 0;
  padding: 0.8rem 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  border-block: 1px dashed var(--border);
  font-size: 0.76rem;
  max-height: 22rem;
  overflow: auto;
}
.lo-lines li { display: flex; justify-content: space-between; gap: 0.8rem; }
.lo-lines li span { color: var(--muted); }
.lo-lines li b { font-weight: 600; white-space: nowrap; }
.lo-lines li.k-onde span { color: var(--text); font-weight: 600; }
.lo-lines li.k-plan span { color: var(--phosphor); }
.lo-totals { display: grid; gap: 0.4rem; }
.lo-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8rem; color: var(--muted); }
.lo-total[hidden] { display: none; }
.lo-total b { color: var(--text); font-size: 1.05rem; }
.lo-total.is-main span { color: var(--text); font-weight: 700; }
.lo-total.is-main b { color: var(--phosphor); font-size: 1.7rem; }
.lo-go, .lo-share { width: 100%; justify-content: center; text-align: center; }
.lo-share { cursor: pointer; font: inherit; font-size: 0.8rem; }
.lo-fine { margin: 0; font-size: 0.68rem; color: var(--muted); text-align: center; }

@media (max-width: 1000px) {
  .lo-wrap { grid-template-columns: minmax(0, 1fr); }
  .lo-score { position: static; padding-top: 0; }
}
@media (max-width: 720px) {
  .lo-hero { padding: 3rem 0 1.5rem; }
  .lo-cards-2 { grid-template-columns: minmax(0, 1fr); }
  .lo-row { grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 0.8rem; }
  .lo-row .lo-tag { grid-column: 1 / -1; }
  .lo-row-copy { grid-column: 1 / -1; }
  .lo-billing { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lo-cursor { animation: none; }
  .lo-card, .lo-card:hover { transition: none; transform: none; }
}
