/* Kinvra AI — Prototype Studio (/studio). Loaded after site.css and pages.css and
   uses their tokens. Markup: site/pages/studio.mjs (intro + form) and
   public/studio.js (generating, results, demo website, ads, plan, flows). */

.st { --st-radius: 28px; --st-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 30px 70px -40px rgba(30, 30, 70, 0.32); }
.st-page .pg-hero .pg-crumbs { margin-top: -30px; }

/* ---------- hero preview ---------- */
.st-hero { padding-bottom: 56px; }
.st-hero .pg-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.st-hero .pg-title { max-width: 12ch; }
.st-hero-media { position: relative; }
.st-hero-media::before { content: ""; position: absolute; inset: 8% -6% -4% 6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(122, 92, 255, 0.28), rgba(41, 151, 255, 0.12) 60%, transparent); filter: blur(10px); pointer-events: none; }
.st-preview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-pv { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 12px; border-radius: 22px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 24px 50px -30px rgba(40, 40, 90, 0.35); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: st-rise 0.8s var(--ease) both; }
.st-pv-site { grid-column: 1 / -1; }
.st-pv:nth-child(2) { animation-delay: 0.1s; }
.st-pv:nth-child(3) { animation-delay: 0.18s; }
.st-pv:nth-child(4) { animation-delay: 0.26s; }
@keyframes st-rise { from { opacity: 0; transform: translateY(14px); } }
.st-pv-cap { padding: 0 4px 2px; font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }
.st-pv-cap span { display: block; margin-bottom: 1px; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

.st-pv-browser { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.st-pv-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f2f2f5; }
.st-pv-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d4d4da; }
.st-pv-bar span { width: 38%; height: 12px; margin-left: auto; margin-right: auto; border-radius: 6px; background: #fff; }
.st-pv-page { padding: 12px 14px 14px; }
.st-pv-nav { display: flex; align-items: center; gap: 8px; }
.st-pv-nav b { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, #2997ff, #7a5cff); }
.st-pv-nav span { width: 34px; height: 6px; border-radius: 3px; background: #e6e6ec; }
.st-pv-nav span:first-of-type { margin-left: auto; }
.st-pv-nav em { width: 42px; height: 14px; border-radius: 7px; background: #1d1d1f; }
.st-pv-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; align-items: center; margin-top: 14px; }
.st-pv-hero strong, .st-pv-hero span { display: block; border-radius: 4px; }
.st-pv-hero strong { width: 92%; height: 11px; background: #1d1d1f; }
.st-pv-hero strong + strong { margin-top: 6px; }
.st-pv-hero .short { width: 64%; }
.st-pv-hero span { width: 96%; height: 6px; margin-top: 9px; background: #dedee5; }
.st-pv-hero span + span { margin-top: 5px; }
.st-pv-hero em { display: block; width: 58px; height: 16px; margin-top: 12px; border-radius: 8px; background: linear-gradient(90deg, #2997ff, #7a5cff); }
.st-pv-photo { aspect-ratio: 4 / 3; border-radius: 10px; background: url("/img/opt/services-640.webp") center / cover, linear-gradient(135deg, #c9b6ff, #8ec5ff); }
.st-pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.st-pv-cards i { height: 34px; border-radius: 8px; background: #f2f2f5; }

.st-pv-ad { flex: 1; display: grid; align-content: start; gap: 6px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.st-pv-ad small { font-size: 10px; font-weight: 700; color: var(--ink); }
.st-pv-ad strong { display: block; width: 90%; height: 8px; border-radius: 4px; background: #3b6fe0; }
.st-pv-ad span { display: block; width: 100%; height: 5px; border-radius: 3px; background: #e1e1e7; }
.st-pv-ad .short { width: 70%; }

.st-pv-days { position: relative; flex: 1; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 6px; }
.st-pv-days i { position: absolute; left: 20px; right: 20px; top: 50%; height: 2px; background: var(--grad); z-index: 0; }
.st-pv-days b { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #7a5cff; font-size: 10.5px; font-weight: 700; color: #4b2fd0; }

.st-pv-nodes { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 64px; }
.st-pv-nodes i { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.st-pv-nodes .t { background: linear-gradient(135deg, #ffc15c, #f59e0b); }
.st-pv-nodes .a { background: linear-gradient(135deg, #a78bfa, #7a5cff); }
.st-pv-nodes .o { background: linear-gradient(135deg, #4ade80, #1f9d55); }
.st-pv-nodes s { position: relative; flex: 1; max-width: 26px; height: 2px; background: #d5d5de; overflow: hidden; }
.st-pv-nodes s::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: #7a5cff; animation: st-dash 1.8s linear infinite; }
.st-pv-nodes s + i + s::after { animation-delay: 0.9s; }
@keyframes st-dash { to { left: 100%; } }

/* ---------- builder card ---------- */
.st-builder { padding-block: 8px 96px; scroll-margin-top: 60px; }
.st-card { position: relative; max-width: 940px; margin: 0 auto; padding: clamp(24px, 5vw, 52px); border-radius: 32px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 50px 100px -60px rgba(40, 40, 100, 0.4); }
.st-card::before { content: ""; position: absolute; inset: 0 12% auto; height: 2px; border-radius: 2px; background: var(--grad); opacity: 0.85; }
.st-noscript { max-width: 940px; margin: 16px auto 0; text-align: center; color: var(--ink-2); }

.st-progress { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 30px; padding: 0; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.st-progress li { display: inline-flex; align-items: center; gap: 8px; }
.st-progress li .st-pn { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c7c7cc; font-size: 12px; font-weight: 600; }
.st-progress li.is-current { color: var(--ink); }
.st-progress li.is-current .st-pn { background: var(--ink); color: #fff; box-shadow: none; }
.st-progress li.is-done .st-pn { background: #1f9d55; color: transparent; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.1 2.1 4.7-4.8' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 100%; }
.st-progress li:not(:last-child)::after { content: ""; width: 22px; height: 1px; margin-left: 14px; background: #d2d2d7; }

.st-step:focus { outline: none; }
.st-step-title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; }
.st-step-title:focus { outline: none; }
.st-card.is-message .st-progress { display: none; }
.st-step-sub { margin-top: 10px; max-width: 58ch; font-size: 17px; line-height: 1.5; color: var(--ink-3); }

.st-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.st-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 118px; padding: 16px; border-radius: 20px; background: var(--bg-2); cursor: pointer; transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.st-tile:hover { background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 18px 34px -22px rgba(0, 0, 0, 0.3); transform: translateY(-2px); }
.st-tile input, .st-chip-check input, .st-swatch input, .st-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.st-tile-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); transition: background 0.25s var(--ease); }
.st-tile-icon svg { width: 22px; height: 22px; fill: none; stroke: #4b2fd0; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s var(--ease); }
.st-tile-label { font-size: 15px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.st-tile::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c7c7cc; transition: all 0.2s var(--ease); }
.st-tile.is-checked, .st-tile:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 18px 34px -24px rgba(0, 113, 227, 0.55); }
.st-tile.is-checked .st-tile-icon, .st-tile:has(input:checked) .st-tile-icon { background: linear-gradient(135deg, #2997ff, #7a5cff); box-shadow: none; }
.st-tile.is-checked .st-tile-icon svg, .st-tile:has(input:checked) .st-tile-icon svg { stroke: #fff; }
.st-tile.is-checked::after, .st-tile:has(input:checked)::after { box-shadow: none; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.1 2.1 4.7-4.8' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.st-tile:has(input:focus-visible), .st-chip-check:has(input:focus-visible), .st-swatch:has(input:focus-visible), .st-consent:has(input:focus-visible) { outline: 3px solid rgba(0, 113, 227, 0.5); outline-offset: 2px; }

.st-tile:has(input[value="other"]) { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 74px; }
.st-tile-hint { font-weight: 400; color: var(--ink-3); }
.st-tile:has(input[value="other"]) { padding-right: 52px; }
.st-other { margin-top: 18px; max-width: 460px; }
.st-field-error { margin-top: 2px; font-size: 14px; color: #d70015; }
.st-form-error { margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: #fff1f0; color: #b3000f; font-size: 15px; }
.st-step-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 32px; }
.st-step-actions .pill { min-width: 200px; }
.st-step-actions > .pill:only-child { margin-left: auto; }
.st-step-actions.center { justify-content: center; }
.st-step-actions.center .pill { min-width: 0; }
.st-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--link); font-size: 17px; cursor: pointer; }
.st-back::before { content: "‹"; font-size: 1.35em; line-height: 1; transform: translateY(-1px); }
.st-back:hover { text-decoration: underline; }

.st-picked { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 6px 5px 6px; border-radius: 999px; background: var(--bg-2); font-size: 14px; font-weight: 500; color: var(--ink-2); max-width: 100%; }
.st-picked-ic { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #2997ff, #7a5cff); }
.st-picked-ic svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-picked-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-picked-change { flex: none; margin-left: 4px; padding: 4px 12px; border: 0; border-radius: 999px; background: #fff; color: var(--link); font-size: 13px; cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.st-picked-change:hover { text-decoration: underline; }

.st-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.st-wide { grid-column: 1 / -1; }
.st-fields textarea { min-height: 96px; }
.st-count { justify-self: end; margin-top: -2px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.st-group { min-width: 0; margin: 28px 0 0; padding: 0; border: 0; }
.st-group legend { margin-bottom: 12px; padding: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.st-group legend .optional { margin-left: 6px; font-size: 13px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.st-chip-check { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease); }
.st-chip-check:hover { box-shadow: inset 0 0 0 1px #86868b; color: var(--ink); }
.st-chip-check span::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #aeaeb2; transition: all 0.2s var(--ease); }
.st-chip-check.is-checked, .st-chip-check:has(input:checked) { background: #eef5ff; box-shadow: inset 0 0 0 1.5px var(--blue); color: #0a4aa8; }
.st-chip-check.is-checked span::before, .st-chip-check:has(input:checked) span::before { box-shadow: none; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.1 2.1 4.7-4.8' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

.st-swatches { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 18px; }
.st-swatch { position: relative; display: grid; justify-items: center; gap: 7px; width: 66px; cursor: pointer; }
.st-swatch-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.st-swatch:hover .st-swatch-dot { transform: scale(1.06); }
.st-swatch-label { font-size: 12.5px; line-height: 1.2; text-align: center; color: var(--ink-2); }
.st-swatch.is-checked .st-swatch-dot, .st-swatch:has(input:checked) .st-swatch-dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sw); }
.st-swatch.is-checked .st-swatch-label, .st-swatch:has(input:checked) .st-swatch-label { font-weight: 600; color: var(--ink); }
.st-swatch-custom .st-swatch-dot { background: conic-gradient(from 90deg, #ff4f4f, #ffb340, #34c759, #2997ff, #7a5cff, #ff4fd8, #ff4f4f); }
.st-swatch-custom.is-checked .st-swatch-dot, .st-swatch-custom:has(input:checked) .st-swatch-dot { background: var(--sw); }
.st-color-wrap { display: grid; justify-items: center; gap: 7px; width: 66px; }
.st-color-wrap label { font-size: 12.5px; line-height: 1.2; text-align: center; color: var(--ink-2); cursor: pointer; }
.st-color-wrap input { width: 44px; height: 44px; padding: 3px; border: 0; border-radius: 12px; background: var(--bg-2); cursor: pointer; }
.st-color-wrap input::-webkit-color-swatch-wrapper { padding: 0; }
.st-color-wrap input::-webkit-color-swatch { border: 0; border-radius: 9px; }
.st-color-wrap input::-moz-color-swatch { border: 0; border-radius: 9px; }
.st-color-wrap input:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.5); outline-offset: 2px; }

/* ---------- generating ---------- */
.st-generating { display: grid; justify-items: center; text-align: center; padding-block: 10px 6px; }
.st-generating .st-step-sub { margin-inline: auto; }
.st-gen-orb { position: relative; width: 92px; height: 92px; margin-bottom: 22px; }
.st-gen-orb span { position: absolute; inset: 0; border-radius: 50%; }
.st-gen-orb span:nth-child(1) { background: conic-gradient(from 0deg, #2997ff, #7a5cff, #ff4fd8, #2997ff); filter: blur(14px); opacity: 0.55; animation: st-spin 5s linear infinite; }
.st-gen-orb span:nth-child(2) { inset: 10px; background: conic-gradient(from 180deg, #2997ff, #7a5cff, #ff4fd8, #2997ff); animation: st-spin 3.2s linear infinite reverse; }
.st-gen-orb span:nth-child(3) { inset: 18px; background: #fff; box-shadow: inset 0 0 18px rgba(122, 92, 255, 0.25); animation: st-breathe 2.8s ease-in-out infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }
@keyframes st-breathe { 50% { transform: scale(0.9); } }
.st-gen-list { list-style: none; display: grid; gap: 4px; width: min(420px, 100%); margin: 28px auto 0; padding: 0; text-align: left; }
.st-gen-list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; font-size: 16px; color: var(--ink-3); transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.st-gen-mark { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #d2d2d7; }
.st-gen-list li.is-active { background: var(--bg-2); color: var(--ink); font-weight: 600; }
.st-gen-list li.is-active .st-gen-mark { box-shadow: none; background: conic-gradient(#7a5cff, #2997ff 40%, transparent 70%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); animation: st-spin 0.9s linear infinite; }
.st-gen-list li.is-done { color: var(--ink-2); }
.st-gen-list li.is-done .st-gen-mark { box-shadow: none; background: #1f9d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.1 2.1 4.7-4.8' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; animation: st-pop 0.35s var(--ease); }
@keyframes st-pop { from { transform: scale(0.6); } }
.st-gen-time { min-height: 20px; margin-top: 16px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- messages ---------- */
.st-message { display: grid; justify-items: center; padding-block: 12px; text-align: center; }
.st-message .st-step-sub { margin-inline: auto; }
.st-message-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 20px; background: linear-gradient(135deg, rgba(41, 151, 255, 0.14), rgba(255, 79, 216, 0.14)); }
.st-message-icon svg { width: 30px; height: 30px; fill: none; stroke: #4b2fd0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-message .st-back::before { content: none; }

.st-loading { display: grid; justify-items: center; gap: 14px; padding-block: 120px; color: var(--ink-3); }
.st-spinner { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(#7a5cff, #2997ff 40%, transparent 70%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); animation: st-spin 0.9s linear infinite; }

/* ---------- results: header and tabs ---------- */
.st-results .wrap { max-width: 1240px; }
.st-res-head { position: relative; overflow: hidden; padding-block: 34px 26px; background: linear-gradient(180deg, var(--brand-soft, #eef5ff) 0%, #fff 100%); }
.st-res-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.st-res-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.st-res-id > div { min-width: 0; }
.st-res-mark { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 17px; background: var(--brand, #1a6ae6); color: var(--brand-on, #fff); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; box-shadow: 0 16px 30px -18px var(--brand, #1a6ae6); }
.st-res-kicker { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.st-res-title { margin-top: 2px; font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.st-res-title:focus { outline: none; }
.st-res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.st-res-actions .pill svg, .st-link-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-res-actions .pill-sm { min-height: 36px; padding: 7px 16px; font-size: 14px; }
.st-link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px; border: 0; background: none; color: var(--link); font-size: 14.5px; cursor: pointer; }
.st-link-btn:hover { text-decoration: underline; }

.st-tabbar { position: sticky; top: 52px; z-index: 40; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.st-tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 10px 0; padding: 4px; border-radius: 999px; background: #ececf0; overflow-x: auto; scrollbar-width: none; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.st-tab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-tab:hover { color: var(--ink); }
.st-tab[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 16px -8px rgba(0, 0, 0, 0.25); }
.st-tab:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.55); outline-offset: 1px; }
.st-tab-short { display: none; }

.st-panels { padding-block: 40px 20px; }
.st-panel:focus { outline: none; }
.st-panel:focus-visible { outline: 2px solid rgba(0, 113, 227, 0.4); outline-offset: 10px; border-radius: 12px; }
.st-panel.is-entering { animation: st-panel-in 0.45s var(--ease) both; }
@keyframes st-panel-in { from { opacity: 0; transform: translateY(10px); } }
.st-panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 26px; }
.st-panel-head > div:first-child { max-width: 640px; }
.st-panel-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; }
.st-panel-head p { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--ink-3); }
.st-caption { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.st-caption svg { width: 16px; height: 16px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.st-fine { font-size: 13px; line-height: 1.45; color: var(--ink-3); }

/* ---------- demo website ---------- */
.st-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.st-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #ececf0; }
.st-seg button, .st-tool-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.st-seg button svg, .st-tool-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px -6px rgba(0, 0, 0, 0.2); }
.st-seg button:hover, .st-tool-btn:hover { color: var(--ink); }
.st-tool-btn { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.st-seg button:focus-visible, .st-tool-btn:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.55); outline-offset: 1px; }

.st-stage { display: flex; justify-content: center; padding: 32px; border-radius: 32px; background: radial-gradient(60% 70% at 15% 0%, var(--brand-soft, #eef5ff), transparent 70%), radial-gradient(50% 60% at 100% 100%, rgba(122, 92, 255, 0.1), transparent 70%), #f2f2f5; overflow: hidden; }
.st-frame { position: relative; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 50px 90px -50px rgba(20, 20, 60, 0.5); transition: border-radius 0.3s var(--ease); }
.st-frame-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #f5f5f7; border-bottom: 1px solid #e5e5ea; }
.st-frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8d8dd; }
.st-frame-bar i:nth-child(1) { background: #ff5f57; }
.st-frame-bar i:nth-child(2) { background: #febc2e; }
.st-frame-bar i:nth-child(3) { background: #28c840; }
.st-frame-bar span { display: inline-flex; align-items: center; gap: 6px; max-width: 60%; margin: 0 auto; padding: 4px 16px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateX(-24px); }
.st-frame-bar svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.st-frame-view { position: relative; overflow: hidden; background: #fff; }
.st-frame-view iframe { position: absolute; top: 0; left: 0; border: 0; background: #fff; transform-origin: 0 0; }
.st-stage[data-device="tablet"] .st-frame, .st-stage[data-device="phone"] .st-frame { padding: 12px; border-radius: 44px; background: #0f0f11; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 50px 90px -40px rgba(20, 20, 60, 0.55); }
.st-stage[data-device="tablet"] .st-frame { border-radius: 34px; }
.st-stage[data-device="tablet"] .st-frame-bar, .st-stage[data-device="phone"] .st-frame-bar { display: none; }
.st-stage[data-device="phone"] .st-frame-view { border-radius: 32px; }
.st-stage[data-device="tablet"] .st-frame-view { border-radius: 22px; }
/* Sandboxed iframes aren't always clipped by border-radius, so the bezel paints the corners. */
.st-stage[data-device="tablet"] .st-frame::after, .st-stage[data-device="phone"] .st-frame::after { content: ""; position: absolute; inset: 12px; z-index: 2; border-radius: 32px; box-shadow: 0 0 0 30px #0f0f11; pointer-events: none; }
.st-stage[data-device="tablet"] .st-frame::after { border-radius: 22px; }

/* full screen */
.st-dialog { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0b0f; color: #fff; }
.st-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.st-dialog[open] { display: flex; flex-direction: column; }
.st-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; }
.st-dialog-title { min-width: 0; overflow: hidden; font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.st-dialog-close { min-height: 40px; padding: 8px 20px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.st-dialog-close:focus-visible { outline: 3px solid #2997ff; outline-offset: 2px; }
.st-dialog-body { flex: 1; min-height: 0; padding: 0 10px 10px; }
.st-dialog-body iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 14px; background: #fff; }
html.st-lock, html.st-lock body { overflow: hidden; }

/* ---------- ads ---------- */
.st-ad-group + .st-ad-group { margin-top: 48px; }
.st-ad-group > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.st-ad-group > h3 svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--bg-2); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-ad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.st-mock { min-width: 0; }
.st-mock-label { margin-bottom: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }

.st-search-card { padding: 20px 22px 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #e4e4ea, 0 20px 40px -30px rgba(0, 0, 0, 0.25); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; letter-spacing: 0; }
.st-sponsored { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: #202124; }
.st-search-site { display: flex; align-items: center; gap: 10px; }
.st-fav { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #f1f3f4; box-shadow: 0 0 0 1px #e3e3e8; font-size: 11px; font-weight: 700; color: #3c4043; }
.st-search-site span:last-child { display: grid; min-width: 0; }
.st-search-site strong { font-size: 14px; font-weight: 400; color: #202124; }
.st-search-site small { overflow: hidden; font-size: 12.5px; color: #4d5156; white-space: nowrap; text-overflow: ellipsis; }
.st-search-title { margin: 10px 0 6px; font-size: 20px; line-height: 1.3; font-weight: 400; color: #1a3fb0; }
.st-search-title span { color: #7b8190; }
.st-search-desc { font-size: 14px; line-height: 1.55; color: #474b52; }
.st-checks { margin-top: 10px; font-size: 13.5px; }
.st-checks summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: #11703a; font-weight: 600; cursor: pointer; list-style: none; }
.st-checks summary::-webkit-details-marker { display: none; }
.st-checks summary::after { content: "›"; margin-left: 2px; font-size: 1.2em; transition: transform 0.2s var(--ease); }
.st-checks[open] summary::after { transform: rotate(90deg); }
.st-checks summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-checks ul { list-style: none; display: grid; gap: 2px; margin: 6px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--bg-2); }
.st-checks li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 0; }
.st-checks li span:first-child { color: var(--ink-3); }
.st-checks li em { overflow: hidden; font-style: normal; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.st-count-pill { padding: 2px 8px; border-radius: 999px; background: #e3f6ea; color: #11703a; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-count-pill.over { background: #fff1f0; color: #b3000f; }

.st-social, .st-post { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 28px; align-items: start; }
.st-social-card, .st-post-card { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #e4e4ea, 0 30px 50px -36px rgba(0, 0, 0, 0.35); }
.st-social-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.st-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand, #1a6ae6); color: var(--brand-on, #fff); font-size: 14px; font-weight: 700; }
.st-social-top > span:nth-child(2) { display: grid; min-width: 0; }
.st-social-top strong { font-size: 15px; font-weight: 600; }
.st-social-top small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-3); }
.st-social-top small svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.st-dots { margin-left: auto; color: var(--ink-3); letter-spacing: 1px; }
.st-social-text { padding: 0 16px 12px; font-size: 15px; line-height: 1.45; }
.st-social-img img, .st-post-img img { width: 100%; height: auto; aspect-ratio: 1.91 / 1; object-fit: cover; }
.st-social-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; background: #f3f4f6; }
.st-social-foot > span:first-child { display: grid; min-width: 0; }
.st-social-foot small { font-size: 12px; letter-spacing: 0.02em; color: var(--ink-3); }
.st-social-foot strong { font-size: 16px; line-height: 1.3; }
.st-social-foot em { font-size: 13.5px; font-style: normal; color: var(--ink-3); }
.st-cta-btn { flex: none; padding: 9px 14px; border-radius: 8px; background: #e2e4e9; font-size: 14px; font-weight: 600; color: #1d1d1f; white-space: nowrap; }
.st-social-react { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 10px; border-top: 1px solid #ececf0; }
.st-social-react span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 0; font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.st-social-react svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-mock-notes { padding: 22px 24px; border-radius: 20px; background: var(--bg-2); }
.st-mock-notes h4 { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.st-mock-notes > p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.st-notes { list-style: none; display: grid; gap: 2px; margin: 12px 0 0; padding: 0; }
.st-notes li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e3e3e8; font-size: 14.5px; }
.st-notes li span:first-child { color: var(--ink-3); }
.st-notes b { font-weight: 600; }
.st-idea { display: flex; gap: 10px; margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.st-idea svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: #4b2fd0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-mock-notes .st-fine { margin-top: 12px; }

.st-video { padding: 24px; border-radius: 24px; background: var(--bg-2); }
.st-video-head h4 { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.st-video-head p { margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.st-frames { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; }
.st-frame-card { min-width: 0; }
.st-frames:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.5); outline-offset: 4px; border-radius: 12px; }
.st-phone9 { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 18px; background: linear-gradient(160deg, var(--brand, #1a6ae6), #0b0b0f 115%); box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.6); isolation: isolate; }
.st-phone9 picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.st-phone9::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 32%, rgba(0, 0, 0, 0.6)); }
.st-beat { position: absolute; top: 10px; left: 10px; right: 34px; padding: 3px 8px; width: max-content; max-width: calc(100% - 44px); border-radius: 999px; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.35; }
.st-play { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: #1d1d1f; font-size: 11px; font-weight: 700; }
.st-overlay { position: absolute; left: 10px; right: 10px; bottom: 14px; padding: 6px 8px; border-radius: 8px; background: #fff; color: #111; font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5); }
.st-end-mark { position: absolute; top: 38%; left: 50%; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; color: #111; font-size: 18px; font-weight: 800; transform: translate(-50%, -50%); }
.st-frame-card > p { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.st-voice { display: flex; gap: 6px; color: var(--ink-3) !important; font-style: italic; }
.st-voice svg { width: 14px; height: 14px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.st-post-card p { padding: 14px 16px 4px; font-size: 15px; line-height: 1.5; }
.st-post-btn { display: inline-block; margin: 10px 16px 16px; padding: 8px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px #c7c7cc; color: #0a4aa8; font-size: 14px; font-weight: 600; }

/* ---------- plan ---------- */
.st-channel-key { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 24px; padding: 0; }
.st-channel { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--ch-bg, #eef0f4); color: var(--ch, #3a3f4b); font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em; }
.st-channel svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-channel[data-channel="website"] { --ch: #0a4aa8; --ch-bg: #e6f0ff; }
.st-channel[data-channel="google-business-profile"] { --ch: #11703a; --ch-bg: #e3f6ea; }
.st-channel[data-channel="search-ads"] { --ch: #3b2bb0; --ch-bg: #ecebff; }
.st-channel[data-channel="social-ads"] { --ch: #a5174b; --ch-bg: #fde8ef; }
.st-channel[data-channel="organic-social"] { --ch: #9c2c7a; --ch-bg: #fbe8f6; }
.st-channel[data-channel="short-video"] { --ch: #5a2bb0; --ch-bg: #f1e9ff; }
.st-channel[data-channel="email"] { --ch: #8a4b00; --ch-bg: #fff2dc; }
.st-channel[data-channel="text-messages"] { --ch: #0b6b73; --ch-bg: #def5f6; }
.st-channel[data-channel="reviews"] { --ch: #7a5a00; --ch-bg: #fff6cc; }
.st-channel[data-channel="local-seo"] { --ch: #1f6b2c; --ch-bg: #e6f5e0; }
.st-channel[data-channel="ai-assistant"] { --ch: #5130c9; --ch-bg: #efeaff; }
.st-channel[data-channel="referrals"] { --ch: #9a3b00; --ch-bg: #ffeadb; }
.st-channel[data-channel="community"] { --ch: #b0233a; --ch-bg: #ffe8eb; }

.st-timeline { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; }
.st-phase { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 22px; border-radius: 26px; background: var(--bg-2); }
.st-phase:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -14px; z-index: 1; width: 10px; height: 10px; border-top: 2px solid #b8b8c4; border-right: 2px solid #b8b8c4; transform: rotate(45deg); }
.st-phase-head { display: flex; align-items: center; gap: 14px; }
.st-phase-num { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: #4b2fd0; }
.st-phase-days { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.st-phase h3 { font-size: 19px; line-height: 1.2; font-weight: 650; letter-spacing: -0.02em; }
.st-steps { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.st-action { display: grid; gap: 8px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04); }
.st-action > p { font-size: 15px; line-height: 1.45; color: var(--ink); }
.st-measure { display: flex; align-items: flex-start; gap: 7px; padding-top: 8px; border-top: 1px dashed #e0e0e6; font-size: 13.5px !important; color: var(--ink-3) !important; }
.st-measure svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: #11703a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-budget { display: flex; gap: 18px; align-items: flex-start; margin-top: 18px; padding: 24px 26px; border-radius: 26px; background: linear-gradient(135deg, rgba(41, 151, 255, 0.08), rgba(122, 92, 255, 0.08) 50%, rgba(255, 79, 216, 0.06)); box-shadow: inset 0 0 0 1px rgba(122, 92, 255, 0.15); }
.st-budget-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: #fff; }
.st-budget-icon svg { width: 24px; height: 24px; fill: none; stroke: #4b2fd0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-budget h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.st-budget p { margin-top: 6px; max-width: 72ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.st-budget .st-fine { margin-top: 10px; }

/* ---------- automation map ---------- */
.st-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.st-node-key { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #e3e3e8; font-size: 13px; font-weight: 600; color: var(--nt); }
.st-node-key svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--nb); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st [data-type="trigger"] { --nc: #f59e0b; --nb: #fff2d6; --nt: #8a4b00; }
.st [data-type="ai"] { --nc: #7a5cff; --nb: #efeaff; --nt: #5130c9; }
.st [data-type="action"] { --nc: #0a84ff; --nb: #e4f0ff; --nt: #0a55b0; }
.st [data-type="human"] { --nc: #e0457b; --nb: #fde6ee; --nt: #a5174b; }
.st [data-type="outcome"] { --nc: #1f9d55; --nb: #e1f5e8; --nt: #11703a; }

.st-flows { display: grid; gap: 20px; }
.st-flow { padding: 24px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 30px 60px -48px rgba(20, 20, 60, 0.45); }
.st-flow-head h3 { margin-top: 10px; font-size: 21px; line-height: 1.2; font-weight: 650; letter-spacing: -0.02em; }
.st-flow-head p { margin-top: 6px; max-width: 72ch; font-size: 15.5px; line-height: 1.5; color: var(--ink-3); }
.st-goal { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--bg-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.st-goal svg { width: 14px; height: 14px; fill: none; stroke: #11703a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-diagram { position: relative; margin-top: 20px; padding: 26px 22px; border-radius: 22px; background-color: #fafafc; background-image: radial-gradient(circle at 1px 1px, #dcdce4 1px, transparent 0); background-size: 18px 18px; box-shadow: inset 0 0 0 1px #ececf1; }
.st-edges { position: absolute; top: 0; left: 0; z-index: 0; overflow: visible; pointer-events: none; }
.st-edge { fill: none; stroke: #c3c3d0; stroke-width: 2; }
.st-arrow { fill: #b3b3c2; }
.st-pulse { fill: none; stroke: #7a5cff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 96; stroke-dashoffset: 100; animation: st-pulse 2.8s linear infinite; filter: drop-shadow(0 0 3px rgba(122, 92, 255, 0.6)); }
@keyframes st-pulse { to { stroke-dashoffset: 0; } }
.st-layers { position: relative; z-index: 1; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 0; padding: 0; }
.st-layer { flex: 1 1 0; min-width: 0; }
.st-layer > ul { list-style: none; display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; }
.st-node { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 12px 12px 13px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 14px 26px -20px rgba(0, 0, 0, 0.35); border-top: 3px solid var(--nc); }
.st-node-ic { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--nb); color: var(--nt); }
.st-node-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-node-body { display: grid; gap: 2px; min-width: 0; }
.st-node-type { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--nt); }
.st-node strong { font-size: 14.5px; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.st-node-detail { font-size: 13px; line-height: 1.4; color: var(--ink-3); overflow-wrap: anywhere; }
.st-when { justify-self: start; margin-bottom: 4px; padding: 1px 8px; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px #e0e0e8; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.st-diagram.is-vertical { padding: 20px 16px; }
.st-diagram.is-vertical .st-layers { flex-direction: column; align-items: stretch; gap: 34px; }
.st-diagram.is-vertical .st-layer > ul { flex-direction: row; gap: 12px; }
.st-diagram.is-vertical .st-node { flex: 1 1 0; }

/* ---------- next steps ---------- */
.st-next { padding-block: 28px 90px; }
.st-honest { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; padding: 16px 20px; border-radius: 18px; background: var(--bg-2); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.st-honest svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.st-next-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.st-next-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 28px; border-radius: 28px; background: var(--bg-2); color: var(--ink); }
.st-next-card h3 { font-size: 21px; line-height: 1.2; font-weight: 650; letter-spacing: -0.02em; }
.st-next-card > p { font-size: 15.5px; line-height: 1.5; color: var(--ink-3); }
.st-next-link { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); }
.st-next-link:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 30px 60px -36px rgba(0, 0, 0, 0.35); text-decoration: none; }
.st-next-link .chev { margin-top: auto; padding-top: 10px; font-size: 16px; }
.st-next-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 13px; background: linear-gradient(135deg, rgba(41, 151, 255, 0.14), rgba(255, 79, 216, 0.14)); }
.st-next-ic svg { width: 22px; height: 22px; fill: none; stroke: #4b2fd0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-share { grid-column: 2 / span 2; }
.st-share-row { display: flex; gap: 8px; margin-top: 8px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.st-share-row input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: transparent; font-size: 15px; color: var(--ink-2); outline: none; }
.st-share-row:focus-within { box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(0, 113, 227, 0.15); }
.st-copy { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; }
.st-copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.st-copy:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.55); outline-offset: 2px; }

.st-save { grid-row: span 2; overflow: hidden; isolation: isolate; padding: 34px; background: #0b0b0f; color: #f5f5f7; }
.st-save::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 420px; height: 420px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(122, 92, 255, 0.45), transparent); pointer-events: none; }
.st-save h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.st-save h2:focus { outline: none; }
.st-save > p { font-size: 16px; line-height: 1.5; color: #a1a1a6; }
.st-save form { display: grid; gap: 14px; margin-top: 14px; }
.st-save-fields { display: grid; gap: 12px; }
.st-save .field label { color: #d2d2d7; }
.st-save .field .optional { color: #a1a1a6; }
.st-save .field input { background: #1c1c21; border-color: #3a3a42; color: #fff; }
.st-save .field input:focus { border-color: #2997ff; box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.25); }
.st-save .st-field-error { color: #ff8a8a; }
.st-save .st-form-error { margin-top: 0; background: rgba(255, 69, 58, 0.14); color: #ffb4ae; }
.st-consent { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: #c7c7cc; cursor: pointer; }
.st-consent span::before { content: ""; display: inline-block; width: 20px; height: 20px; margin: 0 10px -5px 0; border-radius: 6px; box-shadow: inset 0 0 0 1.5px #6e6e73; background: transparent; transition: all 0.2s var(--ease); }
.st-consent:has(input:checked) span::before { box-shadow: none; background: #2997ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.1 2.1 4.7-4.8' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.st-save .pill { width: 100%; margin-top: 4px; }
.st-save-done { display: grid; gap: 8px; margin-top: 16px; padding: 22px; border-radius: 20px; background: rgba(48, 209, 88, 0.1); box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.3); }
.st-save-done:focus { outline: none; }
.st-save-done h3 { font-size: 20px; }
.st-save-done p { color: #c7c7cc; font-size: 15px; line-height: 1.5; }
.st-done-ic svg { width: 32px; height: 32px; fill: none; stroke: #30d158; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-save .st-fine a { color: #2997ff; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .st-frames { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(170px, 23%); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .st-frame-card { scroll-snap-align: start; }
}
@media (max-width: 1020px) {
  .st-hero .pg-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .st-hero-media { max-width: 620px; }
  .st-timeline { grid-template-columns: minmax(0, 1fr); }
  .st-phase:not(:last-child)::after { top: auto; bottom: -13px; right: auto; left: 44px; transform: rotate(135deg); }
  .st-next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-save { grid-row: auto; grid-column: 1 / -1; }
  .st-share { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .st-social, .st-post { grid-template-columns: minmax(0, 1fr); }
  .st-social-card, .st-post-card { max-width: 480px; }
  .st-ad-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .st-tab svg { display: none; }
  .st-tab { padding: 8px 13px; font-size: 14.5px; }
}
@media (max-width: 760px) {
  .st-tab-long { display: none; }
  .st-tab-short { display: inline; }
  .st-tabs { width: auto; margin-inline: -4px; }
  .st-tab { padding: 8px 14px; }
}
@media (max-width: 640px) {
  .st-hero { padding-bottom: 36px; }
  .st-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .st-pv-flow { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .st-pv-flow .st-pv-nodes { flex: 0 0 46%; min-height: 48px; }
  .st-pv { padding: 10px; border-radius: 18px; }
  .st-pv-cap { font-size: 12px; }
  .st-builder { padding-bottom: 72px; }
  .st-card { border-radius: 26px; }
  .st-progress { gap: 6px 12px; margin-bottom: 22px; font-size: 12.5px; }
  .st-progress { flex-wrap: nowrap; gap: 8px; }
  .st-progress li:not(:last-child)::after { width: 12px; margin-left: 0; }
  .st-progress li:not(.is-current) .st-pl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .st-res-top { gap: 14px; }
  .st-res-actions { width: 100%; gap: 8px; }
  .st-res-actions .pill { order: -1; margin-right: auto; }
  .st-link-btn { width: 40px; height: 40px; justify-content: center; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
  .st-link-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .st-link-btn svg { width: 18px; height: 18px; }
  .st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
  .st-tile { min-height: 108px; padding: 14px; gap: 14px; border-radius: 18px; }
  .st-tile-label { font-size: 14.5px; }
  .st-fields { grid-template-columns: minmax(0, 1fr); }
  .st-step-actions { flex-direction: column-reverse; align-items: stretch; }
  .st-step-actions .pill { width: 100%; min-width: 0; }
  .st-step-actions.center { flex-direction: column; align-items: center; }
  .st-swatches { gap: 12px 8px; }
  .st-swatch { width: 60px; }
  .st-res-head { padding-block: 24px 18px; }
  .st-res-mark { width: 48px; height: 48px; border-radius: 14px; font-size: 17px; }
  .st-panels { padding-top: 28px; }
  .st-panel-head { margin-bottom: 20px; }
  .st-panel-head p { font-size: 16px; }
  .st-tools { width: 100%; }
  .st-seg { flex: 1; }
  .st-seg button { flex: 1; justify-content: center; padding: 6px 8px; }
  .st-seg button span, .st-tool-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .st-tool-btn { padding: 6px 12px; }
  .st-stage { padding: 14px; border-radius: 22px; }
  .st-search-card { padding: 16px; }
  .st-search-title { font-size: 18px; }
  .st-checks li { grid-template-columns: 78px minmax(0, 1fr) auto; }
  .st-video { padding: 16px; border-radius: 20px; }
  .st-frames { grid-auto-columns: 58%; }
  .st-mock-notes { padding: 18px; }
  .st-phase { padding: 18px; border-radius: 22px; }
  .st-budget { flex-direction: column; padding: 20px; }
  .st-flow { padding: 18px; border-radius: 22px; }
  .st-diagram.is-vertical .st-layer > ul { flex-direction: column; }
  .st-next-grid { grid-template-columns: minmax(0, 1fr); }
  .st-next-card { padding: 22px; border-radius: 24px; }
  .st-save { padding: 26px 20px; }
  .st-honest { padding: 14px 16px; font-size: 14px; }
  .st-dialog-body { padding: 0 6px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-pulse, .st-pv-nodes s::after { display: none; }
  .st-pv, .st-panel.is-entering { animation: none; }
  .st-tile:hover, .st-next-link:hover { transform: none; }
}
