/* woolshed.dev: one stylesheet, no external fonts or scripts (see the CSP in the nginx config). */
:root {
  --bg: #08130e;
  --bg-2: #0c1a13;
  --panel: #0f2018;
  --panel-2: #132a1f;
  --line: #1d3529;
  --fg: #eef5f0;
  --mute: #a3bcae;
  --dim: #6f8b7c;
  --accent: #3fb27f;
  --accent-ink: #062014;
  --mint: #6ee7b7;
  --amber: #f5b041;
  --cream: #fef3c7;
  --red: #f87171;
  --radius: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8f5ec;
    --bg-2: #f1ecdf;
    --panel: #ffffff;
    --panel-2: #f6f2e7;
    --line: #e2dccb;
    --fg: #13241b;
    --mute: #45604f;
    --dim: #6d8476;
    --accent: #1f7a50;
    --accent-ink: #ffffff;
    --mint: #0f7a55;
    --amber: #b86e00;
    --shadow: 0 30px 70px -35px rgba(30, 50, 40, .35), 0 0 0 1px rgba(20, 40, 30, .08);
    color-scheme: light;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
img { display: block; max-width: 100%; }
code, pre, kbd { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* Header */
.site-nav { position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(140%) blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.site-nav .wrap { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.links { display: flex; gap: 26px; font-size: 14.5px; color: var(--mute); }
.links a { text-decoration: none; }
.links a:hover, .links a[aria-current="page"] { color: var(--fg); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14.5px; text-decoration: none; border: 0; white-space: nowrap; }
.pill:hover { filter: brightness(1.08); }
.pill.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.pill.ghost:hover { border-color: var(--dim); }
@media (max-width: 760px) { .links { display: none; } }

/* Hero */
.hero { padding-top: 84px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); color: var(--mint); letter-spacing: .02em; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 22%, transparent); }
h1 { font-size: clamp(42px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
h1 span { color: var(--mute); font-weight: 600; }
.lede { margin-top: 22px; font-size: 18.5px; color: var(--mute); max-width: 34em; }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta .note { font-size: 13.5px; color: var(--dim); }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; padding-top: 56px; } }
.hero > * { min-width: 0; }

/* App mock */
.mock { border-radius: 12px; overflow: hidden; background: #0d1512; box-shadow: var(--shadow); font: 12.5px/1.55 var(--mono); color: #cfe0d6; }
.mock-bar { height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #111c17; border-bottom: 1px solid #1b2a23; }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.mock-title { flex: 1; text-align: center; color: #7f978a; font: 600 12px/1 var(--sans); margin-right: 50px; }
.mock-body { display: grid; grid-template-columns: 172px 1fr; min-height: 360px; }
.mock-side { background: #0f1915; border-right: 1px solid #1b2a23; padding: 12px 10px; }
.side-h { font: 600 10.5px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #5f7a6c; margin: 4px 6px 8px; }
.side-h + .space { margin-top: 0; }
.space, .agent { display: block; padding: 6px 8px; border-radius: 7px; margin-bottom: 2px; color: #b9cdc1; }
.space b { font-weight: 600; color: #e6f1ea; }
.space small, .agent small { display: block; color: #6f8b7c; font-size: 11px; }
.space.on { background: #17261f; }
.agents { margin-top: 14px; }
.agent { position: relative; padding-left: 22px; }
.st { position: absolute; left: 8px; top: 12px; width: 8px; height: 8px; border-radius: 50%; }
.st.working { background: #3fb27f; box-shadow: 0 0 0 3px rgba(63, 178, 127, .18); animation: pulse 1.8s ease-in-out infinite; }
.st.blocked { background: #f5b041; box-shadow: 0 0 0 3px rgba(245, 176, 65, .2); }
.st.done { background: #6ee7b7; }
.st.idle { background: transparent; border: 1.5px solid #5f7a6c; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(63, 178, 127, .06); } }
.mock-main { display: flex; flex-direction: column; min-width: 0; }
.mock-tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: #0f1915; border-bottom: 1px solid #1b2a23; }
.tab { padding: 6px 12px; border-radius: 7px 7px 0 0; color: #7f978a; font: 500 12px/1.2 var(--sans); }
.tab.on { background: #0d1512; color: #e6f1ea; box-shadow: inset 0 2px 0 var(--accent); }
.panes { flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 0; }
.pane { padding: 14px 16px; font-size: 11.5px; white-space: pre; overflow: hidden; text-overflow: clip; border-right: 1px solid #1b2a23; }
.pane:last-child { border-right: 0; }
.pane .p { color: #6ee7b7; }
.pane .b { color: #e6f1ea; font-weight: 600; }
.pane .m { color: #6f8b7c; }
.pane .g { color: #3fb27f; }
.pane .a { color: #f5b041; }
@media (max-width: 1199px) { .panes { grid-template-columns: 1fr; } .pane:last-child { display: none; } .pane { border-right: 0; } }
@media (max-width: 640px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .panes { grid-template-columns: 1fr; } .pane:last-child { display: none; } }
@media (prefers-reduced-motion: reduce) { .st.working { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
section { padding-top: 72px; padding-bottom: 72px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.kicker { font: 600 12.5px/1 var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
.section-head p { margin-top: 14px; font-size: 17.5px; color: var(--mute); }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1040px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; }
.card svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: 16.5px; letter-spacing: -.01em; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--mute); }

/* Voice */
.voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 940px) { .voice { grid-template-columns: 1fr; } }
.badge { display: inline-block; font: 600 11.5px/1 var(--mono); color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); padding: 6px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; letter-spacing: .03em; }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.checks li { position: relative; padding-left: 30px; color: var(--mute); }
.checks li b { color: var(--fg); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.voice-demo { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.doc { background: #fbfaf6; color: #1f2a24; border-radius: 10px; padding: 18px 20px; font: 15px/1.6 Georgia, "Times New Roman", serif; min-height: 150px; }
.doc .caret { display: inline-block; width: 2px; height: 1.1em; background: #1f7a50; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.doc-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.doc-bar span { height: 8px; border-radius: 4px; background: #e6e2d6; }
.speak { margin-top: 16px; display: flex; align-items: center; gap: 14px; }
.key { font: 600 12.5px/1 var(--mono); padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); color: var(--fg); box-shadow: inset 0 -2px 0 var(--line); }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; flex: 1; }
.wave i { flex: 1; max-width: 5px; border-radius: 3px; background: var(--accent); opacity: .85; animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.said { margin-top: 12px; font: 13px/1.5 var(--mono); color: var(--dim); }
.said b { color: var(--mute); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .wave i, .doc .caret { animation: none; } .wave i { height: 60%; } }

/* Compat + download */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }
.panel p { color: var(--mute); font-size: 15px; }
.panel p + p { margin-top: 10px; }
.code { margin-top: 16px; background: #0b1511; color: #d7e6dc; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font: 13px/1.7 var(--mono); overflow-x: auto; white-space: pre; }
.code .m { color: #6f8b7c; }
.code .p { color: #6ee7b7; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.platforms div { border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; color: var(--mute); }
.platforms b { display: block; color: var(--fg); font-size: 15px; }
.soon { color: var(--amber); font: 600 12px/1.4 var(--mono); }

/* Prose pages */
.prose { max-width: 760px; padding: 64px 0 24px; }
.prose h1 { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 18px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -.015em; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--mute); font-size: 16.5px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0 22px; display: grid; gap: 8px; }
.prose strong { color: var(--fg); }
.prose code { font-size: .92em; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--fg); }
.prose .code code { background: none; border: 0; padding: 0; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.updated { font: 13px/1 var(--mono); color: var(--dim); }

/* Footer */
.site-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 14px; color: var(--dim); }
.site-foot .wrap { display: grid; grid-template-columns: 1.6fr repeat(2, 1fr); gap: 32px; }
.site-foot h4 { color: var(--fg); font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.site-foot ul { list-style: none; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--fg); }
.site-foot .me { display: grid; gap: 12px; max-width: 420px; }
.site-foot .me .brand { color: var(--fg); }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .me { grid-column: 1 / -1; } }

.center { text-align: center; }
.notfound { padding: 120px 0; }
.notfound h1 { font-size: clamp(40px, 6vw, 72px); }
.notfound p { color: var(--mute); margin: 16px 0 28px; font-size: 18px; }

/* Utility classes (no inline styles: the site's CSP allows only this stylesheet). */
.flush { margin-bottom: 0; }
.mt { margin-top: 14px; }
.doc-bar span:nth-child(1) { width: 18%; }
.doc-bar span:nth-child(2) { width: 9%; }
.doc-bar span:nth-child(3) { width: 12%; }
.wave i:nth-child(1) { animation-delay: -.1s; }
.wave i:nth-child(2) { animation-delay: -.5s; }
.wave i:nth-child(3) { animation-delay: -.3s; }
.wave i:nth-child(4) { animation-delay: -.8s; }
.wave i:nth-child(5) { animation-delay: -.2s; }
.wave i:nth-child(6) { animation-delay: -.6s; }
.wave i:nth-child(7) { animation-delay: -.4s; }
.wave i:nth-child(8) { animation-delay: -.9s; }
.wave i:nth-child(9) { animation-delay: -.15s; }
.wave i:nth-child(10) { animation-delay: -.7s; }
.wave i:nth-child(11) { animation-delay: -.35s; }
.wave i:nth-child(12) { animation-delay: -.55s; }
.wave i:nth-child(13) { animation-delay: -.25s; }
.wave i:nth-child(14) { animation-delay: -.65s; }
.wave i:nth-child(15) { animation-delay: -.45s; }
.wave i:nth-child(16) { animation-delay: -.05s; }
