/* sub.css — the "More from Needt" pages (Plugin, Budget and the ones to come).
   White, quiet, expensive: hairlines instead of shadows, one accent per project (--acc), big Exposure type,
   real screens that move. Loaded after styles.css + pages.css by sub-project pages only (body.sub). */
body.sub { --acc: #5a5ce2; --acc-2: #a9aaf5; --acc-soft: rgba(90,92,226,.08); --hair: rgba(12,14,20,.08); --hair-2: rgba(12,14,20,.13); --mute: rgba(12,14,20,.56); --sx-ease: cubic-bezier(.2,.8,.2,1); background: #fff; }
body.sub.sx-budget { --acc: #0f9fb7; --acc-2: #7fe0f0; --acc-soft: rgba(15,159,183,.08); }
body.sub main { background: #fff; }
.sx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* hero */
.sx-hero { position: relative; padding: clamp(150px, 17vw, 200px) 0 clamp(40px, 6vw, 70px); text-align: center; overflow: clip; }
.sx-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background: radial-gradient(ellipse 46% 52% at 50% 18%, var(--acc-soft), transparent 70%),
              radial-gradient(ellipse 30% 30% at 22% 36%, rgba(255,200,170,.18), transparent 70%),
              radial-gradient(ellipse 30% 30% at 80% 30%, color-mix(in srgb, var(--acc-2) 22%, transparent), transparent 70%); }
.sx-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 10%, transparent 75%); }
.sx-hero > * { position: relative; z-index: 1; }
.sx-lock { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px var(--hair-2); font: 600 13.5px/1 var(--sans); color: var(--ink); }
.sx-lock img { width: 26px; height: 26px; border-radius: 8px; }
.sx-lock i { width: 1px; height: 16px; background: var(--hair-2); }
.sx-lock em { font-style: normal; font: 500 17px/1 var(--display); letter-spacing: -0.02em; }
.sx-lock .sx-pill { margin-left: 2px; padding: 4px 8px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.sx-h1 { margin: 28px auto 0; max-width: 14ch; font: 500 clamp(54px, 8.4vw, 124px)/.94 var(--display); font-variation-settings: "EXPO" -5; letter-spacing: -0.055em; color: #0b0c10; text-wrap: balance; }
.sx-h1 i { font-style: italic; color: transparent; background: linear-gradient(100deg, #0b0c10 10%, var(--acc) 55%, #0b0c10 95%); -webkit-background-clip: text; background-clip: text; }
.sx-lead { margin: 26px auto 0; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--mute); text-wrap: pretty; }
.sx-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.sx-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font: 600 15.5px/1 var(--sans); text-decoration: none; color: #fff; background: #0b0c10; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 14px 30px -14px rgba(10,12,20,.55); transition: transform .25s var(--sx-ease), box-shadow .25s var(--sx-ease); }
.sx-btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 20px 36px -14px rgba(10,12,20,.6); }
.sx-btn.ghost { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--hair-2); }
.sx-btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.sx-btn.acc { color: #06232a; background: var(--acc-2); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--acc) 80%, transparent); }
.sx-btn .g { width: 18px; height: 18px; }
.sx-meta { margin: 18px 0 0; font-size: 13.5px; color: var(--mute); letter-spacing: .01em; }

/* sections */
.sx-sec { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.sx-sec.alt { background: #fafaf8; box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair); }
.sx-label { display: inline-flex; align-items: center; gap: 9px; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sx-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.sx-h2 { margin: 18px 0 0; font: 500 clamp(38px, 4.8vw, 68px)/1 var(--display); font-variation-settings: "EXPO" -5; letter-spacing: -0.045em; color: #0b0c10; text-wrap: balance; }
.sx-h2 i { font-style: italic; color: var(--acc); }
.sx-p { margin: 18px 0 0; max-width: 52ch; font-size: 17.5px; line-height: 1.6; color: var(--mute); }
.sx-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sx-head.c { text-align: center; } .sx-head.c .sx-p { margin-left: auto; margin-right: auto; }

/* live stage: chat on the left, the real app on the right */
.lv { position: relative; margin: 10px auto 0; max-width: 1080px; padding: clamp(18px, 3vw, 34px); border-radius: 34px; background: linear-gradient(180deg, #fbfbfa, #f4f4f1); box-shadow: inset 0 0 0 1px var(--hair), 0 50px 100px -60px rgba(20,22,60,.45); }
.lv-in { display: grid; grid-template-columns: 1fr 300px; gap: clamp(18px, 3vw, 40px); align-items: center; }
.lv-chat { display: flex; flex-direction: column; min-height: 460px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; text-align: left; }
.lv-top { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; box-shadow: inset 0 -1px 0 var(--hair); font: 600 13px/1 var(--sans); color: var(--mute); }
.lv-top b { color: var(--ink); font-weight: 600; }
.lv-top .lv-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 4px rgba(47,179,107,.14); }
.lv-top .lv-sk { margin-left: auto; font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; padding: 5px 8px; border-radius: 7px; background: #0b0c10; color: #fff; }
.lv-log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 22px; }
.lv-u { align-self: flex-end; max-width: 82%; padding: 11px 15px; border-radius: 18px 18px 5px 18px; background: #f1f1ef; font-size: 15.5px; line-height: 1.45; min-height: 1.45em; }
.lv-u .car { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--ink); animation: lvBlink 1s steps(1) infinite; }
@keyframes lvBlink { 50% { opacity: 0; } }
.lv-tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--hair-2); font: 600 12.5px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--mute); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--sx-ease), transform .35s var(--sx-ease); }
.lv-tool img { width: 16px; height: 16px; border-radius: 5px; }
.lv-tool .st { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--hair-2); border-top-color: var(--acc); animation: lvSpin .8s linear infinite; }
.lv-tool.ok .st { animation: none; border: 0; background: #2fb36b; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@keyframes lvSpin { to { transform: rotate(360deg); } }
.lv-a { align-self: flex-start; max-width: 88%; font-size: 15.5px; line-height: 1.5; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--sx-ease), transform .4s var(--sx-ease); }
.lv-tool.on, .lv-a.on { opacity: 1; transform: none; }
.lv-input { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; height: 48px; padding: 0 8px 0 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--mute); font-size: 14.5px; }
.lv-input i { margin-left: auto; width: 32px; height: 32px; border-radius: 10px; background: #0b0c10; }
.lv-phone { position: relative; justify-self: center; width: 100%; max-width: 300px; aspect-ratio: 402 / 874; border-radius: 46px; background: #0b0c10; padding: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px -30px rgba(20,22,60,.55); }
.lv-scr { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #f6f5f2; }
.lv-scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.015); transition: opacity .55s var(--sx-ease), transform .7s var(--sx-ease); }
.lv-scr img.on { opacity: 1; transform: none; }
.lv-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.lv-tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--hair-2); font: 600 13px/1 var(--sans); color: var(--mute); cursor: pointer; position: relative; overflow: hidden; }
.lv-tabs button.on { color: #fff; background: #0b0c10; box-shadow: none; }
.lv-tabs button.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--acc-2); transform-origin: left; animation: lvProg var(--dur, 6s) linear both; }
.lv.paused .lv-tabs button.on::after { animation-play-state: paused; }
@keyframes lvProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lv-cap { margin-top: 12px; text-align: center; font-size: 13px; color: var(--mute); }

