@import url('/assets/css/studio.css?v=e5c6452254bf');
.public-page { background: var(--bg); }
.site-header, .site-footer, .public-main { max-width: 1260px; margin: 0 auto; padding-right: 44px; padding-left: 44px; }
.site-header { height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-soft); }
.site-header nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 12px; }
.site-header .brand img { width: 49px; height: 49px; }
.site-header .brand-name { display: block; font-size: 20px; }
.site-header .brand-name small { font-size: 12px; }
.site-header .button { font-size: 12px; padding: 12px 18px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); padding-top: 25px; padding-bottom: 28px; color: var(--quiet); font-size: 12px; }
.site-footer nav { display: flex; gap: 24px; }
.article { max-width: 790px; margin: 0 auto; padding: 66px 0 80px; }
.article h1 { font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: -.035em; margin: 0 0 24px; }
.article .lead { max-width: 65ch; color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 35px; }
.article h2 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; margin: 38px 0 14px; }
.article h3 { font-size: 17px; font-weight: 650; margin: 24px 0 10px; }
.article p, .article li { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 72ch; }
.article a:not(.button) { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article pre { padding: 22px; border: 1px solid var(--border); border-radius: 12px; color: var(--ink); background: var(--surface); font: 12px/1.85 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.article .callout { padding: 17px 21px; background: var(--surface); border-radius: 12px; margin: 28px 0; }
.article .callout p { margin: 0; }
.article .button { margin-top: 18px; }
.template-links { display: flex; gap: 12px; flex-wrap: wrap; }
.template-links a { font-size: 12px; padding: 8px 0; margin-right: 14px; }
.not-found { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 65vh; padding: 45px 0; }
.not-found img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 14px; }
.not-found h1 { font-size: 58px; line-height: 1.1; margin-bottom: 20px; }
.not-found p { color: var(--muted); }
.not-found .error-code { font-size: 12px; margin-bottom: 18px; }

.site-header .button { min-height: 44px; }
.hero { display: grid; grid-template-columns: 1.18fr .82fr; gap: 44px; align-items: center; padding: 40px 0 44px; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 17ch; margin: 0 0 22px; font-size: clamp(42px,4.5vw,66px); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; }
.hero .lede { max-width: 49ch; margin-bottom: 24px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-actions .button { min-height: 48px; font-size: 14px; padding: 12px 20px; }
.hero-secondary { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; text-decoration: underline; }
.hero-foot { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 12px; color: var(--quiet); }
.hero-art { display: flex; justify-content: flex-end; margin: 0; }
.hero-art img { display: block; width: min(100%,360px); height: auto; }
.live-demo { padding: 34px 0 42px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); scroll-margin-top: 20px; }
.demo-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 26px; }
.demo-heading h2, .home-cta h2 { margin: 0; font-size: 32px; font-weight: 750; line-height: 1.25; letter-spacing: -.035em; }
.demo-heading p { max-width: 40ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.demo-workspace { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); gap: 40px; align-items: start; }
.demo-input { min-width: 0; }
.example-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.example-picker button { min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 13px; }
.example-picker button:hover { color: var(--ink); background: var(--surface-2); }
.example-picker button[aria-pressed=true] { color: var(--accent); border-color: var(--selected-border); background: var(--selected); }
.example-note { margin: 10px 0 22px; font-size: 12px; color: var(--quiet); line-height: 1.6; }
.demo-input label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 20px 0 8px; font-size: 14px; font-weight: 600; }
.demo-input label>span { font-size: 12px; font-weight: 400; color: var(--quiet); }
.demo-input input, .demo-input textarea, .demo-input select { font-size: 16px; }
.demo-input textarea { min-height: 84px; }
.demo-input select { min-height: 48px; }
.demo-output { min-width: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.demo-output-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.demo-output-heading h3 { margin: 0; font-size: 15px; font-weight: 700; }
.demo-output-heading span { color: var(--quiet); font-size: 12px; }
.demo-result { min-height: 286px; max-height: 480px; width: 100%; margin: 0; padding: 22px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.85 var(--mono); color: var(--ink); background: var(--editor); }
.demo-result:empty::before { content: 'Add a task to see your prompt here.'; color: var(--quiet); font: 14px/1.8 var(--body); }
.demo-copy-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 18px 22px 12px; border-top: 1px solid var(--border); }
.demo-copy-row .button { min-height: 44px; font-size: 14px; }
#demo-status { margin: 0; flex: 1; min-width: 110px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.demo-explanation { margin: 0; padding: 0 22px 18px; color: var(--quiet); font-size: 12px; line-height: 1.7; }
.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px 0 48px; }
.home-cta p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.home-cta .button { min-height: 48px; font-size: 14px; }
@media (max-width: 1050px) {
  .hero { gap: 24px; }
  .hero h1 { font-size: 50px; }
  .hero-art img { max-width: 300px; }
  .demo-workspace { gap: 28px; }
}
@media (max-width: 760px) {
  .site-header, .site-footer, .public-main { padding-right: 24px; padding-left: 24px; }
  .site-header { height: 80px; }
  .site-header nav { gap: 16px; }
  .site-header .brand-name { font-size: 17px; }
  .site-header .brand img { width: 40px; height: 40px; }
  .site-header .optional-nav { display: none; }
  .hero { grid-template-columns: 1.3fr .7fr; gap: 18px; padding: 30px 0; }
  .hero h1 { font-size: 40px; }
  .hero .lede { font-size: 14px; line-height: 1.7; }
  .hero-secondary { font-size: 13px; }
  .demo-heading { display: block; margin-bottom: 22px; }
  .demo-heading h2, .home-cta h2 { font-size: 28px; }
  .demo-heading p { max-width: 55ch; margin-top: 14px; font-size: 14px; line-height: 1.7; }
  .demo-workspace { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .demo-result { min-height: 240px; font-size: 14px; }
  .home-cta { padding-bottom: 34px; }
  .site-footer { flex-wrap: wrap; }
  .article { padding: 40px 0 55px; }
  .article h1 { font-size: 36px; }
  .article .lead { font-size: 16px; }
}
@media (max-width: 520px) {
  .site-header, .site-footer, .public-main { padding-right: max(16px,env(safe-area-inset-right)); padding-left: max(16px,env(safe-area-inset-left)); }
  .site-header { height: 76px; }
  .site-header nav>a:not(.button) { display: none; }
  .site-header .brand-name { font-size: 16px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .site-header .button { font-size: 12px; padding: 10px 12px; white-space: nowrap; }
  .site-header .button .icon { width: 14px; height: 14px; }
  .hero { display: block; padding: 26px 0; }
  .hero h1 { font-size: clamp(34px,9.5vw,42px); margin-bottom: 16px; }
  .hero .lede { margin-bottom: 20px; font-size: 14px; line-height: 1.65; }
  .hero-art { display: none; }
  .hero-foot { gap: 6px 16px; margin-top: 16px; font-size: 12px; }
  .hero-actions .button { min-height: 44px; }
  .live-demo { padding: 26px 0 30px; }
  .demo-heading h2 { font-size: 27px; }
  .demo-heading p { margin-top: 12px; }
  .example-picker { gap: 7px; }
  .example-picker button { font-size: 12px; padding: 10px; }
  .example-note { margin-bottom: 20px; }
  .demo-output-heading, .demo-copy-row { padding-right: 18px; padding-left: 18px; }
  .demo-output-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .demo-result { padding: 18px; }
  .demo-explanation { padding-right: 18px; padding-left: 18px; font-size: 13px; }
  .home-cta { align-items: flex-start; flex-direction: column; gap: 20px; }
  .site-footer { gap: 18px; }
  .site-footer nav { gap: 20px; }
  .site-footer>span:last-child { display: none; }
  .article h1 { font-size: 31px; }
  .article h2 { font-size: 22px; }
  .article p, .article li { font-size: 13px; }
  .article pre { padding: 17px; font-size: 12px; }
  .not-found h1 { font-size: 43px; }
}
@media (max-width: 360px) {
  .site-header { gap: 12px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand-name { font-size: 14px; }
  .site-header .button { gap: 6px; padding: 9px 10px; }
}
@media (max-width: 520px) { .hero-actions { gap: 8px 20px; } }
