/* SILKPATH PAGE */
:root { --sp-err: #ff6b6b; --sp-warn: #f5a524; --sp-note: #7aa7ff; --sp-ok: #b5e32a; }
html { scroll-padding-top: 90px; }

/* ---------- hero ---------- */
.sp-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: center; padding: 140px 60px 88px; }
.sp-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(620px circle at 88% 30%, rgba(181,227,42,0.11), transparent 60%); }
.sp-hero > * { position: relative; }
.sp-hero .section-tag, .sp-section .section-tag { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sp-hero .section-tag::before, .sp-section .section-tag::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
.sp-h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: 1px; color: var(--text); margin: 6px 0 22px; }
.sp-lead { font-size: 16px; color: var(--text2); line-height: 1.85; font-weight: 300; max-width: 680px; }
.sp-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.sp-btns .btn-primary, .sp-btns .btn-outline, .sp-cta .btn-primary { padding: 14px 36px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; display: inline-block; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: opacity 0.2s, border-color 0.2s, color 0.2s; }
.sp-btns .btn-primary, .sp-cta .btn-primary { background: var(--accent); color: #080808; font-weight: 500; border: 1px solid var(--accent); }
.sp-btns .btn-primary:hover, .sp-cta .btn-primary:hover { opacity: 0.85; }
.sp-btns .btn-outline { background: transparent; color: var(--text); font-weight: 400; border: 1px solid var(--border2); }
.sp-btns .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.sp-glance { position: relative; background: var(--bg3); border: 1px solid var(--border); padding: 40px 32px 28px; display: grid; gap: 18px; }
.sp-glance::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.sp-badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #080808; font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; }
.sp-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.sp-num { font-family: 'Bebas Neue', sans-serif; font-size: 46px; line-height: 1; color: var(--accent); }
.sp-stat-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text2); text-align: right; }
.sp-by { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text2); }
.sp-by a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
.sp-by a:hover { color: #d6f56e; }
.sp-mono { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; background: var(--accent2); border: 1px solid rgba(181,227,42,0.3); color: var(--accent); font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 1px; }
.sp-mono-lg { width: 76px; height: 76px; font-size: 32px; }
.sp-crawl { display: block; padding-top: 6px; }
.sp-crawl svg { display: block; width: 100%; height: auto; overflow: visible; }
.cm-e { stroke: rgba(181,227,42,0.35); stroke-width: 1.2; }
.cm-n { fill: var(--accent); opacity: 0.9; }
.cm-dot { fill: #d6f56e; filter: drop-shadow(0 0 5px rgba(181,227,42,0.9)); }
.cm-label { display: block; margin-top: 6px; text-align: center; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text2); }
.cm-dots i { display: inline-block; width: 3px; height: 3px; margin-left: 4px; background: var(--accent); border-radius: 50%; opacity: 0.35; }

/* ---------- sticky section menu ---------- */
.sp-subnav { position: sticky; top: 69px; z-index: 60; display: flex; gap: 4px; overflow-x: auto; padding: 0 60px; background: rgba(8,8,8,0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); scrollbar-width: none; }
.sp-subnav::-webkit-scrollbar { display: none; }
.sp-subnav a { flex-shrink: 0; padding: 17px 16px 15px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text2); text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.sp-subnav a:hover { color: var(--text); }
.sp-subnav a.on { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- sections and type ---------- */
.sp-section { padding: 96px 60px; border-top: 1px solid var(--border); }
.sp-subnav + .sp-section { border-top: none; }
.sp-h2 { font-family: 'Bebas Neue', sans-serif; font-size: 52px; line-height: 1; letter-spacing: 1px; color: var(--text); margin: 4px 0 28px; }
.sp-text { font-size: 14px; color: var(--text2); line-height: 1.85; font-weight: 300; max-width: 720px; margin: -10px 0 32px; }
.sp-cap { display: inline-block; margin-top: 14px; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); }
.sp-cap-static { margin: 0; }

/* ---------- card base ---------- */
.sp-card { position: relative; background: var(--bg3); border: 1px solid var(--border); transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; overflow: hidden; }
.sp-card::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); transition: width 0.4s ease; z-index: 1; }
.sp-card:hover { transform: translateY(-3px); border-color: rgba(181,227,42,0.32); background: var(--surface); }
.sp-card:hover::before { width: 100%; }
.sp-card-title { font-size: 17px; font-weight: 500; color: var(--text); }
.sp-card p { font-size: 13px; color: var(--text2); line-height: 1.75; font-weight: 300; margin-top: 8px; }
.sp-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; background: var(--accent2); transition: transform 0.3s ease, background 0.3s ease; }
.sp-ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sp-card:hover .sp-ico { background: rgba(181,227,42,0.22); }