/* skills index */
.sx-index { border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.sx-row { display: grid; grid-template-columns: 52px 190px 1fr auto; align-items: center; gap: 18px; padding: 20px 26px; text-decoration: none; color: inherit; box-shadow: inset 0 -1px 0 var(--hair); transition: background .25s var(--sx-ease); }
.sx-row:last-child { box-shadow: none; }
.sx-row:hover { background: #fafaf8; }
.sx-row code { font: 600 14px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }
.sx-row p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--mute); }
.sx-row p b { color: var(--ink); font-weight: 600; }
.sx-tag { justify-self: end; padding: 6px 10px; border-radius: 999px; font: 700 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #0a6b22; background: #e8f5ec; }
.sx-tag.pro { color: #fff; background: #0b0c10; }
.sx-row.pro { background: linear-gradient(90deg, var(--acc-soft), transparent 60%); }
.sx-note { margin-top: 16px; text-align: center; font-size: 14px; color: var(--mute); }

/* the main skill (Pro) */
.sx-main { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.sx-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 0; max-width: 520px; }
.sx-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 0; box-shadow: inset 0 -1px 0 var(--hair); font-size: 16px; line-height: 1.45; color: var(--mute); }
.sx-list li b { color: var(--ink); font-weight: 600; }
.sx-list li svg { margin-top: 1px; }
.sx-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.sx-langs span { padding: 7px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); font: 500 13.5px/1 var(--sans); color: var(--ink); }
.sx-trio { position: relative; display: flex; justify-content: center; gap: 16px; }
.sx-trio .lv-phone { max-width: 220px; border-radius: 36px; padding: 7px; }
.sx-trio .lv-scr { border-radius: 30px; }
.sx-trio .lv-phone:nth-child(2) { transform: translateY(-40px); }
.sx-trio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-pro-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 30px; padding: 18px 20px; border-radius: 20px; background: #0b0c10; color: #fff; }
.sx-pro-card span { font-size: 15px; color: rgba(255,255,255,.7); }
.sx-pro-card b { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.sx-pro-card .sx-btn { height: 44px; background: #fff; color: #0b0c10; }

/* free skills: alternating rows with live windows */
.sx-skills { display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); }
.sx-skill { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.sx-skill.rev > :first-child { order: 2; }
.sx-cmd { display: inline-flex; align-items: center; gap: 10px; }
.sx-cmd code { font: 600 13px/1 ui-monospace, "SF Mono", Menlo, monospace; padding: 7px 10px; border-radius: 9px; background: #0b0c10; color: #fff; }
.sx-cmd .sx-tag { justify-self: auto; }
.sx-bul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 54ch; }
.sx-bul li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: var(--mute); }
.sx-bul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--acc); transform: rotate(45deg); opacity: .7; }
.sx-bul b { color: var(--ink); font-weight: 600; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.sx-chips span { padding: 8px 12px; border-radius: 12px; background: #fafaf8; box-shadow: inset 0 0 0 1px var(--hair); font-size: 13.5px; color: var(--mute); }
.sx-chips span b { color: var(--ink); margin-right: 4px; }

/* live window (a quiet AI chat). Children with --i appear one by one when the window enters the view */
.lw { border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair), 0 40px 80px -50px rgba(20,22,60,.4); overflow: hidden; text-align: left; }
.lw-h { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 18px; box-shadow: inset 0 -1px 0 var(--hair); font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--mute); }
.lw-h i { width: 9px; height: 9px; border-radius: 50%; background: rgba(12,14,20,.12); }
.lw-h span { margin-left: 8px; }
.lw-b { padding: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.lw [style*="--i"] { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--sx-ease), transform .45s var(--sx-ease); transition-delay: calc(var(--i) * 420ms + 300ms); }
.lw.on [style*="--i"] { opacity: 1; transform: none; }
.lw-u { align-self: flex-end; max-width: 84%; padding: 10px 14px; border-radius: 16px 16px 5px 16px; background: #f1f1ef; }
.lw-tb { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.lw-tb td { padding: 8px 0; box-shadow: inset 0 -1px 0 var(--hair); }
.lw-tb td + td { text-align: right; font-weight: 600; }
.lw-tb tr.t td { color: #0a7a2a; font-weight: 700; }
.lw-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.lw-pills span { padding: 7px 12px; border-radius: 999px; font: 600 13px/1 var(--sans); color: var(--mute); box-shadow: inset 0 0 0 1px var(--hair-2); }
.lw-pills span.on { color: #fff; background: #0b0c10; box-shadow: none; }
.lw-pre { margin: 0; padding: 14px 16px; border-radius: 14px; background: #0b0c10; color: #e8e8ee; font: 500 13px/1.65 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; }
.lw-pre b { color: var(--acc-2); font-weight: 600; }
.lw-note { font-size: 13px; color: var(--mute); }
.lw-rep { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 11px 0; box-shadow: inset 0 -1px 0 var(--hair); }
.lw-rep b { font-weight: 600; } .lw-rep span { color: var(--mute); }
.lw-rep.find { margin: 0 -10px; padding: 12px 10px; border-radius: 12px; background: #fdf4e3; box-shadow: none; }
.lw-rep.find b { color: #9a5a00; } .lw-rep.find span { color: var(--ink); }
.lw-src { display: flex; flex-wrap: wrap; gap: 6px; }
.lw-src span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 9px; background: #f4f4f2; font: 600 12px/1 var(--sans); color: var(--mute); }
.lw-src span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--c, #999); }
.lw-opt { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hair-2); }
.lw-opt b { font-weight: 600; } .lw-opt span { font-size: 13.5px; color: var(--mute); }
.lw-opt.on { box-shadow: inset 0 0 0 2px var(--acc); background: var(--acc-soft); }
.lw-crit { display: grid; grid-template-columns: 1.1fr 1.2fr 70px 64px; gap: 10px; align-items: start; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--hair); font-size: 13.5px; }
.lw-crit.h { font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.lw-crit span:nth-child(3), .lw-crit span:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.lw-crit .c-hi { color: #0a7a2a; font-weight: 600; } .lw-crit .c-mid { color: #9a5a00; font-weight: 600; }
.lw-fix { padding: 12px 14px; border-radius: 14px; background: #eef8f1; font-size: 14px; }
.lw-fix b { color: #0a6b22; }
.lw-line { margin: 0; padding: 13px 16px; border-radius: 14px; background: #0b0c10; color: #b9e0a5; font: 500 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; overflow-x: auto; white-space: nowrap; }
.lw-chk { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.lw-chk i { width: 18px; height: 18px; border-radius: 6px; background: #2fb36b; flex: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Crect width='18' height='18' rx='6'/%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.lw-chk.off i { background: rgba(12,14,20,.18); }

/* install */
.sx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sx-step { padding: 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); }
.sx-step .n { font: 500 44px/1 var(--display); color: var(--acc); letter-spacing: -0.04em; }
.sx-step h3 { margin: 14px 0 0; font: 600 19px/1.25 var(--sans); letter-spacing: -0.02em; }
.sx-step p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--mute); }
.sx-step .ui { color: var(--ink); }
.sx-step .code { margin: 14px 0 0; }
.sx-faq { max-width: 820px; margin: 0 auto; }
.sx-faq details { box-shadow: inset 0 -1px 0 var(--hair); }
.sx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 500 clamp(19px, 1.8vw, 23px)/1.3 var(--display); letter-spacing: -0.02em; }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: "+"; font: 300 26px/1 var(--sans); color: var(--mute); transition: transform .3s var(--sx-ease); }
.sx-faq details[open] summary::after { transform: rotate(45deg); }
.sx-faq .a p { margin: 0 0 22px; max-width: 68ch; font-size: 16px; line-height: 1.6; color: var(--mute); }

/* Budget: long real screens that scroll on their own while in view */
.bx-stage { position: relative; margin-top: clamp(40px, 6vw, 70px); padding: clamp(30px, 5vw, 60px) 0 0; border-radius: 40px; background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(127,224,240,.28), transparent 70%), #eef6f8; box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.bx-phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 2.4vw, 34px); padding: 0 var(--gutter); }
.bx-ph { flex: 0 1 270px; margin: 0 0 -60px; }
.bx-ph:nth-child(2) { margin-bottom: -20px; }
.bx-ph .lv-phone { max-width: none; background: #141517; }
.bx-ph .lv-scr { background: #141517; }
.bx-ph .lv-scr img { position: absolute; top: 0; left: 0; width: 100%; height: auto; opacity: 1; transform: translateY(0); transition: none; }
.bx-ph figcaption { display: none; }
.bx-stage.play .bx-ph .lv-scr img { animation: bxScroll var(--t, 22s) var(--sx-ease) infinite alternate; }
.bx-stage.play .bx-ph:hover .lv-scr img { animation-play-state: paused; }
@keyframes bxScroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(var(--y, -60%)); } }
.bx-caps { display: flex; justify-content: center; gap: clamp(12px, 2.4vw, 34px); padding: 90px var(--gutter) 26px; background: linear-gradient(transparent, #eef6f8 40%); position: relative; }
.bx-caps span { flex: 0 1 270px; text-align: center; font-size: 13.5px; color: var(--mute); }
.bx-feat { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; background: #fff; }
.bx-f { padding: 30px; box-shadow: inset -1px -1px 0 var(--hair); }
.bx-f h3 { margin: 18px 0 0; font: 600 19px/1.25 var(--sans); letter-spacing: -0.02em; }
.bx-f p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--mute); }
.bx-site { max-width: 1060px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair), 0 50px 100px -60px rgba(20,22,60,.45); background: #fff; }
.bx-site .bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #f6f6f4; box-shadow: inset 0 -1px 0 var(--hair); font-size: 12.5px; color: var(--mute); }
.bx-site .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(12,14,20,.12); }
.bx-site .bar span { margin-left: 10px; padding: 4px 12px; border-radius: 8px; background: #fff; }
.bx-site img { display: block; width: 100%; height: auto; }
.bx-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 900px; margin: 0 auto; }
.bx-plan { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); }
.bx-plan.on { background: #0b0c10; color: #fff; box-shadow: 0 40px 80px -40px rgba(10,20,30,.6); }
.bx-plan h3 { margin: 18px 0 0; font: 500 40px/1 var(--display); letter-spacing: -0.045em; }
.bx-plan .pr { margin: 14px 0 0; font-size: 15px; color: var(--mute); }
.bx-plan .pr b { font: 600 30px/1 var(--sans); color: var(--ink); letter-spacing: -0.02em; margin-right: 4px; }
.bx-plan.on .pr, .bx-plan.on p { color: rgba(255,255,255,.66); } .bx-plan.on .pr b { color: #fff; }
.bx-plan p { margin: 14px 0 26px; font-size: 15.5px; line-height: 1.55; color: var(--mute); }
.bx-plan .sx-btn { margin-top: auto; }
.bx-plan.on .sx-btn { background: var(--acc-2); color: #06232a; }

/* reveal for sub pages (no dependency on the home's .rv) */
.sx-rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--sx-ease), transform .8s var(--sx-ease); }
.sx-rv.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .lv-in { grid-template-columns: 1fr; } .lv-phone { max-width: 270px; } .lv-chat { min-height: 360px; }
  .sx-main, .sx-skill { grid-template-columns: 1fr; } .sx-skill.rev > :first-child { order: 0; }
  .sx-steps, .bx-feat { grid-template-columns: 1fr; } .bx-plans { grid-template-columns: 1fr; }
  .sx-row { grid-template-columns: 40px 1fr auto; } .sx-row p { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
  .bx-ph:nth-child(3) { display: none; } .bx-caps span:nth-child(3) { display: none; }
  .sx-trio .lv-phone:nth-child(3) { display: none; }
  .lw-crit { grid-template-columns: 1fr 1fr; } .lw-crit span:nth-child(3), .lw-crit span:nth-child(4) { text-align: left; }
  .sx-row { padding: 18px; gap: 4px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-rv, .lw [style*="--i"], .lv-tool, .lv-a { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bx-stage.play .bx-ph .lv-scr img { animation: none; }
  .lv-u .car, .lv-tool .st { animation: none; }
}
.sx-skill > *, .sx-main > *, .lv-in > *, .sx-steps > *, .sx-trio > * { min-width: 0; }
@media (max-width: 960px) { .lv-in, .sx-main, .sx-skill, .sx-steps, .bx-feat, .bx-plans { grid-template-columns: minmax(0, 1fr); } }
.sx-appicon { display: block; width: 112px; height: 112px; margin: 0 auto 22px; border-radius: 26px; box-shadow: 0 30px 60px -24px rgba(20,22,60,.55); animation: sxFloat 6s ease-in-out infinite; }
@keyframes sxFloat { 50% { transform: translateY(-6px) rotate(-2deg); } }
.sx-budget .sx-appicon { border-radius: 30px; box-shadow: 0 30px 60px -24px rgba(15,120,140,.55); }
.sx-link { color: var(--acc); text-decoration: none; font-weight: 600; } .sx-link:hover { text-decoration: underline; }
.sx-steps4 { grid-template-columns: repeat(2, 1fr); }
.sx-step code { font: 600 13px/1 ui-monospace, Menlo, monospace; padding: 2px 5px; border-radius: 5px; background: #f0f1f4; }
.sx-step .code code { background: none; padding: 0; font: inherit; }
.sx-p code { font: 600 14px/1 ui-monospace, Menlo, monospace; padding: 3px 6px; border-radius: 6px; background: #f0f1f4; color: var(--ink); }
.sx-dirs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.sx-dirs .sx-label { width: 100%; justify-content: center; margin-bottom: 8px; }
.sx-dirs a, .sx-dirs .dir-rev { display: inline-flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); text-decoration: none; color: var(--ink); transition: box-shadow .2s; }
.sx-dirs a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.sx-dirs b { font: 600 14.5px/1.1 var(--sans); } .sx-dirs span { font-size: 12.5px; color: var(--mute); }
.sx-dirs .dir-rev { background: #fafaf8; box-shadow: inset 0 0 0 1px var(--hair); border: 1px dashed transparent; }
.bx-site { text-decoration: none; transition: transform .4s var(--sx-ease); } a.bx-site:hover { transform: translateY(-3px); }
@media (max-width: 960px) { .sx-steps4 { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .sx-appicon { animation: none; } }
.sx-step .code pre { font-size: 12.5px; }
