.page-products{
  background:var(--ink-900);
  color:var(--text-100);
  font-family:var(--font-body);
  overflow-x:hidden;
}
.page-products .px-wrap{width:var(--shell);margin-inline:auto;}
.page-products .breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:16px 0 0;
  font-family:var(--font-label);
  font-size:12px;
  letter-spacing:.04em;
  color:var(--muted);
}
.page-products .breadcrumbs a{color:var(--muted);text-decoration:none;}
.page-products .breadcrumbs a:hover{color:var(--green);}
.page-products .px-section{padding:44px 0;}
.page-products .px-section--paper{background:var(--paper-100);color:var(--ink-900);}
.page-products .px-section--core{background:var(--ink-950);}
.page-products .px-section--timeline{
  background:var(--ink-800);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* ---------- hero ---------- */
.page-products .px-hero{position:relative;padding:24px 0 44px;}
.page-products .px-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(120% 80% at 92% -10%, rgba(37,201,133,.18), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(255,122,26,.12), transparent 60%),
    repeating-linear-gradient(180deg, rgba(255,248,238,.035) 0 1px, transparent 1px 4px);
}
.page-products .px-hero-grid{position:relative;display:grid;gap:30px;}
.page-products .px-hero h1{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(30px,7vw,52px);
  line-height:1.02;
  letter-spacing:-.01em;
  margin:8px 0 14px;
  max-width:16em;
}
.page-products .px-hero .lead{
  font-size:16px;
  line-height:1.75;
  color:var(--muted);
  margin:0;
  max-width:36em;
}
.page-products .px-hero-figure{
  display:flex;
  align-items:flex-end;
  gap:14px;
  margin:22px 0 20px;
}
.page-products .px-bignum{
  font-family:var(--font-num);
  font-weight:700;
  font-size:clamp(64px,17vw,104px);
  line-height:.78;
  letter-spacing:-.05em;
  color:var(--orange);
}
.page-products .px-bignum-label{
  font-family:var(--font-label);
  font-size:12px;
  line-height:1.7;
  color:var(--text-100);
  border-left:2px solid var(--green);
  padding-left:10px;
  max-width:11em;
}
.page-products .px-hero-actions{display:flex;flex-wrap:wrap;gap:10px;}
.page-products .px-hero-facts{
  list-style:none;
  display:grid;
  gap:8px;
  grid-template-columns:minmax(0,1fr);
  margin:24px 0 0;
  padding:0;
}
.page-products .px-hero-facts li{
  border-top:1px solid var(--line);
  padding-top:8px;
  font-size:13px;
  line-height:1.6;
  color:var(--muted);
}
.page-products .px-hero-facts strong{
  display:block;
  font-family:var(--font-num);
  font-size:20px;
  line-height:1.2;
  color:var(--green);
}
.page-products .px-hero-visual{
  position:relative;
  transform:rotate(-1.5deg);
  border:var(--edge);
  background:var(--ink-800);
  box-shadow:var(--shadow-card);
}
.page-products .px-hero-visual img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
  filter:saturate(.92) contrast(1.05);
}
.page-products .px-hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:repeating-linear-gradient(0deg, rgba(11,27,43,.32) 0 1px, transparent 1px 3px);
  mix-blend-mode:multiply;
}
.page-products .px-hero-tag{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  background:var(--orange);
  color:var(--ink-900);
  font-family:var(--font-label);
  font-size:11px;
  font-weight:600;
  letter-spacing:.06em;
  padding:4px 8px;
}

