/* CLAILA web v2: AI Studio, the overview /ai-tools and the AI Chat page /ai-chat. Their own face is the purple of the AI group of the
   app launcher on a lavender paper with a dot grid, deep violet ink and a warm sun-yellow for numbers. The bar and the footer stay
   the website's. Classes s-*; motion comes from motion.css / motion.js and studio.js. */
.w2-ai-tools, .w2-ai-chat {
  --s-violet: #6E56CF; --s-violet-2: #8B74E8; --s-violet-d: #5A43B8; --s-ink: #1A1240; --s-ink-2: #2A1F5C; --s-text-2: #4A4370; --s-text-3: #6E6890;
  --s-lav: #F5F2FF; --s-lav-2: #ECE6FE; --s-line: #DED5F8; --s-sun: #FFC857; --s-sun-soft: #FFF3D6; --s-on-ink: #CFC6F2;
}
.s-over { color: var(--s-violet); }
.s-over-sun { color: var(--s-sun); }
.w2-ai-tools .w-spot, .w2-ai-chat .w-spot { --w-spot: var(--s-violet); box-shadow: 0 0 0 3px var(--s-violet), 0 0 0 9999px rgba(26, 18, 64, .26); }

/* ---- dot grid behind heroes and the closing band */
.s-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(110, 86, 207, .22) 1.2px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 80%); }
.s-eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--s-line); color: var(--s-violet); font-size: 13px; line-height: 18px; font-weight: 600; }
.s-h1 { font-size: 76px; line-height: 80px; font-weight: 700; letter-spacing: -.035em; color: var(--s-ink); text-wrap: balance;
  background: linear-gradient(100deg, var(--s-ink) 20%, var(--s-violet) 60%, #B06BD8 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.s-h1-hub { font-size: 58px; line-height: 64px; }
.s-lead { font-size: 19px; line-height: 30px; color: var(--s-text-2); max-width: 680px; }
.s-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; line-height: 20px; color: var(--s-text-2); }
.s-trust li { display: inline-flex; align-items: center; gap: 6px; }
.s-trust .w-ic { color: var(--s-violet); }
.s-btn { height: 52px; padding: 0 26px; background: var(--s-violet); }
.s-btn:hover { background: var(--s-violet-d); }
.s-btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: var(--w-r-btn); border: 1px solid #C9BCF2; background: rgba(255, 255, 255, .6); color: var(--s-ink); font-size: 16px; line-height: 22px; font-weight: 600; transition: border-color .15s, background .15s; }
.s-btn-ghost:hover { border-color: var(--s-violet); background: #fff; }
.s-btn-sun { height: 52px; padding: 0 24px; font-size: 16px; background: var(--s-sun); color: var(--s-ink) !important; }
.s-btn-sun:hover { background: #FFD47A; }
.s-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---- the chat box (the old box's behaviour: web.js form[data-w2-ask]) */
.s-ask { isolation: isolate; width: 100%; max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.s-modes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.s-mode { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--s-line); color: var(--s-text-2); font-size: 14px; line-height: 20px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
a.s-mode:hover { background: #fff; border-color: var(--s-violet-2); color: var(--s-ink); }
.s-mode.is-on { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.s-ask-bar { position: relative; display: flex; align-items: flex-end; gap: 10px; padding: 12px 12px 12px 24px; border-radius: 30px; background: #fff; border: 1px solid var(--s-line);
  box-shadow: 0 2px 6px rgba(40, 20, 100, .05), 0 22px 50px rgba(60, 30, 150, .16); transition: border-color .15s, box-shadow .15s; cursor: text; }
.s-ask-bar::before { content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: 32px; background: conic-gradient(from var(--s-a, 0deg), #6E56CF, #B06BD8, #FFC857, #6E56CF); opacity: .55; filter: blur(10px); }
@property --s-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@media (prefers-reduced-motion: no-preference) {
  .s-ask-bar::before { animation: s-spin 6s linear infinite; }
}
@keyframes s-spin { to { --s-a: 360deg; } }
.s-ask-bar:focus-within { border-color: var(--s-violet-2); }
.s-ask-bar textarea { flex: 1; min-width: 0; min-height: 28px; max-height: 200px; padding: 8px 0; margin: 0; border: 0; outline: 0; resize: none; background: transparent; color: var(--s-ink); font: inherit; font-size: 18px; line-height: 26px; }
.s-ask-bar textarea:focus-visible { outline: 0; }
.s-ask-bar textarea::placeholder { color: #9A93B8; }
.s-ask-send { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--s-violet); color: #fff; transition: background .15s, transform .15s; }
.s-ask-send:hover { background: var(--s-violet-d); transform: scale(1.05); }
.s-ask.is-busy .s-ask-send { opacity: .6; pointer-events: none; }
.s-ask.is-busy .s-ask-send .w-ic { animation: s-pulse .8s ease-in-out infinite alternate; }
@keyframes s-pulse { to { transform: translateY(-3px); } }
.s-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.s-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; background: #fff; border: 1px solid var(--s-line); color: var(--s-text-2); font-size: 13px; line-height: 18px; font-weight: 500; white-space: nowrap; transition: border-color .15s, color .15s; }
.s-chip:hover { border-color: var(--s-violet-2); color: var(--s-ink); }
.s-chip img { width: 16px; height: 16px; border-radius: 4px; object-fit: contain; }
.s-chip-claila { background: var(--s-lav-2); border-color: #C9BCF2; color: var(--s-ink); font-weight: 600; }
.s-chip-lock { color: #A39CC4; }
.s-ask-solo { max-width: 680px; }

/* ---- AI Chat hero */
.s-chat-hero { position: relative; overflow: hidden; padding: 64px 0 0; background: linear-gradient(180deg, var(--s-lav) 0%, #fff 92%); }
.s-chat-hero-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.s-chat-hero .s-lead { margin: 0 auto; }
.s-try { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 820px; font-size: 13px; line-height: 18px; color: var(--s-text-3); }
.s-try button { padding: 6px 12px; border-radius: 10px; background: transparent; border: 1px dashed #CFC4F3; color: var(--s-text-2); font-size: 13px; line-height: 18px; transition: background .15s, border-color .15s; }
.s-try button:hover { background: #fff; border-style: solid; border-color: var(--s-violet-2); }
.s-orbit { position: absolute; inset: 0; pointer-events: none; }
.s-orb { position: absolute; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 10px; border-radius: 999px; background: #fff; border: 1px solid var(--s-line); box-shadow: 0 10px 26px rgba(60, 30, 150, .12); font-size: 14px; font-weight: 600; color: var(--s-ink); }
.s-orb img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.s-orb-1 { left: 6%; top: 110px; } .s-orb-2 { right: 6%; top: 150px; } .s-orb-3 { left: 9%; top: 330px; } .s-orb-4 { right: 9%; top: 380px; }
@media (prefers-reduced-motion: no-preference) {
  .s-orb { animation: s-float 7s ease-in-out infinite; }
  .s-orb-2 { animation-delay: -2s; } .s-orb-3 { animation-delay: -4s; } .s-orb-4 { animation-delay: -5.5s; }
}
@keyframes s-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.s-chat-shot { position: relative; max-width: 1140px; margin-top: 56px; }
.s-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--s-line); box-shadow: 0 10px 28px rgba(60, 30, 150, .18);
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--s-ink); white-space: nowrap; z-index: 2; }
.s-float .w-ic { color: var(--s-violet); }
.s-float-1 { left: -4px; top: 22%; } .s-float-2 { right: -4px; top: 44%; } .s-float-3 { left: 12%; bottom: 14%; background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.s-float-3 .w-ic { color: var(--s-sun); }
@media (prefers-reduced-motion: no-preference) {
  .s-float.is-in { animation: s-bob 5s ease-in-out 1.6s infinite; }
  .s-float-2.is-in { animation-delay: 2.4s; } .s-float-3.is-in { animation-delay: 3.1s; }
}
@keyframes s-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* a browser window around a real screenshot; in the chat hero it fades into the page at the bottom */
.s-window { overflow: hidden; border-radius: 16px; border: 1px solid var(--s-line); background: #fff; box-shadow: 0 8px 16px rgba(40, 20, 100, .06), 0 30px 60px rgba(60, 30, 150, .16); }
.s-window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--s-lav-2); }
.s-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBBEF3; }
.s-window-bar span { margin-left: auto; font-size: 11px; line-height: 14px; color: var(--s-text-2); }
.s-window img { display: block; width: 100%; height: auto; }

/* ---- scenes: what the chat does */
.s-auto { background: #fff; }
.s-auto .w-h2 { color: var(--s-ink); max-width: 780px; }
.s-scenes { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 44px; align-items: start; }
.s-scenes-tabs { display: flex; flex-direction: column; gap: 6px; }
.s-step { display: flex; gap: 14px; width: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; text-align: left; transition: background .2s, border-color .2s, box-shadow .2s; }
.s-step:hover { background: var(--s-lav); }
.s-step[aria-selected="true"] { background: var(--s-lav); border-color: var(--s-line); }
.s-step-n { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--s-lav-2); color: var(--s-violet); font-size: 15px; font-weight: 700; transition: background .2s, color .2s; }
.s-step[aria-selected="true"] .s-step-n { background: var(--s-violet); color: #fff; }
.s-step-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; padding-top: 4px; }
.s-step-copy strong { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--s-ink); }
.s-step-text { display: none; font-size: 15px; line-height: 24px; color: var(--s-text-2); }
.s-step .w-scene-bar { display: none; margin-top: 10px; color: var(--s-violet); background: var(--s-lav-2); }
.s-step[aria-selected="true"] .s-step-text, .s-step[aria-selected="true"] .w-scene-bar { display: block; }
.s-scenes-view { min-width: 0; }

/* ---- the model wall */
.s-models { background: var(--s-lav); }
.s-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.s-co { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--s-line); }
.s-co-us { background: var(--s-ink); border-color: var(--s-ink); }
.s-co-name { display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 24px; font-weight: 700; color: var(--s-ink); }
.s-co-name img { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; background: #fff; }
.s-co-us .s-co-name img { background: transparent; }
.s-co-us .s-co-name { color: #fff; }
.s-co ul { display: flex; flex-direction: column; gap: 12px; }
.s-co li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-top: 12px; border-top: 1px solid var(--s-lav-2); }
.s-co li:first-child { padding-top: 0; border-top: 0; }
.s-co li strong { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--s-ink); }
.s-co-us li { border-top-color: rgba(255, 255, 255, .1); }
.s-co-us li strong { color: #fff; }
.s-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--s-sun-soft); color: #8A5A00; font-size: 11px; line-height: 14px; font-weight: 600; }
.s-md { flex-basis: 100%; font-size: 13px; line-height: 19px; color: var(--s-text-3); }
.s-co-us .s-md { color: var(--s-on-ink); }

/* ---- the price */
.s-save { position: relative; overflow: hidden; padding: 88px 0; background: var(--s-ink); color: #fff; }
.s-save::before { content: ''; position: absolute; left: -160px; bottom: -260px; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 116, 232, .45), rgba(139, 116, 232, 0)); pointer-events: none; }
.s-save-in { position: relative; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 64px; align-items: center; }
.s-save-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.s-save-copy h2 { font-size: 42px; line-height: 50px; font-weight: 700; letter-spacing: -.022em; text-wrap: balance; }
.s-save-copy p { font-size: 18px; line-height: 28px; color: var(--s-on-ink); }
.s-price { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.s-price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); }
.s-price-row span { display: flex; flex-direction: column; gap: 2px; font-size: 18px; line-height: 24px; font-weight: 600; }
.s-price-row em { font-style: normal; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--s-on-ink); }
.s-price-row strong { font-size: 44px; line-height: 48px; font-weight: 700; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.s-price-us { background: linear-gradient(110deg, rgba(110, 86, 207, .55), rgba(176, 107, 216, .35)); border: 1px solid rgba(255, 200, 87, .35); }
.s-price-us strong { color: var(--s-sun); }
.s-price-free { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 22px; color: #fff; }
.s-price-free .w-ic { flex: none; color: var(--s-sun); }
.s-price-note { font-size: 13px; line-height: 19px; color: var(--s-on-ink); }

/* ---- comparison */
.s-table-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--s-line); }
.s-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 23px; }
.s-table th, .s-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--s-lav-2); }
.s-table thead th { border-top: 0; font-size: 14px; font-weight: 600; color: var(--s-text-3); background: #fff; }
.s-table thead th.s-us { color: var(--s-violet); }
.s-table tbody th { width: 22%; font-weight: 600; color: var(--s-ink); }
.s-table td { color: var(--s-text-2); }
.s-table td.s-us { background: var(--s-lav); color: var(--s-ink); font-weight: 500; }
.s-table td.s-us { display: table-cell; }
.s-table td.s-us .w-ic { float: left; margin: 2px 10px 0 0; color: var(--s-violet); }

/* ---- feature cards */
.s-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.s-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border-radius: var(--w-r-card); background: #fff; border: 1px solid var(--w-line); transition: border-color .2s, transform .2s, box-shadow .2s; }
.s-card:hover { border-color: #C9BCF2; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(60, 30, 150, .08); }
.s-card h3 { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--s-ink); }
.s-card p { font-size: 15px; line-height: 24px; color: var(--w-text-2); }
.s-tile { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--s-lav-2); color: var(--s-violet); }

/* ---- closing band */
.s-close { position: relative; overflow: hidden; padding: 96px 0; background: linear-gradient(180deg, #fff 0%, var(--s-lav) 100%); }
.s-close-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.s-close h2 { font-size: 48px; line-height: 54px; font-weight: 700; letter-spacing: -.025em; color: var(--s-ink); text-wrap: balance; }
.s-close-in > p { font-size: 18px; line-height: 28px; color: var(--s-text-2); }
.s-bundle { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; line-height: 20px; color: var(--s-text-3); }
.s-bundle a { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; background: #fff; border: 1px solid var(--s-line); color: var(--s-ink); font-weight: 500; }
.s-bundle a:hover { border-color: var(--s-violet); color: var(--s-violet); }

/* ---- AI Studio overview: hero with the prism (a typed request lights up the studio that takes it) */
.s-hub-hero { position: relative; overflow: hidden; padding: 72px 0 88px; background: linear-gradient(180deg, var(--s-lav) 0%, #fff 100%); }
.s-hub-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; align-items: center; }
.s-hub-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.s-hub-copy .s-trust { justify-content: flex-start; }
.s-prism { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, .75); border: 1px solid var(--s-line);
  box-shadow: 0 30px 70px rgba(60, 30, 150, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.s-prism-bar { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--s-line); box-shadow: 0 6px 18px rgba(60, 30, 150, .10); }
.s-prism-ic { display: inline-flex; color: var(--s-violet); }
.s-prism-text { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; line-height: 24px; color: var(--s-ink); }
.s-prism-caret { width: 2px; height: 22px; background: var(--s-violet); margin-right: auto; }
@media (prefers-reduced-motion: no-preference) { .s-prism-caret { animation: s-blink 1s steps(2) infinite; } }
@keyframes s-blink { 50% { opacity: 0; } }
.s-prism-go { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--s-violet); color: #fff; }
.s-prism-rays { position: relative; height: 54px; }
.s-prism-rays i { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: linear-gradient(180deg, var(--s-violet), rgba(110, 86, 207, 0)); transform-origin: top center; }
.s-prism-rays i:nth-child(1) { transform: rotate(48deg); } .s-prism-rays i:nth-child(3) { transform: rotate(-48deg); }
.s-prism-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s-prism-tool { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--s-lav-2); font-size: 15px; line-height: 22px; font-weight: 600; color: var(--s-text-2);
  transition: background .35s, border-color .35s, color .35s, transform .35s, box-shadow .35s; }
.s-prism-tool:last-child { grid-column: 1 / -1; }
.s-prism-tile { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--s-lav-2); color: var(--s-violet); transition: background .35s, color .35s; }
.s-prism-tool.is-on { background: var(--s-ink); border-color: var(--s-ink); color: #fff; transform: scale(1.03); box-shadow: 0 14px 30px rgba(26, 18, 64, .28); }
.s-prism-tool.is-on .s-prism-tile { background: var(--s-sun); color: var(--s-ink); }

/* ---- the model ticker */
.s-ticker { overflow: hidden; padding: 18px 0; background: var(--s-ink); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.s-ticker-track { display: flex; width: max-content; }
.s-ticker ul { display: flex; flex: none; gap: 0; }
.s-ticker li { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--s-on-ink); white-space: nowrap; }
.s-ticker li::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--s-sun); }
@media (prefers-reduced-motion: no-preference) { .s-ticker-track { animation: s-marquee 60s linear infinite; } .s-ticker:hover .s-ticker-track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .s-ticker ul[aria-hidden] { display: none; } .s-ticker-track { width: auto; flex-wrap: wrap; } .s-ticker ul { flex-wrap: wrap; justify-content: center; padding: 0 16px; } }
@keyframes s-marquee { to { transform: translateX(-50%); } }

/* ---- the bento of studios */
.s-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.s-tool { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; background: var(--s-lav); border: 1px solid var(--s-line); overflow: hidden; grid-column: span 2; transition: border-color .2s, box-shadow .2s; }
.s-tool:hover { border-color: #C9BCF2; box-shadow: 0 18px 40px rgba(60, 30, 150, .10); }
.s-tool-chat { grid-column: span 4; grid-row: span 2; background: var(--s-ink); border-color: var(--s-ink); }
.s-tool-img, .s-tool-write { grid-column: span 2; }
.s-tool-lang, .s-tool-creator { grid-column: span 3; }
.s-tool-head { display: flex; align-items: center; gap: 12px; }
.s-tool h3 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; }
.s-tool h3 a { color: var(--s-ink); }
.s-tool > p { font-size: 15px; line-height: 24px; color: var(--s-text-2); }
.s-tool-pic { margin-top: auto; overflow: hidden; border-radius: 12px; border: 1px solid var(--s-line); background: #fff; box-shadow: 0 10px 24px rgba(60, 30, 150, .10); }
.s-tool-pic img { display: block; width: 100%; height: auto; }
.s-tool-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.s-tool-links a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--s-violet); }
.s-tool-links a:hover { color: var(--s-violet-d); }
.s-tool-chat h3 a, .s-tool-chat > p { color: #fff; }
.s-tool-chat > p { color: var(--s-on-ink); font-size: 17px; line-height: 27px; }
.s-tool-chat .s-tile { background: var(--s-sun); color: var(--s-ink); }
.s-tool-chat .s-tool-pic { flex: 1 1 auto; min-height: 0; border-color: rgba(255, 255, 255, .14); }
.s-tool-chat .s-tool-pic img { height: 100%; object-fit: cover; object-position: left top; }
@media (max-width: 1020px) { .s-tool-chat .s-tool-pic img { height: auto; } }
.s-tool-chat .s-tool-links a { color: var(--s-sun); }

/* ---- idea to finished work */
.s-flow-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.s-flow-list li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--w-line); }
.s-flow-n { position: absolute; right: 18px; top: 12px; font-size: 48px; line-height: 56px; font-weight: 800; color: var(--s-lav-2); }
.s-flow-list h3 { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--s-ink); }
.s-flow-list p { font-size: 15px; line-height: 24px; color: var(--w-text-2); }
.s-flow-list li:not(:last-child)::after { content: ''; position: absolute; right: -14px; top: 50%; width: 10px; height: 10px; border-top: 2px solid #C9BCF2; border-right: 2px solid #C9BCF2; transform: translateY(-50%) rotate(45deg); }

/* ---- business band */
.s-biz-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 44px; border-radius: 24px; background: var(--s-sun-soft); border: 1px solid #F6DFA6; }
.s-biz-in .w-h2 { color: var(--s-ink); max-width: 640px; }
.s-biz-in .w-sub { margin-top: 10px; max-width: 640px; }
.s-biz-in .s-btn { flex: none; background: var(--s-ink); }
.s-biz-in .s-btn:hover { background: var(--s-ink-2); }

/* ---- responsive */
@media (max-width: 1020px) {
  .s-h1 { font-size: 60px; line-height: 64px; }
  .s-h1-hub { font-size: 46px; line-height: 52px; }
  .s-orb-3, .s-orb-4 { display: none; }
  .s-orb-1 { left: 2%; top: 40px; } .s-orb-2 { right: 2%; top: 60px; }
  .s-hub-hero-in, .s-save-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .s-scenes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .s-scenes-tabs { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .s-step { flex: none; width: auto; padding: 10px 14px; }
  .s-step-copy { padding-top: 2px; } .s-step-copy strong { font-size: 15px; line-height: 22px; white-space: nowrap; }
  .s-step[aria-selected="true"] .s-step-text, .s-step[aria-selected="true"] .w-scene-bar { display: none; }
  .s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-tool, .s-tool-img, .s-tool-write, .s-tool-lang, .s-tool-creator { grid-column: span 1; }
  .s-tool-chat { grid-column: 1 / -1; grid-row: auto; }
  .s-flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-flow-list li::after { display: none; }
  .s-biz-in { flex-direction: column; align-items: flex-start; }
  .s-float-1 { left: 8px; } .s-float-2 { right: 8px; }
}
@media (max-width: 680px) {
  .s-chat-hero { padding-top: 36px; }
  .s-h1 { font-size: 48px; line-height: 52px; }
  .s-h1-hub { font-size: 36px; line-height: 42px; }
  .s-lead { font-size: 17px; line-height: 27px; }
  .s-orbit { display: none; }
  .s-ask-bar { padding: 8px 8px 8px 18px; border-radius: 26px; }
  .s-ask-bar textarea { font-size: 16px; line-height: 24px; }
  .s-ask-send { width: 42px; height: 42px; }
  .s-modes { gap: 6px; }
  .s-mode { height: 34px; padding: 0 10px; gap: 5px; font-size: 13px; }
  .s-chip-x, .s-try button:nth-of-type(n+3) { display: none; }
  .s-chat-shot { margin-top: 36px; }
  .s-float { height: 34px; padding: 0 10px; font-size: 12px; }
  .s-float-1 { top: 8%; } .s-float-2 { top: 40%; } .s-float-3 { bottom: 6%; left: 8px; }
  .s-save { padding: 64px 0; }
  .s-save-copy h2 { font-size: 32px; line-height: 38px; }
  .s-price { padding: 18px; }
  .s-price-row { padding: 16px; }
  .s-price-row strong { font-size: 34px; line-height: 40px; }
  .s-cards, .s-bento, .s-flow-list { grid-template-columns: minmax(0, 1fr); }
  .s-tool-chat { grid-column: auto; }
  .s-prism { padding: 18px; }
  .s-prism-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .s-prism-tool { padding: 10px; gap: 8px; font-size: 13px; }
  .s-prism-tile { width: 32px; height: 32px; }
  .s-table thead { display: none; }
  .s-table, .s-table tbody, .s-table tr, .s-table th, .s-table td { display: block; width: 100%; }
  .s-table tr { padding: 14px 16px; border-top: 1px solid var(--s-lav-2); }
  .s-table tbody tr:first-child { border-top: 0; }
  .s-table th, .s-table td { padding: 4px 0; border: 0; }
  .s-table tbody th { width: 100%; }
  .s-table td.s-us { display: block; padding: 8px 10px; border-radius: 10px; }
  .s-table td[data-label]::before { content: attr(data-label) ' '; font-weight: 600; color: var(--s-text-3); }
  .s-close { padding: 64px 0; }
  .s-close h2 { font-size: 34px; line-height: 40px; }
  .s-biz-in { padding: 28px 22px; }
}
