:root {
  --navy-950: #041126;
  --navy-900: #061a39;
  --navy-800: #0b2a58;
  --blue: #69aef4;
  --blue-soft: #eaf5ff;
  --pink: #ff0a8a;
  --pink-deep: #d9006f;
  --pink-soft: #fff0f8;
  --lime: #32db78;
  --cream: #f7f6f2;
  --white: #ffffff;
  --ink: #071a38;
  --muted: #63738d;
  --line: #dce4ef;
  --yellow: #ffcb54;
  --danger: #b4234a;
  --shadow: 0 18px 50px rgba(4, 17, 38, .10);
  --shadow-pink: 0 13px 30px rgba(255, 10, 138, .24);
  --radius: 18px;
  --max: 1480px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(7, 26, 56, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 26, 56, .035) 1px, transparent 1px),
    var(--cream);
  background-size: 48px 48px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body[data-auth="required"] { visibility: visible; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.platform-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(100deg, var(--navy-950) 0%, var(--navy-900) 76%, #3f0a3a 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.platform-header__inner {
  width: min(100% - 2rem, var(--max));
  min-height: 66px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
}
.platform-brand { font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
.platform-brand span { color: var(--pink); }
.platform-nav { display: flex; justify-content: center; align-items: center; gap: .25rem; }
.platform-nav a {
  padding: .55rem .72rem;
  border-radius: 999px;
  color: rgba(255,255,255,.68);
  font-size: .84rem;
  font-weight: 760;
  white-space: nowrap;
}
.platform-nav a:hover, .platform-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.platform-actions { display: flex; align-items: center; gap: .7rem; }
.platform-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 12px;
  background: var(--pink);
  color: #fff;
  font-size: .84rem;
  font-weight: 900;
  box-shadow: var(--shadow-pink);
}

.wins-ribbon {
  position: relative;
  z-index: 90;
  min-height: 34px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--navy-900);
  color: rgba(255,255,255,.72);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.wins-ribbon__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--blue);
  background: var(--navy-950);
  border-right: 1px solid rgba(255,255,255,.12);
  font-size: .64rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.wins-ribbon__viewport { min-width: 0; overflow: hidden; display: flex; align-items: center; }
.wins-ribbon__track { width: max-content; display: flex; align-items: center; animation: wins-scroll 42s linear infinite; }
.wins-ribbon:hover .wins-ribbon__track { animation-play-state: paused; }
.wins-ribbon__item { display: inline-flex; align-items: center; gap: .55rem; padding: 0 1.75rem; font-size: .74rem; white-space: nowrap; }
.wins-ribbon__item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(50,219,120,.12); }
.wins-ribbon__item strong { color: #fff; }
@keyframes wins-scroll { to { transform: translateX(-50%); } }

.platform-main { width: min(100% - 2rem, var(--max)); margin: 0 auto; padding: 1.5rem 0 4rem; }
.platform-hero {
  position: relative;
  overflow: hidden;
  min-height: 225px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border-radius: 0 0 22px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 45%, rgba(105,174,244,.35), transparent 25%),
    radial-gradient(circle at 78% 130%, rgba(255,10,138,.45), transparent 42%),
    linear-gradient(115deg, var(--navy-950), var(--navy-900));
  box-shadow: var(--shadow);
}
.platform-hero::after { content: ""; position: absolute; width: 310px; height: 310px; right: -80px; top: -150px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.platform-hero__content, .platform-hero__aside { position: relative; z-index: 1; }
.eyebrow { color: var(--pink); font-size: .68rem; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: .55rem; vertical-align: middle; background: currentColor; }
.platform-hero h1 { margin-top: .65rem; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .96; letter-spacing: -.055em; }
.platform-hero p { max-width: 720px; margin-top: 1rem; color: rgba(255,255,255,.68); font-size: clamp(.96rem, 1.5vw, 1.1rem); }
.hero-mini-card { padding: 1.25rem; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.075); backdrop-filter: blur(14px); }
.hero-mini-card__label { color: var(--blue); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-mini-card__value { margin-top: .25rem; font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 950; letter-spacing: -.045em; }
.hero-mini-card__meta { margin-top: .3rem; color: rgba(255,255,255,.6); font-size: .8rem; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 0 1rem;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--navy-900);
  color: #fff;
  font-weight: 850;
  font-size: .86rem;
}
.button:hover { transform: translateY(-1px); }
.button--pink { background: var(--pink); box-shadow: var(--shadow-pink); }
.button--blue { background: var(--blue); color: var(--navy-950); }
.button--light { background: #fff; color: var(--navy-900); border-color: var(--line); }
.button--ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }

