:root {
  --purple-950: #281233;
  --purple-900: #381745;
  --purple-800: #4b2064;
  --purple-700: #5b287c;
  --purple-600: #71359a;
  --purple-100: #efe7f4;
  --purple-50: #f8f3fb;
  --rose: #cbb5b0;
  --rose-light: #eadfdd;
  --ink: #1f1a22;
  --muted: #6c6570;
  --line: #e6e0e7;
  --surface: #ffffff;
  --canvas: #f6f4f7;
  --warning: #8a5c12;
  --shadow: 0 18px 50px rgba(49, 27, 57, .11);
  --radius-lg: 24px;
  --radius-md: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .8rem 1rem; border-radius: .5rem; background: white; color: var(--purple-800); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 82px; padding: .7rem clamp(1rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: white; background: rgba(40, 18, 51, .96); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: white; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1rem; line-height: 1.2; }
.brand small { margin-top: .15rem; color: var(--rose-light); font-size: .8rem; }
.topbar nav { display: flex; align-items: center; gap: 1.4rem; }
.topbar nav a { color: #f5eef7; text-decoration: none; font-weight: 600; font-size: .92rem; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: white; text-decoration: underline; text-underline-offset: .35rem; }
main { overflow: hidden; }
.intro { position: relative; padding: clamp(2rem, 3.8vw, 3.5rem) clamp(1rem, 7vw, 7.5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); align-items: center; gap: clamp(2rem, 5vw, 6rem); color: white; background: radial-gradient(circle at 82% 22%, rgba(217,198,194,.32), transparent 22rem), linear-gradient(130deg, var(--purple-950), var(--purple-800) 62%, #6e3a85); }
.intro::before, .intro::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; pointer-events: none; }
.intro::before { width: 36rem; height: 36rem; right: -11rem; top: -20rem; }
.intro::after { width: 25rem; height: 25rem; right: 2rem; top: -15rem; }
.intro-copy, .intro-panel { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 .6rem; color: var(--purple-600); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.intro .eyebrow { color: #dbc9df; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1rem; max-width: 18ch; font-size: clamp(2.5rem, 4.7vw, 4.25rem); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 58ch; margin-bottom: 1.4rem; color: #eadfeb; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.marketplaces { display: flex; flex-wrap: wrap; gap: .55rem; }
.marketplaces span { padding: .38rem .7rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #f5eef6; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.07); }
.intro-panel { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.seal-wrap { grid-row: span 2; min-height: 160px; padding: .8rem; display: grid; place-items: center; border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.seal-wrap img { max-height: 150px; object-fit: contain; }
.stat { min-height: 76px; padding: .85rem; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-md); background: rgba(255,255,255,.08); }
.stat:last-child { grid-column: 2; }
.stat strong { font-size: 1.25rem; line-height: 1.1; }
.stat span { margin-top: .3rem; color: #d8ccd9; font-size: .78rem; }
.catalog-shell { width: min(1440px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.catalog-heading { margin-bottom: 1.6rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.catalog-heading h2, .help-strip h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.035em; }
.source-note { max-width: 46ch; margin-bottom: .25rem; color: var(--muted); font-size: .9rem; text-align: right; }
.search-panel { padding: .8rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 8px 30px rgba(48, 30, 56, .06); }
.search-box { min-height: 54px; padding: 0 .9rem; display: flex; align-items: center; gap: .75rem; border: 2px solid transparent; border-radius: 12px; background: var(--purple-50); }
.search-box:focus-within { border-color: var(--purple-600); background: white; }
.search-box span { color: var(--purple-700); line-height: 0; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.search-box input::placeholder { color: #8f8792; }
kbd { padding: .2rem .42rem; border: 1px solid #d9d0dc; border-bottom-width: 2px; border-radius: .35rem; color: var(--muted); background: white; font-family: inherit; font-size: .72rem; white-space: nowrap; }
.check-filter { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; font-weight: 650; font-size: .88rem; white-space: nowrap; }
.check-filter input { width: 1.05rem; height: 1.05rem; accent-color: var(--purple-700); }
.category-row { margin: 1rem 0 .6rem; padding-bottom: .35rem; display: flex; gap: .55rem; overflow-x: auto; scrollbar-width: thin; }
.filter-chip { padding: .58rem .85rem; border: 1px solid #dcd4df; border-radius: 999px; color: #4f4652; background: white; font-size: .84rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.filter-chip:hover { border-color: var(--purple-600); color: var(--purple-700); }
.filter-chip[aria-pressed="true"] { border-color: var(--purple-700); color: white; background: var(--purple-700); }
.result-line { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.result-line p { margin: 0; color: var(--muted); font-size: .9rem; }
.result-line strong { color: var(--ink); }
.text-button { border: 0; color: var(--purple-700); background: transparent; font-weight: 750; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.product-grid { margin-top: .7rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-card { min-height: 390px; padding: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 6px 22px rgba(40, 25, 46, .035); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-cover { width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: #fff; }
.product-cover img { width: 100%; height: 100%; object-fit: contain; }
.product-card-body { padding: 1.15rem 1.25rem 1.25rem; display: flex; flex: 1; flex-direction: column; }
.product-card:hover { transform: translateY(-3px); border-color: #cbbad1; box-shadow: 0 16px 34px rgba(45, 26, 54, .1); }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: .8rem; }
.sku { color: var(--purple-700); font-size: .77rem; font-weight: 850; letter-spacing: .08em; }
.category-pill { display: inline-flex; padding: .25rem .55rem; border-radius: 999px; color: #5b4f5e; background: #f0ecef; font-size: .72rem; font-weight: 750; }
.product-card h3 { margin: 1rem 0 .7rem; font-size: 1.08rem; line-height: 1.3; letter-spacing: -.015em; }
.card-meta { margin: auto 0 1rem; padding-top: .85rem; display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; border-top: 1px solid #eee8ef; }
.card-meta span { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
.card-meta strong { display: block; margin-top: .18rem; font-size: .88rem; }
.card-meta .pending { color: var(--warning); }
.card-action { width: 100%; min-height: 42px; border: 1px solid var(--purple-700); border-radius: 10px; color: var(--purple-700); background: transparent; font-weight: 780; cursor: pointer; }
.card-action:hover, .card-action:focus-visible { color: white; background: var(--purple-700); }
.empty-state { margin-top: 1rem; padding: 4rem 1rem; border: 1px dashed #cfc4d2; border-radius: var(--radius-md); text-align: center; background: white; }
.empty-state strong { font-size: 1.25rem; }
.empty-state p { color: var(--muted); }
.button { min-height: 46px; padding: .7rem 1rem; border-radius: 10px; font-weight: 780; cursor: pointer; }
.button.primary { border: 1px solid var(--purple-700); color: white; background: var(--purple-700); }
.button.primary:hover { background: var(--purple-800); }
.button.secondary { border: 1px solid #d8cedb; color: #443a46; background: white; }
.button.secondary:hover { border-color: var(--purple-600); color: var(--purple-700); }
.help-strip { margin: 0 auto clamp(3rem, 7vw, 6rem); width: min(1200px, calc(100% - 2rem)); padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: center; border-radius: var(--radius-lg); background: var(--rose-light); }
.help-strip ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; }
.help-strip li { font-weight: 700; }
.help-strip li span { width: 2rem; height: 2rem; margin-bottom: .6rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--purple-700); }
.footer { padding: 2rem clamp(1rem, 5vw, 5rem); display: flex; justify-content: space-between; gap: 2rem; color: #d9cfdc; background: var(--purple-950); font-size: .85rem; }
.footer strong, .footer span { display: block; }
.footer strong { color: white; font-size: 1rem; }
.footer p { max-width: 55ch; margin: 0; text-align: right; }
.product-dialog { width: min(920px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: var(--radius-lg); color: var(--ink); background: white; box-shadow: 0 30px 90px rgba(20, 10, 25, .35); }
.product-dialog::backdrop { background: rgba(27, 14, 33, .72); backdrop-filter: blur(5px); }
.dialog-layout { max-height: calc(100dvh - 1.5rem); display: flex; flex-direction: column; }
.dialog-header { padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.dialog-sku { margin: .35rem 0 0; color: var(--purple-700); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; cursor: pointer; }
.icon-button:hover { color: white; background: var(--purple-700); }
.dialog-body { padding: clamp(1.15rem, 3vw, 2rem); overflow-y: auto; }
.dialog-product-title { margin-bottom: 1.35rem; display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; align-items: center; }
.dialog-product-title img { width: 150px; height: 150px; object-fit: contain; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.dialog-product-title h2 { max-width: 28ch; margin: .25rem 0 0; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; letter-spacing: -.035em; }
.detail-label { color: var(--purple-600); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.copy-section { margin-bottom: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.section-heading { padding: .7rem .85rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--purple-50); }
.section-heading h3 { margin: 0; font-size: .88rem; }
.copy-button { padding: .4rem .65rem; border: 1px solid #cfc0d5; border-radius: 8px; color: var(--purple-700); background: white; font-size: .76rem; font-weight: 800; cursor: pointer; }
.copy-button:hover { color: white; background: var(--purple-700); }
.copy-content { padding: 1rem; color: #443d46; white-space: pre-line; }
.copy-content.title-content { font-weight: 750; }
.keyword-list { padding: .9rem 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.keyword-chip { padding: .4rem .65rem; border-radius: 999px; color: var(--purple-800); background: var(--purple-100); font-size: .8rem; font-weight: 700; }
.strategy-grid { margin-bottom: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.strategy-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); }
.strategy-card ul { margin: 0; padding: .8rem 1rem; list-style: none; }
.strategy-card li { padding: .65rem .75rem; border-left: 3px solid var(--rose); background: #faf7fa; }
.strategy-card li + li { margin-top: .55rem; }
.sales-angles { padding: .7rem 1rem 1rem; display: grid; gap: .65rem; }
.sales-angle { padding: .7rem .8rem; border-left: 3px solid var(--rose); background: #faf7fa; }
.sales-angle strong { display: block; font-size: .88rem; }
.sales-angle span { display: block; margin-top: .2rem; color: var(--muted); font-size: .8rem; }
.info-grid { margin: 1.25rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.info-card { padding: .9rem; border-radius: 12px; background: #f6f3f6; }
.info-card span { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.info-card strong { display: block; margin-top: .25rem; word-break: break-word; }
.detail-section { margin: 1rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); }
.detail-section h3 { margin: 0 0 .7rem; font-size: 1rem; }
.detail-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; }
.detail-grid div { min-width: 0; padding-top: .55rem; border-top: 1px solid #eee8ef; }
.detail-grid dt { color: var(--muted); font-size: .75rem; }
.detail-grid dd { margin: .15rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.detail-grid .pending { color: #786c7a; font-weight: 500; }
.detail-source { margin: .8rem 0 0; color: var(--muted); font-size: .78rem; }
.measure-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.measure-columns section { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); }
.measure-columns h3 { margin-bottom: .2rem; font-size: 1rem; }
.measure-columns p { margin-bottom: .8rem; color: var(--muted); font-size: .8rem; }
.measure-columns dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .8rem; }
.measure-columns dl div { padding-top: .5rem; border-top: 1px solid #eee8ef; }
.measure-columns dt { color: var(--muted); font-size: .72rem; }
.measure-columns dd { margin: .1rem 0 0; font-weight: 750; }
.review-note { margin: 1rem 0 0; padding: .85rem 1rem; border-left: 3px solid var(--rose); color: #5c525d; background: #fbf8fa; font-size: .84rem; }
.asset-section { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); }
.asset-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.asset-heading h3 { margin-bottom: .2rem; }
.asset-heading p { margin: 0; color: var(--muted); font-size: .82rem; }
.button.compact { min-height: 38px; padding: .45rem .7rem; font-size: .78rem; }
.asset-gallery { margin-top: 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.asset-color-note { grid-column: 1 / -1; margin: 0; padding: .7rem .85rem; border-radius: 10px; background: #f6edf7; color: #4d2855; font-size: .82rem; }
.asset-item { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #f7f4f7; }
.asset-item img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.asset-color { position: absolute; left: .4rem; top: .4rem; padding: .25rem .45rem; border-radius: 7px; background: rgba(255,255,255,.92); color: #3a2940; font-size: .7rem; font-weight: 750; }
.asset-item a { position: absolute; right: .4rem; bottom: .4rem; padding: .35rem .5rem; border-radius: 8px; color: white; background: rgba(40,18,51,.9); font-size: .72rem; font-weight: 750; text-decoration: none; }
.asset-empty { grid-column: 1 / -1; padding: 1.2rem; color: var(--muted); text-align: center; border: 1px dashed #cfc4d2; border-radius: 12px; }
.dialog-footer { padding: 1rem 1.25rem; display: flex; justify-content: flex-end; gap: .7rem; border-top: 1px solid var(--line); background: white; }
.toast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 100; max-width: calc(100% - 2rem); padding: .75rem 1rem; border-radius: 999px; color: white; background: var(--purple-950); box-shadow: var(--shadow); font-weight: 750; transform: translate(-50%, 120px); opacity: 0; transition: .22s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
:focus-visible { outline: 3px solid #c38aea; outline-offset: 3px; }
@media (max-width: 980px) {
  .intro { grid-template-columns: 1fr; }
  .intro-copy { max-width: 760px; }
  .intro-panel { max-width: 580px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-strip { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .topbar { min-height: 70px; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: .9rem; }
  .topbar nav a:first-child { display: none; }
  .topbar nav a { font-size: .78rem; }
  .intro { padding: 1.6rem 1rem 1.8rem; gap: 1rem; }
  h1 { max-width: none; font-size: clamp(2.2rem, 11vw, 3rem); }
  .lead { margin-bottom: .9rem; font-size: 1rem; }
  .marketplaces { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .2rem; }
  .intro-panel { display: none; }
  .catalog-shell { padding-top: 1.5rem; }
  .catalog-heading { align-items: start; flex-direction: column; gap: .7rem; }
  .source-note { display: none; }
  .search-panel { grid-template-columns: 1fr; }
  kbd { display: none; }
  .check-filter { padding: .25rem .2rem .4rem; }
  .product-grid { grid-template-columns: 1fr; }
  .help-strip ol { grid-template-columns: 1fr; }
  .help-strip li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .7rem; }
  .help-strip li span { margin: 0; }
  .footer { flex-direction: column; }
  .footer p { text-align: left; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .measure-columns { grid-template-columns: 1fr; }
  .strategy-grid { grid-template-columns: 1fr; }
  .asset-gallery { grid-template-columns: repeat(2, 1fr); }
  .dialog-product-title { grid-template-columns: 92px 1fr; }
  .dialog-product-title img { width: 92px; height: 92px; }
  .dialog-footer .button { flex: 1; }
}
@media (max-width: 430px) {
  .brand small { display: none; }
  .topbar nav a { max-width: 9rem; text-align: right; }
  .info-grid { grid-template-columns: 1fr; }
  .dialog-footer { flex-direction: column-reverse; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
