/* Layout concept: Apple-style product page. Huge centred type on near-white, full-width black "stages" that hold the 3D scenes, rounded bento cards, a frosted sticky nav, content that rises into view as you scroll. */
:root {
  --bg: #FBFBFD; --surface: #FFFFFF; --ink: #1D1D1F; --mute: #6E6E73; --line: #D2D2D7; --soft: #F5F5F7;
  --accent: #BB2321; --btn: #BB2321; --btn-ink: #FFFFFF;
  --ok: #30A46C; --warn: #F2C14E; --bad: #FF8B87;
  --nav-bg: rgba(251, 251, 253, 0.78);
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #1C1C1E; --ink: #F5F5F7; --mute: #A1A1A6; --line: #3A3A3C; --soft: #111113;
    --accent: #FF7B77; --nav-bg: rgba(0, 0, 0, 0.72); --ok: #6FD39A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #1C1C1E; --ink: #F5F5F7; --mute: #A1A1A6; --line: #3A3A3C; --soft: #111113;
  --accent: #FF7B77; --nav-bg: rgba(0, 0, 0, 0.72); --ok: #6FD39A; color-scheme: dark;
}
/* Black stages are black in both themes */
.dark { --bg: #000; --surface: #1C1C1E; --ink: #F5F5F7; --mute: #A1A1A6; --line: #3A3A3C; --soft: #111113; --accent: #FF7B77; --ok: #6FD39A; background: #000; color: #F5F5F7; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 1px solid var(--btn); background: var(--btn); color: var(--btn-ink); font: 500 17px/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: scale(1.03); }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #fff; }
.dark .btn.ghost { color: #F5F5F7; border-color: #5a5a5e; }
.dark .btn.ghost:hover { background: #F5F5F7; color: #000; border-color: #F5F5F7; }

/* ---- Frosted nav ---- */
.top { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 52px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.brand span { font: 600 15px var(--font-display); letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a.link { text-decoration: none; font-size: 13px; color: var(--mute); transition: color .2s; }
.nav a.link:hover { color: var(--ink); }
.nav .btn { padding: 7px 15px; font-size: 13px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; margin-right: -10px; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.top.open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); } .top.open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 820px) {
  .top .wrap { gap: 8px; }
  .brand { min-height: 44px; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .top.open .nav { display: flex; }
  .nav a.link { font-size: 18px; color: var(--ink); padding: 14px 0; min-height: 44px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; padding: 13px 15px; font-size: 16px; }
  .card a.more, .contact .links a { display: inline-block; padding: 10px 0; }
  footer .wrap a { display: inline-block; padding: 12px 4px; }
}

/* ---- Reveal on scroll ---- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 72px 0 0; }
.hero .eyebrow { font-size: 17px; }
.hero h1 { font-size: clamp(42px, 8.2vw, 92px); margin: 14px auto 0; max-width: 14ch; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.3; color: var(--mute); max-width: 36ch; margin: 22px auto 0; font-weight: 500; letter-spacing: -0.01em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.stage { position: relative; margin: 56px auto 0; max-width: 1280px; padding-inline: 12px; }
.stage-card { position: relative; border-radius: 32px; background: radial-gradient(120% 90% at 50% 0%, #1b1b1f 0%, #000 70%); overflow: hidden; height: min(68vh, 640px); min-height: 380px; }
.stage-cap { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-inline: 16px; pointer-events: none; }
.stage-cap span { font-size: 13px; color: #F5F5F7; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 13px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stage-cap span.red { background: #BB2321; border-color: #BB2321; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 36px; justify-content: center; margin: 36px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--mute); }
.facts b { color: var(--ink); font-weight: 600; }

/* ---- Generic sections ---- */
.section { padding-block: clamp(72px, 11vw, 140px); }
.section.soft { background: var(--soft); }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 6vw, 64px); margin-top: 10px; letter-spacing: -0.04em; }
.section-head p { color: var(--mute); margin-top: 18px; font-size: clamp(18px, 2vw, 22px); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }

/* ---- 3D scenes ---- */
.scene { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.scene:active { cursor: grabbing; }
.scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.scene-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px 24px 70px; text-align: center; color: #A1A1A6; font-weight: 500; }
.scene.ready .scene-fallback { display: none; }
.hint { font-size: 13px; color: var(--mute); text-align: center; margin-top: 14px; }

/* ---- Feature band (resume screening) ---- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature h2 { font-size: clamp(34px, 5.4vw, 60px); margin-top: 10px; letter-spacing: -0.04em; }
.feature p.lead2 { color: var(--mute); margin-top: 20px; font-size: clamp(18px, 2vw, 21px); line-height: 1.4; max-width: 38ch; }
.legend { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16px; color: var(--mute); }
.legend b { color: var(--ink); font-weight: 600; display: inline-block; min-width: 82px; }
.board { background: #1C1C1E; color: #F5F5F7; border-radius: 28px; padding: 30px; min-width: 0; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.board .tag { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #A1A1A6; }
.board h2 { font-size: 30px; margin: 14px 0 18px; letter-spacing: -0.03em; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(255,255,255,.07); border-radius: 14px; margin-bottom: 10px; }
.row i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.row .n { flex: 1; min-width: 0; font-weight: 600; }
.row .s { font-size: 14px; font-weight: 600; text-align: right; }
.row.ok i { background: #6FD39A; } .row.ok .s { color: #6FD39A; }
.row.warn i { background: #F2C14E; } .row.warn .s { color: #F2C14E; }
.row.bad i { background: #FF8B87; } .row.bad .s { color: #FF8B87; }
.board .foot { margin-top: 16px; font-size: 14px; color: #A1A1A6; }
.board .foot b { color: #F5F5F7; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* ---- Services bento ---- */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; perspective: 1200px; }
.card { background: var(--surface); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transform-style: preserve-3d; will-change: transform; transition: box-shadow .3s ease; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.section.soft .card { box-shadow: none; }
.card:hover { box-shadow: 0 18px 50px rgba(0,0,0,.12); }
.card .eyebrow { font-size: 13px; }
.card h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.12; }
.card p { color: var(--mute); font-size: 16px; line-height: 1.45; }
.card .eg { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--ink); }
.card .eg span { color: var(--mute); }
.card a.more { font-weight: 500; font-size: 16px; color: var(--accent); text-decoration: none; margin-top: 6px; }
.card a.more::after { content: " \203A"; }
.card a.more:hover { text-decoration: underline; }

/* ---- 3D tour stage ---- */
.tour { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tour .stage-card { height: 480px; min-height: 0; border-radius: 28px; }
.tour h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.04em; margin-top: 10px; }
.tour p { color: var(--mute); margin-top: 18px; font-size: 19px; line-height: 1.4; }
.tour ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; color: var(--mute); }
.tour li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 12px; }
@media (max-width: 860px) { .tour { grid-template-columns: minmax(0, 1fr); } .tour .stage-card { height: 360px; } }