/* ---------- section head ---------- */
.page-products .px-head{max-width:44em;margin-bottom:20px;}
.page-products .px-head h2{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(25px,5.4vw,40px);
  line-height:1.06;
  margin:6px 0 10px;
  letter-spacing:-.005em;
}
.page-products .px-head-note{
  font-size:15px;
  line-height:1.75;
  margin:0;
  color:var(--muted);
}
.page-products .px-section--paper .px-head-note{color:#3d5162;}
.page-products .px-head--center{max-width:38em;margin-inline:auto;margin-bottom:26px;text-align:left;}

/* ---------- filter ---------- */
.page-products .filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;}
.page-products .filter-btn{
  font-family:var(--font-label);
  font-size:13px;
  padding:7px 13px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:transparent;
  color:var(--text-100);
  cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.page-products .filter-btn:hover{border-color:var(--green);color:var(--green);}
.page-products .filter-btn.is-active,
.page-products .filter-btn[aria-pressed="true"]{
  background:var(--green);
  border-color:var(--green);
  color:var(--ink-900);
  font-weight:700;
}
.page-products .filter-status{
  font-family:var(--font-label);
  font-size:12px;
  color:var(--muted);
  margin:0 0 16px;
}
.page-products .filter-empty{
  margin:16px 0 0;
  padding:18px;
  border:1px dashed var(--line);
  color:var(--muted);
  font-size:14px;
}

/* ---------- bento ---------- */
.page-products .px-bento{
  display:grid;
  gap:12px;
  grid-template-columns:minmax(0,1fr);
}
.page-products .px-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:8px;
  background:var(--paper-100);
  color:var(--ink-900);
  border:1px solid var(--line);
  padding:16px 16px 18px;
  box-shadow:4px 4px 0 rgba(3,10,17,.5);
}
.page-products .px-card[hidden]{display:none;}
.page-products .px-card--feature{border-top:4px solid var(--green);}
.page-products .px-card--orange{border-top-color:var(--orange);}
.page-products .px-card--red{border-top-color:var(--red);}
.page-products .px-card--yellow{border-top-color:var(--yellow);}
.page-products .px-card-idx{
  font-family:var(--font-num);
  font-weight:700;
  font-size:12px;
  letter-spacing:.08em;
  color:var(--orange);
}
.page-products .px-card--red .px-card-idx{color:var(--red);}
.page-products .px-card-title{
  font-family:var(--font-display);
  font-weight:800;
  font-size:21px;
  line-height:1.12;
  margin:0;
}
.page-products .px-card--feature .px-card-title{font-size:27px;}
.page-products .px-card-text{
  margin:0;
  font-size:14px;
  line-height:1.65;
  color:#22323f;
}
.page-products .px-card .tag{align-self:flex-start;margin-top:auto;}

/* ---------- core modules ---------- */
.page-products .px-core{display:grid;gap:14px;}
.page-products .px-mod{
  display:grid;
  gap:18px;
  padding:20px;
  border:1px solid var(--line);
  background:linear-gradient(155deg, var(--ink-800), var(--ink-950) 78%);
}
.page-products .px-mod-num{
  display:block;
  font-family:var(--font-num);
  font-weight:700;
  font-size:clamp(44px,11vw,68px);
  line-height:.8;
  color:rgba(255,122,26,.9);
  margin-bottom:8px;
}
.page-products .px-mod-title{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(21px,4.4vw,28px);
  line-height:1.15;
  margin:0 0 10px;
}
.page-products .px-mod-text{
  margin:0;
  font-size:15px;
  line-height:1.78;
  color:var(--muted);
}
.page-products .px-chips{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:14px 0 0;
  padding:0;
}
.page-products .px-chips li{
  font-family:var(--font-label);
  font-size:12px;
  padding:4px 8px;
  border:1px solid var(--line);
  color:var(--text-100);
  background:rgba(11,27,43,.55);
}
.page-products .px-mod-media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
  border:1px solid var(--line);
  box-shadow:var(--shadow-card);
  transform:rotate(-1.2deg);
}

