/* =========================================================
   SHIGOTO PLUS — public website (v8): premium, modular
   Loaded after style.css on public pages. Classes start with "sp-".
   ========================================================= */
:root {
  --sp-ink: #0F0D2E; --sp-navy: #1E1B4B; --sp-violet: #6C5DD3; --sp-violet-d: #4B3DB0; --sp-violet-l: #EFECFB;
  --sp-teal: #0F766E; --sp-teal-l: #E6FAF6; --sp-amber: #B45309; --sp-amber-l: #FFF4E5;
  --sp-line: #E6E4F0; --sp-soft: #F7F6FD; --sp-text: #3F3D56; --sp-muted: #6B6A80;
  --sp-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}
body.sp { background: #fff; color: var(--sp-ink); }
.sp h1, .sp h2, .sp h3 { font-family: var(--sp-display); letter-spacing: -0.02em; }
.sp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sp-section { padding: 96px 0; }
.sp-section.tight { padding: 64px 0; }
.sp-section.soft { background: var(--sp-soft); }
.sp-section.dark { background: var(--sp-navy); color: #DCDAF5; }
.sp-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sp-violet); }
.sp-kicker i { width: 18px; height: 2px; background: currentColor; display: inline-block; }
.sp-h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; margin: 12px 0 14px; font-weight: 800; }
.sp-lead { font-size: 18px; line-height: 1.65; color: var(--sp-text); max-width: 640px; }
.sp-center { text-align: center; } .sp-center .sp-lead { margin: 0 auto; }

/* ---- buttons */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.sp-btn:hover { transform: translateY(-1px); }
.sp-btn.pri { background: var(--sp-violet); color: #fff; } .sp-btn.pri:hover { background: var(--sp-violet-d); }
.sp-btn.ghost { background: #fff; color: var(--sp-ink); border-color: #D6D3E8; } .sp-btn.ghost:hover { border-color: var(--sp-violet); color: var(--sp-violet-d); }
.sp-btn.light { background: #fff; color: var(--sp-navy); } .sp-btn.line-light { color: #fff; border-color: rgba(255,255,255,.35); }
.sp-btn.sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.sp-btn:focus-visible, .sp-tab:focus-visible, .sp-nav a:focus-visible { outline: 3px solid #A99CF0; outline-offset: 2px; }

/* ---- navbar */
.sp-nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--sp-line); }
.sp-nav .sp-wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.sp-nav .brand { font-family: var(--sp-display); }
.sp-nav .nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.sp-nav .nav-links > a, .sp-nav .nav-dropdown > span { padding: 10px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--sp-text); }
.sp-nav .nav-links > a:hover, .sp-nav .nav-links > a.active, .sp-nav .nav-dropdown:hover > span { background: var(--sp-soft); color: var(--sp-violet-d); }
.sp-nav .dropdown-menu.sp-mega { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; }
.sp-mega a { display: flex !important; gap: 12px; align-items: flex-start; padding: 12px !important; border-radius: 12px !important; }
.sp-mega a b { display: block; color: var(--sp-ink); font-size: 14px; } .sp-mega a small { display: block; color: var(--sp-muted); font-size: 12.5px; font-weight: 400; line-height: 1.4; margin-top: 2px; }
.sp-mega .ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.ic.v { background: var(--sp-violet-l); color: var(--sp-violet-d); } .ic.t { background: var(--sp-teal-l); color: var(--sp-teal); } .ic.a { background: var(--sp-amber-l); color: var(--sp-amber); } .ic.n { background: #EEF0F6; color: var(--sp-navy); }
@media (max-width: 960px) {
  .sp-nav .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 18px; border-bottom: 1px solid var(--sp-line); box-shadow: 0 20px 30px rgba(15,13,46,.08); }
  .sp-nav .nav-links.open { display: flex; }
  .sp-nav .dropdown-menu.sp-mega { position: static; width: auto; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 8px; display: none; }
  .sp-nav .nav-dropdown.open .dropdown-menu.sp-mega { display: grid; }
  .sp-nav .nav-toggle { display: block; margin-left: auto; }
}

/* ---- hero */
.sp-hero { padding: 72px 0 40px; background: radial-gradient(1200px 500px at 80% -10%, #EFECFB 0%, rgba(239,236,251,0) 60%), #fff; overflow: hidden; }
.sp-hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.sp-hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; font-weight: 800; margin: 18px 0; }
.sp-hero h1 em { font-style: normal; color: var(--sp-violet); }
.sp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--sp-line); font-size: 13px; font-weight: 600; color: var(--sp-text); }
.sp-pill b { background: var(--sp-violet); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.sp-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 26px; }
.sp-search { display: flex; gap: 8px; background: #fff; border: 1px solid var(--sp-line); border-radius: 14px; padding: 6px; box-shadow: 0 10px 30px rgba(15,13,46,.06); max-width: 520px; }
.sp-search input { flex: 1; min-width: 0; border: 0; padding: 0 12px; font: 15px Inter, sans-serif; outline: none; }
.sp-search label { font-size: 13px; color: var(--sp-muted); display: block; margin-bottom: 8px; font-weight: 600; }
.sp-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 13.5px; color: var(--sp-muted); }
.sp-trust span { display: inline-flex; gap: 6px; align-items: center; } .sp-trust span::before { content: '✓'; color: var(--sp-teal); font-weight: 800; }