/* ---------- how it works ---------- */
.sp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.sp-step { padding: 32px 28px 34px; }
.sp-step:not(:last-child)::after { content: ''; position: absolute; top: 56px; right: -16px; width: 16px; height: 1px; background: linear-gradient(90deg, rgba(181,227,42,0.6), transparent); }
.sp-step-n { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 60px; line-height: 1; color: rgba(255,255,255,0.08); margin-bottom: 12px; transition: color 0.3s; }
.sp-step:hover .sp-step-n { color: var(--accent); }

/* ---------- what it checks: tabs ---------- */
.sp-tabs-wrap { display: grid; grid-template-columns: 320px 1fr; border: 1px solid var(--border); background: var(--bg3); }
.sp-tabs { display: none; flex-direction: column; border-right: 1px solid var(--border); }
.sp-js .sp-tabs { display: flex; }
.sp-tab { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: transparent; border: none; border-left: 3px solid transparent; border-bottom: 1px solid var(--border); color: var(--text2); font-family: 'DM Sans', sans-serif; font-size: 14px; text-align: left; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.sp-tab:last-child { border-bottom: none; }
.sp-tab .sp-ico { width: 36px; height: 36px; background: rgba(181,227,42,0.08); }
.sp-tab .sp-ico svg { width: 18px; height: 18px; }
.sp-tab:hover { color: var(--text); background: rgba(255,255,255,0.02); }
.sp-tab.on { color: var(--text); background: var(--surface); border-left-color: var(--accent); }
.sp-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.sp-panels { padding: 40px 44px; min-height: 380px; }
.sp-panel { animation: spFade 0.35s ease; }
.sp-panel[hidden] { display: none; }
.sp-panel + .sp-panel { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.sp-js .sp-panel + .sp-panel { margin-top: 0; padding-top: 0; border-top: none; }
.sp-panel-top { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; }
.sp-panel-top .sp-ico { width: 56px; height: 56px; }
.sp-panel-top .sp-ico svg { width: 26px; height: 26px; }
.sp-panel-title { font-family: 'Bebas Neue', sans-serif; font-size: 36px; line-height: 1; letter-spacing: 1px; color: var(--text); font-weight: 400; }
.sp-panel-sub { font-size: 14px; color: var(--text2); font-weight: 300; margin-top: 6px; }
.sp-bullets { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.sp-bullets li { position: relative; padding: 14px 16px 14px 34px; font-size: 14px; color: var(--text); line-height: 1.6; font-weight: 300; background: rgba(255,255,255,0.025); border: 1px solid var(--border); transition: border-color 0.2s, background 0.2s; }
.sp-bullets li::before { content: ''; position: absolute; left: 14px; top: 22px; width: 7px; height: 7px; background: var(--accent); }
.sp-bullets li:hover { border-color: rgba(181,227,42,0.3); background: rgba(181,227,42,0.05); }
@keyframes spFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- why Silkpath: bento ---------- */
.sp-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-bottom: 56px; }
.sp-tile { padding: 28px; display: flex; flex-direction: column; }
.sp-t-ai { grid-column: span 7; background: linear-gradient(135deg, rgba(181,227,42,0.08), transparent 55%), var(--bg3); border-color: rgba(181,227,42,0.22); }
.sp-t-graph { grid-column: span 5; }
.sp-t-compare, .sp-t-export, .sp-t-speed { grid-column: span 4; }
.sp-t-health { grid-column: span 12; }
.sp-tile-head { display: flex; gap: 20px; align-items: flex-start; }
.sp-tile-title { font-size: 22px; }
.sp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sp-chip { font-size: 12px; letter-spacing: 0.5px; color: var(--text); padding: 9px 14px; border: 1px solid rgba(181,227,42,0.28); background: rgba(181,227,42,0.06); transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.sp-chip:hover { background: rgba(181,227,42,0.16); border-color: var(--accent); transform: translateY(-2px); }

.sp-graph { width: 100%; height: auto; margin-top: 14px; }
.lg-edges line { stroke: rgba(181,227,42,0.3); stroke-width: 1.2; }
.lg-n { fill: var(--accent); }
.lg-root { fill: #d6f56e; }
.lg-bad { fill: var(--sp-warn); transform-box: fill-box; transform-origin: center; transition: transform 0.25s ease; }
.lg-n.hot { transform: scale(2.6); fill: var(--sp-err); filter: drop-shadow(0 0 8px rgba(255,107,107,0.9)); }
.sp-log { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sp-log li { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text2); padding: 7px 12px; border: 1px solid var(--border2); cursor: default; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.sp-log li:hover, .sp-log li:focus-visible { border-color: var(--accent); color: var(--text); background: rgba(181,227,42,0.06); outline: none; }
.rp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.rp-err { background: var(--sp-err); } .rp-warn { background: var(--sp-warn); } .rp-note { background: var(--sp-note); }

.sp-bars { display: flex; gap: 28px; align-items: flex-end; height: 110px; margin-top: 22px; padding: 0 6px; border-bottom: 1px solid var(--border2); }
.sp-bar-group { position: relative; display: flex; gap: 6px; align-items: flex-end; height: 100%; flex: 1; }
.sp-bar-group em { position: absolute; left: 0; right: 0; bottom: -24px; text-align: center; font-style: normal; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); }
.sp-bar { flex: 1; height: var(--h); background: rgba(181,227,42,0.55); transform-origin: bottom; }
.sp-bar-b { background: rgba(181,227,42,0.9); }
.sp-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.sp-pill { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text); padding: 6px 12px; border: 1px solid var(--border2); }
.sp-pill-ok { border-color: rgba(181,227,42,0.5); color: var(--accent); }
.sp-pill-new { border-color: rgba(245,165,36,0.5); color: var(--sp-warn); }
.sp-t-export .sp-pills, .sp-t-speed .sp-pills { margin-top: 18px; }

.sp-files { display: flex; gap: 12px; margin-top: 22px; }
.sp-file { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 76px; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; color: var(--accent); background: rgba(181,227,42,0.06); border: 1px solid rgba(181,227,42,0.38); border-radius: 3px; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); transition: transform 0.25s ease, background 0.25s ease; }
.sp-file::before { content: ''; position: absolute; top: -1px; right: -1px; width: 17px; height: 17px; background: linear-gradient(225deg, transparent calc(50% - 1px), rgba(181,227,42,0.6) calc(50% - 1px), rgba(181,227,42,0.6) 50%, rgba(181,227,42,0.28) 50%); }
.sp-file::after { content: ''; position: absolute; left: 10px; right: 10px; top: 20px; height: 2px; background: rgba(181,227,42,0.22); box-shadow: 0 7px 0 rgba(181,227,42,0.14); }
.sp-file:hover { transform: translateY(-5px); background: rgba(181,227,42,0.16); }

.sp-gauge { width: 100%; max-width: 220px; height: auto; margin: 16px auto 0; display: block; }
.sp-gauge-bg, .sp-gauge-fg { fill: none; stroke-width: 10; stroke-linecap: round; }
.sp-gauge-bg { stroke: rgba(255,255,255,0.08); }
.sp-gauge-fg { stroke: var(--accent); stroke-dasharray: 182; stroke-dashoffset: 38; }

.sp-health { display: flex; align-items: center; gap: 36px; margin-top: 18px; }
.sp-ring { width: 120px; height: 120px; transform: rotate(-90deg); flex-shrink: 0; }
.sp-ring-bg, .sp-ring-fg { fill: none; stroke-width: 9; }
.sp-ring-bg { stroke: rgba(255,255,255,0.08); }
.sp-ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 56; }
.sp-sev { display: flex; gap: 14px; flex-wrap: wrap; }
.sp-sev-row { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); padding: 10px 16px; border: 1px solid var(--border2); }

