/* The public site: landing page (templates/landing.html), /team and /team/<slug>
   (templates/team.html, team_member.html). Header and footer: templates/partials/site_*.html. */
:root {
    --brand: #e85a1c;
    --brand-strong: #c2410c;
    --brand-hover: #9a3412;
    --brand-bg: #fff7ed;
    --brand-tint: #fde7d9;
    --brand-rgb: 232, 90, 28;
    --brand-gradient: linear-gradient(135deg, #ffa066 0%, #e85a1c 100%);
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #475569;
    --faint: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --navy: #0f172a;
    --navy-2: #1e293b;
    --on-navy: #cbd5e1;
    --peach: #fdba74;
    --ok: #166534;
    --ok-bg: #dcfce7;
    --header-h: 68px;
    --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand-strong); }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(var(--brand-rgb), 0.5); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-soft { background: var(--soft); }
.section-warm { background: var(--brand-bg); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-strong); }
.section-dark .eyebrow { color: var(--peach); }
.section-title { font-family: var(--display); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.section-desc { color: var(--muted); font-size: 17px; line-height: 1.6; }
.section-dark .section-desc { color: var(--on-navy); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row > div { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.head-row > p { max-width: 460px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.ticks li { display: flex; gap: 10px; line-height: 1.5; }
.ticks i { color: var(--brand); margin-top: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-strong); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--brand-strong); }
.btn-outline-light { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--brand-strong); }
.btn-lg { padding: 18px 30px; font-size: 17px; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-strong)); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; }
.beta-badge { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; padding: 2px 7px; border-radius: 999px; background: #f1f5f9; color: var(--ink-2); vertical-align: 2px; }
.brand-tagline { font-size: 12px; color: var(--faint); display: inline-flex; align-items: center; gap: 4px; }
.brand-tagline img { height: 12px; width: auto; }
.header-nav { display: flex; gap: 18px; font-size: 14px; font-weight: 500; }
.header-nav a { color: var(--ink-2); text-decoration: none; }
.header-nav a:hover { color: var(--brand-strong); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions .btn { padding: 11px 18px; }

/* ── Hero ── */
.hero { padding: 56px 0 40px; text-align: center; overflow: hidden; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--brand-bg); color: var(--brand-hover); font-size: 14px; font-weight: 600; text-decoration: none; }
.hero-pill b { padding: 3px 9px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; letter-spacing: 0.04em; }
.hero-pill code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; }
.hero-title { font-family: var(--display); font-size: clamp(40px, 6vw, 78px); line-height: 1.02; letter-spacing: -0.03em; max-width: 1000px; }
.hero-title span { color: var(--brand); }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 660px; line-height: 1.5; }
.quickstart { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 720px; }
.qs-types { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: #f1f5f9; flex-wrap: wrap; justify-content: center; border: 0; margin: 0; }
.qs-types legend { position: absolute; left: -9999px; }
.qs-types label { position: relative; }
.qs-types input { position: absolute; opacity: 0; pointer-events: none; }
.qs-types span { display: inline-block; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.qs-types input:checked + span { background: var(--ink); color: #fff; }
.qs-types input:focus-visible + span { outline: 3px solid rgba(var(--brand-rgb), 0.5); outline-offset: 2px; }
.qs-row { display: flex; gap: 8px; width: 100%; padding: 6px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; flex-wrap: wrap; }
.qs-row label { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--faint); }
.qs-row input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; padding: 12px 0; color: var(--ink); background: transparent; }
.qs-note { font-size: 14px; color: var(--faint); }

/* the live composer and the three posts it makes */
.demo { width: 100%; max-width: 1080px; margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.composer { width: 100%; max-width: 780px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 20px; background: #fff; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--brand); text-align: left; }
.composer-text { flex: 1; min-width: 0; font-size: 18px; min-height: 28px; }
.composer-text .slash { color: var(--brand-strong); font-weight: 700; font-family: ui-monospace, Consolas, monospace; }
.caret { display: inline-block; width: 2px; height: 22px; margin-left: 2px; vertical-align: -4px; background: var(--brand); animation: blink 1s step-end infinite; }
.composer-go { padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.composer-steps { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: 13px; font-weight: 600; color: var(--faint); }
.cstep { display: inline-flex; align-items: center; gap: 6px; }
.cstep.is-done { color: var(--ok); }
.cstep.is-active { color: var(--brand-strong); }
.cstep.is-active i { animation: spin 0.8s linear infinite; }
.try { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.try > span { font-size: 14px; color: var(--faint); }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fan { width: 100%; display: flex; justify-content: center; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-top: 22px; }
.fan-post { flex: 0 1 300px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-align: left; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10); transition: opacity 0.3s ease, filter 0.3s ease; }
.fan-post.left { transform: rotate(-4deg); }
.fan-post.right { transform: rotate(4deg); }
.fan-post.mid { flex-basis: 330px; position: relative; top: -20px; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.16); }
.fan.is-generating .fan-post { opacity: 0.55; filter: blur(2px); }
.fan-net { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.net-li { color: #0a66c2; } .net-ig { color: #c13584; } .net-fb { color: #1877f2; }
.fan-text { margin: 10px 0; font-size: 14px; line-height: 1.5; color: #1e293b; }
.fan-tags { font-size: 13px; color: #1d4ed8; }
.photo { position: relative; border-radius: 12px; background-color: var(--brand-tint); background-size: cover; background-position: center; overflow: hidden; }
.photo .logo-tag { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 800; letter-spacing: 0.05em; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.photo .photo-copy { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); text-align: left; }
.photo .photo-copy small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.9; }
.photo .photo-copy strong { display: block; font-family: var(--display); font-size: 22px; line-height: 1.1; }
.pill-ok { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 600; }

/* ── Numbers strip ── */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.numbers .wrap { padding-top: 26px; padding-bottom: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; text-align: center; }
.numbers strong { display: block; font-family: var(--display); font-size: 40px; color: var(--brand); line-height: 1.1; }
.numbers span { color: var(--ink-2); font-weight: 600; }

/* ── AI team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.agent { padding: 20px; border-radius: 18px; background: var(--navy-2); display: flex; flex-direction: column; gap: 10px; transition: transform 0.2s ease; }
.agent:hover { transform: translateY(-3px); }
.agent-head { display: flex; align-items: center; gap: 10px; }
.agent-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 17px; flex-shrink: 0; }
.agent-head h3 { font-size: 16px; }
.agent-head p { font-size: 13px; color: #94a3b8; }
.agent-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--peach); margin-left: 4px; }
.agent > p { color: #e2e8f0; font-size: 14px; line-height: 1.5; }
.agent-eg { margin-top: auto; padding: 8px 10px; border-radius: 10px; background: var(--navy); color: var(--peach); font-size: 12px; line-height: 1.4; }
.relay { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.relay > strong { font-size: 15px; color: var(--on-navy); }
.relay ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.relay li { padding: 10px 14px; border-radius: 999px; background: var(--navy-2); }
.relay li:not(:last-child)::after { content: '→'; margin-left: 14px; color: var(--peach); }
.relay li:last-child { background: var(--brand); font-weight: 700; }

/* ── Split sections (copy + demo) ── */
.split { display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-start; }
.split-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.split-demo { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab[aria-selected="true"] i { color: inherit !important; }
.brief-box { padding: 14px 16px; border-radius: 14px; background: var(--brand-bg); font-size: 15px; }
.brief-box b { color: var(--brand-hover); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08); animation: panel-in 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.post-card[hidden] { display: none; }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.post-head strong { display: block; }
.post-head span { font-size: 13px; color: var(--faint); }
.post-body { line-height: 1.55; color: #1e293b; }
.post-body .tags { color: #1d4ed8; }
.post-stats { font-size: 13px; color: var(--faint); }
.lang-panel[hidden] { display: none; }
.lang-panel { animation: panel-in 0.4s cubic-bezier(0.16, 1, 0.3, 1); line-height: 1.7; font-size: 16px; color: #1e293b; }
.lang-panel[dir="rtl"] { text-align: right; }
.lang-panel .tags { display: block; margin-top: 4px; font-size: 14px; color: #1d4ed8; }
.more-langs { font-size: 14px; color: var(--faint); }

/* ── Image studio (the artwork is drawn in CSS) ── */
.studio-app { display: flex; gap: 24px; flex-wrap: wrap; align-items: stretch; }
.studio-side { flex: 1 1 340px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.studio-prompt { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; }
.studio-attach { width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #475569, #0f172a); }
.studio-prompt-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.studio-file { font-size: 12px; font-weight: 600; color: var(--faint); }
.studio-typed { font-family: ui-monospace, Consolas, monospace; font-size: 16px; font-weight: 700; color: var(--brand-strong); white-space: nowrap; }
.studio-cmds { display: flex; flex-direction: column; gap: 6px; }
.studio-cmd { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.studio-cmd:hover { transform: translateX(3px); }
.studio-cmd[aria-selected="true"] { background: var(--brand-bg); border-color: var(--brand); }
.cmd-code { font-family: ui-monospace, Consolas, monospace; font-size: 14px; font-weight: 700; }
.studio-cmd-name { color: var(--faint); font-weight: 500; }
.studio-screen { flex: 2 1 520px; min-width: 0; position: relative; display: grid; grid-template-rows: auto auto 1fr; border-radius: 24px; overflow: hidden; background: #0b1220; color: #fff; box-shadow: 0 40px 90px rgba(15, 23, 42, 0.3); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.studio-screen.is-tilting { transition: transform 0.08s linear; }
.studio-screen-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.studio-screen-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.studio-screen-bar b { margin-left: auto; font-size: 12px; font-weight: 600; color: #86efac; }
.studio-screen.is-generating .studio-screen-bar b { color: #ffa066; }
.studio-progress { height: 3px; background: rgba(255, 255, 255, 0.06); }
.studio-progress span { display: block; height: 100%; width: 0; background: var(--brand-gradient); }
.studio-screen.is-generating .studio-progress span { width: 100%; transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.studio-shot { grid-area: 3 / 1; display: flex; flex-direction: column; animation: shot-in 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.studio-shot[hidden] { display: flex; visibility: hidden; }
.studio-shot .cmd-art { height: 210px; zoom: 1.6; }
.studio-screen.is-generating .studio-shot .cmd-art { filter: blur(8px) saturate(0.6); }
.studio-shot .cmd-art .product { translate: calc(var(--mx, 0) * 10px) calc(var(--my, 0) * 8px); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), translate 0.2s ease-out; }
.studio-shot .cmd-art > :not(.product) { translate: calc(var(--mx, 0) * -4px) calc(var(--my, 0) * -3px); transition: translate 0.2s ease-out; }
.studio-shot .cmd-art::after { content: 'YOUR LOGO'; position: absolute; top: 8px; right: 8px; z-index: 3; font-size: 0.42rem; font-weight: 800; letter-spacing: 0.06em; color: #0f172a; background: rgba(255, 255, 255, 0.92); border-radius: 4px; padding: 3px 6px; }
.studio-shot-info { padding: 18px 22px 22px; }
.studio-shot-info h3 { font-size: 19px; }
.studio-shot-info p { font-size: 15px; line-height: 1.55; color: #94a3b8; margin-top: 6px; }
.cmd-art { position: relative; height: 190px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cmd-art .product { position: relative; z-index: 2; font-size: 3.4rem; color: #fff; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.35)); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.studio-screen:hover .cmd-art .product { transform: scale(1.08) rotate(-4deg); }
.cmd-sizes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.cmd-sizes span { font-size: 12px; font-weight: 600; color: #cbd5e1; background: rgba(255, 255, 255, 0.07); border-radius: 6px; padding: 3px 8px; }
.art-billboard { background: linear-gradient(180deg, #1e3a5f 0%, #f59e0b 140%); }
.art-billboard .skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background:
    linear-gradient(#0b1220, #0b1220) 4% 100% / 9% 60% no-repeat, linear-gradient(#0b1220, #0b1220) 15% 100% / 7% 85% no-repeat,
    linear-gradient(#0b1220, #0b1220) 76% 100% / 10% 75% no-repeat, linear-gradient(#0b1220, #0b1220) 88% 100% / 8% 100% no-repeat,
    linear-gradient(#0b1220, #0b1220) 0 100% / 100% 18% no-repeat; }
.art-billboard .board { position: absolute; width: 58%; height: 54%; top: 16%; border: 6px solid #e2e8f0; border-radius: 4px; background: linear-gradient(135deg, #6366f1, #312e81); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35); }
.art-billboard .board::after { content: ''; position: absolute; left: 50%; bottom: -34px; width: 8px; height: 28px; background: #94a3b8; transform: translateX(-50%); }
.art-billboard .product { font-size: 4.2rem; transform: translate(26px, -6px); }
.studio-screen:hover .art-billboard .product { transform: translate(34px, -14px) scale(1.12) rotate(-6deg); }
.art-metaad { background: linear-gradient(135deg, #e0e7ff, #fce7f3); gap: 10px; }
.art-metaad .frame { position: relative; z-index: 2; background: linear-gradient(160deg, #ec4899, #7c3aed); border-radius: 8px; box-shadow: 0 10px 20px rgba(76, 29, 149, 0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; }
.art-metaad .frame i { font-size: 1.6rem; }
.art-metaad .frame span { font-size: 0.55rem; font-weight: 800; background: #fff; color: #7c3aed; border-radius: 999px; padding: 2px 6px; }
.art-metaad .f1 { width: 74px; height: 74px; } .art-metaad .f2 { width: 74px; height: 92px; } .art-metaad .f3 { width: 64px; height: 114px; }
.art-showcase { background: radial-gradient(circle at 50% 30%, #3b3b45 0%, #0b0b10 70%); }
.art-showcase .pedestal { position: absolute; bottom: 26px; width: 120px; height: 26px; border-radius: 50%; background: linear-gradient(#d6d3d1, #78716c); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); }
.art-showcase .beam { position: absolute; top: -20px; width: 160px; height: 200px; background: linear-gradient(180deg, rgba(255, 237, 213, 0.35), transparent); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.art-showcase .product { color: #fde68a; transform: translateY(-10px); }
.art-lifestyle { background: linear-gradient(160deg, #fef3c7 0%, #fdba74 100%); }
.art-lifestyle .table { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: linear-gradient(#b45309, #92400e); }
.art-lifestyle .plant { position: absolute; left: 18%; bottom: 46px; font-size: 2.4rem; color: #15803d; }
.art-lifestyle .sun { position: absolute; right: 14%; top: 16%; width: 46px; height: 46px; border-radius: 50%; background: #fff7ed; box-shadow: 0 0 40px 18px rgba(255, 247, 237, 0.8); }
.art-lifestyle .product { color: #7c2d12; transform: translateY(-14px); filter: drop-shadow(0 12px 12px rgba(124, 45, 18, 0.35)); }
.art-catalog { background: #fff; }
.art-catalog .product { color: #1f2937; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.18)); }
.art-catalog .sku { position: absolute; left: 14px; bottom: 12px; font-size: 0.68rem; font-weight: 700; color: #6b7280; background: #f3f4f6; border-radius: 6px; padding: 3px 8px; }
.art-catalog .shadow { position: absolute; bottom: 36px; width: 90px; height: 12px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, 0.16), transparent 70%); }
.art-festive { background: radial-gradient(circle at 50% 110%, #f59e0b 0%, #9a3412 55%, #431407 100%); }
.art-festive .lights { position: absolute; top: 18px; left: -10px; right: -10px; height: 30px; border-top: 2px solid rgba(255, 255, 255, 0.25); border-radius: 50%; }
.art-festive .bulb { position: absolute; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: #fde68a; box-shadow: 0 0 12px 3px rgba(253, 230, 138, 0.8); animation: twinkle 2.4s ease-in-out infinite; }
.art-festive .greet { position: absolute; bottom: 14px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.05em; color: #fde68a; }
.art-festive .product { color: #fff7ed; transform: translateY(-6px); }

/* ── Autopilot ── */
.ap-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ap-step { display: flex; gap: 14px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; line-height: 1.5; }
.ap-step:hover { background: rgba(255, 255, 255, 0.6); }
.ap-step[aria-pressed="true"] { background: #fff; border-color: var(--peach); }
.ap-step b { font-family: var(--display); font-size: 22px; color: var(--brand); line-height: 1.1; }
.ap-note { padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.ap-board { flex: 1 1 460px; min-width: 0; border-radius: 24px; background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 48px rgba(124, 45, 18, 0.10); }
.ap-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.ap-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 12px; text-align: center; }
.ap-day { padding: 10px 4px; border-radius: 10px; background: var(--soft); color: var(--faint); line-height: 1.35; transition: background 0.3s ease, color 0.3s ease; }
.ap-day.has-post { background: #f1f5f9; color: var(--ink-2); font-weight: 600; }
.ap-day.is-focus { background: var(--brand-bg); color: var(--brand-hover); font-weight: 700; outline: 2px solid var(--brand); }
.ap-post { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ap-meta { font-size: 13px; color: var(--faint); }
.ap-why { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 600; }
.ap-why span { padding: 5px 10px; border-radius: 8px; background: #f1f5f9; }
.ap-why .ok { background: var(--ok-bg); color: var(--ok); }
.ap-act { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ap-approve { padding: 12px 22px; border-radius: 12px; background: #16a34a; color: #fff; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.ap-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.ap-img { height: 110px; border-radius: 12px; background-size: cover; background-position: center; }
/* the board follows the step that is picked (data-ap-step) */
.ap-board .st { display: none; }
.ap-board[data-ap-step="1"] .st-1, .ap-board[data-ap-step="2"] .st-2, .ap-board[data-ap-step="3"] .st-3, .ap-board[data-ap-step="4"] .st-4 { display: inline-flex; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.feature { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 12px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08); }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-bg); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.feature h3 { font-size: 19px; line-height: 1.3; }
.feature h3 small { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--brand-hover); margin-left: 4px; vertical-align: 2px; }
.feature p { color: var(--muted); line-height: 1.55; font-size: 15px; }
.feature-demo { margin-top: auto; padding: 12px; border-radius: 12px; background: var(--soft); font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.feature-demo .tag { padding: 4px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.feature-demo .tag.ok { color: var(--ok); }
.feature-photo { height: 120px; border-radius: 12px; background-size: cover; background-position: left top; position: relative; }
.feature-photo span { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.94); }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { padding: 28px; border-radius: 22px; background: var(--navy-2); display: flex; flex-direction: column; gap: 12px; }
.step b { font-family: var(--display); font-size: 56px; color: var(--brand); line-height: 1; }
.step h3 { font-size: 22px; }
.step p { color: var(--on-navy); line-height: 1.55; }

/* ── FAQ ── */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--brand); transition: transform 0.2s ease; margin-top: 4px; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); line-height: 1.6; }

/* ── Closing CTA ── */
.cta { background: var(--brand); color: #fff; text-align: center; }
.cta .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta .eyebrow { color: #ffedd5; }
.cta p { color: #ffedd5; font-size: 18px; max-width: 620px; line-height: 1.5; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cta-stack { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }
.cta-stack span { width: 96px; height: 120px; border-radius: 14px; background-size: cover; background-position: center; box-shadow: 0 18px 36px rgba(124, 45, 18, 0.35); border: 3px solid #fff; }
.cta-stack span:nth-child(1) { transform: rotate(-6deg); }
.cta-stack span:nth-child(3) { transform: rotate(6deg); }

/* ── Footer ── */
footer { background: var(--navy); color: var(--on-navy); }
.footer-grid { padding: 56px 24px 32px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-about { flex: 1 1 300px; max-width: 400px; display: flex; flex-direction: column; gap: 14px; }
.footer-about .brand { color: #fff; }
.footer-about p { line-height: 1.55; }
.footer-maker { display: inline-flex; align-items: center; gap: 10px; color: var(--on-navy); text-decoration: none; font-size: 14px; }
.footer-maker img { height: 22px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.footer-col a, .footer-legal a { color: var(--on-navy); text-decoration: none; }
.footer-col a:hover, .footer-legal a:hover { color: #fff; }
.footer-legal { padding: 20px 24px 32px; border-top: 1px solid var(--navy-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-legal nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* entrance */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px) scale(0.985); } }
@keyframes shot-in { from { opacity: 0; transform: scale(0.97); } }
@keyframes twinkle { 50% { opacity: 0.35; } }

@media (max-width: 1100px) {
    .header-nav { display: none; }
}
@media (max-width: 860px) {
    .section { padding: 72px 0; }
    .numbers .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: 1fr; }
    .fan-post.left, .fan-post.right { transform: none; }
    .fan-post.mid { top: 0; }
    .studio-cmds { flex-direction: row; flex-wrap: wrap; }
    .studio-cmd { width: auto; }
    .studio-cmd .studio-cmd-name { display: none; }
    .studio-shot .cmd-art { zoom: 1.3; }
    .studio-screen { transform: none; }
}
@media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .brand-tagline { display: none; }
    .header-actions .btn-ghost { display: none; }
    .qs-row { border-radius: 18px; }
    .qs-row .btn { width: 100%; }
    .composer { flex-wrap: wrap; }
    .composer-go { width: 100%; justify-content: center; }
    .ap-week { grid-template-columns: repeat(5, minmax(52px, 1fr)); overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ── The AI team: /team and /team/<slug> (templates/team.html, team_member.html) ── */
.header-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
a.agent { color: #fff; text-decoration: none; }
a.agent:hover { color: #fff; }
.agent-more { font-size: 13px; font-weight: 700; color: var(--peach); display: inline-flex; gap: 6px; align-items: center; }
.btn-ghost-line { border: 1px solid #cbd5e1; color: var(--ink); background: #fff; }
.btn-ghost-line:hover { border-color: var(--ink); color: var(--ink); }
.page-hero { padding: 72px 0 40px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-hero .section-desc { max-width: 680px; font-size: 19px; }
.page-title { font-family: var(--display); font-size: clamp(38px, 5.5vw, 68px); line-height: 1.03; letter-spacing: -0.03em; max-width: 920px; }
.relay-card { border-radius: 24px; background: var(--navy); color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.relay-card strong { color: var(--on-navy); font-size: 15px; }
.relay-card p { color: var(--on-navy); font-size: 14px; }
.relay-steps { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.relay-steps li { padding: 11px 15px; border-radius: 999px; background: var(--navy-2); color: var(--on-navy); }
.relay-steps li.is-you, .relay-steps li.is-here { background: var(--brand); color: #fff; font-weight: 700; }
.team-list { padding-top: 48px; }
.team-filter { margin-bottom: 22px; }
.team-filter .tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.team-filter .count { opacity: 0.7; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.member-card { border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.member-card:hover { color: var(--ink); transform: translateY(-3px); border-color: var(--peach); box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08); }
.member-card[hidden] { display: none; }
.member-top { display: flex; align-items: center; gap: 12px; }
.member-avatar { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-bg); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 22px; flex-shrink: 0; }
.member-avatar.is-large { width: 88px; height: 88px; border-radius: 26px; background: var(--brand); color: #fff; font-size: 44px; }
.member-name { display: flex; flex-direction: column; gap: 2px; }
.member-name strong { font-family: var(--display); font-size: 20px; }
.member-name span { font-size: 14px; color: var(--muted); }
.member-badge { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--brand-hover); }
.member-line { color: var(--ink-2); line-height: 1.5; font-size: 15px; }
.member-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.member-tags span { padding: 5px 10px; border-radius: 8px; background: #f1f5f9; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.member-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--brand-strong); display: inline-flex; gap: 6px; align-items: center; }
.cta-row .wrap { flex-direction: row; justify-content: space-between; text-align: left; flex-wrap: wrap; padding-top: 72px; padding-bottom: 72px; }
.cta-row .section-title { max-width: 680px; }

.member-hero { padding: 32px 0 72px; }
.breadcrumb { font-size: 14px; color: var(--faint); margin-bottom: 32px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.member-hero-row { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
.member-hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.member-hero-copy .section-desc { font-size: 19px; max-width: 640px; }
.member-id { display: flex; align-items: center; gap: 16px; }
.member-id > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.member-id strong { font-family: var(--display); font-size: 22px; }
.job-card { flex: 1 1 340px; border-radius: 24px; background: var(--navy); color: #fff; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.job-card > strong { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peach); }
.job-card div { display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.job-card div span { font-size: 13px; color: #94a3b8; }
.skills { display: flex; gap: 24px; flex-wrap: wrap; align-items: stretch; }
.skill-list { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; }
.skill-tab { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 16px 18px; border-radius: 16px; border: 2px solid transparent; background: transparent; color: var(--ink); font-size: 16px; cursor: pointer; }
.skill-tab:hover { background: #fff; }
.skill-tab[aria-selected="true"] { background: #fff; border-color: var(--brand); }
.skill-tab b { font-family: var(--display); color: var(--brand-strong); width: 26px; flex-shrink: 0; }
.skill-tab > span { display: flex; flex-direction: column; gap: 2px; }
.skill-tab > span span { font-size: 14px; color: var(--muted); }
.skill-panel { flex: 2 1 520px; min-width: 0; border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 18px; animation: panel-in 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.skill-panel[hidden] { display: none; }
.skill-panel h3 { font-family: var(--display); font-size: 28px; }
.skill-panel > p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.skill-see { border-radius: 16px; background: var(--brand-bg); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.skill-see > span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-hover); }
.skill-see div { display: flex; gap: 8px; flex-wrap: wrap; }
.skill-see div span { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid #fed7aa; font-size: 14px; }
.skill-note { font-size: 14px; color: var(--muted); }
.skill-note strong { color: var(--ink); }
.work-card { flex: 1 1 520px; min-width: 0; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08); padding: 22px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.work-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.work-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 14px; background: var(--soft); flex-wrap: wrap; }
.work-row > span:first-child { flex: 1 1 240px; min-width: 0; }
.work-row small { display: block; font-size: 13px; color: var(--faint); }
.work-note { align-self: center; font-size: 13px; font-weight: 600; }
.work-note.is-ok { color: var(--ok); }
.work-note.is-warn { color: var(--brand-hover); }
.work-note.is-info { color: #1e40af; }
.fit { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.fit > strong { color: var(--on-navy); font-size: 15px; }
.fit > p { color: var(--on-navy); font-size: 14px; }
.never-grid, .mates { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.never { padding: 24px; border-radius: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.never strong { font-size: 18px; }
.never p { color: var(--muted); line-height: 1.55; }
.mate { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.mate:hover { color: var(--ink); border-color: var(--peach); }
.mate span { color: var(--muted); font-size: 14px; }
.member-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line); }
.member-nav a { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.member-nav a span { font-size: 13px; color: var(--faint); }
.member-nav a.is-next { text-align: right; }
.member-nav .member-nav-all { align-self: center; font-weight: 600; color: var(--brand-strong); }
@media (max-width: 560px) {
    .member-nav a.is-next { text-align: left; }
    .cta-row .wrap { flex-direction: column; align-items: flex-start; }
}
