/* ShastraTech — static site styles. Plain CSS, no build step. */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-ink: #101322;
  --ink: #12141a;
  --muted: #59616f;
  --line: #e6e8ec;
  --accent: #4338ca;      /* indigo */
  --accent-2: #0ea5e9;    /* sky */
  --accent-ink: #ffffff;
  --radius: 12px;
  --maxw: 1080px;
  --space: clamp(1rem, 2vw, 1.5rem);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; }
.brand-name { font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-name b { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-link { color: var(--muted); font-weight: 500; }
.nav-link:hover { color: var(--ink); text-decoration: none; }

.btn {
  display: inline-block; font-weight: 600; border-radius: 8px;
  padding: .6rem 1.1rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #372fb0; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 .75rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding-top: clamp(3.5rem, 8vw, 6rem); }
.hero-title { max-width: 20ch; }
.hero .lead { margin-top: .5rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

/* Grid cards */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin-top: .25rem; }
.card .num { font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.card p { color: var(--muted); margin-bottom: 0; }

/* Ladder / steps */
.ladder { display: grid; gap: 1rem; margin-top: 2rem; }
.step {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem;
}
.step .badge {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700;
}
.step h3 { margin-bottom: .25rem; }
.step p { color: var(--muted); margin-bottom: 0; }
.step .tag { font-size: .78rem; color: var(--accent); font-weight: 600; }

/* Prose (blog/about) */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.25rem; color: var(--muted); }
.prose li { margin: .35rem 0; }
.prose blockquote {
  margin: 1.5rem 0; padding: .75rem 1.25rem; border-left: 3px solid var(--accent);
  background: var(--bg-alt); color: var(--ink); border-radius: 0 8px 8px 0;
}

/* CTA band */
.cta-band { background: var(--bg-ink); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #b9c0cf; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* Contact */
.mailbig { font-size: clamp(1.25rem, 3vw, 1.9rem); font-weight: 700; color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--ink); text-decoration: none; }

/* Posts list */
.post-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.post-list li { border-top: 1px solid var(--line); padding: 1.25rem 0; }
.post-list a { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.post-list a:hover { color: var(--accent); }
.post-list .meta { color: var(--muted); font-size: .85rem; }
.muted { color: var(--muted); }