.tab-strip { margin: 1rem auto 0; display: flex; justify-content: center; gap: .55rem; flex-wrap: wrap; }
.tab-button {
  min-width: 190px;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  box-shadow: 0 8px 22px rgba(4,17,38,.04);
}
.tab-button strong { display: block; font-size: .9rem; }
.tab-button small { display: block; margin-top: .05rem; color: var(--muted); font-size: .7rem; }
.tab-button__icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--blue-soft); color: var(--navy-800); }
.tab-button.is-active { color: #fff; background: var(--pink); border-color: var(--pink); box-shadow: var(--shadow-pink); }
.tab-button.is-active small { color: rgba(255,255,255,.75); }
.tab-button.is-active .tab-button__icon { background: rgba(255,255,255,.2); color: #fff; }

.lane-strip { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); background: #fff; }
.lane-card { min-height: 86px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-right: 1px solid var(--line); }
.lane-card:last-child { border-right: 0; }
.lane-card:hover { background: var(--blue-soft); }
.lane-card--active { background: var(--pink-soft); box-shadow: inset 0 -5px 0 var(--pink); }
.lane-card__number { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--ink); color: var(--cream); font-size: .68rem; font-weight: 950; }
.lane-card strong { display: block; font-size: 1rem; }
.lane-card small { display: block; margin-top: .15rem; color: var(--muted); font-size: .72rem; }
.lane-card__arrow { color: var(--pink-deep); font-size: 1.3rem; font-weight: 950; }
.store-language-gateway { margin-top:.75rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.85rem 1rem; border:1px solid var(--line); background:var(--cream); }
.store-language-gateway > div { display:flex; align-items:center; gap:.8rem; }
.store-language-gateway strong { font-size:.85rem; }
.store-language-gateway .eyebrow { white-space:nowrap; }

.section { margin-top: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.section__head { min-height: 68px; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: linear-gradient(90deg, var(--blue-soft), #fff 70%); border-bottom: 1px solid var(--line); }
.section__head--gradient { color: #fff; background: linear-gradient(105deg, var(--blue), #437fe2 53%, #9d2c6f); border: 0; }
.section__title { display: flex; align-items: center; gap: .7rem; }
.section__title-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,10,138,.15); color: var(--pink); font-weight: 900; }
.section__head--gradient .section__title-icon { color: #fff; background: rgba(255,255,255,.2); }
.section__title h2 { font-size: 1.08rem; letter-spacing: -.02em; }
.section__title p { color: var(--muted); font-size: .76rem; }
.section__head--gradient .section__title p { color: rgba(255,255,255,.72); }
.section__head--fresh { background: var(--pink-soft); }
.section__body { padding: 1.25rem; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.metric-card { min-height: 112px; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, #fff, var(--blue-soft)); }
.metric-card--dark { color: #fff; background: linear-gradient(125deg, var(--navy-800), #6f0752); border-color: transparent; }
.metric-card__label { color: var(--muted); font-size: .63rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.metric-card--dark .metric-card__label { color: rgba(255,255,255,.6); }
.metric-card__value { margin-top: .35rem; font-size: clamp(1.55rem, 2.4vw, 2.25rem); line-height: 1; font-weight: 950; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.metric-card__meta { margin-top: .45rem; color: var(--muted); font-size: .72rem; }
.metric-card--dark .metric-card__meta { color: rgba(255,255,255,.65); }

.split-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr); gap: 1rem; align-items: start; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.product-card { display: flex; flex-direction: column; min-height: 265px; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .16s, box-shadow .16s, border-color .16s; }
.product-card:hover { transform: translateY(-3px); border-color: rgba(255,10,138,.5); box-shadow: 0 14px 30px rgba(4,17,38,.09); }
.product-card__top { display: flex; justify-content: space-between; gap: .75rem; }
.tag { display: inline-flex; align-items: center; width: fit-content; min-height: 24px; padding: 0 .55rem; border-radius: 999px; color: var(--navy-800); background: var(--blue-soft); font-size: .62rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.tag--pink { color: var(--pink-deep); background: var(--pink-soft); }
.tag--green { color: #087042; background: #e7f9ef; }
.tag--yellow { color: #785000; background: #fff6d6; }
.product-card h3 { margin-top: .9rem; font-size: 1.12rem; line-height: 1.12; letter-spacing: -.025em; }
.product-card p { margin-top: .55rem; color: var(--muted); font-size: .78rem; }
.product-card__price { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: end; gap: .7rem; }
.product-card__price strong { color: var(--pink-deep); font-size: 1.45rem; letter-spacing: -.04em; }
.product-card__price small { color: var(--muted); font-size: .68rem; }
.product-card--program { border-top: 6px solid var(--pink); }

.program-catalog { margin-top: 2.5rem; scroll-margin-top: 125px; }
#aged-inventory { scroll-margin-top: 125px; }
.program-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.75fr); gap: 2rem; align-items: end; padding: .5rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.program-intro h3 { margin-top: .55rem; max-width: 740px; font-size: clamp(1.8rem,3.5vw,3.4rem); line-height: .96; letter-spacing: -.045em; }
.program-intro > p { color: var(--muted); font-size: .9rem; }
.program-tabs { justify-content: stretch; margin-top: 1.35rem; }
.program-tabs .tab-button { flex: 1 1 190px; }
.program-results-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1.5rem 0 1rem; }
.program-results-head h3 { font-size: 1.25rem; }
.program-results-head p { margin-top: .25rem; max-width: 760px; color: var(--muted); font-size: .78rem; }
.program-key { flex: 0 0 auto; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.program-key span { display: inline-block; width: 9px; height: 9px; margin-right: .35rem; background: var(--pink); }
.filters { position: sticky; top: 112px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.filters__head { padding: 1rem; color: #fff; background: linear-gradient(105deg, var(--blue), #9d2c6f); font-weight: 900; }
.filters__body { display: grid; gap: .85rem; padding: 1rem; }
.field label { display: block; margin-bottom: .35rem; font-size: .72rem; font-weight: 850; }
.field select, .field input, .field textarea { width: 100%; min-height: 44px; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--pink); outline: 2px solid rgba(255,10,138,.12); }
.filter-summary { padding: .9rem; border-radius: 11px; background: #fff6d6; font-size: .76rem; }

.state-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .45rem; }
.state-tile { min-height: 58px; padding: .45rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: center; }
.state-tile strong { display: block; font-size: .78rem; }
.state-tile small { color: var(--muted); font-size: .58rem; }
.state-tile[data-stock="high"] { color: #fff; background: #ef3856; border-color: #ef3856; }
.state-tile[data-stock="medium"] { background: #ff9859; border-color: #ff9859; }
.state-tile[data-stock="low"] { background: #a7c8ff; border-color: #a7c8ff; }
.state-tile.is-active { box-shadow: 0 0 0 3px var(--pink); }
.state-tile:disabled { opacity: .42; cursor: not-allowed; }

.progress { height: 9px; overflow: hidden; border-radius: 999px; background: #e6ebf2; }
.progress__bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--pink)); }
.rank-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; }
.rank-card { min-height: 92px; padding: .75rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; }
.rank-card.is-current { color: #fff; background: var(--navy-800); border-color: var(--navy-800); box-shadow: 0 8px 25px rgba(6,26,57,.2); }
.rank-card strong { display: block; font-size: .75rem; }
.rank-card small { display: block; margin-top: .3rem; color: var(--muted); font-size: .62rem; }
.rank-card.is-current small { color: rgba(255,255,255,.64); }

.data-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.data-table th { padding: .75rem .6rem; color: var(--muted); background: #f4f7fb; font-size: .61rem; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.data-table td { padding: .8rem .6rem; border-bottom: 1px solid var(--line); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table strong { font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.empty-state { min-height: 180px; display: grid; place-items: center; padding: 2rem; color: var(--muted); text-align: center; }
.empty-state strong { display: block; margin-bottom: .3rem; color: var(--ink); font-size: 1rem; }
.status-banner { margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--blue-soft); }
.status-banner--warn { color: #674700; background: #fff6d6; border-color: #f1d68b; }
.status-banner--danger { color: var(--danger); background: #fff0f5; border-color: #f1b9ca; }
.loading-state { min-height: 240px; display: grid; place-items: center; color: var(--muted); }
.pulse { width: 34px; height: 34px; border: 4px solid var(--blue-soft); border-top-color: var(--pink); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.platform-footer { width: min(100% - 2rem, var(--max)); margin: 0 auto; padding: 2.2rem 0; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .75rem; }
.platform-footer strong { color: var(--ink); }

@media (max-width: 1120px) {
  .platform-header__inner { grid-template-columns: auto auto; }
  .platform-nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: .55rem; }
  .split-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .state-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .platform-header__inner { width: min(100% - 1rem, var(--max)); }
  .platform-actions .platform-buy { display: none; }
  .platform-main { width: min(100% - 1rem, var(--max)); padding-top: .75rem; }
  .platform-hero { grid-template-columns: 1fr; border-radius: 16px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .rank-track { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .platform-footer { width: min(100% - 1rem, var(--max)); flex-direction: column; }
  .wins-ribbon__label { display: none; }
  .lane-strip { grid-template-columns: 1fr; }
  .lane-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .lane-card:last-child { border-bottom: 0; }
  .store-language-gateway, .store-language-gateway > div { align-items:flex-start; flex-direction:column; }
  .program-intro { grid-template-columns: 1fr; }
  .program-results-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 470px) {
  .stats-grid { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tab-button { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* LTFC PLATFORM DIRECTION — flat, editorial, built like a production board. */
:root {
  --navy-950: #202020;
  --navy-900: #2b2b2b;
  --navy-800: #3a3937;
  --blue: #cdc0b1;
  --blue-soft: #e5d5c3;
  --pink: #ff6b1a;
  --pink-deep: #d94f00;
  --pink-soft: #fbd4b7;
  --lime: #ff6b1a;
  --cream: #f1ede8;
  --white: #fbf8f4;
  --ink: #2b2b2b;
  --muted: #6b6461;
  --line: #2b2b2b;
  --yellow: #ffd35a;
  --shadow: 7px 7px 0 rgba(43,43,43,.13);
  --shadow-pink: 4px 4px 0 #2b2b2b;
  --radius: 2px;
  --max: 1480px;
}

body {
  background:
    linear-gradient(90deg, rgba(43,43,43,.025) 1px, transparent 1px),
    var(--cream);
  background-size: 72px 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

:focus-visible { outline-color: var(--pink); }

.platform-header {
  color: var(--ink);
  background: rgba(241,237,232,.97);
  border-bottom: 1px solid var(--ink);
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.platform-header__inner { min-height: 72px; }
.platform-brand { font-size: 1rem; letter-spacing: -.035em; }
.platform-brand span { color: var(--pink-deep); }
.platform-nav { gap: 0; }
.platform-nav a {
  position: relative;
  padding: .65rem .78rem;
  border-radius: 0;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.platform-nav a::after {
  content: "";
  position: absolute;
  right: .78rem;
  bottom: .42rem;
  left: .78rem;
  height: 3px;
  background: transparent;
}
.platform-nav a:hover,
.platform-nav a[aria-current="page"] { color: var(--ink); background: transparent; }
.platform-nav a:hover::after,
.platform-nav a[aria-current="page"]::after { background: var(--pink); }
.platform-buy {
  min-height: 39px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--pink);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.wins-ribbon {
  min-height: 36px;
  color: rgba(255,255,255,.7);
  background: var(--ink);
  border: 0;
}
.wins-ribbon__label {
  color: var(--ink);
  background: var(--pink);
  border-right: 1px solid var(--ink);
}
.wins-ribbon__item { text-transform: uppercase; letter-spacing: .025em; }
.wins-ribbon__item::before {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--pink);
  box-shadow: none;
}

.platform-main { padding-top: 1.9rem; }
.platform-hero {
  min-height: 250px;
  padding: clamp(1.6rem,4vw,3.3rem);
  border: 1px solid var(--ink);
  border-top: 7px solid var(--pink);
  border-radius: 2px;
  color: var(--cream);
  background: var(--ink);
  box-shadow: 9px 9px 0 var(--blue);
}
.platform-hero::before {
  content: "LTFC / LIVE";
  position: absolute;
  right: 1.8rem;
  bottom: .8rem;
  color: rgba(241,237,232,.09);
  font-size: clamp(2.2rem,7vw,7.5rem);
  font-weight: 950;
  letter-spacing: -.07em;
  line-height: .75;
  white-space: nowrap;
}
.platform-hero::after {
  width: 34%;
  height: 100%;
  inset: 0 0 0 auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(115deg, transparent, rgba(255,107,26,.16));
  clip-path: polygon(30% 0,100% 0,100% 100%,0 100%);
}
.platform-hero h1 { max-width: 920px; font-weight: 900; }
.platform-hero h1 span { color: var(--pink); }
.platform-hero p { color: rgba(241,237,232,.7); }
.eyebrow { color: var(--pink); }
.hero-mini-card {
  padding: 1.35rem;
  border: 1px solid var(--cream);
  border-left: 8px solid var(--pink);
  border-radius: 0;
  color: var(--ink);
  background: var(--cream);
  backdrop-filter: none;
  box-shadow: 5px 5px 0 rgba(255,107,26,.8);
}
.hero-mini-card__label { color: var(--pink-deep); }
.hero-mini-card__meta { color: var(--muted); }

.button {
  border-color: var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--blue);
  text-transform: uppercase;
  letter-spacing: .025em;
}
.button:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--blue); }
.button--pink { background: var(--pink); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.button--pink:hover { box-shadow: 5px 5px 0 var(--ink); }
.button--blue { background: var(--blue); color: var(--ink); }
.button--light { background: var(--cream); color: var(--ink); border-color: var(--ink); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }

.tab-strip {
  justify-content: flex-start;
  gap: 0;
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--ink);
}
.tab-button {
  min-width: 220px;
  min-height: 64px;
  border-color: var(--ink);
  border-width: 1px 1px 0 0;
  border-radius: 0;
  background: var(--cream);
  box-shadow: none;
}
.tab-button:first-child { border-left: 1px solid var(--ink); }
.tab-button__icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: .62rem;
  font-weight: 950;
}
.tab-button.is-active {
  color: var(--ink);
  background: var(--pink);
  border-color: var(--ink);
  box-shadow: inset 0 -5px 0 var(--ink);
}
.tab-button.is-active small { color: rgba(43,43,43,.7); }
.tab-button.is-active .tab-button__icon { color: var(--cream); background: var(--ink); }

.section {
  border-color: var(--ink);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(43,43,43,.09);
}
.section__head {
  min-height: 72px;
  color: var(--ink);
  background: var(--blue-soft);
  border-bottom-color: var(--ink);
}
.section__head--gradient {
  color: var(--cream);
  background: var(--ink);
  border-bottom: 6px solid var(--pink);
}
.section__title-icon {
  width: 42px;
  height: 32px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--pink);
  font-size: .68rem;
  letter-spacing: .02em;
}
.section__head--gradient .section__title-icon {
  color: var(--ink);
  background: var(--pink);
  border-color: var(--cream);
}

.metric-card {
  border-color: var(--ink);
  border-radius: 0;
  background: var(--cream);
}
.metric-card:nth-child(even) { background: var(--blue-soft); }
.metric-card--dark,
.metric-card:nth-child(even).metric-card--dark {
  color: var(--cream);
  background: var(--ink);
  border-top: 6px solid var(--pink);
}

.product-card {
  min-height: 278px;
  border-color: var(--ink);
  border-radius: 0;
  background: var(--cream);
  box-shadow: none;
}
.product-card:hover {
  transform: translate(-3px,-3px);
  border-color: var(--ink);
  box-shadow: 7px 7px 0 var(--pink);
}
.product-card h3 { font-size: 1.18rem; }
.product-card__price { border-top: 1px solid var(--ink); }
.product-card__price strong { color: var(--pink-deep); }
.tag {
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--blue-soft);
}
.tag--pink { color: var(--ink); background: var(--pink-soft); }
.tag--green { color: var(--ink); background: #cce7d5; }
.tag--yellow { color: var(--ink); background: var(--yellow); }
.tag--partnership { color: var(--cream); background: var(--ink); }

.filters {
  top: 126px;
  border-color: var(--ink);
  border-radius: 0;
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--blue);
}
.filters__head {
  color: var(--ink);
  background: var(--pink);
  border-bottom: 1px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.field select,
.field input,
.field textarea { border-color: var(--ink); border-radius: 0; background: var(--white); }
.field select:focus,
.field input:focus,
.field textarea:focus { border-color: var(--ink); outline-color: rgba(255,107,26,.3); }
.filter-summary { border: 1px solid var(--ink); border-radius: 0; background: var(--pink-soft); }

.state-tile { border-color: var(--ink); border-radius: 0; background: var(--cream); }
.state-tile[data-stock="high"] { color: var(--ink); background: var(--pink); border-color: var(--ink); }
.state-tile[data-stock="medium"] { background: #f7ad79; border-color: var(--ink); }
.state-tile[data-stock="low"] { background: var(--blue-soft); border-color: var(--ink); }
.state-tile.is-active { color: var(--cream); background: var(--ink); box-shadow: inset 0 -5px 0 var(--pink); }

.progress { border: 1px solid var(--ink); border-radius: 0; background: var(--cream); }
.progress__bar { border-radius: 0; background: var(--pink); }
.rank-card { border-color: var(--ink); border-radius: 0; background: var(--cream); }
.rank-card.is-current { color: var(--ink); background: var(--pink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.rank-card.is-current small { color: rgba(43,43,43,.7); }
.data-table th { color: var(--cream); background: var(--ink); }
.data-table td { border-bottom-color: var(--ink); }
.status-banner { border-color: var(--ink); border-radius: 0; background: var(--blue-soft); }
.platform-footer { border-top: 1px solid var(--ink); }

@media (max-width: 760px) {
  .platform-hero { grid-template-columns: 1fr; border-radius: 2px; }
  .platform-hero::before { display: none; }
  .tab-strip { display: grid; grid-template-columns: 1fr; border: 1px solid var(--ink); }
  .tab-button { min-width: 100%; border: 0; border-bottom: 1px solid var(--ink); }
  .tab-button:first-child { border-left: 0; }
  .tab-button:last-child { border-bottom: 0; }
}

@media (max-width: 1120px) {
  .platform-header__inner { grid-template-columns: minmax(0,1fr) auto; }
  .platform-brand { grid-column: 1; grid-row: 1; }
  .platform-actions { grid-column: 2; grid-row: 1; }
  .platform-nav { grid-column: 1 / -1; grid-row: 2; }
}

/* Dashboard parity ---------------------------------------------------------
   The dashboard is the signed-in design source of truth: warm canvas,
   charcoal structure, orange action color, compact radii, and one spacing
   rhythm. These overrides keep marketplace functionality intact while
   removing the old blue/pink visual jump. */
:root {
  --blue: #cdc0b1;
  --blue-soft: #e5d5c3;
  --pink: #ff6b1a;
  --pink-deep: #d94f00;
  --pink-soft: #fbd4b7;
  --cream: #f1ede8;
  --white: #fbfaf7;
  --ink: #2b2b2b;
  --muted: #625e59;
  --line: rgba(43,43,43,.24);
  --shadow: 7px 7px 0 rgba(43,43,43,.12);
  --shadow-pink: 0 8px 20px rgba(255,107,26,.18);
  --radius: 6px;
  --max: 1440px;
}

body {
  background:
    linear-gradient(rgba(43,43,43,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,43,43,.035) 1px, transparent 1px),
    var(--cream);
  background-size: 48px 48px;
}

.platform-main { padding-block: 1.5rem 3rem; }
.platform-hero {
  min-height: 260px;
  border: 0;
  border-radius: 6px;
  color: var(--cream);
  background: var(--ink);
  box-shadow: var(--shadow);
}
.platform-hero::before { display: none; }
.platform-hero::after {
  inset: auto -10% -80% 42%;
  width: auto;
  height: 430px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,26,.72), rgba(255,107,26,0) 68%);
  clip-path: none;
}
.platform-hero h1 { font-weight: 850; }
.platform-hero h1 span { color: var(--pink); }
.hero-mini-card {
  border: 1px solid rgba(241,237,232,.18);
  border-left: 1px solid rgba(241,237,232,.18);
  border-radius: 6px;
  color: var(--cream);
  background: rgba(241,237,232,.08);
  box-shadow: none;
}
.hero-mini-card__label { color: var(--pink); }
.hero-mini-card__meta { color: rgba(241,237,232,.64); }

.button {
  border-color: transparent;
  border-radius: 999px;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
}
.button:hover { transform: translateY(-1px); box-shadow: none; }
.button--pink { color: #fff; background: var(--pink); box-shadow: var(--shadow-pink); }
.button--pink:hover { box-shadow: var(--shadow-pink); }
.button--blue { color: var(--ink); background: var(--surface-strong, #e5d5c3); }
.button--light,
.button--ghost { color: var(--ink); border-color: var(--line); background: var(--white); }

.tab-strip { gap: .55rem; border-bottom: 0; }
.tab-button {
  min-width: 190px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: none;
}
.tab-button:first-child { border-left: 1px solid var(--line); }
.tab-button__icon { border-color: var(--line); border-radius: 4px; }
.tab-button.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: inset 0 -4px 0 var(--pink);
}
.tab-button.is-active small { color: rgba(241,237,232,.7); }
.tab-button.is-active .tab-button__icon { color: var(--ink); background: var(--pink); }

.section {
  margin-top: 1.25rem;
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.section__head {
  min-height: 68px;
  color: var(--ink);
  background: var(--surface-strong, #e5d5c3);
  border-bottom-color: var(--line);
}
.section__head--gradient { color: var(--cream); background: var(--ink); border-bottom: 4px solid var(--pink); }
.section__title-icon {
  width: 38px;
  height: 34px;
  border-color: var(--line);
  border-radius: 4px;
  background: var(--pink-soft);
  color: var(--pink-deep);
}
.section__head--gradient .section__title-icon { border-color: rgba(241,237,232,.24); color: #fff; background: var(--pink); }

.metric-card,
.product-card,
.rank-card,
.state-tile {
  border-color: var(--line);
  border-radius: 4px;
  background: var(--white);
}
.metric-card:nth-child(even) { background: var(--surface-strong, #e5d5c3); }
.metric-card--dark,
.metric-card:nth-child(even).metric-card--dark { color: var(--cream); background: var(--ink); border-top: 4px solid var(--pink); }
.product-card { min-height: 265px; }
.product-card:hover { transform: translateY(-3px); border-color: var(--pink); box-shadow: 0 14px 30px rgba(43,43,43,.1); }
.product-card__price { border-top-color: var(--line); }
.tag { border-color: var(--line); border-radius: 999px; }

.filters {
  top: 124px;
  border-color: var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.filters__head { color: var(--cream); background: var(--ink); border-bottom-color: var(--line); text-transform: none; letter-spacing: 0; }
.field select,
.field input,
.field textarea { border-color: var(--line); border-radius: 4px; background: var(--white); }
.filter-summary,
.status-banner { border-color: var(--line); border-radius: 4px; }
.state-tile[data-stock="high"] { color: #fff; background: #8b2d2d; border-color: #8b2d2d; }
.state-tile[data-stock="medium"] { background: #f4ae75; border-color: var(--line); }
.state-tile[data-stock="low"] { background: var(--surface-strong, #e5d5c3); border-color: var(--line); }
.state-tile.is-active { color: var(--cream); background: var(--ink); box-shadow: inset 0 -4px 0 var(--pink); }
.progress { border-color: var(--line); border-radius: 999px; }
.progress__bar { border-radius: inherit; background: var(--pink); }
.rank-card.is-current { color: var(--cream); background: var(--ink); border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--pink); }
.rank-card.is-current small { color: rgba(241,237,232,.68); }
.data-table td { border-bottom-color: var(--line); }
.platform-footer { border-top-color: var(--line); }

@media (max-width: 760px) {
  .platform-hero { border-radius: 6px; }
  .tab-strip { display: flex; border: 0; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .tab-button { min-width: 190px; border: 1px solid var(--line); }
  .tab-button:first-child { border-left: 1px solid var(--line); }
}

/* Marketplace decision layer -------------------------------------------- */
.platform-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.35rem;
}
.platform-hero__actions .button { min-height: 44px; }
.platform-hero__spanish {
  color: var(--cream);
  border-color: rgba(241,237,232,.36);
  background: transparent;
}
.platform-hero__spanish:hover { color: var(--ink); background: var(--cream); }

.catalog-guidance {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--pink);
  border-radius: 4px;
  background: #fff7f0;
  font-size: .82rem;
}
.catalog-guidance strong { white-space: nowrap; }
.catalog-guidance span { color: var(--muted); }

.fresh-tier-controls {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
}
.fresh-tier-controls > span {
  padding-inline: .35rem;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fresh-tier-controls__buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.fresh-tier-button {
  display: grid;
  gap: .15rem;
  min-height: 58px;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  text-align: left;
  cursor: pointer;
}
.fresh-tier-button strong { font-size: .86rem; }
.fresh-tier-button small { color: var(--muted); font-size: .69rem; }
.fresh-tier-button.is-active {
  color: var(--cream);
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: inset 4px 0 0 var(--pink);
}
.fresh-tier-button.is-active small { color: rgba(241,237,232,.7); }
.fresh-tier-button:focus-visible { outline: 3px solid rgba(255,107,26,.35); outline-offset: 2px; }

.product-card__facts {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: .45rem;
  margin-top: .8rem;
}
.product-card__badge-set { display: flex; flex-wrap: wrap; gap: .35rem; }
.product-card__fact {
  min-width: 0;
  padding: .55rem .6rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
}
.product-card__fact small {
  display: block;
  margin-bottom: .16rem;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.product-card__fact strong {
  display: block;
  overflow: hidden;
  font-size: .75rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card__availability { margin-top: .7rem; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.product-card__price > span:first-child { display: grid; gap: .1rem; }
.product-card__price-label { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-card__price strong { font-size: 1.18rem; }

@media (max-width: 760px) {
  .platform-hero__actions { display: grid; }
  .platform-hero__actions .button { width: 100%; }
  .catalog-guidance { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .fresh-tier-controls { grid-template-columns: 1fr; }
  .fresh-tier-controls__buttons { grid-template-columns: 1fr; }
}

/* Compact platform navigation ------------------------------------------- */
.platform-nav-toggle {
  display: none;
  min-height: 38px;
  align-items: center;
  gap: .5rem;
  padding-inline: .8rem;
  border: 1px solid rgba(241,237,232,.24);
  border-radius: 999px;
  color: #f1ede8;
  background: rgba(241,237,232,.08);
  font-size: .78rem;
  font-weight: 800;
}
.platform-nav-toggle__icon { width: 15px; display: grid; gap: 3px; }
.platform-nav-toggle__icon::before,
.platform-nav-toggle__icon::after,
.platform-nav-toggle__icon span {
  content: "";
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

@media (max-width: 680px) {
  .platform-header__inner {
    min-height: 60px;
    grid-template-columns: minmax(0,1fr) auto;
    gap: .65rem;
    padding-block: .55rem;
  }
  .platform-brand {
    max-width: 170px;
    overflow: hidden;
    font-size: .92rem;
    line-height: 1.05;
    text-overflow: ellipsis;
  }
  .platform-actions { justify-self: end; gap: .45rem; }
  .platform-nav-toggle { display: inline-flex; }
  .platform-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .35rem;
    width: 100%;
    overflow: visible;
    padding: 0 0 .2rem;
  }
  .platform-header.is-navigation-open .platform-nav { display: grid; }
  .platform-nav a {
    min-width: 0;
    padding: .65rem .7rem;
    border: 1px solid rgba(241,237,232,.12);
    border-radius: 5px;
    background: rgba(241,237,232,.045);
    font-size: .75rem;
    text-align: left;
  }
  .platform-buy { display: none; }
  .wins-ribbon__label { display: none; }
}
