
/* Single light theme on purpose: it matches the Nepalstore website.
   Layout: website header → small page hero → the tool (settings tabs on the left, cutting-mat preview on the right) → how it works → website footer */
.ps-page{
  --bg: #F7F4EF; --panel: #FFFFFF; --ink: #14181F; --muted: #5A6272; --line: #E8E3DA; --chip: #F2EEE7; --navy: #101826;
  --accent: #C8102E; --accent-ink: #FFFFFF; --accent-soft: #FBE7EA; --accent-deep: #8E0F24;
  --mat: #1F4438; --mat-ink: #E8F1EC; --mat-soft: rgba(255,255,255,0.11); --mat-line: rgba(255,255,255,0.07);
  --good: #1F8F4E; --warn: #B7791F; --bad: #C8102E;
  --f-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
.ps-page *{ box-sizing: border-box }
.ps-page [hidden]{ display: none !important }
.ps-page{ background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 13px; margin: 0 }
.ps-page button, .ps-page input, .ps-page select, .ps-page textarea{ font: inherit; color: inherit }
.ps-page :focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px }
.ps-page a{ color: inherit }
.ps-page .in{ max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }

/* website header */
.ps-page .site{ background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20 }

.ps-page .site .in{ display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; padding-block: 10px }
.ps-page .logo{ display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto }
.ps-page .logo img{ width: 42px; height: 42px; border-radius: 50%; object-fit: cover }
.ps-page .logo span{ font-family: var(--f-display); font-weight: 800; font-size: 22px }
.ps-page .logo em{ font-style: normal; color: var(--accent) }
.ps-page .nav{ display: flex; gap: 22px; flex-wrap: wrap }
.ps-page .nav a{ text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent }
.ps-page .nav a:hover, .ps-page .nav a[aria-current]{ color: var(--accent); border-bottom-color: var(--accent) }
.ps-page .wa{ background: var(--good); color: #FFFFFF; text-decoration: none; font-weight: 800; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center }
@media (max-width: 760px){ .ps-page .nav{ order: 3; width: 100%; overflow-x: auto; gap: 16px } .ps-page .nav a{ white-space: nowrap; font-size: 13.5px } }
.ps-page .ticker{ background: var(--navy); color: #E9ECF2; font-size: 12.5px; font-weight: 600; overflow: hidden; white-space: nowrap }
.ps-page .tk{ display: inline-flex; gap: 22px; padding: 8px 0; animation: tk 42s linear infinite }
.ps-page .tk i{ font-style: normal; color: #5A6478 }
@keyframes tk{ from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* page hero */
.ps-page .hero{ padding-block: 22px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 24px }
.ps-page .crumb{ font-size: 12.5px; font-weight: 700; color: var(--muted); display: flex; gap: 6px }
.ps-page .crumb a{ text-decoration: none }
.ps-page .hero h1{ margin: 8px 0 6px; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.03em; line-height: 1 }
.ps-page .hero h1 span{ color: var(--accent) }
.ps-page .hero p{ margin: 0; font-size: 15px; color: var(--muted); max-width: 58ch; line-height: 1.5 }
.ps-page .chips{ display: flex; flex-wrap: wrap; gap: 8px }
.ps-page .chip{ display: inline-flex; align-items: center; gap: 7px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 800 }
.ps-page .chip svg{ color: var(--good) }

/* the tool */
.ps-page .tool-wrap{ padding-bottom: 8px }
.ps-page .studio{ display: grid; grid-template-columns: 320px minmax(0, 1fr); height: 720px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(16,24,38,0.07) }
.ps-page .side{ display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line) }
.ps-page .tabs{ display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--chip); flex: none }
.ps-page .tabs button{ border: 0; background: transparent; padding: 10px 2px 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent }
.ps-page .tabs button svg{ width: 18px; height: 18px }
.ps-page .tabs button[aria-selected="true"]{ color: var(--accent); background: var(--panel); border-bottom-color: var(--accent) }
.ps-page .panels{ overflow-y: auto; min-height: 0; flex: 1 1 auto }
.ps-page .panel{ padding: 14px; display: flex; flex-direction: column; gap: 12px }
.ps-page .ph-h{ display: flex; justify-content: space-between; align-items: baseline; gap: 8px }
.ps-page .ph-h h2{ margin: 0; font-size: 15px; font-weight: 800 }
.ps-page .ph-h span{ font-size: 11.5px; color: var(--muted); font-weight: 700 }
.ps-page label.f, .ps-page .f{ display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 800; color: var(--ink); min-width: 0 }
.ps-page .f small{ font-weight: 600; color: var(--muted) }
.ps-page select, .ps-page input[type=number], .ps-page input[type=text], .ps-page textarea{ width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); font-weight: 600; font-size: 13px; min-width: 0 }
.ps-page select:hover, .ps-page input:hover{ border-color: #D3CCC0 }
.ps-page input[type=color]{ width: 100%; height: 35px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); padding: 3px }
.ps-page input[type=range]{ width: 100%; accent-color: var(--accent) }
.ps-page .row2{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.ps-page .row3{ display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px }
.ps-page .guide{ margin: -4px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted) }
.ps-page .seg{ display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px }
.ps-page .seg button{ min-height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); font-weight: 800; font-size: 12.5px; cursor: pointer; padding: 0 6px }
.ps-page .seg button[aria-pressed="true"]{ background: #EEF1FF; border-color: #C7CEF5; color: #3B4BD8 }
.ps-page .check{ display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 12.5px; cursor: pointer }
.ps-page .check input{ width: 17px; height: 17px; accent-color: var(--accent); flex: none; margin: 0 }
.ps-page .label{ font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted) }
.ps-page hr{ border: 0; border-top: 1px solid var(--line); margin: 2px 0; width: 100% }
.ps-page .drop{ position: relative; border: 2px dashed #D9D2C6; border-radius: 12px; padding: 14px 12px; text-align: center; display: flex; flex-direction: column; gap: 3px; align-items: center; cursor: pointer; transition: border-color .15s, background .15s; background: #FCFBF9 }
.ps-page .drop svg{ color: var(--accent) }
.ps-page .drop.over, .ps-page .drop:hover{ border-color: var(--accent); background: var(--accent-soft) }
.ps-page .drop b{ font-size: 13px } .ps-page .drop span{ font-size: 11px; color: var(--muted) }
.ps-page .drop input{ position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none }
.ps-page .qp{ display: flex; flex-wrap: wrap; gap: 6px }
.ps-page .qp button{ border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 5px 11px; font-weight: 800; font-size: 12px; cursor: pointer }
.ps-page .qp button:hover{ border-color: var(--accent); color: var(--accent) }
.ps-page .qp button[aria-pressed="true"]{ background: var(--accent); border-color: var(--accent); color: #FFFFFF }
.ps-page .bigacts{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.ps-page .bigbtn{ min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-weight: 800; font-size: 13px; cursor: pointer; padding: 0 10px; display: flex; align-items: center; justify-content: center; gap: 6px; transition: border-color .15s, background .15s, transform .15s }
.ps-page .bigbtn:hover{ border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px) }
.ps-page .bigbtn.ghost{ color: var(--muted) }
.ps-page .adv{ border: 1px solid var(--line); border-radius: 10px; padding: 0 10px }
.ps-page .adv summary{ padding: 9px 0; font-size: 12px; font-weight: 800; color: var(--muted); cursor: pointer }
.ps-page .adv[open]{ padding-bottom: 10px } .ps-page .adv .sl{ margin-top: 6px }
.ps-page .bgbox{ background: var(--chip); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 7px }
.ps-page .bgbox b{ font-size: 13px } .ps-page .bgbox > span{ font-size: 11.5px; color: var(--muted) }
.ps-page .bench{ position: relative }
.ps-page .toast{ position: absolute; left: 50%; bottom: 74px; transform: translate(-50%, 20px); background: #14181F; color: #FFFFFF; font-weight: 700; font-size: 12.5px; padding: 9px 14px; border-radius: 10px; box-shadow: 0 10px 24px rgba(0,0,0,0.35); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 8; max-width: 90%; text-align: center }
.ps-page .toast.show{ opacity: 1; transform: translate(-50%, 0) }
.ps-page .busy{ position: absolute; inset: 0; background: rgba(15,30,25,0.72); display: flex; align-items: center; justify-content: center; gap: 12px; z-index: 9; font-size: 14px; border-radius: inherit }
.ps-page .spin{ width: 26px; height: 26px; border: 3px solid rgba(255,255,255,0.3); border-top-color: #FFFFFF; border-radius: 50%; animation: spin .8s linear infinite }
@keyframes spin{ to { transform: rotate(360deg) } }
.ps-page body.full{ overflow: hidden }
.ps-page body.full .studio{ position: fixed; inset: env(safe-area-inset-top, 0px) 0 0 0; z-index: 50; height: auto; border-radius: 0; max-width: none }
.ps-page body.full .tool-wrap{ max-width: none }
.ps-page .pair{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.ps-page .slot{ position: relative; border: 2px dashed #D9D2C6; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer; background: #FCFBF9; min-height: 92px; justify-content: center }
.ps-page .slot:hover{ border-color: var(--accent); background: var(--accent-soft) }
.ps-page .slot.done{ border-style: solid; border-color: var(--good); background: #F0F8F3 }
.ps-page .slot img{ width: 100%; height: 56px; object-fit: contain; border-radius: 6px; background: #FFFFFF }
.ps-page .slot b{ font-size: 12.5px } .ps-page .slot small{ font-size: 11px; color: var(--muted); font-weight: 700 }
.ps-page .slot input{ position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none }
.ps-page .quick{ display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; font-weight: 800; color: var(--muted) }
.ps-page .quick button{ border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: 12px; cursor: pointer }
.ps-page .quick button:hover{ border-color: var(--accent); color: var(--accent) }
.ps-page .photos{ display: flex; flex-direction: column; gap: 8px }
.ps-page .ph{ display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 9px; align-items: start; padding: 8px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--panel) }
.ps-page .ph.sel{ border-color: var(--accent); background: #FFF9FA }
.ps-page .ph img{ width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: var(--chip); display: block }
.ps-page .ph .meta{ display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.ps-page .ph .name{ font-weight: 800; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; gap: 6px; align-items: center }
.ps-page .ph .nm{ overflow: hidden; text-overflow: ellipsis }
.ps-page .tag{ font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 999px; flex: none }
.ps-page .tag.ex{ background: var(--chip); color: var(--muted) }
.ps-page .tag.good{ background: #E3F4EA; color: var(--good) } .ps-page .tag.warn{ background: #FBF0DC; color: var(--warn) } .ps-page .tag.bad{ background: var(--accent-soft); color: var(--bad) }
.ps-page .ph .ctrl{ display: flex; gap: 5px; align-items: center; flex-wrap: wrap }
.ps-page .ph .ctrl select{ padding: 5px 7px; font-size: 12px; width: auto; flex: 1 1 130px; max-width: 100% }
.ps-page .stepper{ display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--panel) }
.ps-page .stepper button{ width: 26px; height: 26px; border: 0; background: none; font-weight: 800; font-size: 14px; cursor: pointer }
.ps-page .stepper input{ width: 36px; border: 0; padding: 2px; text-align: center; font-weight: 800; font-size: 12.5px; background: transparent }
.ps-page .mini{ border: 1px solid var(--line); background: var(--panel); border-radius: 7px; padding: 4px 8px; font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap }
.ps-page .mini:hover{ border-color: #CFC7BA }
.ps-page .mini[aria-pressed="true"]{ background: var(--ink); color: var(--panel); border-color: var(--ink) }
.ps-page .mini.red{ color: var(--accent) }
.ps-page .x{ width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); cursor: pointer; font-size: 14px; line-height: 1 }
.ps-page .custom{ display: flex; gap: 5px; align-items: center; font-size: 11.5px; color: var(--muted); font-weight: 700 }
.ps-page .custom input{ width: 64px; padding: 4px 6px; font-size: 12px }
.ps-page .empty{ font-size: 12px; color: var(--muted); text-align: center; padding: 6px; line-height: 1.5 }
.ps-page .suggest{ display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #E7F5EC; color: #145C33; border-radius: 10px; padding: 9px 10px; font-size: 12px; font-weight: 800 }
.ps-page .sl{ display: grid; grid-template-columns: 78px minmax(0, 1fr) 44px; gap: 8px; align-items: center; font-size: 12px; font-weight: 700 }
.ps-page .sl output{ text-align: right; color: var(--muted); font-variant-numeric: tabular-nums }
.ps-page .btns{ display: flex; flex-wrap: wrap; gap: 6px }
.ps-page .billbox{ background: var(--chip); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-variant-numeric: tabular-nums }
.ps-page .billbox div{ display: flex; justify-content: space-between; font-size: 13px }
.ps-page .billbox .tot{ border-top: 1px dashed #CFC6B8; padding-top: 8px; font-size: 18px; font-weight: 800; font-family: var(--f-display) }
.ps-page .side-foot{ flex: none; border-top: 1px solid var(--line); padding: 9px 14px; font-size: 11px; color: var(--muted); background: var(--panel) }

/* preview */
.ps-page .bench{ background: var(--mat); color: var(--mat-ink); display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; min-height: 0; min-width: 0;
  background-image: linear-gradient(var(--mat-line) 1px, transparent 1px), linear-gradient(90deg, var(--mat-line) 1px, transparent 1px); background-size: 22px 22px }
.ps-page .bar{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px }
.ps-page .bar h2{ margin: 0; font-family: var(--f-display); font-size: 16px; font-weight: 800 }
.ps-page .bar .dim{ font-size: 11.5px; font-weight: 700; opacity: .8 }
.ps-page .tb{ display: flex; align-items: center; gap: 2px; background: var(--mat-soft); border-radius: 10px; padding: 3px }
.ps-page .tb button{ min-width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--mat-ink); font-weight: 800; cursor: pointer; padding: 0 8px }
.ps-page .tb button:hover:not(:disabled){ background: var(--mat-soft) }
.ps-page .tb button:disabled{ opacity: .4 }
.ps-page .rm{ border: 0; border-radius: 10px; background: var(--accent); color: #FFFFFF; font-weight: 800; font-size: 12px; min-height: 36px; padding: 0 12px; cursor: pointer }
.ps-page .rm:disabled{ background: var(--mat-soft); color: var(--mat-ink); opacity: .55; cursor: default }
.ps-page .tb span{ font-size: 11.5px; font-weight: 800; min-width: 46px; text-align: center; font-variant-numeric: tabular-nums }
.ps-page .stage{ flex: 1 1 auto; min-height: 0; overflow: auto; display: grid; place-items: center; padding: 8px; position: relative }
.ps-page .ptool{ position: absolute; z-index: 5; display: flex; align-items: center; gap: 4px; background: #FFFFFF; color: #14181F; border-radius: 12px; padding: 5px; box-shadow: 0 10px 28px rgba(0,0,0,0.35); white-space: nowrap }
.ps-page .ptool button{ height: 32px; min-width: 32px; border: 0; border-radius: 8px; background: transparent; font-weight: 800; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px }
.ps-page .ptool button:hover{ background: #F2EEE7 }
.ps-page .pt-name{ font-size: 11px; font-weight: 800; color: #5A6272; padding: 0 6px; max-width: 110px; overflow: hidden; text-overflow: ellipsis }
.ps-page .pt-seg{ display: inline-flex; background: #F2EEE7; border-radius: 8px; padding: 2px }
.ps-page .pt-seg button{ height: 28px; font-size: 12px; padding: 0 9px }
.ps-page .pt-seg button[aria-pressed="true"]{ background: #14181F; color: #FFFFFF }
.ps-page .pt-zoom{ display: inline-flex; align-items: center; gap: 2px; border-left: 1px solid #E8E3DA; border-right: 1px solid #E8E3DA; padding: 0 4px }
.ps-page .pt-zoom input{ width: 90px; accent-color: #C8102E }
.ps-page .pt-zoom output{ font-size: 11.5px; font-weight: 800; min-width: 38px; text-align: right; font-variant-numeric: tabular-nums }
.ps-page .ptool .pt-del{ color: #C8102E }
@media (max-width: 560px){ .ps-page .pt-name{ display: none } .ps-page .pt-zoom input{ width: 64px } }
.ps-page canvas#sheet{ display: block; box-shadow: 0 16px 40px rgba(0,0,0,0.38); cursor: pointer; touch-action: none; max-width: none }
.ps-page .thumbs{ display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; flex: none }
.ps-page .th{ border: 2px solid transparent; background: var(--mat-soft); border-radius: 8px; padding: 4px; cursor: pointer; position: relative; flex: none }
.ps-page .th[aria-pressed="true"]{ border-color: #FFFFFF }
.ps-page .th canvas{ display: block; background: #FFFFFF }
.ps-page .th span{ position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,0.65); color: #FFFFFF; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 4px }
.ps-page .stats{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; flex: none }
.ps-page .stat{ background: var(--mat-soft); border-radius: 10px; padding: 6px 9px; display: flex; flex-direction: column; min-width: 0 }
.ps-page .stat span{ font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.ps-page .stat b{ font-size: 15px; font-family: var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap }
.ps-page .qc{ font-size: 12px; font-weight: 700; background: var(--mat-soft); border-radius: 10px; padding: 7px 10px; line-height: 1.45; flex: none }
.ps-page .qc.warn{ background: #F2A33A; color: #2A1704 }
.ps-page .acts{ display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; flex: none }
.ps-page .btn{ min-height: 42px; border-radius: 999px; border: 0; font-weight: 800; font-size: 13.5px; cursor: pointer; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px }
.ps-page .btn.primary{ background: var(--accent); color: var(--accent-ink) } .ps-page .btn.primary:hover{ background: #A90D27 }
.ps-page .btn.light{ background: #FFFFFF; color: #14181F }
.ps-page .btn.add{ background: var(--mat-soft); color: var(--mat-ink); border: 1.5px dashed rgba(255,255,255,0.35) }
.ps-page .btn:disabled{ opacity: .55; cursor: progress }
.ps-page .note{ font-size: 12px; min-height: 16px; text-align: center; opacity: .9; flex: none }

/* how it works */
.ps-page .how{ padding-block: 56px 40px }
.ps-page .how-head{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 12px 32px; margin-bottom: 24px }
.ps-page .how .eyebrow{ font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px }
.ps-page .how .eyebrow::before{ content: ""; width: 22px; height: 2px; background: var(--accent) }
.ps-page .how h2{ margin: 8px 0 0; font-family: var(--f-display); font-size: clamp(28px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.03em; line-height: 1 }
.ps-page .how-head p{ margin: 0 0 2px; color: var(--muted); font-size: 15px; line-height: 1.55; justify-self: end; text-align: right }
.ps-page .flow{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px }
.ps-page .fstep{ position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s, border-color .2s }
.ps-page .fstep:hover{ transform: translateY(-4px); box-shadow: 0 18px 36px rgba(16,24,38,0.10); border-color: #DCD3C6 }
.ps-page .fstep:not(.last)::after{ content: "›"; position: absolute; right: -17px; top: 40px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--muted); display: grid; place-items: center; font-size: 17px; font-weight: 800; line-height: 1; z-index: 2 }
.ps-page .ftop{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px }
.ps-page .fic{ width: 52px; height: 52px; border-radius: 15px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(16,24,38,0.06) }
.ps-page .fic svg{ width: 36px; height: 36px }
.ps-page .fnum{ font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px }
.ps-page .fstep b{ font-family: var(--f-display); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2 }
.ps-page .fstep p{ margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6 }
.ps-page .ftags{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line) }
.ps-page .ftags span{ font-size: 11px; font-weight: 800; background: var(--chip); border-radius: 999px; padding: 5px 10px }
.ps-page .fstep.last{ background: linear-gradient(160deg, #C8102E, #8E0F24); color: #FFFFFF; border-color: transparent }
.ps-page .fstep.last .fic{ background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); box-shadow: none }
.ps-page .fstep.last .fnum{ color: #FFFFFF; background: rgba(255,255,255,0.18) }
.ps-page .fstep.last p{ color: rgba(255,255,255,0.86) }
.ps-page .fcta{ margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,0.28); text-decoration: none; display: block }
.ps-page .fcta span{ display: inline-flex; align-items: center; gap: 6px; background: #FFFFFF; color: #8E0F24; font-weight: 800; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; transition: gap .2s }
.ps-page .fcta:hover span{ gap: 10px }
@media (max-width: 980px){
  .ps-page .how-head{ grid-template-columns: minmax(0, 1fr) } .ps-page .how-head p{ justify-self: start; text-align: left }
  .ps-page .flow{ grid-template-columns: repeat(2, minmax(0, 1fr)) } .ps-page .fstep::after{ display: none }
}
@media (max-width: 520px){ .ps-page .flow{ grid-template-columns: minmax(0, 1fr) } }
.ps-page{ scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce){ .ps-page{ scroll-behavior: auto } .ps-page .fstep:hover{ transform: none } }

/* website footer */
.ps-page .foot{ background: #0B0B0C; color: #C9CDD4; margin-top: 32px }
.ps-page .foot .in{ padding-block: 40px 22px; display: flex; flex-wrap: wrap; gap: 28px 48px }
.ps-page .fb{ flex: 1.4 1 260px; display: flex; flex-direction: column; gap: 12px }
.ps-page .fb .fl{ display: flex; align-items: center; gap: 10px }
.ps-page .fb img{ width: 36px; height: 36px; border-radius: 50% }
.ps-page .fb b{ color: #FFFFFF; font-family: var(--f-display); font-size: 21px }
.ps-page .fb p{ margin: 0; font-size: 14px; line-height: 1.6; max-width: 38ch }
.ps-page .fc{ flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 14px }
.ps-page .fc b{ color: #FFFFFF; font-size: 16px; margin-bottom: 2px }
.ps-page .fc a{ text-decoration: none; color: #C9CDD4 } .ps-page .fc a:hover{ color: #FFFFFF }
.ps-page .fbot{ border-top: 1px solid #222326 } .ps-page .fbot .in{ padding-block: 16px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: #8C939E }


@media (max-width: 860px){
  .ps-page .studio{ grid-template-columns: minmax(0, 1fr); height: auto }
  .ps-page .side{ border-right: 0; border-bottom: 1px solid var(--line) }
  .ps-page .panels{ overflow: visible }
  .ps-page .bench{ order: -1 } .ps-page .stage{ min-height: 240px; max-height: 60vh }
  .ps-page .stats{ grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .ps-page .acts{ grid-template-columns: 1fr 1fr } .ps-page .btn.add{ grid-column: 1 / -1 }
}

@media (prefers-reduced-motion: reduce){ .ps-page *{ transition: none !important } .ps-page .tk{ animation: none } }
