/* Stroka website. One file, no frameworks, fonts served by us. */
@font-face { font-family: "Golos Text"; src: url("/static/fonts/golos-text.woff") format("woff"); font-weight: 400 900; font-display: swap; }
:root {
  --bg: #1a1a19; --bg-2: #1f1f1e; --raise: #232322; --raise-2: #2b2b2a; --line: #353533;
  --fg: #ecebe8; --fg-2: #c9c7c2; --muted: #9d9a94; --faint: #6f6c67;
  --accent: #ff5a6e; --accent-2: #ff7a8a; --ok: #7ccf8b; --bad: #ff6b6b;
  --k: #ff8b9a; --f: #7fb8ff; --s: #a8d58c; --t: #f0c674;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 "Golos Text", -apple-system, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .9em; background: var(--raise-2); padding: 1px 6px; border-radius: 6px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; border-radius: 12px; padding: 11px 20px; border: 1px solid transparent; transition: transform .15s var(--ease), filter .15s, background .15s; box-shadow: 0 10px 30px -12px var(--accent); }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { width: 19px; height: 19px; stroke-width: 2.2; }
.btn.big { padding: 14px 24px; font-size: 17px; }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.btn.ghost { background: var(--raise); border-color: var(--line); color: var(--fg); box-shadow: none; }
.btn.ghost:hover { background: var(--raise-2); }
.btn.disabled { background: var(--raise-2); color: var(--muted); box-shadow: none; cursor: default; }
.btn.disabled:hover { transform: none; filter: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 30px; }
.logo rect { fill: #1d1d20; stroke: #ffffff1c; stroke-width: 8; }
.logo path { stroke: var(--accent); stroke-width: 46; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { text-decoration: none; color: var(--fg-2); padding: 6px 12px; border-radius: 8px; font-size: 15px; }
.links a:hover { color: var(--fg); background: var(--raise); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.glow { position: absolute; inset: -20% -10% auto; height: 760px; background: radial-gradient(38% 50% at 70% 35%, #ff5a6e30, transparent 70%), radial-gradient(30% 40% at 20% 20%, #7fb8ff14, transparent 70%); pointer-events: none; animation: drift 12s ease-in-out infinite alternate; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 600; font-size: 14px; letter-spacing: .02em; margin: 0 0 14px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 #7ccf8b88; animation: ping 2s infinite; }
h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 800; }
.accent { color: var(--accent); }
.lead { font-size: 19px; color: var(--fg-2); margin: 0 0 30px; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; }

/* editor mock */
.mock { border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2); box-shadow: 0 40px 100px -30px #000, 0 0 0 1px #ffffff08 inset; overflow: hidden; animation: stage .9s .2s var(--ease) both; }
.mock-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #171716; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin: 0 auto; transform: translateX(-24px); }
.mock-body { display: grid; grid-template-columns: 40px minmax(0, 1fr) 244px; height: 370px; }
.mock-act { background: #171716; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 14px; padding: 14px 10px; }
.mock-act b { height: 18px; border-radius: 5px; background: #2f2f2d; }
.mock-act b.on { background: var(--raise-2); box-shadow: -3px 0 0 var(--accent); }
.mock-act b.wave { background: #ff5a6e40; }
.mock-code { padding: 16px 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.9; overflow: hidden; background: var(--bg); }
.ln { padding: 0 14px; color: var(--fg); white-space: pre; }
.ln em { display: inline-block; width: 22px; color: var(--faint); font-style: normal; margin-right: 12px; text-align: right; }
.k { color: var(--k); } .f { color: var(--f); } .s { color: var(--s); } .t { color: var(--t); }
.ln.add { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, background .6s; background: #7ccf8b26; box-shadow: inset 3px 0 0 var(--ok); }
.mock.edited .ln.add { max-height: 30px; opacity: 1; }
.mock.settled .ln.add { background: transparent; box-shadow: none; }
.mock-chat { border-left: 1px solid var(--line); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--bg-2); }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-weight: 600; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.mini-logo { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.6; }
.chat-msgs { padding: 12px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; font-size: 12.5px; }
.m-user { align-self: flex-end; background: var(--raise-2); border: 1px solid var(--line); border-radius: 12px; padding: 6px 11px; min-height: 31px; min-width: 30px; max-width: 92%; }
.m-user.typing::after { content: ''; display: inline-block; width: 1.5px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.m-tool { display: flex; align-items: center; gap: 7px; background: var(--bg); border-radius: 7px; padding: 5px 9px; color: var(--muted); }
.m-tool b.plus { margin-left: auto; color: var(--ok); font-family: var(--mono); }
.m-tool i { width: 12px; height: 12px; border-radius: 3px; border: 1.6px solid currentColor; flex: none; }
.m-tool i.ic-search { border-radius: 50%; } .m-tool i.ic-edit { transform: rotate(45deg); border-radius: 2px 2px 2px 6px; } .m-tool i.ic-run { border-radius: 2px; }
.m-answer { line-height: 1.5; }
.m-tool, .m-answer { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.m-tool.show, .m-answer.show { opacity: 1; transform: none; }
.chat-foot { display: flex; align-items: center; gap: 8px; margin: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--raise); font-size: 12px; color: var(--faint); }
.counter { margin-left: auto; color: var(--muted); font-family: var(--mono); }

/* strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-block: 18px; color: var(--muted); font-size: 15px; }
.strip-in span:last-child { color: var(--faint); }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; }
h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.sub { color: var(--fg-2); font-size: 17px; max-width: 640px; margin: 0 0 32px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.feat { background: var(--raise); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; transition: transform .25s var(--ease), border-color .25s; }
.feat:hover { transform: translateY(-3px); border-color: #ff5a6e55; }
.feat p { color: var(--fg-2); margin: 0; font-size: 15px; }
.feat-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #ff5a6e1f; color: var(--accent); margin-bottom: 16px; }
.feat-ic svg { width: 22px; height: 22px; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--raise); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; position: relative; }
.steps p { color: var(--fg-2); margin: 0; font-size: 15px; }
.num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 16px; }
.control { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--raise); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.control p { color: var(--fg-2); margin: 0; }
.control-mock { display: grid; gap: 10px; }
.approve { display: grid; gap: 8px; border: 1px solid var(--accent); border-radius: 12px; padding: 12px 14px; background: #ff5a6e12; }
.approve small { color: var(--fg-2); }
.approve code { display: block; background: var(--bg); padding: 7px 10px; }
.row { display: flex; gap: 8px; }
.b-run, .b-skip { display: inline-grid; place-items: center; height: 30px; padding: 0 14px; border-radius: 8px; font-size: 13px; }
.b-run { background: var(--accent); color: #fff; }
.b-skip { background: var(--raise-2); border: 1px solid var(--line); font-weight: 500; }
.changes { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.changes span { color: var(--f); margin-right: auto; font-size: 14px; }

.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.model { background: var(--raise); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; }
.model p { color: var(--fg-2); margin: 0; font-size: 15px; }
.m-top { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.tag { font-size: 12px; font-weight: 600; color: var(--ok); background: #7ccf8b1f; border-radius: 999px; padding: 2px 9px; }
.tag.pro { color: var(--accent-2); background: #ff5a6e1f; }
.cost { font-family: var(--mono); font-size: 13px; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 16px; margin-top: 32px; }
.plan { background: var(--raise); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.plan.pro { border-color: #ff5a6e55; background: linear-gradient(180deg, #ff5a6e10, var(--raise) 50%); }
.plan h3 { display: flex; align-items: center; gap: 8px; }
.price { font-size: 38px; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; color: var(--fg-2); }
.plan li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 10px; }

.dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.dl-card { position: relative; display: grid; gap: 4px; text-decoration: none; background: var(--raise); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .2s var(--ease), border-color .2s; }
.dl-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.dl-card svg { width: 30px; height: 30px; margin-bottom: 10px; color: var(--fg); }
.dl-card b { font-size: 18px; }
.dl-card small { color: var(--muted); font-size: 14px; }
.dl-state { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
.dl-state.ready { color: #fff; background: var(--accent); }
.dl-card:hover .dl-state.ready { background: var(--accent-2); }
.dl-state.soon { color: var(--muted); background: var(--raise-2); }
.dl-card.recommended { border-color: var(--accent); box-shadow: 0 16px 40px -20px var(--accent); }
.which { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.install { margin-top: 36px; background: var(--raise); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.install h3:nth-of-type(1) { grid-column: 1; grid-row: 1; } .install ol:nth-of-type(1) { grid-column: 1; grid-row: 2; }
.install h3:nth-of-type(2) { grid-column: 2; grid-row: 1; } .install ol:nth-of-type(2) { grid-column: 2; grid-row: 2; }
.install ol { margin: 0; padding-left: 20px; color: var(--fg-2); display: grid; gap: 10px; align-content: start; }
.install pre { margin: 8px 0 0; }
.install pre code { display: block; padding: 10px 12px; background: var(--bg); user-select: all; }

.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-size: 18px; font-weight: 600; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 22px; color: var(--fg-2); }
.qa a { color: var(--accent-2); }

.final { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 70% at 50% 100%, #ff5a6e26, transparent 70%); }
.final-in { position: relative; }
.final p { color: var(--fg-2); font-size: 18px; margin: 0 0 28px; }
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--fg); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stage { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(-2%, 0); } to { transform: translate(3%, 4%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #7ccf8b88; } 80%, 100% { box-shadow: 0 0 0 8px #7ccf8b00; } }

@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { display: none; }
  .nav-in .btn { margin-left: auto; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 40px; }
  .lead { font-size: 17px; }
  .mock-body { grid-template-columns: minmax(0, 1fr); height: auto; }
  .mock-act, .mock-code { display: none; }
  .mock-chat { border-left: 0; min-height: 330px; }
  .grid4, .steps, .models, .dl, .control, .install { grid-template-columns: 1fr; }
  .install h3, .install ol { grid-column: auto !important; grid-row: auto !important; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--raise-2); border: 1px solid var(--line); color: var(--fg); padding: 12px 16px; border-radius: 12px; box-shadow: 0 20px 50px -20px #000; transition: opacity .25s, transform .25s var(--ease); z-index: 80; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* two products: the editor and the sites, never mixed up */
.products { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--raise); border: 1px solid var(--line); }
.products a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; padding: 5px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.products a:hover { color: var(--fg); }
.products a[aria-current="page"] { background: var(--raise-2); color: var(--fg); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 18px; margin-top: 28px; }
.product { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s var(--ease); }
.product:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-3px); }
.product h3 { margin: 0; font-size: 22px; }
.product p { margin: 0; color: var(--fg-2); }
.product ul { margin: 0; padding-left: 18px; color: var(--muted); }
.product .btn { align-self: flex-start; margin-top: auto; }
.p-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.p-ico svg { width: 22px; height: 22px; }
@media (max-width: 720px) { .products a { padding: 5px 9px; font-size: 13px; } }
@media (max-width: 520px) { .nav-in > .btn.small { display: none; } .nav-in { gap: 14px; } }
