/* Design: Claude Design export (randstudio.html), turned into static pages.
   Fonts are served from this site, no third-party requests: Bricolage Grotesque, Instrument Sans
   and JetBrains Mono, all under the SIL Open Font License (fonts/README.txt). */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 400 800; font-display: swap; src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 400 800; font-display: swap; src: url('/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 600; font-display: swap; src: url('/fonts/instrument-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 600; font-display: swap; src: url('/fonts/instrument-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 500; font-display: swap; src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 500; font-display: swap; src: url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f2f0ea;
  --ink: #141413;
  --body: #3a3833;
  --muted: #6b685f;
  --faint: #a19e94;
  --line: #d9d6cc;
  --chip: #c9c6bb;
  --dark: #2b2a27;
  --dark-line: #45433e;
  --dark-field: #5c5a54;
  --dark-body: #b8b5ab;
  --accent: #3d4bff;
  --accent-ink: #ffffff;
  --accent-on-dark: #9aa3ff;
  --display: 'Bricolage Grotesque', sans-serif;
  --sans: 'Instrument Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--paper); }
* { box-sizing: border-box; }
body { color: var(--ink); font-family: var(--sans); min-height: 100vh; }
a { color: var(--ink); text-decoration: none; }
a:hover { opacity: .7; }
input, textarea, button { font: inherit; }
input::placeholder, textarea::placeholder { color: var(--faint); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@keyframes blink { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .caret { animation: none !important; } }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
section[id] { scroll-margin-top: 73px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(242, 240, 234, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 40px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; padding-bottom: 3px; }
.logo-mark span { font-weight: 600; }
.logo-name { display: flex; align-items: baseline; gap: 6px; }
.logo-name b { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.logo-name span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.pill-dark { background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; white-space: nowrap; }

/* Hero */
.hero { padding-top: 96px; padding-bottom: 80px; }
.status { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); outline: 1px solid var(--ink); flex: none; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 9vw, 148px); line-height: .92; letter-spacing: -0.045em; margin: 0; text-wrap: balance; }
.highlight { background: var(--accent); color: var(--accent-ink); padding: 0 .12em; border-radius: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; margin-top: 64px; align-items: end; }
.hero-foot p { font-size: 21px; line-height: 1.5; margin: 0; max-width: 560px; text-wrap: pretty; color: var(--body); }
.hero-actions { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; justify-self: end; }
.terminal { font-family: var(--mono); font-size: 14px; background: var(--ink); color: var(--paper); padding: 14px 18px; border-radius: 8px; display: flex; gap: 10px; }
.terminal .dim { color: var(--faint); }
.terminal .val { color: var(--accent-on-dark); min-width: 6ch; }
.caret { animation: blink 1s infinite; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid var(--ink); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }

/* Sections */
.services { border-top: 1px solid var(--line); }
.section-pad { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.big { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.5vw, 80px); line-height: .95; letter-spacing: -0.04em; margin: 0; }
.section-head p { font-size: 18px; line-height: 1.5; color: var(--body); max-width: 400px; margin: 0; text-wrap: pretty; }
.service-list { border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px 48px; padding: 36px 0; border-bottom: 1px solid var(--ink); align-items: start; }
.service-title { display: flex; gap: 20px; align-items: baseline; }
.service-title span { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.service h3 { font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.service p { font-size: 17px; line-height: 1.55; color: var(--body); margin: 0; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-family: var(--mono); font-size: 12px; border: 1px solid var(--chip); padding: 6px 10px; border-radius: 999px; }

/* Contact */
.contact { background: var(--dark); color: var(--paper); }
.contact .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; }
.contact-intro { display: flex; flex-direction: column; gap: 24px; }
.contact .kicker { color: var(--faint); margin: 0; }
.contact .big em { font-style: normal; color: var(--accent-on-dark); }
.contact-intro p { font-size: 18px; line-height: 1.5; color: var(--dark-body); max-width: 420px; margin: 0; text-wrap: pretty; }
form { display: flex; flex-direction: column; gap: 28px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; }
label { display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-family: var(--mono); color: var(--faint); }
.field { background: transparent; border: none; border-bottom: 1px solid var(--dark-field); color: var(--paper); font-family: var(--sans); font-size: 18px; padding: 8px 0; outline: none; border-radius: 0; }
.field:focus { border-bottom-color: var(--accent-on-dark); box-shadow: 0 1px 0 var(--accent-on-dark); }
textarea.field { resize: vertical; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send { align-self: flex-start; background: var(--accent); color: var(--accent-ink); border: none; padding: 18px 30px; border-radius: 999px; font-weight: 600; font-size: 17px; cursor: pointer; }
.send[disabled] { opacity: .6; cursor: default; }
.form-error { margin: 0; font-size: 16px; color: #ffb4a8; }
.form-error:empty { display: none; }
.sent { display: flex; flex-direction: column; justify-content: center; gap: 16px; border: 1px solid var(--dark-field); border-radius: 12px; padding: 48px; }
.sent[hidden], form[hidden] { display: none; }
.sent .code { font-family: var(--mono); font-size: 14px; color: var(--accent-on-dark); }
.sent strong { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.sent p { font-size: 18px; color: var(--dark-body); margin: 0; }
.ghost { align-self: flex-start; background: transparent; color: var(--paper); border: 1px solid var(--dark-field); padding: 10px 18px; border-radius: 999px; cursor: pointer; margin-top: 8px; }

/* Footer */
.site-footer { background: var(--dark); color: var(--paper); border-top: 1px solid var(--dark-line); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-cols .label { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.site-footer a { color: var(--paper); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 19vw, 280px); line-height: .8; letter-spacing: -0.06em; }
.wordmark span { color: var(--accent-on-dark); }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--faint); border-top: 1px solid var(--dark-line); padding-top: 24px; }

/* Privacy page */
.doc { padding-top: 96px; padding-bottom: 96px; }
.doc .inner { max-width: 720px; }
.doc .big { margin-bottom: 16px; }
.doc .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0 0 48px; }
.doc h2 { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; margin: 48px 0 12px; }
.doc p { font-size: 18px; line-height: 1.6; color: var(--body); margin: 0 0 16px; }
.doc p a { border-bottom: 1px solid var(--chip); }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header nav a:not(.pill-dark) { display: none; }
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .hero-actions { justify-self: start; }
  .section-pad, .doc { padding-top: 64px; padding-bottom: 64px; }
  .service h3 { font-size: 28px; }
  .sent { padding: 32px; }
}
