/* Posecode landing page: the playground's Kinetic Lab system, simplified into a short format-first story. The palette and logo treatment deliberately mirror style.css so the marketing surface and tool feel like one product. */ :root { --bg: #0b0c0d; --bg-viewer: #101214; --panel: #111315; --panel-2: #171a1d; --panel-3: #1c2023; --border: #292d30; --border-2: #3a3f43; --text: #f2f1eb; --text-2: #aaa9a2; --muted: #74746f; --accent: #d4ff3f; --accent-2: #d4ff3f; --brand-accent: #d4ff3f; --accent-ink: #0b0c0d; --accent-glow: rgba(212, 255, 63, 0.28); --accent-veil: rgba(212, 255, 63, 0.13); --accent-faint: rgba(212, 255, 63, 0.055); --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; --radius: 3px; --radius-sm: 3px; --container: 1180px; --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --shadow-float: none; --edge: none; --t-kw: var(--accent); --t-kind: #79c0ff; --t-act: #ffcc66; --t-joint: #c0a7ff; --t-atom: #5cd0c0; --t-num: #ff9d6b; --t-str: #d8b48a; --t-punct: #6b7785; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } .bg-fx { position: fixed; inset: 0; z-index: -2; background: var(--bg); } .bg-fx::after { content: ""; position: absolute; inset: 0; opacity: 0.018; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); } a { color: inherit; text-decoration: none; } button, a { -webkit-tap-highlight-color: transparent; } code { padding: 1px 6px; border: 1px solid var(--border); border-radius: 5px; background: var(--panel-2); color: var(--text); font-family: var(--mono); font-size: 0.88em; } .hero, .proof, .how, .authoring, .examples, .developers, .final-cta, .footer { width: min(100%, var(--container)); margin-inline: auto; padding-inline: 28px; } /* Buttons share the playground's compact, flat controls. */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--border-2); border-radius: var(--radius-sm); background: var(--panel-2); color: var(--text); font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.1px; line-height: 1.2; white-space: nowrap; cursor: pointer; box-shadow: var(--edge); transition: transform 140ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out), box-shadow 180ms var(--ease-out), color 180ms var(--ease-out); } .btn:active { transform: scale(0.97); } .btn:focus-visible, .nav-links a:focus-visible, .footer-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; } .btn.primary { border-color: transparent; background: var(--accent); color: var(--accent-ink); box-shadow: none; } .btn.lg { min-height: 48px; padding: 13px 22px; font-size: 15px; } /* Navigation matches the playground and generated reference pages. */ .nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px; width: 100%; min-height: 68px; padding: 12px max(24px, calc((100vw - var(--container)) / 2 + 28px)); border-bottom: 1px solid var(--border); background: rgba(11, 12, 13, 0.94); box-shadow: none; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); } .brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -0.4px; } .brand .logo, .footer-brand .logo { flex: 0 0 auto; color: var(--brand-accent); filter: none; } .nav-links { display: flex; align-items: center; gap: 25px; margin-left: auto; color: var(--text-2); font-size: 14px; font-weight: 600; } .nav-links a, .footer-links a { transition: color 150ms var(--ease-out); } .nav-cta { padding: 9px 15px; font-size: 13px; } /* The format itself is the hero: source and render share one workspace. */ .hero { padding-top: clamp(70px, 9vh, 108px); padding-bottom: clamp(86px, 10vh, 120px); } .hero-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr); gap: clamp(48px, 8vw, 112px); align-items: end; margin-bottom: clamp(54px, 7vw, 82px); } .hero-copy { position: relative; z-index: 2; } .hero-support { padding-bottom: 7px; } .eyebrow { margin: 0 0 16px; color: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 2px; line-height: 1.4; text-transform: uppercase; } .headline { max-width: 11ch; margin: 0; font-size: clamp(68px, 9.4vw, 132px); font-weight: 900; letter-spacing: -0.068em; line-height: 0.86; } .headline .hl { color: var(--accent); } .subhead { max-width: 44ch; margin: 0 0 28px; color: var(--text-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; } .hero-cta { display: flex; flex-wrap: wrap; gap: 11px; } .hero-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.3px; text-transform: uppercase; } .hero-meta span { display: inline-flex; align-items: center; gap: 8px; } .hero-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); } .hero-stage { position: relative; min-width: 0; } .studio-kicker { color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 1.35px; text-transform: uppercase; } .studio { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-viewer); box-shadow: none; } .studio-bar { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: #0e1011; } .studio-kicker { width: 18px; height: 1px; flex: none; padding: 0; border: 0; background: var(--accent); } .studio-title { overflow: hidden; color: var(--text-2); font-family: var(--mono); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; } .studio-title b { color: var(--text); font-family: var(--sans); } .studio-bar > a { margin-left: auto; color: var(--accent); font-family: var(--sans); font-size: 11px; font-weight: 700; white-space: nowrap; } .studio-live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--accent); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; } .studio-live i { width: 6px; height: 6px; border-radius: 1px; background: var(--accent); box-shadow: none; animation: pulse 1.8s ease-in-out infinite; } .studio-workspace { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: 520px; } .source-pane, .viewer-pane { position: relative; min-width: 0; } .source-pane { display: flex; flex-direction: column; border-right: 1px solid var(--border); background: var(--panel); } .viewer-pane { display: flex; min-height: 0; overflow: hidden; flex-direction: column; background: var(--bg-viewer); } .pane-label { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 10px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0; } .hero-source { flex: 1; margin: 0; padding: 18px 0; overflow: hidden; color: var(--text-2); font: 11.5px/1.8 var(--mono); } .hero-source code { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; font: inherit; } .hero-source b, .hero-source em, .hero-source strong { font: inherit; } .source-line { display: block; min-height: 1.8em; padding: 0 18px 0 0; white-space: pre; } .source-line i { display: inline-block; width: 44px; margin-right: 14px; color: #555a5e; font: inherit; text-align: right; user-select: none; } .source-line.active { background: rgba(212, 255, 63, 0.055); color: var(--text); } .source-line.active.active-first { box-shadow: inset 2px 0 0 var(--accent); } .source-line.source-gap { min-height: 0.9em; } .viewer-stage { position: relative; flex: 1; min-height: 0; } #hero-canvas { display: block; width: 100%; height: 100%; min-height: 420px; } .studio-hud { position: absolute; top: 18px; left: 16px; max-width: min(520px, calc(100% - 32px)); pointer-events: none; } .studio-hud span { display: block; color: var(--text); font-size: 14px; font-weight: 800; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75); } .studio-hud span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); vertical-align: middle; } .studio-hud small { display: block; margin-top: 5px; color: var(--text-2); font-size: 11px; line-height: 1.4; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75); } .source-status { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 10px 16px; border-top: 1px solid var(--border); background: #0e1011; color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.9px; text-transform: uppercase; } .source-status i { color: var(--accent); font-style: normal; } .studio-ribbon { display: flex; min-height: 38px; padding: 0 12px; overflow: hidden; border-top: 1px solid var(--border); background: #0e1011; } .studio-ribbon span { display: inline-flex; align-items: center; flex: none; padding: 0 11px; color: var(--muted); border-right: 1px solid var(--border); font-size: 9px; font-weight: 700; } .studio-ribbon span:first-child { border-left: 1px solid var(--border); } .studio-ribbon span::before { width: 5px; height: 5px; margin-right: 6px; background: var(--muted); content: ""; } .studio-ribbon span.active { color: var(--bg); background: var(--text); } .studio-ribbon span.active::before { background: var(--bg); } .studio-transport { display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 9px 12px; border-top: 1px solid var(--border); background: #0e1011; color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; } .studio-play { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; color: var(--bg); background: var(--accent); border-radius: 3px; font-family: var(--sans); } .studio-scrub { position: relative; height: 4px; flex: 1; min-width: 40px; background: var(--border-2); } .studio-scrub::before { display: block; width: 29%; height: 100%; background: var(--accent); content: ""; } .studio-scrub i { position: absolute; top: -3px; left: 29%; width: 10px; height: 10px; background: var(--text); border: 2px solid var(--bg); } .studio-clock { padding-left: 8px; border-left: 1px solid var(--border); } .studio-loop { display: inline-flex; align-items: center; gap: 5px; } .studio-loop i { width: 19px; height: 12px; border: 1px solid var(--accent); background: var(--accent); box-shadow: inset 9px 0 0 var(--panel); } .studio-speed, .studio-export { padding: 6px 7px; color: var(--text-2); border: 1px solid var(--border-2); } .studio-export + .studio-export { margin-left: -10px; } .t-kw { color: var(--t-kw); font-weight: 700; } .t-kind { color: var(--t-kind); } .t-act { color: var(--t-act); } .t-joint { color: var(--t-joint); } .t-atom { color: var(--t-atom); } .t-num { color: var(--t-num); } .t-str { color: var(--t-str); } .t-punct { color: var(--t-punct); } /* Three terse proof points replace long feature cards. */ .proof { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 0; padding-bottom: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .proof-item { display: flex; align-items: flex-start; gap: 16px; min-width: 0; padding: 25px 28px; border-right: 1px solid var(--border); } .proof-item:last-child { border-right: 0; } .proof-n, .how-n { color: var(--accent); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 1px; } .proof-item strong { display: block; margin-bottom: 2px; font-size: 15px; letter-spacing: -0.1px; } .proof-item p { margin: 0; color: var(--text-2); font-size: 13.5px; } .how, .authoring, .examples, .developers { padding-top: clamp(92px, 11vw, 144px); } .section-head { max-width: 680px; margin: 0 0 42px; } .section-head h2, .final-cta h2 { margin: 0; font-size: clamp(36px, 4.8vw, 60px); font-weight: 850; letter-spacing: -0.045em; line-height: 1.02; } .section-sub { max-width: 54ch; margin: 15px 0 0; color: var(--text-2); font-size: 16px; } /* A single connected workflow is faster to scan than three explanation cards. */ .how-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; box-shadow: none; } .how-steps li { position: relative; min-height: 168px; padding: 27px 28px 30px; border-right: 1px solid var(--border); } .how-steps li:last-child { border-right: 0; } .how-steps h3 { margin: 23px 0 7px; font-size: 20px; letter-spacing: -0.35px; } .how-steps p { max-width: 28ch; margin: 0; color: var(--text-2); font-size: 14.5px; } .how-steps li:not(:last-child)::after { content: "→"; position: absolute; top: 30px; right: -11px; z-index: 2; display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid var(--border-2); border-radius: 50%; background: var(--panel); color: var(--muted); font-family: var(--mono); font-size: 10px; } .authoring { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr); gap: clamp(54px, 8vw, 108px); align-items: start; margin-top: clamp(92px, 11vw, 144px); padding-top: clamp(70px, 8vw, 104px); padding-bottom: clamp(70px, 8vw, 104px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .authoring-copy h2 { max-width: 14ch; margin: 0; font-size: clamp(36px, 4.8vw, 60px); font-weight: 850; letter-spacing: -0.045em; line-height: 1.02; } .authoring-copy > p:last-child { max-width: 58ch; margin: 22px 0 0; color: var(--text-2); font-size: 17px; } .authoring-paths { border-top: 1px solid var(--border); } .authoring-paths article { padding: 24px 0 26px; border-bottom: 1px solid var(--border); } .authoring-paths article > span { color: var(--accent); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; } .authoring-paths h3 { margin: 20px 0 7px; font-size: 21px; letter-spacing: -0.35px; } .authoring-paths p { margin: 0; color: var(--text-2); font-size: 14.5px; } .text-action { margin: 16px 0 0; padding: 0; border: 0; background: transparent; color: var(--accent); font: 700 13px/1.4 var(--sans); cursor: pointer; } .text-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; } .examples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); } .example-card { position: relative; display: flex; min-height: 154px; flex-direction: column; gap: 6px; padding: 21px 21px 19px; overflow: hidden; border: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out), box-shadow 180ms var(--ease-out); } .example-kind, .dev-kind { color: var(--muted); font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 1.15px; text-transform: uppercase; } .example-name { font-size: 18px; font-weight: 750; letter-spacing: -0.3px; } .example-go { margin-top: auto; color: var(--accent); font-size: 12px; font-weight: 700; } .example-more { background: transparent; } .example-more .example-name { color: var(--accent); } .dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); } .dev-card { display: block; min-height: 156px; padding: 22px 21px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(15, 20, 27, 0.28); transition: background 180ms var(--ease-out), color 180ms var(--ease-out); } .dev-card h3 { margin: 24px 0 5px; font-size: 17px; letter-spacing: -0.25px; } .dev-card h3 span { color: var(--accent); } .dev-card p { margin: 0; color: var(--text-2); font-size: 13.5px; } .final-cta { margin-top: clamp(100px, 13vw, 168px); padding-top: clamp(54px, 7vw, 80px); padding-bottom: clamp(58px, 7vw, 84px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; } .final-cta h2 { max-width: 12ch; } .final-cta > p:not(.eyebrow) { margin: 15px 0 26px; color: var(--text-2); font-size: 17px; } .footer { margin-top: 74px; padding-top: 34px; padding-bottom: 42px; border-top: 1px solid var(--border); } .footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; } .footer-brand { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; } .footer-brand small { margin-left: 4px; color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.3px; } .footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; color: var(--text-2); font-size: 13px; font-weight: 600; } .footer-note { margin: 16px 0 0; color: var(--muted); font-family: var(--mono); font-size: 10.5px; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } /* Marketing entrances explain hierarchy once; frequently used tool actions remain unanimated in the playground. */ .reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); } .reveal.in { opacity: 1; transform: none; } .hero-stage.reveal { transition-delay: 80ms; } .proof-item:nth-child(2), .how-steps li:nth-child(2), .dev-card:nth-child(2) { transition-delay: 45ms; } .proof-item:nth-child(3), .how-steps li:nth-child(3), .dev-card:nth-child(3) { transition-delay: 90ms; } .dev-card:nth-child(4) { transition-delay: 135ms; } @media (hover: hover) and (pointer: fine) { .btn:hover { border-color: var(--accent); background: var(--panel-3); color: #fff; box-shadow: var(--edge), 0 8px 22px -14px var(--accent-glow); transform: translateY(-1px); } .btn.primary:hover { border-color: transparent; background: var(--accent); color: var(--accent-ink); box-shadow: none; } .nav-links a:hover, .footer-links a:hover { color: var(--text); } .example-card:hover { transform: none; border-color: var(--border); background: var(--text); box-shadow: none; color: var(--bg); } .example-card:hover .example-kind, .example-card:hover .example-go { color: #555853; } .dev-card:hover { background: var(--panel-2); } .text-action:hover { color: #fff; } } @media (max-width: 980px) { .hero-intro { grid-template-columns: 1fr; gap: 30px; } .hero-copy { max-width: 820px; } .hero-support { max-width: 620px; } .headline { max-width: 11ch; } .hero-stage { width: 100%; } .proof { padding-inline: 28px; } .proof-item { padding-inline: 20px; } .dev-grid { grid-template-columns: repeat(2, 1fr); } .authoring { grid-template-columns: 1fr; } } @media (max-width: 760px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } .proof, .how-steps, .examples-grid { grid-template-columns: 1fr; } .studio-workspace { grid-template-columns: 1fr; } .source-pane { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--border); } #hero-canvas { height: 420px; } .proof { border-right: 1px solid var(--border); border-left: 1px solid var(--border); } .proof-item, .proof-item:last-child { border-right: 0; border-bottom: 1px solid var(--border); } .proof-item:last-child { border-bottom: 0; } .how-steps li, .how-steps li:last-child { min-height: auto; border-right: 0; border-bottom: 1px solid var(--border); } .how-steps li:last-child { border-bottom: 0; } .how-steps li:not(:last-child)::after { top: auto; right: 28px; bottom: -11px; content: "↓"; } .footer-top { align-items: flex-start; flex-direction: column; } .footer-links { justify-content: flex-start; } } @media (max-width: 560px) { .hero, .proof, .how, .authoring, .examples, .developers, .footer { padding-inline: 18px; } .nav { min-height: 62px; padding: 10px 16px; } .brand { font-size: 17px; } .nav-cta { padding: 9px 12px; } .hero { padding-top: 54px; padding-bottom: 76px; } .headline { font-size: clamp(52px, 15vw, 72px); line-height: 0.9; } .subhead { font-size: 17px; } .hero-cta { display: grid; width: 100%; } .hero-cta .btn { width: 100%; } .studio { margin-inline: -18px; border-right: 0; border-left: 0; border-radius: 0; } .studio-kicker { display: none; } .hero-source { font-size: 10.5px; } .source-line i { width: 33px; margin-right: 9px; } .proof { padding-inline: 0; } .how, .authoring, .examples, .developers { padding-top: 92px; } .section-head { margin-bottom: 32px; } .section-head h2, .final-cta h2 { font-size: clamp(36px, 11vw, 48px); } .dev-grid { grid-template-columns: 1fr; } .dev-card { min-height: 132px; } .final-cta { margin-top: 110px; padding: 44px 18px 48px; } .footer-brand { flex-wrap: wrap; } .footer-brand small { width: 100%; margin-left: 27px; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: opacity 180ms var(--ease-out); } .studio-live i { animation: none; } } @media (prefers-reduced-transparency: reduce) { .nav { background: var(--panel); backdrop-filter: none; -webkit-backdrop-filter: none; } } @media (prefers-contrast: more) { .nav, .studio, .how-steps, .example-card, .final-cta { border-color: var(--text-2); } }