/* ---------- scenes ---------- */
.page-products .px-scenes{display:grid;gap:14px;}
.page-products .px-scene{
  position:relative;
  background:var(--paper-200);
  border:1px solid rgba(11,27,43,.28);
  padding:18px;
  box-shadow:4px 4px 0 rgba(11,27,43,.16);
}
.page-products .px-scene::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:4px;
  background:var(--green);
}
.page-products .px-scene--mid::before{background:var(--orange);}
.page-products .px-scene--late::before{background:var(--red);}
.page-products .px-scene-time{
  display:inline-block;
  font-family:var(--font-num);
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  background:var(--ink-900);
  color:var(--text-100);
  padding:4px 8px;
}
.page-products .px-scene h3{
  font-family:var(--font-display);
  font-weight:800;
  font-size:23px;
  line-height:1.15;
  margin:12px 0 8px;
}
.page-products .px-scene p{
  margin:0;
  font-size:15px;
  line-height:1.75;
  color:#22323f;
}
.page-products .px-scene-list{
  list-style:none;
  margin:14px 0 0;
  padding:0;
  display:grid;
  gap:6px;
}
.page-products .px-scene-list li{
  position:relative;
  padding-left:16px;
  font-size:13px;
  line-height:1.6;
  color:#22323f;
}
.page-products .px-scene-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:7px;
  width:7px;
  height:7px;
  background:var(--ink-800);
  transform:rotate(45deg);
}
.page-products .px-scenes-more{margin:20px 0 0;}
.page-products .px-textlink{
  color:var(--orange);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(255,122,26,.5);
  padding-bottom:1px;
}
.page-products .px-section--paper .px-textlink{color:#b2500d;border-bottom-color:rgba(178,80,13,.45);}
.page-products .px-textlink:hover{color:var(--green);border-bottom-color:var(--green);}

/* ---------- entry timeline ---------- */
.page-products .px-entry-grid{display:grid;gap:24px;}
.page-products .px-tl{
  list-style:none;
  position:relative;
  margin:0;
  padding:0 0 0 24px;
  display:grid;
  gap:12px;
}
.page-products .px-tl::before{
  content:"";
  position:absolute;
  left:5px;
  top:10px;
  bottom:10px;
  width:2px;
  background:linear-gradient(180deg,var(--green),var(--orange) 55%,var(--red));
}
.page-products .px-tl-item{position:relative;}
.page-products .px-tl-item::before{
  content:"";
  position:absolute;
  left:-24px;
  top:14px;
  width:12px;
  height:12px;
  background:var(--ink-900);
  border:2px solid var(--green);
  transform:rotate(45deg);
}
.page-products .px-tl-item--orange::before{border-color:var(--orange);}
.page-products .px-tl-item--red::before{border-color:var(--red);}
.page-products .px-tl details{
  border:1px solid var(--line);
  background:rgba(7,19,30,.62);
  padding:12px 14px;
}
.page-products .px-tl summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  align-items:baseline;
  justify-content:space-between;
  font-family:var(--font-display);
  font-weight:700;
  font-size:20px;
  line-height:1.2;
}
.page-products .px-tl summary::-webkit-details-marker{display:none;}
.page-products .px-tl summary::after{
  content:"+";
  font-family:var(--font-num);
  color:var(--green);
  font-size:18px;
}
.page-products .px-tl details[open] summary::after{content:"–";color:var(--orange);}
.page-products .px-tl-when{
  font-family:var(--font-num);
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  color:var(--orange);
  border:1px solid rgba(255,122,26,.5);
  padding:2px 6px;
}
.page-products .px-tl-body{
  padding-top:10px;
  font-size:14px;
  line-height:1.75;
  color:var(--muted);
}
.page-products .px-entry-tip{
  margin:18px 0 0;
  font-size:14px;
  line-height:1.7;
  color:var(--muted);
}
.page-products .px-entry-media{margin:0;}
.page-products .px-entry-media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:11/8;
  object-fit:cover;
  border:var(--edge);
  box-shadow:var(--shadow-card);
  transform:rotate(1.2deg);
}
.page-products .px-entry-media figcaption{
  margin-top:12px;
  font-family:var(--font-label);
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
}

/* ---------- compatibility ---------- */
.page-products .px-compat-grid{
  display:grid;
  gap:10px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-bottom:22px;
}
.page-products .px-browser{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:14px;
  border:1px solid var(--line);
  background:var(--ink-950);
}
.page-products .px-browser-name{
  display:flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-num);
  font-size:14px;
  font-weight:700;
  color:var(--text-100);
}
.page-products .px-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 3px rgba(37,201,133,.16);
  flex:none;
}
.page-products .px-dot--orange{
  background:var(--orange);
  box-shadow:0 0 0 3px rgba(255,122,26,.16);
}
.page-products .px-browser-note{
  font-family:var(--font-label);
  font-size:11px;
  letter-spacing:.04em;
  color:var(--muted);
}
.page-products .px-compat-body{display:grid;gap:22px;}
.page-products .px-compat-folds{display:grid;gap:10px;}
.page-products .px-compat-folds .fold{
  border:1px solid var(--line);
  background:rgba(18,50,74,.4);
  padding:12px 14px;
}
.page-products .px-compat-folds summary{
  cursor:pointer;
  font-family:var(--font-display);
  font-weight:700;
  font-size:18px;
  line-height:1.3;
  color:var(--text-100);
}
.page-products .px-compat-folds summary::marker{color:var(--orange);}
.page-products .px-compat-folds .fold-body{
  padding-top:8px;
  font-size:14px;
  line-height:1.75;
  color:var(--muted);
}
.page-products .px-compat-media{margin:0;}
.page-products .px-compat-media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
  border:var(--edge);
  box-shadow:var(--shadow-card);
}
.page-products .px-compat-media figcaption{
  margin-top:10px;
  font-family:var(--font-label);
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
}

