/* Sales-network landing page. Builds on web-design.css (wd-*); only sn-* additions live here. */
.sn-page { --sn-violet: #7057e8; --sn-coral: #f45158; --sn-mint: #42d3a1; --sn-yellow: #f2c21a; }
.sn-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wd-tone-blue { --tone: #4d87e7; --wash: #edf5ff; }

/* Hero network illustration */
.sn-hero-art { padding: 10px 0; }
.sn-network { display: block; width: 100%; height: auto; max-width: 600px; margin: 0 auto; overflow: visible; }
.sn-node circle, .sn-subs circle { transform-box: fill-box; transform-origin: center; }
.sn-subs > circle { animation: sn-breathe 4s ease-in-out infinite; }
.sn-subs > circle:nth-child(2n) { animation-delay: -2s; }
.sn-tag--order { left: 2%; top: 44%; }
.sn-tag--fee { right: 4%; bottom: 6%; animation-delay: -3s; }
.sn-tag--fee i { color: #2fb889; }
@keyframes sn-breathe { 50% { transform: scale(1.18); } }

/* Order journey */
.sn-journey-band { background: linear-gradient(110deg, #f5f8ff, #f7f3ff); margin-top: 58px; padding-bottom: 60px; }
.sn-journey { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 10px 0 0; counter-reset: sn; }
.sn-journey::before { content: ''; position: absolute; top: 36px; right: 8%; left: 8%; height: 2px; background: repeating-linear-gradient(to left, #c9bff7 0 8px, transparent 8px 14px); }
.sn-journey-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 18px 22px; margin: 0; background: #fff; border: 1px solid #e8e4fb; border-radius: 16px; box-shadow: 0 10px 26px #5b6fb00d; }
.sn-journey-step:nth-child(5n + 1) { --tone: #7057e8; --wash: #f1eeff; }
.sn-journey-step:nth-child(5n + 2) { --tone: #f45158; --wash: #ffeff0; }
.sn-journey-step:nth-child(5n + 3) { --tone: #2fb889; --wash: #e8f9f2; }
.sn-journey-step:nth-child(5n + 4) { --tone: #d9a90c; --wash: #fff7dc; }
.sn-journey-step:nth-child(5n + 5) { --tone: #4d87e7; --wash: #edf5ff; }
.sn-journey-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--wash); color: var(--tone); font-size: 20px; margin-bottom: 14px; box-shadow: 0 0 0 6px #fff; }
.sn-journey-tag { font-size: 13px; font-weight: 600; color: var(--tone); background: var(--wash); border-radius: 6px; padding: 2px 8px; margin-bottom: 10px; }
.sn-page .sn-journey-step h3 { font-size: 15px; margin-bottom: 8px; display: flex; align-items: baseline; gap: 6px; }
.sn-journey-no { font-size: 13px; color: #9caecc; letter-spacing: 1px; }
.sn-page .sn-journey-step p { font-size: 13px; line-height: 2; margin: 0; }

/* Role tabs */
.sn-role-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.sn-role-tab { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 18px; border: 1px solid var(--wd-line); border-radius: 12px; background: #fff; color: var(--wd-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.sn-role-tab i { color: var(--tone); font-size: 17px; }
.sn-role-tab:hover { border-color: var(--tone); color: var(--wd-ink); }
.sn-role-tab[aria-selected="true"] { background: var(--wash); border-color: var(--tone); color: var(--wd-ink); }
.sn-role-tab:focus-visible { outline: 3px solid #8b78ee; outline-offset: 3px; }
.sn-role-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 34px; border-radius: 20px; background: linear-gradient(120deg, var(--wash), #fff 70%); border: 1px solid var(--wd-line); }
.sn-roles.is-ready .sn-role-panel:not(.is-active) { display: none; }
.sn-roles:not(.is-ready) .sn-role-panel + .sn-role-panel { margin-top: 18px; }
.sn-roles.is-ready .sn-role-panel.is-active { animation: sn-fade .35s ease; }
.sn-role-copy .wd-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 0; }
.sn-mock { background: #fff; border: 1px solid #e3e8f4; border-radius: 16px; box-shadow: 0 18px 40px #5b7aab1f; overflow: hidden; transform: perspective(1200px) rotateY(-6deg); }
.sn-mock-bar { display: flex; align-items: center; gap: 5px; padding: 11px 14px; background: #f4f6fc; direction: ltr; }
.sn-mock-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); opacity: .8; }
.sn-mock-bar span:nth-child(2) { opacity: .5; }
.sn-mock-bar span:nth-child(3) { opacity: .3; }
.sn-mock-bar b { margin-left: auto; font-size: 13px; color: var(--wd-muted); font-weight: 600; }
.sn-mock-body { display: grid; grid-template-columns: 140px minmax(0, 1fr); min-height: 270px; }
.sn-mock-menu { list-style: none; margin: 0; padding: 12px 8px; background: #10155c; }
.sn-mock-menu li { font-size: 13px; line-height: 1.6; color: #b9c0e6; padding: 6px 10px; border-radius: 8px; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-mock-menu li.is-on { background: #ffffff1c; color: #fff; }
.sn-mock-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.sn-mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sn-mock-stats span { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: var(--wash); }
.sn-mock-stats i { display: block; height: 5px; border-radius: 3px; background: var(--tone); width: 60%; }
.sn-mock-stats i + i { width: 85%; opacity: .35; }
.sn-mock-chart { display: flex; align-items: flex-end; gap: 7px; height: 70px; padding: 8px 10px 0; border-bottom: 1px solid #eef1f8; }
.sn-mock-chart i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(var(--tone), color-mix(in srgb, var(--tone) 35%, #fff)); opacity: .8; }
.sn-mock-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sn-mock-rows li { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 8px 10px; border: 1px solid #eef1f8; border-radius: 9px; font-size: 13px; color: var(--wd-ink); }
.sn-pill { font-style: normal; font-size: 13px; border-radius: 20px; padding: 2px 9px; white-space: nowrap; }
.sn-pill--ok { color: #1f8a68; background: #e3f7ef; }
.sn-pill--wait { color: #5b48c9; background: #efebff; }
.sn-pill--warn { color: #b0391f; background: #ffece6; }
@keyframes sn-fade { from { opacity: 0; transform: translateY(6px); } }

/* Modules */
.sn-modules-band { background: #f7f9fe; margin-top: 58px; padding-bottom: 60px; }
.sn-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sn-module { padding: 24px 22px 10px; background: #fff; border: 1px solid #e8edf6; border-radius: 16px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sn-module:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #647ba015; border-color: #d5ccfa; }
.sn-module:nth-child(4n + 1) { --tone: #7057e8; --wash: #f1eeff; }
.sn-module:nth-child(4n + 2) { --tone: #f45158; --wash: #ffeff0; }
.sn-module:nth-child(4n + 3) { --tone: #2fb889; --wash: #e8f9f2; }
.sn-module:nth-child(4n + 4) { --tone: #d9a90c; --wash: #fff7dc; }
.sn-module-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sn-module-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--wash); color: var(--tone); font-size: 22px; }
.sn-module-no { font: 700 26px/1 monospace; color: var(--wash); -webkit-text-stroke: 1px var(--tone); opacity: .7; }
.sn-page .sn-module h3 { font-size: 16px; }

/* Case study */
.sn-case { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.sn-case-figure { margin: 0; border-radius: 20px; overflow: hidden; background: #2e5cf0; }
.sn-case-figure a { display: block; aspect-ratio: 900 / 555; overflow: hidden; }
.sn-case-figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sn-case-figure a:hover img { transform: scale(1.03); }
.sn-case-figure figcaption { padding: 12px 18px; background: #10155c; color: #d9def7; font-size: 13px; }
.sn-case-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.sn-case-facts > div { padding: 12px 14px; border-radius: 12px; background: #f6f5ff; border: 1px solid #ebe7fd; }
.sn-case-facts dt { font-size: 13px; color: var(--wd-muted); font-weight: 500; margin-bottom: 4px; }
.sn-case-facts dd { margin: 0; font-size: 13px; font-weight: 700; color: var(--wd-ink); line-height: 1.8; }
.sn-case-list { margin-bottom: 8px; }
.sn-case-list li { font-size: 13px; }

/* Portfolio: four projects */
.sn-projects { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* Commission simulator */
.sn-fee-band { background: linear-gradient(110deg, #f5f8ff, #eff9fc); margin-top: 58px; padding-bottom: 60px; }
.sn-fee-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.sn-fee-rules { margin-top: 26px; }
.sn-sim { padding: 28px; background: #fff; border-radius: 20px; border: 1px solid #e3e9f5; box-shadow: 0 20px 44px #4c6aa514; }
.sn-sim-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.sn-sim-head > i { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: #f1eeff; color: var(--sn-violet); font-size: 22px; }
.sn-page .sn-sim-head h3 { margin: 0 0 2px; }
.sn-page .sn-sim-head p { font-size: 13px; margin: 0; line-height: 1.9; }
.sn-sim-field { display: block; margin: 0 0 18px; }
.sn-sim-field > span { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--wd-ink); margin-bottom: 8px; }
.sn-sim-field output { font-weight: 700; color: var(--sn-violet); }
.sn-sim-field input[type="range"] { width: 100%; height: 28px; margin: 0; accent-color: var(--sn-violet); cursor: pointer; direction: rtl; }
.sn-sim-tiers { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
.sn-sim-tiers li { margin: 0; font-size: 13px; padding: 4px 10px; border-radius: 8px; border: 1px dashed #d8d1fa; color: var(--wd-muted); transition: all .2s; }
.sn-sim-tiers li.is-on { border-style: solid; border-color: var(--sn-violet); background: #f1eeff; color: var(--wd-ink); font-weight: 600; }
.sn-sim-result { margin: 0; border-top: 1px solid #eef1f8; padding-top: 12px; }
.sn-sim-result > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; }
.sn-sim-result dt { font-size: 13px; font-weight: 500; color: var(--wd-muted); }
.sn-sim-result dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--wd-ink); }
.sn-sim-total { margin-top: 6px; padding: 12px 14px !important; border-radius: 12px; background: #10155c; }
.sn-sim-total dt { color: #c8cdee; }
.sn-sim-total dd { color: #fff; font-size: 17px; }

/* Comparison table */
.sn-table-wrap { border-radius: 16px; border: 1px solid var(--wd-line); overflow: hidden; }
.sn-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sn-table th, .sn-table td { padding: 14px 16px; text-align: right; border-bottom: 1px solid var(--wd-line); vertical-align: middle; line-height: 1.9; }
.sn-table thead th { background: #f6f8fd; color: var(--wd-ink); font-size: 13px; font-weight: 700; }
.sn-table tbody th { color: var(--wd-ink); font-weight: 600; width: 24%; }
.sn-table td { color: var(--wd-muted); }
.sn-table tr:last-child th, .sn-table tr:last-child td { border-bottom: 0; }
.sn-table .sn-col-best { background: #f4f1ff; color: var(--wd-ink); font-weight: 600; }
.sn-table thead .sn-col-best { background: var(--sn-violet); color: #fff; }
.sn-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; font-size: 13px; font-weight: 700; vertical-align: middle; }
.sn-mark--yes { background: #e3f7ef; color: #1f8a68; }
.sn-mark--part { background: #fff4d6; color: #a37800; }
.sn-mark--no { background: #ffecee; color: #d23a42; }

/* Legal note */
.sn-legal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: flex-start; padding: 28px 30px; border-radius: 16px; background: #fff9ed; border: 1px solid #f6e6c2; }
.sn-legal-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #ffedc6; color: #c18a26; font-size: 24px; }
.sn-page .sn-legal h2 { font-size: 20px; margin-bottom: 8px; }
.sn-page .sn-legal p { font-size: 13px; margin: 0; }

@media (max-width: 1199px) {
    .sn-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sn-journey::before { display: none; }
    .sn-role-panel { gap: 26px; padding: 26px; }
    .sn-role-copy .wd-checks { grid-template-columns: minmax(0, 1fr); }
    .sn-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .sn-journey-band, .sn-modules-band, .sn-fee-band { margin-top: 40px; }
    .sn-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sn-role-panel { grid-template-columns: minmax(0, 1fr); }
    .sn-mock { transform: none; max-width: 560px; width: 100%; margin: 0 auto; }
    .sn-role-copy .wd-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sn-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sn-case, .sn-fee-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .sn-fee-copy { text-align: center; }
    .sn-fee-rules { text-align: right; }
    .sn-tag--order { top: 40%; }
}
@media (max-width: 767px) {
    .sn-table-wrap { border: 0; overflow: visible; }
    .sn-table thead { display: none; }
    .sn-table, .sn-table tbody, .sn-table tr, .sn-table th, .sn-table td { display: block; width: 100%; }
    .sn-table tr { margin-bottom: 12px; border: 1px solid var(--wd-line); border-radius: 14px; overflow: hidden; }
    .sn-table tbody th { width: 100%; background: #f6f8fd; }
    .sn-table td { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; }
    .sn-table td::before { content: attr(data-label); flex-shrink: 0; font-size: 13px; color: var(--wd-muted); font-weight: 500; }
    .sn-table td .sn-mark { order: 2; margin: 0; }
    .sn-table td { text-align: left; }
    .sn-table tr:last-child th { border-bottom: 1px solid var(--wd-line); }
}
@media (max-width: 575px) {
    .sn-journey, .sn-modules, .sn-role-copy .wd-checks, .sn-case-facts, .sn-projects { grid-template-columns: minmax(0, 1fr); }
    .sn-journey-band, .sn-modules-band, .sn-fee-band { margin-top: 30px; padding-bottom: 34px; }
    .sn-role-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .sn-role-tab { justify-content: center; padding: 8px 10px; font-size: 13px; }
    .sn-role-panel { padding: 20px 16px; }
    .sn-mock-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .sn-mock-menu { display: flex; gap: 4px; overflow: hidden; padding: 8px; }
    .sn-mock-menu li { flex-shrink: 0; margin: 0; }
    .sn-mock-main { padding: 10px; }
    .sn-sim { padding: 20px 16px; }
    .sn-sim-total dd { font-size: 15px; }
    .sn-legal { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 14px; }
    .sn-tag--order { top: 2%; left: 22%; }
    .sn-tag--fee { bottom: 0; right: 20%; }
}
/* Readability floor for this page: no text below 13px. Overrides the shared wd-* sizes here only. */
.sn-page .wd-eyebrow, .sn-page .wd-breadcrumb, .sn-page .wd-art-tag, .sn-page .wd-benefits li, .sn-page .wd-type p,
.sn-page .wd-checks li, .sn-page .wd-step-number, .sn-page .wd-timeline p, .sn-page .wd-cost-factors li, .sn-page .wd-cost-cta p,
.sn-page .wd-project-meta span, .sn-page .wd-project p, .sn-page .avatar-btn, .sn-page .wd-benefits strong,
.sn-page .consultcta-form-badge, .sn-page .consultcta-privacy { font-size: 13px; }
@media (max-width: 575px) {
    .sn-page .wd-art-tag { padding: 7px 10px; gap: 6px; }
    .sn-page .wd-art-tag i { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .sn-mock { transform: none; }
}