/* feature list (the smaller points) */
.sp-feat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.sp-feat-item { display: flex; gap: 18px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--border); }
.sp-feat-item .sp-ico { width: 40px; height: 40px; }
.sp-feat-item .sp-ico svg { width: 20px; height: 20px; }
.sp-feat-item:hover .sp-ico { background: rgba(181,227,42,0.22); }
.sp-feat-item p { margin-top: 6px; font-size: 13px; color: var(--text2); line-height: 1.75; font-weight: 300; }
.sp-good { display: flex; gap: 18px; align-items: baseline; margin-top: 32px; padding: 18px 22px; background: var(--bg3); border: 1px solid var(--border); border-left: 3px solid var(--accent); }
.sp-good-tag { flex-shrink: 0; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.sp-good p { font-size: 13px; color: var(--text2); line-height: 1.75; font-weight: 300; margin: 0; max-width: 760px; }
.sp-note { font-size: 12px; color: var(--text3); line-height: 1.7; margin-top: 22px; max-width: 760px; }

/* ---------- sample report ---------- */
.sp-report { background: var(--bg3); border: 1px solid var(--border); }
.rp-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.rp-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.rp-f { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: transparent; color: var(--text2); border: 1px solid var(--border2); font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.rp-f b { font-weight: 500; color: var(--text); }
.rp-f:hover { color: var(--text); border-color: rgba(181,227,42,0.4); }
.rp-f.on { color: var(--text); border-color: var(--accent); background: rgba(181,227,42,0.08); }
.rp-row { border-bottom: 1px solid var(--border); }
.rp-row:last-child { border-bottom: none; }
.rp-row[hidden] { display: none; }
.rp-head { width: 100%; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 18px 22px; background: transparent; border: none; text-align: left; cursor: pointer; font-family: 'DM Sans', sans-serif; color: var(--text); transition: background 0.2s; }
.rp-head:hover { background: rgba(255,255,255,0.025); }
.rp-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rp-name { font-size: 15px; font-weight: 500; }
.rp-tag { margin-left: 12px; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(181,227,42,0.4); padding: 3px 8px; vertical-align: middle; }
.rp-count { font-size: 12px; letter-spacing: 1px; color: var(--text2); }
.rp-detail { padding: 0 22px 22px 46px; animation: spFade 0.25s ease; }
.rp-detail[hidden] { display: none; }
.rp-detail p { font-size: 13px; color: var(--text2); line-height: 1.75; font-weight: 300; margin: 0; max-width: 640px; }
.rp-detail strong { color: var(--text); font-weight: 500; }
.sp-plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.sp-plus::before, .sp-plus::after { content: ''; position: absolute; background: var(--accent); transition: transform 0.25s ease; }
.sp-plus::before { left: 0; right: 0; top: 6px; height: 2px; }
.sp-plus::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.rp-row.open .sp-plus::after { transform: scaleY(0); }

/* ---------- maker ---------- */
.sp-maker { display: flex; gap: 28px; align-items: flex-start; padding: 36px; max-width: 900px; }
.sp-maker p { max-width: 640px; }
.sp-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.sp-links a { color: var(--accent); }

/* ---------- FAQ: two columns ---------- */
.sp-faq-sec { display: grid; grid-template-columns: minmax(280px, 0.7fr) 1.3fr; column-gap: 96px; align-items: start; }
.sp-faq-intro .sp-text { margin: 0; }
.sp-faq { margin-top: 0; max-width: none; border-top: 1px solid var(--border); }
.sp-faq .qa-item { border-bottom: 1px solid var(--border); }
.sp-faq .qa-item summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 16px; font-weight: 500; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sp-faq .qa-item summary::-webkit-details-marker { display: none; }
.sp-faq .qa-item summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.sp-faq .qa-item[open] summary::after { content: '\2212'; }
.sp-faq .qa-item p { font-size: 14px; color: var(--text2); line-height: 1.85; font-weight: 300; padding: 0 0 22px; max-width: 700px; }

/* ---------- call to action ---------- */
.sp-cta { padding: 88px 60px; background: var(--bg3); border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.sp-h2.sp-cta-h { margin: 0 0 12px; }
.sp-cta p { font-size: 14px; color: var(--text2); font-weight: 300; line-height: 1.7; max-width: 520px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .sp-bento { grid-template-columns: repeat(6, 1fr); }
  .sp-t-ai, .sp-t-graph { grid-column: span 6; }
  .sp-t-compare, .sp-t-export, .sp-t-speed { grid-column: span 3; }
  .sp-t-speed { grid-column: span 6; }
  .sp-t-health { grid-column: span 6; }
  .sp-feat-list { grid-template-columns: repeat(2, 1fr); }
  .sp-tabs-wrap { grid-template-columns: 280px 1fr; }
}
@media (max-width: 900px) {
  .sp-hero { grid-template-columns: 1fr; gap: 40px; padding: 104px 24px 56px; }
  .sp-subnav { padding: 0 12px; top: 61px; }
  .sp-section { padding: 56px 24px; }
  .sp-h2 { font-size: 38px; }
  .sp-steps { grid-template-columns: 1fr; }
  .sp-step:not(:last-child)::after { display: none; }
  .sp-tabs-wrap { grid-template-columns: 1fr; }
  .sp-js .sp-tabs { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); scrollbar-width: none; }
  .sp-tabs::-webkit-scrollbar { display: none; }
  .sp-tab { flex-shrink: 0; border-left: none; border-bottom: 3px solid transparent; border-right: 1px solid var(--border); padding: 14px 16px; white-space: nowrap; }
  .sp-tab.on { border-bottom-color: var(--accent); }
  .sp-panels { padding: 28px 22px; min-height: 0; }
  .sp-bullets { grid-template-columns: 1fr; }
  .sp-bento { grid-template-columns: 1fr; }
  .sp-t-ai, .sp-t-graph, .sp-t-compare, .sp-t-export, .sp-t-speed, .sp-t-health { grid-column: auto; }
  .sp-tile-head { flex-direction: column; gap: 14px; }
  .sp-feat-list { grid-template-columns: 1fr; }
  .sp-faq-sec { grid-template-columns: 1fr; row-gap: 28px; }
  .sp-maker { flex-direction: column; gap: 20px; padding: 28px 22px; }
  .sp-cta { grid-template-columns: 1fr; padding: 52px 24px; }
  .sp-health { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 640px) {
  .sp-head, .rp-head { gap: 12px; }
  .rp-head { grid-template-columns: auto 1fr auto; padding: 16px; }
  .rp-count { display: none; }
  .rp-detail { padding: 0 16px 18px 40px; }
  .rp-bar { padding: 14px 16px; }
  .sp-good { flex-direction: column; gap: 8px; }
}
@media (max-width: 520px) {
  .sp-btns .btn-primary, .sp-btns .btn-outline, .sp-cta .btn-primary { flex: 1; text-align: center; padding: 14px 20px; }
  .sp-h2 { font-size: 34px; }
}

/* ---------- animation (only for visitors who have not asked for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .sp-hero::before { animation: spGlow 7s ease-in-out infinite alternate; }
  .sp-hero-text > * { animation: spUp 0.8s ease both; }
  .sp-hero-text > :nth-child(1) { animation-delay: 0.05s; } .sp-hero-text > :nth-child(2) { animation-delay: 0.15s; }
  .sp-hero-text > :nth-child(3) { animation-delay: 0.3s; } .sp-hero-text > :nth-child(4) { animation-delay: 0.45s; }
  .sp-glance { animation: spUp 0.9s ease 0.25s both; }
  .sp-glance::before { background-size: 200% 100%; animation: spSweep 4s linear infinite; }
  .cm-e { stroke-dasharray: 140; stroke-dashoffset: 140; animation: cmEdge 14s ease-in-out infinite; animation-delay: calc(var(--i) * 0.9s); }
  .cm-n { transform-box: fill-box; transform-origin: center; opacity: 0.25; animation: cmNode 14s ease-in-out infinite; animation-delay: calc(var(--i) * 0.9s); }
  .cm-dots i { animation: cmDot 1.2s ease-in-out infinite; } .cm-dots i:nth-child(2) { animation-delay: 0.2s; } .cm-dots i:nth-child(3) { animation-delay: 0.4s; }
  .sp-cta .btn-primary { animation: spPulse 3s ease-out infinite; }
  /* bento visuals */
  .lg-bad { animation: lgPulse 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 0.9s); }
  .sp-bar { transform: scaleY(0); transition: transform 0.9s cubic-bezier(.2,.8,.2,1); }
  .sp-bar:nth-child(2) { transition-delay: 0.12s; } .sp-bar:nth-child(3) { transition-delay: 0.24s; }
  .sp-t-compare.in .sp-bar { transform: scaleY(1); }
  .sp-t-compare.in .sp-bar-b:nth-child(1) { transition-delay: 0.45s; } .sp-t-compare.in .sp-bar-b:nth-child(2) { transition-delay: 0.57s; } .sp-t-compare.in .sp-bar-b:nth-child(3) { transition-delay: 0.69s; }
  .sp-gauge-fg { stroke-dashoffset: 182; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1) 0.2s; }
  .sp-t-speed.in .sp-gauge-fg { stroke-dashoffset: 38; }
  .sp-ring-fg { stroke-dashoffset: 251; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1) 0.2s; }
  .sp-t-health.in .sp-ring-fg { stroke-dashoffset: 56; }
  /* scroll reveal */
  .sp-js .sp-reveal { opacity: 0; translate: 0 26px; transition: opacity 0.7s ease var(--d, 0ms), translate 0.7s ease var(--d, 0ms); }
  .sp-js .sp-reveal.in { opacity: 1; translate: 0 0; }
  .sp-js .sp-card.sp-reveal, .sp-js .ex-card.sp-reveal { transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.7s ease var(--d, 0ms), translate 0.7s ease var(--d, 0ms); }
}
@keyframes spUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spGlow { from { opacity: 0.5; } to { opacity: 1; } }
@keyframes spSweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes cmEdge { 0% { stroke-dashoffset: 140; } 8%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 140; } }
@keyframes cmNode { 0% { opacity: 0.25; transform: scale(1); } 6% { opacity: 1; transform: scale(1.7); } 12%, 88% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0.25; transform: scale(1); } }
@keyframes cmDot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes spPulse { 0% { box-shadow: 0 0 0 0 rgba(181,227,42,0.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(181,227,42,0); } }
@keyframes lgPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.9); filter: drop-shadow(0 0 6px rgba(245,165,36,0.9)); } }
@media (prefers-reduced-motion: reduce) { .sp-card, .sp-card::before, .sp-plus::before, .sp-plus::after, .sp-step-n, .sp-chip, .sp-file { transition: none; } .sp-card:hover, .sp-chip:hover, .sp-file:hover { transform: none; } .sp-panel, .rp-detail { animation: none; } }

