/* Swift Bot Labs - static site, no JS, system fonts only */
:root {
  color-scheme: light dark;
  --bg: #faf8f7;
  --surface: #ffffff;
  --surface-2: #f3efed;
  --text: #1c1516;
  --muted: #5e5455;
  --border: #e7e1df;
  --accent: #c81e26;
  --accent-text: #b81b22;
  --accent-soft: #fde9e8;
  --on-accent: #ffffff;
  --ok: #157a4a;
  --shadow: 0 1px 2px rgba(40, 10, 12, .05), 0 8px 24px rgba(40, 10, 12, .06);
  --radius: 14px;
  --maxw: 1120px;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121011;
    --surface: #1b1718;
    --surface-2: #241f20;
    --text: #f4efef;
    --muted: #b6abab;
    --border: #322b2c;
    --accent: #d8232b;
    --accent-text: #ff6b66;
    --accent-soft: #3a1a1c;
    --on-accent: #ffffff;
    --ok: #4cc58b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #121011;
  --surface: #1b1718;
  --surface-2: #241f20;
  --text: #f4efef;
  --muted: #b6abab;
  --border: #322b2c;
  --accent: #d8232b;
  --accent-text: #ff6b66;
  --accent-soft: #3a1a1c;
  --on-accent: #ffffff;
  --ok: #4cc58b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .92em; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700;
  letter-spacing: -.01em; font-size: 1.05rem; margin-right: auto; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: none; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--text); }
@media (min-width: 860px) { .nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 10px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent;
  line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .92rem; }

/* Hero */
.hero { padding: 56px 0 40px; }
.eyebrow { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 18px; color: var(--muted);
  font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-text); }
h1 { font-size: clamp(2.05rem, 1.2rem + 4.2vw, 3.7rem); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 18px; max-width: 18ch; }
.lead { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); color: var(--muted); max-width: 40ch; margin: 0 0 28px; }
.lead strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.promises { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.promises li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px; }
.promises svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }
.promises b { display: block; font-size: .98rem; }
.promises span { color: var(--muted); font-size: .92rem; }
@media (min-width: 720px) { .hero { padding: 88px 0 56px; } .promises { grid-template-columns: repeat(3, 1fr); } }

/* Sections */
section { padding: 48px 0; }
@media (min-width: 720px) { section { padding: 72px 0; } }
.section-head { margin-bottom: 28px; max-width: 62ch; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.section-head p { margin: 0; color: var(--muted); }
h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 6px; letter-spacing: -.01em; }
.alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* What I build */
.build-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .build-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .build-grid { grid-template-columns: repeat(4, 1fr); } }
.build-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.build-grid p { margin: 0; color: var(--muted); font-size: .94rem; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft);
  color: var(--accent-text); margin-bottom: 12px; }
.icon svg { width: 22px; height: 22px; }

/* Work */
.work-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px; display: flex; flex-direction: column; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.card .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-block; align-self: flex-start; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-text); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }
.tag.live { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.meta { font-size: .85rem; color: var(--muted); margin: -8px 0 16px; }
.card.feature { padding: 0; overflow: hidden; }
.card.feature .shot { display: block; border-bottom: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 960 / 520; overflow: hidden; }
.card.feature .shot picture { display: block; width: 100%; height: 100%; }
.card.feature .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.card.feature .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 760px) {
  .card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
  .card.feature .shot { border-bottom: 0; border-right: 1px solid var(--border); aspect-ratio: auto; min-height: 100%; }
  .card.feature .body { padding: 28px; }
}

/* Steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Pricing */
.price-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.price.popular { border: 2px solid var(--accent); }
.price .amount { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 4px 0 4px; }
.price .amount small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-right: 4px; }
.price .sub { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.price ul { margin: 0 0 18px; padding-left: 1.1em; color: var(--muted); font-size: .94rem; }
.price li { margin: 4px 0; }
.price .btn { margin-top: auto; }

.pay { margin-top: 20px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pay { grid-template-columns: repeat(2, 1fr); } }
.pay > div { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); padding: 18px; }
.pay p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Contact */
.contact { text-align: left; }
.contact-box { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
  padding: 28px 20px; display: grid; gap: 24px; }
@media (min-width: 860px) { .contact-box { grid-template-columns: 1.3fr 1fr; padding: 40px; align-items: center; } }
.contact-box p { color: var(--muted); margin: 0 0 18px; max-width: 52ch; }
.checklist { margin: 0 0 22px; padding-left: 1.1em; color: var(--muted); }
.elsewhere { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.elsewhere a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); text-decoration: none; background: var(--bg); min-height: 48px; }
.elsewhere a:hover { border-color: var(--muted); }
.elsewhere svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.elsewhere span { color: var(--muted); font-size: .9rem; margin-left: auto; }

/* Footer */
.site-footer { padding: 28px 0 40px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--border); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer a { color: var(--muted); }

/* Small-screen refinements */
.contact { padding-top: 8px; }
@media (max-width: 479px) {
  .eyebrow { font-size: .8rem; gap: 4px 8px; letter-spacing: 0; }
  .cta-row .btn { flex: 1 1 100%; }
  .card .links .btn { flex: 1 1 auto; }
}
@media (max-width: 639px) {
  .build-grid li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; }
  .build-grid li .icon { grid-row: 1 / span 2; margin: 2px 0 0; }
  .build-grid li h3, .build-grid li p { grid-column: 2; }
}
@media (max-width: 899px) {
  .steps li { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; padding: 16px; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; }
  .steps li h3, .steps li p { grid-column: 2; }
}