/* ---------- help ---------- */
.page-products .px-section--help{background:var(--ink-950);}
.page-products .px-help{
  display:grid;
  gap:22px;
  background:var(--paper-100);
  color:var(--ink-900);
  border:1px solid var(--line);
  border-top:5px solid var(--orange);
  padding:22px 18px;
  box-shadow:6px 6px 0 rgba(3,10,17,.55);
}
.page-products .px-help h2{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(24px,5vw,34px);
  line-height:1.1;
  margin:6px 0 10px;
}
.page-products .px-help-intro p{
  font-size:15px;
  line-height:1.75;
  color:#22323f;
  margin:0 0 14px;
}
.page-products .copy-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.page-products .copy-btn{
  font-family:var(--font-label);
  font-size:13px;
  padding:8px 14px;
  border:1px solid var(--ink-900);
  background:var(--ink-900);
  color:var(--text-100);
  border-radius:var(--radius);
  cursor:pointer;
}
.page-products .copy-btn:hover{background:var(--ink-800);}
.page-products .copy-btn[data-copied="true"]{background:var(--green);color:var(--ink-900);border-color:var(--green);}
.page-products .copy-status{
  font-family:var(--font-label);
  font-size:12px;
  color:#3d5162;
  margin:0;
  min-height:1em;
}
.page-products .px-help-steps ol{
  list-style:none;
  counter-reset:none;
  margin:0 0 18px;
  padding:0;
  display:grid;
  gap:10px;
}
.page-products .px-help-steps li{
  position:relative;
  padding-left:38px;
  font-size:14px;
  line-height:1.7;
  color:#22323f;
  min-height:26px;
}
.page-products .px-help-steps li .num{
  position:absolute;
  left:0;
  top:0;
  font-family:var(--font-num);
  font-weight:700;
  font-size:13px;
  color:var(--paper-100);
  background:var(--ink-900);
  padding:3px 6px;
}
.page-products .px-help-actions{display:flex;flex-wrap:wrap;gap:10px;}
.page-products .px-help-note{
  margin:14px 0 0;
  font-family:var(--font-label);
  font-size:12px;
  line-height:1.7;
  color:#3d5162;
  word-break:break-word;
}

/* ---------- responsive ---------- */
@media (min-width:640px){
  .page-products .px-bento{grid-template-columns:repeat(2,minmax(0,1fr));}
  .page-products .px-hero-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
  .page-products .px-hero-visual{transform:rotate(-2.5deg);}
  .page-products .px-compat-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .page-products .px-help{padding:28px 24px;}
}

@media (min-width:860px){
  .page-products .px-section{padding:72px 0;}
  .page-products .px-hero{padding:32px 0 60px;}
  .page-products .px-hero-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:center;gap:44px;}
  .page-products .px-head--center{text-align:center;margin-inline:auto;}
  .page-products .px-scenes{grid-template-columns:repeat(3,minmax(0,1fr));}
  .page-products .px-mod{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:34px;padding:30px;}
  .page-products .px-mod--flip .px-mod-media{order:-1;}
  .page-products .px-entry-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:start;gap:40px;}
  .page-products .px-compat-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
  .page-products .px-compat-body{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:start;gap:32px;}
  .page-products .px-help{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:32px;padding:34px 32px;}
}

@media (min-width:1024px){
  .page-products .px-bento{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;}
  .page-products .px-card{grid-column:span 2;}
  .page-products .px-card--feature{grid-column:span 3;}
  .page-products .px-section--timeline .px-head-note{max-width:34em;}
}

@media (prefers-reduced-motion:reduce){
  .page-products .px-hero-visual,
  .page-products .px-mod-media img,
  .page-products .px-entry-media img{transform:none;}
  .page-products .filter-btn{transition:none;}
}