/* ---------- refinements ---------- */
.sp-panels { position: relative; overflow: hidden; }
.sp-panel::after { content: attr(data-n); position: absolute; right: 36px; bottom: 6px; font-family: 'Bebas Neue', sans-serif; font-size: 170px; line-height: 1; color: rgba(255,255,255,0.035); pointer-events: none; }
.sp-t-ai .sp-chips { margin-top: auto; padding-top: 28px; }
.sp-t-health { display: grid; grid-template-columns: 1fr auto; column-gap: 64px; align-items: center; }
.sp-t-health > .sp-card-title { grid-column: 1; grid-row: 1; align-self: end; }
.sp-t-health > p { grid-column: 1; grid-row: 2; max-width: 460px; }
.sp-t-health > .sp-health { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
.sp-t-health > .sp-cap { grid-column: 1; grid-row: 3; align-self: start; }
.sp-maker { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; max-width: none; padding: 44px 48px; }
.sp-maker p { max-width: 640px; }
.sp-links-col { display: flex; flex-direction: column; gap: 0; min-width: 180px; border-left: 1px solid var(--border); padding-left: 36px; }
.sp-links-col a { color: var(--text); text-decoration: none; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--border); transition: color 0.2s, padding-left 0.25s; }
.sp-links-col a:last-child { border-bottom: none; }
.sp-links-col a::after { content: '\2192'; margin-left: 10px; color: var(--accent); }
.sp-links-col a:hover { color: var(--accent); padding-left: 8px; }
@media (max-width: 1100px) { .sp-t-health { column-gap: 32px; } }
@media (max-width: 900px) {
  .sp-t-health { display: flex; flex-direction: column; }
  .sp-maker { grid-template-columns: 1fr; gap: 22px; padding: 28px 22px; }
  .sp-links-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 8px; }
  .sp-panel::after { font-size: 110px; right: 16px; }
}
.sp-graph { max-width: 380px; margin-left: auto; margin-right: auto; display: block; }
.sp-t-graph .sp-log { justify-content: center; }
.sp-t-graph .sp-cap { align-self: center; }

