@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Newsreader:ital,wght@1,500&display=swap');
:root{--ink:#173d31;--forest:#174c3a;--mint:#c9f36b;--paper:#f5f2e9;--white:#fff;--muted:#65756e;--line:#d9ded6;--orange:#f0a369;--shadow:0 20px 60px rgba(23,61,49,.12)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,system-ui,sans-serif}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,5vw,80px);border-bottom:1px solid rgba(23,61,49,.14);background:rgba(245,242,233,.9);backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}
.brand{display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:-.03em;font-size:18px}
.brand-mark{display:grid;place-items:center;width:32px;height:32px;background:var(--mint);color:var(--ink);border-radius:7px;font-family:DM Mono}
.github-link,.back-link{font-size:13px;font-weight:700;border-bottom:1px solid var(--ink)}
.hero{min-height:630px;padding:100px clamp(24px,11vw,170px) 64px;background:var(--forest);color:#fff;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:510px;height:510px;border:1px solid rgba(201,243,107,.18);border-radius:50%;right:-120px;top:35px;box-shadow:0 0 0 85px rgba(201,243,107,.035),0 0 0 170px rgba(201,243,107,.025)}
.eyebrow{font:500 11px/1.4 DM Mono,monospace;letter-spacing:.16em;color:#72847c}
.hero .eyebrow{color:var(--mint)}
.hero h1{font-size:clamp(48px,7vw,92px);line-height:.94;letter-spacing:-.065em;margin:22px 0 30px;max-width:900px}
.hero h1 em{font-family:Newsreader,serif;font-weight:500;color:var(--mint)}
.hero-copy{max-width:690px;color:#d5dfdb;font-size:18px;line-height:1.75;position:relative;z-index:1}
.search-wrap{display:flex;align-items:center;max-width:700px;height:62px;background:#fff;border-radius:10px;margin-top:42px;padding:0 18px;color:var(--ink);position:relative;z-index:2;box-shadow:var(--shadow)}
.search-wrap>span{font-size:28px;transform:rotate(-20deg)}
.search-wrap input{border:0;outline:0;width:100%;height:100%;padding:0 15px;color:var(--ink)}
kbd{font:11px DM Mono;background:#eef0ea;padding:6px 8px;border-radius:5px;color:#718078}
.stats{display:flex;gap:40px;margin-top:42px;color:#b9c8c2;font-size:12px;font-family:DM Mono}
.stats strong{color:#fff;font-size:17px;margin-right:6px}
.library{padding:100px clamp(24px,6vw,90px)}
.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;max-width:1320px;margin:auto}
.section-head h2,.method h2{font-size:clamp(32px,4vw,54px);letter-spacing:-.055em;margin:10px 0 0}
.section-head>p{max-width:430px;line-height:1.7;color:var(--muted);font-size:14px}
.filters{max-width:1320px;margin:45px auto 26px;display:flex;gap:8px;flex-wrap:wrap}
.filter{border:1px solid #cfd7d0;background:transparent;color:var(--ink);padding:10px 15px;border-radius:999px;font-size:12px;font-weight:700;cursor:pointer}
.filter:hover,.filter.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.grid{max-width:1320px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.prompt-card-link{background:#fff;border:1px solid #e0e3dc;border-radius:12px;padding:25px;min-height:310px;display:flex;flex-direction:column;transition:.2s ease}
.prompt-card-link:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:var(--mint)}
.prompt-card-link[hidden]{display:none}
.card-top{display:flex;align-items:center;gap:10px}
.monogram{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:#edf5e8;font:500 17px DM Mono}
.tag{font:500 10px DM Mono;letter-spacing:.12em;background:#e7f0e7;border-radius:4px;padding:7px 9px;color:var(--forest)}
.arrow{margin-left:auto;font-size:21px}
.stage{font:500 10px DM Mono;letter-spacing:.14em;color:#8a9891;margin:35px 0 10px}
.prompt-card-link h3{font-size:21px;letter-spacing:-.035em;margin:0 0 12px}
.prompt-card-link>p:not(.stage){font-size:13px;color:var(--muted);line-height:1.6;margin:0}
.card-meta{display:flex;justify-content:space-between;gap:14px;margin-top:auto;border-top:1px solid #edf0eb;padding-top:16px;font-size:10px;font-family:DM Mono;color:#74817b}
.empty{text-align:center;color:var(--muted);padding:50px}.empty[hidden]{display:none}
.method{background:#e4eadf;padding:90px clamp(24px,8vw,120px)}
.method-line{display:grid;grid-template-columns:repeat(5,1fr);margin-top:55px;border-top:1px solid #aebbb1}
.method-line div{position:relative;padding:28px 15px 0 0;display:flex;flex-direction:column;gap:7px}
.method-line div:before{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:var(--mint);border:3px solid var(--ink);top:-8px}
.method-line b{font:11px DM Mono;color:#78877f}.method-line strong{font-size:13px}.method-line span{font-size:12px;color:var(--muted)}
footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:40px clamp(24px,6vw,90px);background:#102f27;color:#dce4df;font-size:12px}
.detail-shell{display:grid;grid-template-columns:270px minmax(0,900px);gap:70px;max-width:1260px;margin:auto;padding:70px 28px 100px}
.rail{position:sticky;top:110px;align-self:start}.rail h2{font-size:19px;margin:10px 0 24px}.rail nav{display:flex;flex-direction:column;border-left:1px solid var(--line)}
.step{display:flex;gap:12px;align-items:center;padding:12px 16px;font-size:12px;color:var(--muted);border-left:2px solid transparent;margin-left:-1px}
.step span{font:10px DM Mono}.step:hover,.step.active{color:var(--ink);background:#ebece4;border-left-color:var(--ink)}.step.active{font-weight:700}
.detail-heading{display:flex;justify-content:space-between;align-items:end;gap:30px}.detail-heading .tag{display:inline-block}.detail-heading h1{font-size:clamp(34px,5vw,58px);line-height:1.04;letter-spacing:-.055em;margin:20px 0}.detail-heading p{color:var(--muted);line-height:1.7;max-width:680px}
.copy{border:0;border-radius:8px;cursor:pointer;font-weight:800;white-space:nowrap}.copy.primary{padding:15px 20px;background:var(--mint);color:var(--ink);box-shadow:0 8px 25px rgba(92,124,31,.18)}.copy.ghost{background:transparent;color:var(--ink);font-size:12px;border:1px solid var(--line);padding:9px 12px}.copy.copied{background:#d7f1cf}
.tool-note{margin:36px 0 18px;background:#e6eee7;border:1px solid #d5e0d6;border-radius:8px;padding:13px 16px;font-size:12px}.pulse{display:inline-block;width:8px;height:8px;background:var(--mint);border:2px solid var(--ink);border-radius:50%;margin-right:9px}
.prompt-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 20px 70px rgba(23,61,49,.07)}
.prompt-toolbar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid var(--line);font:500 11px DM Mono;color:var(--muted)}
.prompt-content,.prose{padding:34px clamp(20px,5vw,54px);font-size:14px;line-height:1.8;color:#304d43}
.prompt-content h1,.prompt-content h2,.prompt-content h3,.prose h1,.prose h2,.prose h3{color:var(--ink);line-height:1.25;letter-spacing:-.025em;margin:35px 0 14px}.prompt-content h1,.prose h1{font-size:30px}.prompt-content h2,.prose h2{font-size:23px}.prompt-content h3,.prose h3{font-size:17px}
.prompt-content code,.prose code{font-family:DM Mono;background:#edf0eb;padding:2px 5px;border-radius:4px;font-size:.9em}.prompt-content pre,.prose pre{overflow:auto;background:#122f27;color:#e7eee9;padding:22px;border-radius:8px;line-height:1.65}.prompt-content pre code,.prose pre code{background:transparent;padding:0}.prompt-content blockquote,.prose blockquote{margin:12px 0;border-left:3px solid var(--mint);padding:5px 18px;background:#f3f6ed}.prompt-content li,.prose li{margin:7px 0}
.full-doc{margin-top:24px;border:1px solid var(--line);border-radius:10px;background:#eeeee7}.full-doc summary{cursor:pointer;padding:18px 22px;font-weight:700;font-size:13px}.full-doc>.copy{margin:0 22px}.full-doc .prose{border-top:1px solid var(--line);margin-top:16px}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.detail-shell{grid-template-columns:1fr}.rail{position:static}.rail nav{flex-direction:row;overflow:auto;border-left:0;border-bottom:1px solid var(--line)}.step{min-width:max-content;border-left:0;border-bottom:2px solid transparent}.step.active{border-bottom-color:var(--ink)}.detail-heading{align-items:start}.method-line{grid-template-columns:1fr;gap:25px;border-top:0}.method-line div{border-left:1px solid #aebbb1;padding:0 0 0 30px}.method-line div:before{top:3px;left:-7px}}
@media(max-width:620px){.topbar{height:64px}.github-link{display:none}.hero{padding-top:70px;min-height:auto}.hero h1{font-size:48px}.stats{gap:16px;flex-wrap:wrap}.section-head{display:block}.grid{grid-template-columns:1fr}.library{padding-top:70px}.detail-shell{padding:38px 16px}.detail-heading{display:block}.detail-heading .primary{margin-top:15px;width:100%}.rail h2{display:none}.rail .eyebrow{margin-bottom:12px}.prompt-content,.prose{padding:25px 18px}footer{flex-direction:column;text-align:center}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
