/* devopslab.work */

:root {
  --bg: #0B0D10;
  --bg-2: #0F1216;
  --surface: #12151A;
  --surface-2: #171B21;
  --line: #1E232B;
  --line-2: #2A303A;
  --text: #E8ECF1;
  --text-2: #B6BEC9;
  --text-3: #9AA3AF;
  --text-4: #6F7986;
  --amber: #F5B14C;
  --amber-2: #FFC46B;
  --amber-ink: #2A1B05;
  --amber-bg: #1C1710;
  --amber-line: #3A2E18;
  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1080px;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--amber); }
a:hover { color: var(--amber-2); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; z-index: 100; }
.skip:focus { left: 8px; }

/* type */
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--amber); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.mono { font-family: var(--mono); font-size: 13px; }
.dim { color: var(--text-4); }
.muted { color: var(--text-2); }
.prompt { font-family: var(--mono); font-size: 15px; color: var(--text-3); margin-bottom: 20px; }
.caret { color: var(--amber); margin-right: 8px; }
.lede { margin-top: 24px; font-size: 20px; color: var(--text-2); max-width: 600px; }

/* layout */
.section { max-width: var(--wrap); margin: 0 auto; padding: 96px 24px 24px; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 20px; }
.two-col { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 10px; min-height: 48px; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-2); color: var(--amber-ink); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); font-weight: 500; }
.btn-ghost:hover { color: var(--text); border-color: #3A414D; background: rgba(255,255,255,0.02); }
.btn-sm { font-size: 15px; padding: 10px 16px; min-height: 42px; }
.link-arrow { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(11,13,16,0.8); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.nav { max-width: var(--wrap); margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-name { font-family: var(--mono); font-weight: 500; font-size: 17px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.nav-links a { color: var(--text-2); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 104px 24px 56px; }
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li { font-family: var(--mono); font-size: 13px; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }

/* app cards */
.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.app-card.featured { margin-top: 36px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; background: linear-gradient(135deg, #14181E, var(--surface) 60%); border-color: var(--line-2); }
@media (max-width: 700px) { .app-card.featured { grid-template-columns: 1fr; } }
.app-media { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 45%, #1B222A, var(--bg-2) 70%); border: 1px solid var(--line); border-radius: 16px; aspect-ratio: 1 / 1; }
.app-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--text-3); }
.tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-3); }
.tag-live { color: var(--amber); border-color: var(--amber-line); background: var(--amber-bg); }
.app-tagline { margin-top: 6px; font-size: 18px; font-weight: 600; color: var(--text); }
.app-body > p:not(.app-meta):not(.app-tagline) { margin-top: 12px; color: var(--text-2); }
.app-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.app-card.soon h3 { font-size: 20px; }
.app-card.soon p:last-of-type { margin-top: 8px; color: var(--text-3); font-size: 15px; }
.app-card.soon { border-style: dashed; }
.app-card.idea { border-style: solid; border-color: var(--amber-line); background: var(--amber-bg); }

/* about */
.prose p { color: var(--text-2); }
.prose p + p { margin-top: 14px; }
.stack { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { font-family: var(--mono); font-size: 13px; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }

/* principles */
.principles { margin-top: 36px; display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.principles li { background: var(--bg); padding: 28px; }
.num { font-family: var(--mono); font-size: 13px; color: var(--amber); }
.principles h3 { margin-top: 14px; font-size: 20px; }
.principles p { margin-top: 8px; color: var(--text-3); font-size: 15px; }

/* contact */
#contact { padding-bottom: 96px; }
.contact-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 56px 40px; }
.contact-card h2 { max-width: 640px; }
.contact-card .muted { margin-top: 14px; max-width: 560px; }
.contact-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { max-width: var(--wrap); margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--text-4); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .hero { padding-top: 64px; }
  .section { padding-top: 72px; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
  .contact-card { padding: 40px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