/* ===== Hero: matches the About / Contact page hero, with a live crawl panel ===== */
.sp-phero { min-height: 600px; }
.sp-phero .page-hero-left { padding: 60px; }
.sp-title { line-height: 1; }
.sp-title span { color: var(--text); }
.sp-title .sp-name { display: block; font-size: 104px; line-height: .9; color: var(--accent); }
.sp-title .sp-colon { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-title .sp-rest { display: block; font-size: 30px; line-height: 1.1; letter-spacing: 2px; margin-top: 14px; max-width: 520px; }
.sp-phero .page-hero-sub { max-width: 520px; font-size: 15px; }
.sp-phero .sp-btns { margin-top: 28px; }
.sp-phero .sp-by { margin-top: 28px; }
.sp-crawlpanel { min-height: 520px; background: #0a0a0a; }
.sp-crawlpanel canvas { position: absolute; left: 0; top: 0; display: block; }
.sp-crawlpanel::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.sp-hud { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 10px 14px; background: rgba(8,8,8,.82); border: 1px solid var(--border); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text2); z-index: 1; }
.sp-hud b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.sp-hud-url { color: var(--accent); letter-spacing: 1px; text-transform: none; font-size: 12px; margin-right: auto; }
.sp-hud-status { display: inline-flex; align-items: center; gap: 8px; }
.sp-live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.sp-ill { position: absolute; right: 20px; bottom: 124px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); z-index: 1; }
.sp-phero .hero-stats { position: absolute; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); background: #080808; }
.sp-phero .hero-stat { padding: 22px 24px; border-right: 1px solid var(--border); }
.sp-phero .hero-stat:last-child { border-right: none; }
.sp-phero .hero-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 44px; color: var(--accent); line-height: 1; }
.sp-phero .hero-stat-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) { .sp-live { animation: spPulse 1.4s ease-in-out infinite; } }
@keyframes spPulse { 50% { opacity: .25; } }
@media (max-width: 900px) {
  .sp-phero { min-height: 0; }
  .sp-phero .page-hero-left { padding: 48px 24px; }
  .sp-title .sp-name { font-size: 72px; }
  .sp-title .sp-rest { font-size: 24px; }
  .sp-crawlpanel { min-height: 460px; }
  .sp-ill { bottom: 108px; }
}
@media (max-width: 420px) {
  .sp-title .sp-name { font-size: 60px !important; }
  .sp-title .sp-rest { font-size: 21px; }
  .sp-phero .hero-stat { padding: 16px 12px; }
  .sp-phero .hero-stat-num { font-size: 28px; }
  .sp-hud { left: 12px; right: 12px; top: 12px; }
}

