/* clearpull: clean web data, without the cleanup. Paper and ink, one blue accent, mono for data. */
:root {
  --paper: #f5f4ef;
  --surface: #ffffff;
  --ink: #14161a;
  --ink-2: #464b54;
  --mute: #767c86;
  --line: rgba(20, 22, 26, 0.12);
  --accent: #2f5bff;
  --accent-ink: #1d3fd6;
  --accent-soft: rgba(47, 91, 255, 0.09);
  --ok: #17885a;
  --soon: #a26a12;
  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1080px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(245, 244, 239, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 20px/1 var(--f-display); letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* hero */
.hero { padding-block: 88px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.eyebrow { font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; margin: 0 0 20px; font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin: 0 0 12px; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.25; margin: 0 0 8px; font-weight: 650; letter-spacing: -0.015em; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; text-wrap: pretty; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; font: 600 15px/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2e35; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: rgba(20, 22, 26, 0.3); color: var(--ink); }

/* sample output card */
.sample { margin: 0; background: var(--ink); color: #e8eaee; border-radius: 16px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 40px -18px rgba(20,22,26,.45); font: 400 13.5px/1.7 var(--f-mono); overflow-x: auto; }
.sample-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; color: #9aa1ad; font-size: 12px; }
.sample-top span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; margin-right: 8px; vertical-align: 1px; }
.sample pre { margin: 0; white-space: pre; }
.k { color: #8fb4ff; } .s { color: #ffd38a; } .n { color: #7ee2b8; }

/* sections */
section { scroll-margin-top: 80px; }
.band { padding-block: 80px; border-top: 1px solid var(--line); }
.band.alt { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); max-width: 32em; margin: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.band.alt .card { background: var(--paper); }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; }
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--f-mono); padding: 6px 9px; border-radius: 999px; border: 1px solid currentColor; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--ok); }
.status.soon { color: var(--soon); }
.status.dev { color: var(--mute); }
.card.feature { grid-column: span 2; }
@media (max-width: 720px) { .card.feature { grid-column: auto; } }

/* tool icons and the in-testing list */
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.tool-icon { width: 52px; height: 52px; border-radius: 13px; flex: none; }
.tool-count { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--ink); color: #fff; font: 700 22px/1 var(--f-display); letter-spacing: -0.02em; }
.coming { margin-top: 28px; scroll-margin-top: 80px; }
.tool-groups { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); align-items: start; }
.tool-group { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 6px; min-width: 0; }
.group-label { font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin: 0 0 4px; }
.tool-list { list-style: none; margin: 0; padding: 0; }
.tool-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.tool-list li:first-child { border-top: 0; }
.tool-list img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.tool-list div { min-width: 0; }
.tool-list strong { display: block; font: 650 16px/1.3 var(--f-display); letter-spacing: -0.01em; color: var(--ink); margin-bottom: 2px; }
.tool-list span { display: block; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font: 500 13px/1 var(--f-mono); color: var(--accent-ink); margin-bottom: 10px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form textarea { width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hidden { position: absolute; left: -9999px; }
.form small { color: var(--mute); font-size: 13px; }
.links { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.links a { font-weight: 600; }

/* article */
.article { padding-block: 64px 88px; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(34px, 5vw, 48px); }
.article h2 { font-size: 26px; margin-top: 44px; }
.article p, .article li { color: #2c3037; }
.article .meta { font: 500 13px/1.4 var(--f-mono); color: var(--mute); margin-bottom: 28px; }
.article .note { background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; color: var(--ink); }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 4px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font: 600 13px/1.3 var(--f-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.04em; }
.table-wrap { overflow-x: auto; }
.back { display: inline-block; margin-bottom: 24px; font-size: 15px; font-weight: 600; text-decoration: none; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--mute); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero { padding-block: 56px 48px; }
  .hero .wrap, .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .band { padding-block: 64px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { gap: 16px; }
  .lede { font-size: 17px; }
  .sample { font-size: 11px; padding: 16px; }
}
.grid.live-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.coming-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.coming-head h3 { margin: 10px 0 6px; }
.coming-head p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 62ch; }
.article pre { background: var(--ink); color: #e9ebef; border-radius: 12px; padding: 16px 18px; overflow-x: auto; font: 400 14px/1.6 var(--f-mono); margin: 12px 0; }
.article pre code { background: none; padding: 0; font: inherit; color: inherit; }
.article code { font-family: var(--f-mono); font-size: 0.9em; background: var(--accent-soft); padding: 1px 5px; border-radius: 5px; }
.article li > p { margin: 0 0 6px; }
/* template screenshots, request form */
.card .shot { display: block; margin: -24px -24px 8px; border-bottom: 1px solid var(--line); border-radius: 13px 13px 0 0; overflow: hidden; background: var(--paper); }
.card .shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.form select { width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .hint { font-weight: 400; color: var(--mute); font-size: 13px; }
.form textarea.short { min-height: 84px; }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.job-hero { padding-block: 72px 56px; }
.job-hero .wrap { grid-template-columns: minmax(0, 1fr); }
.job-notes { display: grid; gap: 12px; margin-top: 36px; max-width: 62ch; }
.job-notes p { margin: 0; color: var(--ink-2); font-size: 16px; }
/* tool pages (step 108) */
.tool-page .tool-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tool-page h1 { margin-bottom: 14px; }
.tool-page .lede { font-size: 18px; max-width: none; margin-bottom: 20px; }
.tool-page .actions { margin: 0 0 10px; }
.article .meta-line { font-size: 14px; color: var(--mute); }
.use-cases { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.use-case { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.use-case h3 { font-size: 17px; margin: 0 0 6px; }
.use-case p { margin: 0; font-size: 15px; }
.faq h3 { font-size: 18px; margin: 22px 0 6px; }
.faq p { margin: 0; }
.tool-pages { margin-top: 28px; }
.tool-pages h3 { margin: 0 0 6px; }
.tool-pages > p { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; }
.tool-page-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 16px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.tool-page-links li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.tool-page-links a { font-weight: 600; text-decoration: none; }
.tool-page-links .status { flex: none; }
/* fixed-price offers (step 113) */
.offer .price { font: 700 24px/1.1 var(--f-display); letter-spacing: -0.02em; color: var(--ink); margin: 2px 0 4px; }
.offer .price small { font: 500 14px/1 var(--f-body); color: var(--mute); letter-spacing: 0; }
.offer ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.offer li + li { margin-top: 4px; }
.offer .turnaround { font: 500 13px/1.4 var(--f-mono); color: var(--mute); margin-top: auto; padding-top: 8px; }
.placeholder { outline: 2px dashed var(--soon); outline-offset: 3px; border-radius: 4px; }
.placeholder-banner { border: 2px dashed var(--soon); color: var(--soon); background: rgba(162, 106, 18, 0.08); border-radius: 10px; padding: 10px 14px; font-weight: 600; margin: 0 0 20px; }
.tool-page th, .tool-page td { padding: 9px 9px; }
.tool-page th { font-size: 12px; }