/* ---- Training ---- */
.progs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.prog { background: var(--surface); border-radius: 28px; padding: 32px; min-width: 0; }
.prog h3 { font-size: 26px; letter-spacing: -0.03em; }
.prog .who { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent); }
.prog p { margin-top: 12px; color: var(--mute); font-size: 16px; line-height: 1.45; }
.prog.wide { grid-column: 1 / -1; background: #000; color: #F5F5F7; }
.prog.wide p { color: #A1A1A6; max-width: 80ch; } .prog.wide .who { color: #FF7B77; }
.train-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 32px; margin-top: 40px; }
.train-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--mute); font-size: 16px; }
.train-foot li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; }

/* ---- Proof ---- */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; text-align: center; }
.proof > div { padding: 12px; min-width: 0; }
.proof .big { font: 700 clamp(52px, 8vw, 96px)/1 var(--font-display); letter-spacing: -0.05em; background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 55%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof h3 { font-size: 22px; margin-top: 16px; letter-spacing: -0.02em; }
.proof p { color: var(--mute); margin: 8px auto 0; font-size: 16px; max-width: 30ch; }
.proof .note { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }

/* ---- Process ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border-radius: 28px; padding: 32px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; margin-bottom: 18px; }
.steps h3 { font-size: 26px; letter-spacing: -0.03em; }
.steps p { color: var(--mute); margin-top: 10px; font-size: 16px; }
.rule { margin-top: 56px; text-align: center; font: 700 clamp(32px, 6vw, 64px)/1.05 var(--font-display); letter-spacing: -0.045em; }
.rule span { color: var(--accent); }

/* ---- About ---- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 10px; }
.about p { color: var(--mute); font-size: 19px; line-height: 1.4; margin-top: 18px; }
.about ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.about li { padding: 18px 22px; background: var(--surface); border-radius: 20px; font-weight: 600; }
.about li small { display: block; color: var(--mute); font-weight: 400; font-size: 14px; margin-top: 2px; }
@media (max-width: 820px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* ---- Contact ---- */
.contact { background: #000; color: #F5F5F7; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.045em; }
.contact p { margin-top: 18px; color: #A1A1A6; font-size: 20px; line-height: 1.35; max-width: 40ch; }
.direct { margin-top: 28px; }
.mail { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.mail code { font: 500 16px var(--font-body); padding: 11px 16px; border: 1px solid #3A3A3C; border-radius: 12px; overflow-wrap: anywhere; color: #F5F5F7; }
.contact .btn.ghost { padding: 11px 18px; font-size: 15px; }
.contact .links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.contact .links a { color: #F5F5F7; }
#copied { font-size: 14px; color: var(--ok); min-height: 20px; margin-top: 8px; }
.form { display: grid; gap: 14px; min-width: 0; background: #1C1C1E; border-radius: 28px; padding: 28px; }
.f2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.form label { font-size: 13px; font-weight: 600; color: #A1A1A6; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid #3A3A3C; background: #000; color: #F5F5F7; font: 16px var(--font-body); }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid #FF7B77; outline-offset: 2px; }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status { min-height: 22px; font-size: 15px; }
#form-status.ok { color: #6FD39A; } #form-status.err { color: #FF8B87; } #form-status.info { color: #F2C14E; }
@media (max-width: 820px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); } }

footer { padding-block: 32px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); background: var(--bg); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
footer img { width: 28px; height: 28px; border-radius: 50%; }
footer .l { display: flex; align-items: center; gap: 10px; }

/* ---- Sales chat ---- */
.chat-launch { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; border: 0; background: #1D1D1F; color: #fff; font: 500 15px var(--font-body); cursor: pointer; box-shadow: 0 10px 40px rgba(0,0,0,.35); transition: transform .2s ease; }
.chat-launch:hover { transform: scale(1.04); }
.chat-launch i { width: 10px; height: 10px; border-radius: 50%; background: #6FD39A; box-shadow: 0 0 0 0 rgba(111,211,154,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(111,211,154,0); } 100% { box-shadow: 0 0 0 0 rgba(111,211,154,0); } }
.chat { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 100; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: #1C1C1E; color: #F5F5F7; border: 1px solid #3A3A3C; border-radius: 28px; box-shadow: 0 30px 90px rgba(0,0,0,.5); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.chat.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #3A3A3C; }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; }
.chat-head b { display: block; font-size: 15px; font-weight: 600; }
.chat-head small { color: #A1A1A6; font-size: 12px; }
.chat-head button { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #2C2C2E; color: #F5F5F7; font-size: 18px; line-height: 1; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 20px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: #2C2C2E; border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: #BB2321; color: #fff; border-bottom-right-radius: 6px; }
.msg.note { align-self: center; background: transparent; color: #6FD39A; font-size: 13px; text-align: center; }
.msg a { color: #FF9E9A; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #A1A1A6; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chips button { font: 500 13px var(--font-body); color: #F5F5F7; background: transparent; border: 1px solid #4a4a4e; border-radius: 999px; padding: 8px 13px; cursor: pointer; }
.chips button:hover { background: #2C2C2E; }
.chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid #3A3A3C; }
.chat-form input { flex: 1; min-width: 0; padding: 12px 15px; border-radius: 999px; border: 1px solid #3A3A3C; background: #000; color: #F5F5F7; font: 16px var(--font-body); }
.chat-form button { padding: 0 18px; border-radius: 999px; border: 0; background: #BB2321; color: #fff; font: 600 15px var(--font-body); cursor: pointer; }
.chat-form button:disabled { opacity: .5; }
.chat-foot { padding: 0 18px 12px; font-size: 11px; color: #8E8E93; text-align: center; }
@media (max-width: 520px) { .chat { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 24px; } }

/* ---- blog ---- */
.crumbs { font-size: 14px; color: var(--mute); padding-top: 24px; }
.crumbs a { color: var(--mute); }
.post-head { padding-block: 40px 8px; max-width: 760px; }
.post-head h1 { font-size: clamp(36px, 6vw, 60px); margin-top: 14px; letter-spacing: -0.04em; }
.post-head .lead { color: var(--mute); font-size: 21px; margin-top: 16px; }
.post-meta { margin-top: 16px; color: var(--mute); font-size: 15px; }
.prose { max-width: 720px; padding-block: 24px 56px; font-size: 19px; line-height: 1.65; }
.prose h2 { font-size: 32px; margin: 44px 0 14px; }
.prose h3 { font-size: 23px; margin: 32px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); color: var(--mute); }
.prose code { background: var(--soft); border-radius: 6px; padding: 2px 7px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.cta-box { margin: 8px 0 64px; max-width: 720px; background: #000; color: #F5F5F7; border-radius: 28px; padding: 36px; }
.cta-box h2 { font-size: 30px; }
.cta-box p { margin-top: 10px; color: #A1A1A6; }
.cta-box .btn { margin-top: 20px; }
.posts { display: grid; border-top: 1px solid var(--line); max-width: 820px; }
.post-item { padding: 30px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 30px; }
.post-item h2 a { text-decoration: none; }
.post-item h2 a:hover { color: var(--accent); }
.post-item p { color: var(--mute); margin-top: 10px; }
.post-item .post-meta { margin-top: 8px; font-size: 14px; }
.more-posts { max-width: 720px; border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: 56px; }
.more-posts h2 { font-size: 24px; margin-bottom: 12px; }
.more-posts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.more-posts a { color: var(--accent); font-weight: 600; }

/* ---- Inner pages (playground, private AI, reviews) ---- */
.hero.compact { padding-top: 56px; }
.hero.compact h1 { max-width: 18ch; font-size: clamp(36px, 6.4vw, 72px); }
.hero.compact .lead { max-width: 46ch; }
.hero.compact + .stage { margin-top: 36px; }
.pg-stage .stage-card { height: min(52vh, 460px); min-height: 340px; }
.pg-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: #A1A1A6; font-weight: 500; pointer-events: none; }
.pg-chain { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 18px 0 0; min-height: 58px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 15px var(--font-body); color: var(--ink); }
.chip.person { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip button { border: 0; background: transparent; color: inherit; opacity: .6; font-size: 20px; line-height: 1; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
.chip button:hover { opacity: 1; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.pg-actions .btn { padding: 12px 22px; font-size: 16px; }
.pg-actions .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.pg-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.pg-panel { background: var(--surface); border-radius: 28px; padding: 26px; min-width: 0; }
.pg-panel h2 { font-size: 22px; letter-spacing: -0.03em; }
.pg-panel p.sub { color: var(--mute); font-size: 15px; margin: 6px 0 14px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 10px 15px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 15px var(--font-body); cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--accent); }
.opt.red { border-color: var(--accent); color: var(--accent); }
.opt[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.runlog { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; min-height: 60px; }
.runlog li { padding: 11px 14px; border-radius: 14px; background: var(--soft); color: var(--ink); animation: pop .35s ease both; }
.runlog li b { font-weight: 600; }
.runlog li span { color: var(--mute); }
.runlog li.person { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.runlog li.done { background: color-mix(in srgb, var(--ok) 16%, var(--surface)); font-weight: 600; }
.runlog li.hint { color: var(--mute); background: transparent; padding-left: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.uc { text-align: left; border: 0; font: inherit; color: inherit; cursor: pointer; }
.uc .tag2 { font-size: 13px; color: var(--accent); font-weight: 600; }
.uc .flow { font-size: 14px; color: var(--ink); margin-top: auto; padding-top: 10px; }
.uc .flow span { color: var(--mute); }
.uc .load { color: var(--accent); font-weight: 500; font-size: 16px; margin-top: 8px; }
.uc .load::after { content: " \203A"; }
.pg-cta { background: #000; color: #F5F5F7; border-radius: 28px; padding: clamp(28px, 5vw, 48px); text-align: center; margin-top: 16px; }
.pg-cta h2 { font-size: clamp(28px, 4vw, 40px); }
.pg-cta p { color: #A1A1A6; margin: 12px auto 22px; max-width: 46ch; }
.faq details { background: var(--surface); border-radius: 20px; padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 18px; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--mute); padding-bottom: 18px; line-height: 1.5; }
.faq { max-width: 760px; margin-inline: auto; }
.steps.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.note2 { max-width: 760px; margin: 28px auto 0; padding: 18px 22px; border-radius: 20px; background: var(--surface); color: var(--mute); font-size: 16px; line-height: 1.5; }
.note2 b { color: var(--ink); }
.who { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.who li { padding: 10px 18px; border-radius: 999px; background: var(--surface); font-weight: 500; }

/* ---- Reviews ---- */
.stars { display: flex; gap: 2px; }
.stars button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 34px; line-height: 1; color: #5a5a5e; cursor: pointer; padding: 0; }
.stars button.on { color: #F2C14E; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.rv { background: var(--surface); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rv .st { color: #E0A800; letter-spacing: 2px; font-size: 18px; }
.rv p { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.rv .who2 { margin-top: auto; font-size: 15px; color: var(--mute); }
.rv .who2 b { color: var(--ink); display: block; }
.rv-empty { text-align: center; color: var(--mute); }
#review-status { min-height: 22px; font-size: 15px; }
#review-status.ok { color: #6FD39A; } #review-status.err { color: #FF8B87; } #review-status.info { color: #F2C14E; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #A1A1A6; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; }
.form .check label { font-size: 14px; font-weight: 400; }
@media (max-width: 820px) { .who li { padding: 10px 14px; } }
.pg-empty[hidden] { display: none; }
.grid3.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }

.opt, .chip { align-items: center; }
.opt { display: inline-flex; gap: 8px; padding-left: 13px; }
.opt svg, .chip svg, .uc .fi svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chip svg { width: 18px; height: 18px; }
.uc .flow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.uc .fi { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--soft); color: var(--ink); }
.uc .fi svg { width: 18px; height: 18px; }
.uc .flow i { font-style: normal; color: var(--mute); }
#idea-status { min-height: 22px; font-size: 15px; } #idea-status.ok, #lead-status.ok { color: #6FD39A; } #idea-status.err, #lead-status.err { color: #FF8B87; } #idea-status.info, #lead-status.info { color: #F2C14E; }
#lead-status { min-height: 22px; font-size: 15px; }
.pg-cta .form { margin-top: 18px; text-align: left; background: #1C1C1E; }
#idea-results[hidden] { display: none; }

/* ---- Free tools ---- */
.result { margin-top: 28px; background: var(--surface); border-radius: 28px; padding: clamp(22px, 4vw, 34px); }
.result .th { font-size: 17px; letter-spacing: -0.01em; margin: 22px 0 8px; color: var(--mute); font-weight: 600; }
.result .th:first-child { margin-top: 0; }
.result p { line-height: 1.5; margin: 0 0 8px; overflow-wrap: anywhere; }
.result .tl { margin: 0 0 8px; padding-left: 22px; display: grid; gap: 6px; line-height: 1.45; }
.code { margin: 0 0 12px; padding: 16px 18px; border-radius: 14px; background: #1C1C1E; color: #F5F5F7; overflow-x: auto; font: 500 15px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.outbox { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px 18px; border-radius: 14px; background: var(--soft); line-height: 1.5; margin-bottom: 8px; }
.acts { display: grid; gap: 8px; }
.act { padding: 12px 16px; border-radius: 14px; background: var(--soft); display: grid; gap: 2px; }
.act span { color: var(--mute); font-size: 14px; }
.btn.small { padding: 10px 18px; font-size: 15px; }
#tool-status { min-height: 22px; font-size: 15px; }
#tool-status.ok, #idea-status.ok { color: #6FD39A; } #tool-status.err { color: #FF8B87; } #tool-status.info { color: #F2C14E; }
.result .pg-actions { justify-content: flex-start; }
.gate { margin-top: 24px; }

.fish { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.act .tl { margin: 4px 0 0; }
.act b { display: block; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.badge.b-green { background: color-mix(in srgb, var(--ok) 22%, var(--surface)); }
.badge.b-amber { background: color-mix(in srgb, var(--warn) 30%, var(--surface)); }
.badge.b-red { background: color-mix(in srgb, var(--bad) 30%, var(--surface)); }
.resume { margin: 14px 0; padding: clamp(18px, 4vw, 30px); border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #1D1D1F; line-height: 1.45; font-size: 15px; overflow-wrap: anywhere; }
.resume .rn { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.resume .rc, .resume .rh { color: #555; }
.resume .rh { font-weight: 600; color: #1D1D1F; margin-top: 2px; }
.resume .rs { margin: 16px 0 6px; padding-bottom: 3px; border-bottom: 1px solid #1D1D1F; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.resume .rj { font-weight: 600; margin-top: 8px; }
.resume p { margin: 0; } .resume .tl { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 3px; }