/* ===== Hero fits in one screen on desktop (nav included) ===== */
@media (min-width: 901px) {
  .sp-phero { min-height: 100vh; min-height: 100svh; }
  .sp-phero .page-hero-left { padding: clamp(24px, 5vh, 56px) 60px; }
  .sp-phero .page-tag { margin-bottom: clamp(10px, 2vh, 20px); }
  .sp-title .sp-name { font-size: clamp(60px, 12vh, 100px); }
  .sp-title .sp-rest { font-size: clamp(19px, 3.6vh, 28px); margin-top: clamp(6px, 1.2vh, 12px); }
  .sp-phero .page-hero-sub { margin-top: clamp(12px, 2.4vh, 22px); font-size: clamp(13px, 2vh, 15px); line-height: 1.75; }
  .sp-phero .sp-btns { margin-top: clamp(16px, 3vh, 28px); }
  .sp-phero .sp-by { margin-top: clamp(14px, 2.6vh, 26px); }
  .sp-crawlpanel { min-height: 0; }
  .sp-phero .hero-stat { padding: clamp(14px, 2.4vh, 22px) 24px; }
  .sp-phero .hero-stat-num { font-size: clamp(34px, 5.4vh, 44px); }
}
/* Founder line under the hero buttons */
.sp-phero .sp-by { display: flex; align-items: center; gap: 16px; margin-top: clamp(18px, 3vh, 30px); padding-top: clamp(14px, 2.4vh, 22px); border-top: 1px solid var(--border); max-width: 520px; }
.sp-phero .sp-mono { width: 44px; height: 44px; font-size: 18px; background: var(--accent2); border: 1px solid rgba(181,227,42,.35); flex: 0 0 44px; }
.sp-by-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.2; }
.sp-by-text small { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); }
.sp-phero .sp-by-text a { font-size: 16px; font-weight: 500; color: var(--text); text-decoration: none; transition: color .2s; }
.sp-phero .sp-by-text a span { display: inline-block; margin-left: 8px; color: var(--accent); transition: transform .25s; }
.sp-phero .sp-by-text a:hover { color: var(--accent); }
.sp-phero .sp-by-text a:hover span { transform: translateX(4px); }
.sp-title .sp-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.sp-cta .sp-cta-by { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin: 10px 0 14px; }
.sp-cta .sp-cta-by a { color: var(--accent); text-decoration: none; }
.sp-cta .sp-cta-by a:hover { color: #d6f56e; }

/* Tab panel number: fade only (no movement), so the big number stays put in the bottom corner and sits behind the content */
@keyframes spFadeOnly { from { opacity: 0; } to { opacity: 1; } }
.sp-panel { animation: spFadeOnly .3s ease; }
.sp-panel > * { position: relative; z-index: 1; }
.sp-panel::after { z-index: 0; right: 32px; bottom: 0; }
@media (prefers-reduced-motion: reduce) { .sp-panel { animation: none; } }

/* AEO card keeps its lime gradient on hover; hover only brightens it */
.sp-card.sp-t-ai:hover { background: linear-gradient(135deg, rgba(181,227,42,0.13), transparent 60%), var(--surface); border-color: rgba(181,227,42,0.4); }
.sp-card.sp-t-ai { background-image: linear-gradient(135deg, rgba(181,227,42,0.08), transparent 55%) !important; }
.sp-card.sp-t-ai:hover { background-image: linear-gradient(135deg, rgba(181,227,42,0.14), transparent 60%) !important; border-color: rgba(181,227,42,0.45) !important; }