/* module switcher (hero visual) */
.sp-switch { background: #fff; border: 1px solid var(--sp-line); border-radius: 22px; box-shadow: 0 30px 70px rgba(15,13,46,.14); overflow: hidden; }
.sp-tabs { display: flex; gap: 4px; padding: 8px; background: var(--sp-soft); border-bottom: 1px solid var(--sp-line); }
.sp-tab { flex: 1; height: 42px; border: 0; background: transparent; border-radius: 10px; font: 700 13.5px Inter, sans-serif; color: var(--sp-muted); cursor: pointer; }
.sp-tab[aria-selected="true"] { background: #fff; color: var(--sp-ink); box-shadow: 0 2px 6px rgba(15,13,46,.08); }
.sp-panel { padding: 20px; min-height: 360px; } .sp-panel[hidden] { display: none; }
.sp-mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.sp-mini-kpis div { background: var(--sp-soft); border-radius: 12px; padding: 10px 12px; } .sp-mini-kpis span { font-size: 11.5px; color: var(--sp-muted); display: block; } .sp-mini-kpis b { font-size: 20px; font-family: var(--sp-display); }
.sp-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sp-col { background: #F4F3FA; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; } .sp-col > span { font-size: 11px; font-weight: 700; color: var(--sp-muted); padding: 2px 4px; }
.sp-cardlet { background: #fff; border: 1px solid var(--sp-line); border-radius: 9px; padding: 8px; font-size: 11.5px; } .sp-cardlet b { display: block; font-size: 12px; } .sp-cardlet i { font-style: normal; color: var(--sp-muted); }
.sp-rows { display: flex; flex-direction: column; gap: 8px; }
.sp-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--sp-line); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.sp-row .av { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.sp-row .grow { flex: 1; min-width: 0; } .sp-row small { display: block; color: var(--sp-muted); font-size: 11.5px; }
.sp-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.sp-tag.g { background: #ECFDF3; color: #166534; } .sp-tag.y { background: #FFF4E5; color: #9A4A00; } .sp-tag.b { background: #EEEBFF; color: #4B3DB0; } .sp-tag.r { background: #FEF2F2; color: #B91C1C; }

/* ---- logos strip */
.sp-logos { display: flex; gap: 14px; align-items: center; overflow-x: auto; padding: 4px 0; scrollbar-width: none; } .sp-logos::-webkit-scrollbar { display: none; }
.sp-logos .co, .sp-marquee .co { flex: none; height: 58px; min-width: 130px; padding: 10px 18px; border: 1px solid var(--sp-line); border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #fff; }
.sp-logos img { max-height: 36px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .8; } .sp-logos .co:hover img { filter: none; opacity: 1; }

/* ---- modules */
.sp-mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.sp-mod { border: 1px solid var(--sp-line); border-radius: 22px; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, transform .2s; }
.sp-mod:hover { box-shadow: 0 24px 50px rgba(15,13,46,.10); transform: translateY(-3px); }
.sp-mod .ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.sp-mod h3 { font-size: 22px; margin: 0; } .sp-mod p { margin: 0; color: var(--sp-text); line-height: 1.6; }
.sp-mod ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.sp-mod li { display: flex; gap: 10px; font-size: 14.5px; color: var(--sp-text); } .sp-mod li::before { content: '✓'; font-weight: 800; color: var(--sp-teal); }
.sp-mod .go { font-weight: 700; color: var(--sp-violet-d); display: inline-flex; gap: 6px; align-items: center; } .sp-mod .go:hover { gap: 10px; }

/* ---- feature split */

/* ---- steps */

/* ---- jobs */

/* ---- pricing */
.sp-cycle { display: inline-flex; background: var(--sp-soft); border: 1px solid var(--sp-line); border-radius: 12px; padding: 4px; margin-top: 22px; }
.sp-cycle button { height: 40px; padding: 0 20px; border: 0; border-radius: 9px; background: transparent; font: 700 14px Inter, sans-serif; color: var(--sp-muted); cursor: pointer; }
.sp-cycle button[aria-pressed="true"] { background: #fff; color: var(--sp-ink); box-shadow: 0 2px 6px rgba(15,13,46,.08); }
.sp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; text-align: left; }
.sp-plan { border: 1px solid var(--sp-line); border-radius: 22px; padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 14px; position: relative; }
.sp-plan.hot { border: 2px solid var(--sp-violet); box-shadow: 0 24px 50px rgba(108,93,211,.18); }
.sp-plan .badge-top { position: absolute; top: -12px; left: 24px; background: var(--sp-violet); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; }
.sp-plan h3 { font-size: 20px; margin: 0; } .sp-plan .desc { font-size: 13.5px; color: var(--sp-muted); margin: -6px 0 0; }
.sp-plan .price { font-family: var(--sp-display); font-size: 38px; font-weight: 800; } .sp-plan .price small { font-family: Inter, sans-serif; font-size: 14px; font-weight: 500; color: var(--sp-muted); }
.sp-plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; font-size: 14px; }
.sp-plan li { display: flex; gap: 10px; } .sp-plan li::before { content: '✓'; color: var(--sp-teal); font-weight: 800; } .sp-plan li.no { color: #9B9AAE; } .sp-plan li.no::before { content: '—'; color: #C4C3D3; }
.sp-addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; text-align: left; }
.sp-addon { border: 1px dashed #CFC8F5; border-radius: 16px; padding: 18px; background: #FBFAFF; font-size: 14px; color: var(--sp-text); line-height: 1.55; } .sp-addon b { display: block; color: var(--sp-ink); margin-bottom: 4px; }

/* ---- security */
.sp-sec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.sp-sec div { border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 22px; background: rgba(255,255,255,.04); }
.sp-sec b { display: block; color: #fff; font-size: 16px; margin: 10px 0 6px; } .sp-sec span { font-size: 14px; line-height: 1.55; color: #BDBADF; }
.sp-sec .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(169,156,240,.18); color: #D6D1FF; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.sp-section.dark .sp-kicker { color: #A99CF0; } .sp-section.dark .sp-lead { color: #BDBADF; } .sp-section.dark .sp-h2 { color: #fff; }

/* ---- faq */
.sp-faq { max-width: 820px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 10px; }
.sp-faq details { border: 1px solid var(--sp-line); border-radius: 16px; background: #fff; padding: 0 20px; }
.sp-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 15.5px; display: flex; justify-content: space-between; gap: 12px; }
.sp-faq summary::-webkit-details-marker { display: none; } .sp-faq summary::after { content: '+'; font-size: 20px; color: var(--sp-violet); } .sp-faq details[open] summary::after { content: '–'; }
.sp-faq p { margin: 0 0 18px; color: var(--sp-text); line-height: 1.65; }

/* ---- cta + footer */
.sp-cta { background: var(--sp-navy); border-radius: 28px; padding: 56px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.sp-cta h2 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 10px; color: #fff; } .sp-cta p { margin: 0; color: #C9C5F0; font-size: 16px; } .sp-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.sp-foot { background: #0F0D2E; color: #B8B5DA; padding: 64px 0 28px; margin-top: 96px; }
.sp-foot .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.sp-foot h4 { color: #fff; font-size: 14px; margin: 0 0 14px; } .sp-foot ul { list-style: none; padding: 0; margin: 0; } .sp-foot li { margin-bottom: 10px; font-size: 14px; } .sp-foot a:hover { color: #fff; }
.sp-foot .brand { color: #fff; } .sp-foot .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8A87B5; }

/* ---- auth (login / register) */
.sp-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; }
.sp-auth .side { background: var(--sp-navy); color: #D6D3F5; padding: 48px 56px; display: flex; flex-direction: column; gap: 28px; position: relative; overflow: hidden; }
.sp-auth .side::after { content: ''; position: absolute; width: 520px; height: 520px; right: -200px; bottom: -220px; border-radius: 50%; background: rgba(108,93,211,.25); }
.sp-auth .side .brand { color: #fff; font-family: var(--sp-display); }
.sp-auth .side h2 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; margin: auto 0 0; max-width: 460px; }
.sp-auth .side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.sp-auth .side li { display: flex; gap: 12px; font-size: 15px; } .sp-auth .side li .ic { width: 34px; height: 34px; border-radius: 10px; flex: none; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
.sp-auth .side li b { color: #fff; display: block; } .sp-auth .side li span { font-size: 13.5px; color: #B8B4E3; }
.sp-auth .side .secure { margin-top: auto; font-size: 12.5px; color: #9E9AD0; display: flex; gap: 8px; align-items: center; position: relative; z-index: 1; }
.sp-auth .main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.sp-auth .box { width: 100%; max-width: 420px; }
.sp-auth .box h1 { font-size: 30px; margin: 0 0 6px; font-weight: 800; } .sp-auth .box .sub { color: var(--sp-muted); margin: 0 0 24px; }
.sp-auth .portal { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--sp-soft); border: 1px solid var(--sp-line); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.sp-auth .portal button { height: 42px; border: 0; border-radius: 9px; background: transparent; font: 700 14px Inter, sans-serif; color: var(--sp-muted); cursor: pointer; }
.sp-auth .portal button.active { background: #fff; color: var(--sp-ink); box-shadow: 0 2px 6px rgba(15,13,46,.08); }
.sp-auth .field label { font-weight: 600; font-size: 13.5px; }
.sp-auth .input { height: 50px; border-radius: 12px; font-size: 15px; }
.sp-caps { display: none; font-size: 12.5px; color: #9A4A00; margin-top: 6px; } .sp-caps.on { display: block; }
.sp-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sp-auth .btn-lg { height: 52px; border-radius: 12px; font-size: 16px; }
.sp-auth .alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--sp-line); font-size: 13.5px; color: var(--sp-muted); display: flex; flex-direction: column; gap: 8px; text-align: center; }
.sp-auth .alt a { color: var(--sp-violet-d); font-weight: 700; }
.sp-auth .mob-brand { display: none; margin-bottom: 24px; }

@media (max-width: 1024px) {
  .sp-hero .grid, .sp-cta { grid-template-columns: 1fr; }
  .sp-sec { grid-template-columns: 1fr 1fr; }
  .sp-foot .cols { grid-template-columns: 1fr 1fr; } .sp-cta .actions { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .sp-auth { grid-template-columns: minmax(0, 1fr); } .sp-auth .side { display: none; } .sp-auth .mob-brand { display: flex; }
}
@media (max-width: 640px) {
  .sp-section { padding: 64px 0; } .sp-sec { grid-template-columns: 1fr; }
  .sp-cols { grid-template-columns: 1fr 1fr; } .sp-cta { padding: 32px 24px; } .sp-hero { padding-top: 40px; }
  .sp-foot .cols { grid-template-columns: 1fr; } .sp-search { flex-wrap: wrap; } .sp-search .sp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sp-btn, .sp-mod, .sp-svc-card, .sp-postcard, .sp-jobrow { transition: none; } .sp-btn:hover, .sp-mod:hover, .sp-svc-card:hover, .sp-postcard:hover { transform: none; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sp-empty { grid-column: 1 / -1; border: 1px dashed var(--sp-line); border-radius: 18px; padding: 32px; text-align: center; color: var(--sp-muted); background: #fff; }
.sp-skel { height: 190px; border-radius: 18px; background: linear-gradient(90deg, #F4F3FA 25%, #ECEAF6 50%, #F4F3FA 75%); background-size: 200% 100%; animation: spsk 1.2s infinite; }
@keyframes spsk { to { background-position: -200% 0; } }
/* simple page header used by legal/contact pages */
.sp-pagehead { background: var(--sp-soft); border-bottom: 1px solid var(--sp-line); padding: 56px 0 40px; }
.sp-pagehead h1 { font-size: clamp(30px, 4vw, 44px); margin: 8px 0 6px; font-weight: 800; }
.sp-mob-cta { display: none; }
@media (max-width: 960px) { .sp-mob-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--sp-line); } .sp-nav .nav-cta { display: none !important; } }

/* =================== v9: multi-page website =================== */
.sp a { color: inherit; }
.sp-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.sp-skip:focus { left: 8px; }
.sp-crumb { font-size: 13.5px; color: var(--sp-muted); margin-bottom: 10px; } .sp-crumb a { color: var(--sp-violet-d); font-weight: 600; } .sp-crumb span { margin: 0 6px; }
.sp-pagehead .sp-lead { margin-top: 6px; }
.sp-mega-all { grid-column: 1 / -1; justify-content: center; background: var(--sp-soft); }
.sp-nav .nav-dropdown > span.active { color: var(--sp-violet-d); background: var(--sp-soft); }
.sp-logos-title { color: var(--sp-muted); font-size: 14px; margin: 0 0 18px; font-weight: 600; }
.sp-demo-note { margin: 12px 0 0; font-size: 11.5px; color: var(--sp-muted); text-align: right; }
.sp-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sp-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800; }
.sp-social a:hover { background: var(--sp-violet); }

/* services */
.sp-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.sp-svc-card { background: #fff; border: 1px solid var(--sp-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.sp-svc-card:hover { box-shadow: 0 18px 40px rgba(15,13,46,.09); transform: translateY(-2px); border-color: #CFC8F5; }
.sp-svc-card .em { width: 46px; height: 46px; border-radius: 14px; background: var(--sp-violet-l); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sp-svc-card h3 { font-size: 17px; margin: 6px 0 0; } .sp-svc-card p { margin: 0; font-size: 14px; color: var(--sp-text); line-height: 1.55; flex: 1; }
.sp-svc-card .go { font-weight: 700; color: var(--sp-violet-d); font-size: 14px; }

/* job rows */
.sp-joblist { display: flex; flex-direction: column; gap: 12px; }
.sp-jobrow { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--sp-line); border-radius: 18px; padding: 16px 18px; transition: border-color .15s, box-shadow .15s; }
.sp-jobrow:hover { border-color: #CFC8F5; box-shadow: 0 12px 28px rgba(15,13,46,.07); }
.sp-jobrow .lg { width: 52px; height: 52px; border-radius: 14px; background: var(--sp-soft); flex: none; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sp-jobrow .lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sp-jobrow .lg i { font-style: normal; font-weight: 800; color: var(--sp-violet-d); }
.sp-jobrow .mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sp-jobrow .mid > b { font-size: 16.5px; } .sp-jobrow .co { font-size: 13.5px; color: var(--sp-muted); } .sp-jobrow .vf { color: var(--sp-teal); font-weight: 800; }
.sp-jobrow .meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; margin-top: 4px; } .sp-jobrow .meta span { background: var(--sp-soft); border-radius: 8px; padding: 4px 8px; } .sp-jobrow .meta .sal { background: #ECFDF3; color: #166534; font-weight: 700; }
.sp-jobrow .sk { display: flex; flex-wrap: wrap; gap: 6px; } .sp-jobrow .sk em { font-style: normal; font-size: 12px; color: var(--sp-violet-d); }
.sp-jobrow .sk em + em::before { content: '· '; color: var(--sp-muted); }
.sp-jobrow .rt { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }

/* jobs page */
.sp-jobshead { padding-bottom: 30px; }
.sp-jsearch { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; background: #fff; border: 1px solid var(--sp-line); border-radius: 16px; padding: 8px; margin-top: 18px; box-shadow: 0 10px 30px rgba(15,13,46,.06); }
.sp-jsearch input { border: 0; padding: 0 14px; height: 48px; font: 15px Inter, sans-serif; outline: none; border-radius: 10px; min-width: 0; }
.sp-jsearch input:focus { background: var(--sp-soft); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; font-size: 13.5px; }
.sp-chips > span { color: var(--sp-muted); font-weight: 600; }
.sp-chips a { border: 1px solid var(--sp-line); background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 600; color: var(--sp-text); }
.sp-chips a:hover, .sp-chips a.on { border-color: var(--sp-violet); color: var(--sp-violet-d); background: var(--sp-violet-l); }
.sp-jobs-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: start; }
.sp-fbox { border: 1px solid var(--sp-line); border-radius: 18px; background: #fff; padding: 4px 18px 18px; position: sticky; top: 90px; }
.sp-fbox summary { list-style: none; cursor: pointer; font-weight: 800; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.sp-fbox summary::-webkit-details-marker { display: none; }
.sp-fbox .clear { font-size: 13px; color: var(--sp-violet-d); font-weight: 700; }
.sp-fbox fieldset { border: 0; border-top: 1px solid var(--sp-line); margin: 0; padding: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.sp-fbox legend { font-weight: 700; font-size: 13.5px; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.sp-fbox label { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--sp-text); cursor: pointer; }
.sp-fbox label small { margin-left: auto; color: var(--sp-muted); }
.sp-fbox select { width: 100%; height: 40px; border: 1px solid var(--sp-line); border-radius: 10px; padding: 0 10px; font: 14px Inter, sans-serif; }
.sp-jobs-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sp-jobs-top p { margin: 0; color: var(--sp-text); }
.sp-sort { display: flex; gap: 8px; align-items: center; font-size: 14px; } .sp-sort select { height: 38px; border: 1px solid var(--sp-line); border-radius: 10px; padding: 0 10px; font: 14px Inter, sans-serif; }
.sp-active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sp-active a { background: var(--sp-violet-l); color: var(--sp-violet-d); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.sp-pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.sp-pager a { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--sp-line); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: #fff; }
.sp-pager a.on { background: var(--sp-violet); color: #fff; border-color: var(--sp-violet); }
.sp-empty a { color: var(--sp-violet-d); font-weight: 700; }

/* article layouts */
.sp-article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.sp-prose { font-size: 16.5px; line-height: 1.75; color: var(--sp-text); min-width: 0; }
.sp-prose h2 { font-size: 26px; color: var(--sp-ink); margin: 36px 0 12px; } .sp-prose h3 { font-size: 20px; color: var(--sp-ink); margin: 28px 0 10px; }
.sp-prose h2:first-child, .sp-prose p:first-child { margin-top: 0; }
.sp-prose ul, .sp-prose ol { padding-left: 22px; } .sp-prose li { margin: 6px 0; }
.sp-prose a { color: var(--sp-violet-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sp-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.sp-prose blockquote { margin: 20px 0; padding: 14px 20px; border-left: 4px solid var(--sp-violet); background: var(--sp-soft); border-radius: 0 12px 12px 0; }
.sp-prose table { width: 100%; border-collapse: collapse; font-size: 15px; } .sp-prose th, .sp-prose td { border: 1px solid var(--sp-line); padding: 8px 10px; text-align: left; }
.sp-prose-cta { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; } .sp-prose-cta a { text-decoration: none; }
.sp-prose .sp-btn.pri { color: #fff; }
.sp-cover { width: 100%; height: auto; border-radius: 18px; margin: 0 0 24px; display: block; }
.sp-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.sp-sidebox { border: 1px solid var(--sp-line); border-radius: 18px; padding: 20px; background: #fff; font-size: 14.5px; color: var(--sp-text); line-height: 1.6; }
.sp-sidebox h3 { font-size: 16px; margin: 0 0 8px; color: var(--sp-ink); } .sp-sidebox p { margin: 0 0 10px; } .sp-sidebox a:not(.sp-btn) { color: var(--sp-violet-d); }
.sp-sidelist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; } .sp-sidelist a { font-weight: 600; }
.sp-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; } .sp-ticks li::before { content: '✓ '; color: var(--sp-teal); font-weight: 800; }
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 60px 20px 80px; }
.legal-wrap h1 { font-size: 28px; margin-bottom: 6px; }
.legal-wrap .updated { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.legal-wrap h2 { font-size: 18px; margin: 32px 0 10px; }
.legal-wrap p, .legal-wrap li { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }
.legal-wrap ul { padding-left: 20px; margin-bottom: 12px; }
.legal-wrap a { color: var(--sp-violet-d); }

/* reviews */
.sp-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.sp-review { margin: 0; border: 1px solid var(--sp-line); border-radius: 20px; padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.sp-review .stars { color: #F59E0B; letter-spacing: 2px; } .sp-review .stars span { color: #E5E7EB; }
.sp-review blockquote { margin: 0; font-size: 15px; line-height: 1.65; color: var(--sp-text); flex: 1; }
.sp-review figcaption { display: flex; gap: 12px; align-items: center; } .sp-review figcaption img, .sp-review figcaption i { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.sp-review figcaption i { background: var(--sp-violet-l); color: var(--sp-violet-d); font-style: normal; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.sp-review figcaption b { display: block; font-size: 14.5px; } .sp-review figcaption small { color: var(--sp-muted); font-size: 12.5px; }

/* blog */
.sp-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sp-postcard { border: 1px solid var(--sp-line); border-radius: 20px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.sp-postcard:hover { box-shadow: 0 18px 40px rgba(15,13,46,.09); transform: translateY(-2px); }
.sp-postcard .cv { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sp-violet-l), #E6FAF6); display: flex; align-items: center; justify-content: center; }
.sp-postcard .cv img { width: 100%; height: 100%; object-fit: cover; } .sp-postcard .cv i { font-style: normal; font-size: 28px; color: var(--sp-violet); }
.sp-postcard .tx { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sp-postcard small { color: var(--sp-violet-d); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.sp-postcard b { font-size: 17px; line-height: 1.35; } .sp-postcard .tx > span { font-size: 14px; color: var(--sp-text); line-height: 1.55; flex: 1; } .sp-postcard em { font-style: normal; font-size: 12.5px; color: var(--sp-muted); }
.sp-post-head { max-width: 860px; padding-top: 48px; } .sp-post-head h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; margin: 6px 0 12px; font-weight: 800; }
.sp-post-head .meta { color: var(--sp-muted); margin: 0 0 24px; }
.sp-post-body { max-width: 760px; margin: 0 auto; padding: 8px 0 24px; }
.sp-post .sp-wrap > .sp-share, .sp-share { max-width: 760px; margin: 0 auto 56px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.sp-share span { color: var(--sp-muted); font-weight: 600; } .sp-share a { border: 1px solid var(--sp-line); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.sp-share a:hover { border-color: var(--sp-violet); color: var(--sp-violet-d); }

/* demo + contact forms */
.card-like { border: 1px solid var(--sp-line); border-radius: 22px; padding: 26px; background: #fff; }
.sp-step-h { font-size: 17px; margin: 0 0 12px; } .sp-step-h small { font-weight: 500; color: var(--sp-muted); font-size: 13px; }
.sp-step-h:not(:first-child) { margin-top: 26px; }
.sp-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.sp-days button, .sp-times button { border: 1px solid var(--sp-line); background: #fff; border-radius: 12px; padding: 10px 6px; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--sp-ink); }
.sp-days button span { font-size: 14px; } .sp-days button small { font-size: 11.5px; color: var(--sp-teal); font-weight: 600; }
.sp-days button[aria-checked="true"], .sp-times button[aria-checked="true"] { border: 2px solid var(--sp-violet); background: var(--sp-violet-l); }
.sp-days button:hover, .sp-times button:hover { border-color: var(--sp-violet); }
.sp-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; } .sp-times button { font-weight: 700; padding: 12px 6px; }
.sp-times .muted, .muted { color: var(--sp-muted); }
.sp-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sp-done { text-align: center; padding: 24px 8px; } .sp-done .big { font-size: 46px; } .sp-done h2 { margin: 8px 0; }
.sp-done dl { display: inline-grid; grid-template-columns: auto auto; gap: 6px 14px; text-align: left; background: var(--sp-soft); padding: 14px 18px; border-radius: 14px; margin: 10px 0; }
.sp-done dt { color: var(--sp-muted); } .sp-done dd { margin: 0; font-weight: 700; }

@media (max-width: 1024px) {
  .sp-svc { grid-template-columns: repeat(2, 1fr); } .sp-posts { grid-template-columns: 1fr 1fr; }
  .sp-article-layout, .sp-jobs-layout { grid-template-columns: 1fr; } .sp-side, .sp-fbox { position: static; }
  .sp-fbox:not([open]) { padding-bottom: 4px; }
}
@media (max-width: 640px) {
  .sp-svc, .sp-posts, .sp-fgrid { grid-template-columns: 1fr; }
  .sp-jsearch { grid-template-columns: 1fr; } .sp-jsearch input { border: 1px solid var(--sp-line); }
  .sp-jobrow { flex-wrap: wrap; } .sp-jobrow .rt { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
  .card-like { padding: 18px; }
}
/* register page */
.sp-reg h1 { font-size: 28px; margin: 0 0 4px; font-weight: 800; }
.sp-reg .portal { margin-bottom: 22px; }
.sp-reg .portal button[aria-pressed="true"] { background: #fff; color: var(--sp-ink); box-shadow: 0 2px 6px rgba(15,13,46,.08); }
.sp-reg .input-prefix { display: flex; align-items: stretch; }
.sp-reg .input-prefix > span { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line, #E5E7EB); border-right: 0; border-radius: 12px 0 0 12px; background: var(--sp-soft); color: var(--sp-muted); font-weight: 600; }
.sp-reg .input-prefix .input { border-radius: 0 12px 12px 0; flex: 1; min-width: 0; }
.sp-reg .hint { font-size: 12.5px; color: var(--sp-muted); margin-top: 6px; }
.sp-reg .pw-rules { margin: 8px 0 4px; }
.sp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--sp-text); line-height: 1.5; margin: 6px 0 18px; cursor: pointer; }
.sp-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--sp-violet); }
.sp-check a { color: var(--sp-violet-d); font-weight: 600; }
.sp-prose ul { list-style: disc; } .sp-prose ol { list-style: decimal; } .sp-prose li::marker { color: var(--sp-violet); }

/* ---- job details */
.sp-jd-banner { background: radial-gradient(900px 400px at 85% -20%, rgba(108,93,211,.55), rgba(108,93,211,0) 60%), var(--sp-navy); color: #DCDAF5; padding: 34px 0 38px; }
.sp-jd-banner .sp-crumb { color: #A9A5D6; } .sp-jd-banner .sp-crumb a { color: #fff; }
.sp-jd-top { display: flex; gap: 20px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.sp-jd-logo { border-radius: 16px; background: #fff; flex: none; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sp-jd-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
.sp-jd-logo i { font-style: normal; font-weight: 800; color: var(--sp-violet-d); }
.sp-jd-head { flex: 1; min-width: 260px; }
.sp-jd-head h1 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; line-height: 1.15; }
.sp-jd-head .co { margin: 0 0 12px; font-size: 15px; } .sp-jd-head .co b { color: #fff; }
.sp-jd-banner .vf { background: rgba(16,185,129,.18); color: #6EE7B7; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.sp-jd-chips { display: flex; flex-wrap: wrap; gap: 8px; } .sp-jd-chips span { background: rgba(255,255,255,.1); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: #fff; }
.sp-jd-chips .sal { background: rgba(16,185,129,.2); }
.sp-jd-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sp-jd-actions #applyBox { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sp-jd-note { display: inline-block; background: rgba(255,255,255,.12); color: #fff; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; } .sp-jd-note.ok { background: #10B981; }
.sp-jd-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.sp-jd-main, .sp-jd-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sp-jd-side { position: sticky; top: 90px; }
.sp-jd-card { background: #fff; border: 1px solid var(--sp-line); border-radius: 18px; padding: 22px; }
.sp-jd-card h2 { font-size: 19px; margin: 0 0 12px; } .sp-jd-card h3 { font-size: 16px; margin: 0 0 12px; }
.sp-jd-card .sp-prose { font-size: 15.5px; }
.sp-jd-list { margin: 0; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 8px; color: var(--sp-text); line-height: 1.6; } .sp-jd-list li::marker { color: var(--sp-violet); }
.sp-jd-skills { display: flex; flex-wrap: wrap; gap: 8px; } .sp-jd-skills span { background: var(--sp-violet-l); color: var(--sp-violet-d); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.sp-jd-safe { background: #FFF7ED; border: 1px solid #FED7AA; color: #7C2D12; border-radius: 14px; padding: 14px 16px; font-size: 13.5px; line-height: 1.6; }
.sp-jd-safe button { background: none; border: 0; padding: 0; color: #B91C1C; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; margin-left: 4px; }
.sp-jd-company .vf { color: var(--sp-teal); font-weight: 800; }
.sp-jd-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 14px 0 0; font-size: 13.5px; }
.sp-jd-facts dt { color: var(--sp-muted); } .sp-jd-facts dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; } .sp-jd-facts a { color: var(--sp-violet-d); }
.sp-jd-about { font-size: 13.5px; line-height: 1.65; color: var(--sp-text); margin: 14px 0 0; white-space: pre-line; }
.sp-jd-about.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.sp-link { background: none; border: 0; padding: 0; color: var(--sp-violet-d); font-weight: 700; cursor: pointer; font-size: 13.5px; margin-top: 6px; }
.sp-jd-more { display: flex; flex-direction: column; } .sp-jd-more a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--sp-line); }
.sp-jd-more a:first-child { border-top: 0; padding-top: 0; } .sp-jd-more b { font-size: 14.5px; } .sp-jd-more span { font-size: 12.5px; color: var(--sp-muted); } .sp-jd-more a:hover b { color: var(--sp-violet-d); }
.sp-jd-sticky { display: none; }
@media (max-width: 1024px) { .sp-jd-layout { grid-template-columns: 1fr; } .sp-jd-side { position: static; } }
@media (max-width: 640px) {
  .sp-jd-actions { width: 100%; }
  .sp-jd-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--sp-line); padding: 10px 16px; gap: 12px; align-items: center; box-shadow: 0 -8px 24px rgba(15,13,46,.08); }
  .sp-jd-sticky div { flex: 1; min-width: 0; } .sp-jd-sticky b, .sp-jd-sticky span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sp-jd-sticky span { font-size: 12px; color: var(--sp-muted); }
  body.sp.has-sticky { padding-bottom: 64px; }
}

/* ---- auto-scrolling rows (clients, blog) */
.sp-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sp-marquee .track { display: flex; gap: 14px; width: max-content; animation: spmq var(--dur, 40s) linear infinite; }
.sp-marquee:hover .track, .sp-marquee:focus-within .track { animation-play-state: paused; }
@keyframes spmq { to { transform: translateX(-50%); } }
.sp-marquee .co { flex: none; }
.sp-marquee.posts .sp-postcard { width: 320px; flex: none; }
@media (prefers-reduced-motion: reduce) { .sp-marquee .track { animation: none; } .sp-marquee { overflow-x: auto; } }
.sp-jd-actions .sp-btn.line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.sp-jd-actions .sp-btn.line-light:hover { background: rgba(255,255,255,.1); }
.sp-jd-company .sp-jd-logo { border: 1px solid var(--sp-line); background: var(--sp-soft); }
.sp-marquee .co { height: 64px; min-width: 150px; padding: 10px 20px; border: 1px solid var(--sp-line); border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #fff; }
.sp-marquee .co img { max-height: 40px; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.sp-marquee .co:hover img { filter: none; opacity: 1; }
.sp-marquee .track { padding: 4px 0; }

@media (max-width: 400px) {
  .sp-auth .main { padding: 28px 16px; } .sp-auth .portal button { font-size: 13px; padding: 0 6px; }
  .sp-reg .pw-rules { grid-template-columns: 1fr; } .sp-wrap { padding: 0 16px; }
}

/* three-card rows: stay in one row on tablets, stack on phones (no lonely last card) */
@media (max-width: 860px) { .sp-mods, .sp-addons { grid-template-columns: 1fr; } }
.sp-reviews { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (max-width: 640px) {
  .sp-jd-banner { padding: 22px 0 26px; }
  .sp-jd-top { gap: 14px; align-items: flex-start; }
  .sp-jd-top > .sp-jd-logo { width: 52px !important; height: 52px !important; border-radius: 12px; }
  .sp-jd-head { flex: 1 1 calc(100% - 70px); min-width: 0; }
  .sp-jd-head h1 { font-size: 22px; }
  .sp-jd-chips span { font-size: 12px; padding: 5px 10px; }
  .sp-jd-actions { flex: 1 1 100%; }
  .sp-jd-actions #applyBox { flex: 1; } .sp-jd-actions #applyBox .sp-btn.light { flex: 1; }
  .sp-jd-card { padding: 18px; } .sp-jd-banner .sp-crumb { font-size: 12.5px; }
}
@media (min-width: 641px) and (max-width: 1024px) { .sp-jd-head { min-width: 0; flex: 1 1 400px; } }

/* =================== v10: company profile + reviews + 404 =================== */
.cp-banner { background: radial-gradient(900px 400px at 85% -20%, rgba(108,93,211,.55), rgba(108,93,211,0) 60%), var(--sp-navy); color: #DCDAF5; padding: 34px 0 0; }
.cp-top { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cp-logo { width: 84px; height: 84px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; color: #B45309; flex: none; }
.cp-top h1 { color: #fff; font-size: 34px; margin: 0 0 6px; }
.cp-top .meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; }
.cp-top .meta span { background: rgba(255,255,255,.1); border-radius: 999px; padding: 5px 12px; color: #fff; }
.cp-score { margin-left: auto; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 14px 20px; text-align: center; color: #fff; }
.cp-score b { font-size: 34px; font-family: var(--sp-display); display: block; line-height: 1; }
.cp-score .st { color: #FBBF24; letter-spacing: 2px; font-size: 16px; } .cp-score small { color: #C9C5F0; }
.cp-tabs { display: flex; gap: 4px; margin-top: 26px; }
.cp-tabs a { padding: 12px 18px; color: #C9C5F0; font-weight: 700; border-radius: 12px 12px 0 0; font-size: 14.5px; }
.cp-tabs a.on { background: #fff; color: var(--sp-ink); }
.cp-tabs a i { font-style: normal; background: rgba(255,255,255,.15); border-radius: 999px; padding: 1px 8px; font-size: 12px; margin-left: 4px; }
.cp-tabs a.on i { background: var(--sp-violet-l); color: var(--sp-violet-d); }
.cp-layout { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.rv-card { background: #fff; border: 1px solid var(--sp-line); border-radius: 18px; padding: 22px; }
.rv-card h3 { font-size: 16px; margin: 0 0 14px; }
.rv-big { display: flex; gap: 16px; align-items: center; }
.rv-big b { font-size: 48px; font-family: var(--sp-display); line-height: 1; }
.rv-big .st { color: #F59E0B; font-size: 20px; letter-spacing: 2px; } .rv-big small { color: var(--sp-muted); display: block; }
.rv-dist { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 4px; }
.rv-dist div { display: grid; grid-template-columns: 26px 1fr 34px; gap: 8px; align-items: center; font-size: 13px; color: var(--sp-muted); }
.rv-bar { height: 8px; background: #F1F0F8; border-radius: 99px; overflow: hidden; } .rv-bar i { display: block; height: 100%; background: #F59E0B; border-radius: 99px; }
.rv-cats { display: flex; flex-direction: column; gap: 12px; }
.rv-cat { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.rv-cat .em { font-size: 20px; } .rv-cat .nm { display: flex; flex-direction: column; gap: 5px; } .rv-cat .rv-bar i { background: var(--sp-violet); }
.rv-cat b { font-size: 14px; } .rv-cat .sc { font-weight: 800; font-size: 15px; }
.rv-recommend { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sp-line); font-size: 14px; }
.rv-ring { width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--sp-teal) 0 82%, #E6E4F0 82% 100%); display: flex; align-items: center; justify-content: center; flex: none; }
.rv-ring span { width: 42px; height: 42px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.rv-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.rv-filters select, .rv-filters button { height: 38px; border: 1px solid var(--sp-line); border-radius: 10px; background: #fff; padding: 0 12px; font: 600 13.5px Inter, sans-serif; color: var(--sp-text); }
.rv-filters button.on { background: var(--sp-violet-l); border-color: var(--sp-violet); color: var(--sp-violet-d); }
.rv-item { background: #fff; border: 1px solid var(--sp-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rv-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.rv-head .st { color: #F59E0B; font-size: 17px; letter-spacing: 2px; } .rv-head .st span { color: #E5E7EB; }
.rv-head h4 { margin: 4px 0 2px; font-size: 17px; } .rv-head small { color: var(--sp-muted); font-size: 13px; }
.rv-mood { font-size: 30px; line-height: 1; }
.rv-chips { display: flex; flex-wrap: wrap; gap: 6px; } .rv-chips span { background: var(--sp-soft); border-radius: 999px; padding: 5px 10px; font-size: 12.5px; color: var(--sp-text); } .rv-chips b { color: var(--sp-ink); }
.rv-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rv-pc div { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.6; } .rv-pc .p { background: #ECFDF3; } .rv-pc .c { background: #FEF2F2; }
.rv-pc b { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; } .rv-pc .p b { color: #166534; } .rv-pc .c b { color: #B91C1C; }
.rv-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--sp-muted); }
.rv-foot button { border: 1px solid var(--sp-line); background: #fff; border-radius: 999px; padding: 6px 12px; font: 600 13px Inter, sans-serif; color: var(--sp-text); cursor: pointer; }
.rv-tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 700; } .rv-tag.g { background: #ECFDF3; color: #166534; } .rv-tag.b { background: #EEEBFF; color: #4B3DB0; } .rv-tag.y { background: #FFF4E5; color: #9A4A00; }
.rv-reply { background: var(--sp-soft); border-left: 3px solid var(--sp-violet); border-radius: 0 12px 12px 0; padding: 12px 14px; font-size: 14px; line-height: 1.6; } .rv-reply b { display: block; font-size: 13px; margin-bottom: 2px; }
/* write form */
.wr-wrap { max-width: 860px; margin: 0 auto; }
.wr-co { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--sp-soft); border-radius: 14px; margin-bottom: 20px; }
.wr-co .cp-logo { width: 52px; height: 52px; font-size: 17px; border-radius: 14px; }
.wr-step { font-weight: 800; font-size: 15px; margin: 22px 0 10px; } .wr-step small { font-weight: 500; color: var(--sp-muted); }
.wr-rel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wr-rel label { border: 1px solid var(--sp-line); border-radius: 12px; padding: 12px; text-align: center; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.wr-rel label.on { border: 2px solid var(--sp-violet); background: var(--sp-violet-l); color: var(--sp-violet-d); }
.wr-overall { display: flex; gap: 6px; align-items: center; }
.wr-overall .s { font-size: 34px; color: #F59E0B; } .wr-overall .s.off { color: #E5E7EB; } .wr-overall em { font-style: normal; margin-left: 10px; font-weight: 700; color: var(--sp-ink); font-size: 15px; }
.wr-cats { display: flex; flex-direction: column; gap: 10px; }
.wr-catrow { display: grid; grid-template-columns: 220px 1fr; gap: 14px; align-items: center; border: 1px solid var(--sp-line); border-radius: 14px; padding: 10px 14px; }
.wr-catrow .l { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; } .wr-catrow .l span { font-size: 22px; }
.wr-emo { display: flex; gap: 6px; }
.wr-emo button { flex: 1; border: 1px solid var(--sp-line); background: #fff; border-radius: 12px; padding: 6px 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 600 11px Inter, sans-serif; color: var(--sp-muted); }
.wr-emo button i { font-style: normal; font-size: 22px; filter: grayscale(1); opacity: .55; }
.wr-emo button.on { border: 2px solid var(--sp-violet); background: var(--sp-violet-l); color: var(--sp-violet-d); } .wr-emo button.on i { filter: none; opacity: 1; }
.wr-yn { display: flex; gap: 8px; } .wr-yn label { border: 1px solid var(--sp-line); border-radius: 12px; padding: 10px 18px; font-weight: 700; } .wr-yn label.on { border: 2px solid var(--sp-teal); background: #E6FAF6; color: var(--sp-teal); }
.wr-anon { display: flex; gap: 12px; align-items: flex-start; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 14px; padding: 14px; font-size: 14px; line-height: 1.55; margin-top: 18px; }
/* 404 */
.nf { min-height: 62vh; display: flex; align-items: center; }
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.nf-big { font-family: var(--sp-display); font-size: 150px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--sp-violet), #0F766E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.nf-links a { border: 1px solid var(--sp-line); border-radius: 14px; padding: 14px; background: #fff; font-weight: 700; display: flex; gap: 10px; align-items: center; } .nf-links a small { display: block; font-weight: 500; color: var(--sp-muted); font-size: 12.5px; }
@media (max-width: 900px) { .cp-layout, .nf-grid { grid-template-columns: 1fr; } .wr-rel { grid-template-columns: 1fr 1fr; } .wr-catrow { grid-template-columns: 1fr; } .rv-pc { grid-template-columns: 1fr; } .cp-score { margin-left: 0; } .nf-big { font-size: 100px; } }

.cp-logo { position: relative; overflow: hidden; } .cp-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; } .cp-logo i { font-style: normal; }
.cp-banner .sp-crumb { color: #A9A5D6; } .cp-banner .sp-crumb a { color: #fff; }
.cp-name { flex: 1; min-width: 240px; } .cp-vf { font-size: 13px; background: rgba(16,185,129,.2); color: #6EE7B7; border-radius: 999px; padding: 3px 10px; vertical-align: middle; font-family: Inter, sans-serif; }
a.cp-score:hover { background: rgba(255,255,255,.14); } .cp-score small { display: block; }
.cp-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.rv-filters a { height: 38px; display: inline-flex; align-items: center; border: 1px solid var(--sp-line); border-radius: 10px; background: #fff; padding: 0 12px; font-weight: 600; font-size: 13.5px; color: var(--sp-text); }
.rv-filters a.on { background: var(--sp-violet-l); border-color: var(--sp-violet); color: var(--sp-violet-d); }
.rv-foot button[disabled] { opacity: .6; cursor: default; } .rv-foot button.on { background: var(--sp-violet-l); border-color: var(--sp-violet); color: var(--sp-violet-d); }
.rt-star { color: #B45309; font-weight: 800; } .rt-n { color: var(--sp-muted); }
.sp-jd-rating { display: flex; gap: 10px; align-items: center; margin-top: 14px; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 12px; padding: 10px 12px; }
.sp-jd-rating b { font-size: 20px; } .sp-jd-rating .st { color: #F59E0B; letter-spacing: 2px; } .sp-jd-rating span:last-child { font-size: 13px; color: var(--sp-text); }
@media (max-width: 900px) { .cp-side { position: static; } .cp-top h1 { font-size: 26px; } .cp-tabs a { padding: 10px 12px; } }
.wr-err { color: #B91C1C; font-size: 12.5px; margin-top: 4px; } .wr-err:empty { display: none; }
.wr-rel label { display: flex; align-items: center; justify-content: center; gap: 6px; }
.rv-big .st span, .cp-score .st span { color: #E5E7EB; }
.sp-prose p { margin: 0 0 14px; } .sp-prose ul, .sp-prose ol { margin: 0 0 16px; }

/* =================== v10: wide legal pages + blog post =================== */
.lx-head { background: radial-gradient(900px 400px at 85% -20%, rgba(108,93,211,.55), rgba(108,93,211,0) 60%), var(--sp-navy); color: #DCDAF5; padding: 38px 0 40px; }
.lx-head h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin: 8px 0 12px; }
.lx-head .sp-crumb, .bp-hero .sp-crumb { color: #A9A5D6; } .lx-head .sp-crumb a, .bp-hero .sp-crumb a { color: #fff; }
.lx-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; } .lx-meta span { background: rgba(255,255,255,.1); border-radius: 999px; padding: 5px 12px; color: #fff; }
.lx-wrap { background: var(--sp-soft); padding: 36px 0 64px; }
.lx-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 290px; gap: 28px; align-items: start; }
.lx-left, .lx-side, .bp-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.lx-toc { border: 1px solid var(--sp-line); border-radius: 18px; padding: 16px; background: #fff; }
.lx-toc summary { list-style: none; cursor: pointer; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--sp-muted); font-weight: 800; padding: 2px 4px 10px; display: flex; justify-content: space-between; }
.lx-toc summary::-webkit-details-marker { display: none; }
.lx-toc-list { display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 200px); overflow: auto; }
.lx-toc a { display: block; padding: 7px 10px; border-radius: 9px; font-size: 13.5px; color: var(--sp-text); line-height: 1.35; }
.lx-toc a:hover { background: var(--sp-soft); } .lx-toc a.on { background: var(--sp-violet-l); color: var(--sp-violet-d); font-weight: 700; }
.lx-doc.legal-wrap { max-width: none; margin: 0; background: #fff; border: 1px solid var(--sp-line); border-radius: 20px; padding: 36px 40px; }
.lx-doc.legal-wrap > h1, .lx-doc.legal-wrap > .updated { display: none; }
.lx-doc h2, .bp-body h2 { scroll-margin-top: 96px; }
.lx-doc.legal-wrap h2 { font-size: 19px; margin: 30px 0 10px; } .lx-doc.legal-wrap h2:first-of-type { margin-top: 18px; }
.lx-doc.legal-wrap p, .lx-doc.legal-wrap li { font-size: 15px; }
.lx-doc.legal-wrap ul { list-style: disc; }
.lx-box { border: 1px solid var(--sp-line); border-radius: 18px; padding: 20px; background: #fff; font-size: 14px; color: var(--sp-text); line-height: 1.6; }
.lx-box h3 { font-size: 16px; margin: 0 0 8px; color: var(--sp-ink); } .lx-box p { margin: 0 0 12px; }
.lx-btn { width: 100%; margin-top: 8px; } .lx-btn:first-of-type { margin-top: 0; }
.lx-pol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.lx-pol a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; font-weight: 600; }
.lx-pol a:hover { background: var(--sp-soft); } .lx-pol a.on { background: var(--sp-violet-l); color: var(--sp-violet-d); }
.lx-more { display: inline-block; margin-top: 10px; font-weight: 700; color: #fff; font-size: 13.5px; }

.bp-hero { background: radial-gradient(900px 400px at 85% -20%, rgba(108,93,211,.5), rgba(108,93,211,0) 60%), var(--sp-navy); padding: 40px 0 48px; color: #DCDAF5; }
.bp-hero-g { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.bp-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.15; margin: 10px 0 14px; }
.bp-lead { font-size: 17px; line-height: 1.6; margin: 0 0 18px; }
.bp-cover { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.bp-tag { display: inline-block; background: #B45309; color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin-top: 10px; }
.bp-by { display: flex; gap: 12px; align-items: center; font-size: 14px; } .bp-by b { color: #fff; display: block; }
.bp-av { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--sp-violet-d); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.bp-prog { position: sticky; top: 74px; height: 4px; background: var(--sp-line); z-index: 20; } .bp-prog i { display: block; height: 100%; width: 0; background: var(--sp-violet); transition: width .1s linear; }
.bp-grid { display: grid; grid-template-columns: 56px minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.bp-share { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.bp-share span { font-size: 11px; color: var(--sp-muted); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.bp-share a, .bp-share button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--sp-line); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: #fff; color: var(--sp-ink); cursor: pointer; }
.bp-share a:hover, .bp-share button:hover { border-color: var(--sp-violet); color: var(--sp-violet-d); }
.bp-body { background: #fff; border: 1px solid var(--sp-line); border-radius: 20px; padding: 36px 40px; }
.bp-cta { background: var(--sp-navy); color: #C9C5F0; border: 0; } .bp-cta h3 { color: #fff; }
.bp-rel a { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--sp-line); }
.bp-rel a:first-of-type { border-top: 0; padding-top: 2px; }
.bp-rel img, .bp-rel i { width: 84px; height: 46px; object-fit: cover; border-radius: 8px; flex: none; background: var(--sp-violet-l); display: flex; align-items: center; justify-content: center; font-style: normal; color: var(--sp-violet); }
.bp-rel b { font-size: 13.5px; line-height: 1.35; color: var(--sp-ink); } .bp-rel a:hover b { color: var(--sp-violet-d); }

@media (max-width: 1180px) {
  .lx-grid { grid-template-columns: 230px minmax(0, 1fr); } .lx-side { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .bp-grid { grid-template-columns: 56px minmax(0, 1fr); } .bp-side { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .bp-side .lx-toc { display: none; }
}
@media (max-width: 860px) {
  .lx-grid, .bp-grid { grid-template-columns: 1fr; } .lx-left { position: static; } .lx-side, .bp-side { grid-template-columns: 1fr; }
  .lx-toc-list { max-height: none; } .lx-toc details:not([open]) summary { padding-bottom: 2px; }
  .lx-toc summary::after { content: '▾'; } .lx-toc details[open] summary::after { content: '▴'; }
  .bp-hero-g { grid-template-columns: 1fr; gap: 24px; }
  .bp-share { position: static; flex-direction: row; justify-content: flex-start; order: 2; flex-wrap: wrap; } .bp-share span { margin-right: 4px; }
  .bp-side .lx-toc { display: block; order: -1; }
  .lx-doc.legal-wrap, .bp-body { padding: 22px 18px; border-radius: 16px; }
  .lx-wrap { padding: 20px 0 40px; }
}
@media print {
  .sp-nav, .sp-foot, .lx-left, .lx-side, .bp-side, .bp-share, .bp-prog, .sp-cta, .lx-head .lx-meta { display: none !important; }
  .lx-head, .bp-hero { background: #fff !important; color: #000; padding: 0; } .lx-head h1, .bp-hero h1 { color: #000; }
  .lx-wrap { background: #fff; padding: 0; } .lx-grid, .bp-grid { display: block; } .lx-doc.legal-wrap, .bp-body { border: 0; padding: 0; }
}
