:root {
  --bg: #0a0a0b;
  --fg: #ededee;
  --muted: #8b8b92;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #7c9cff;
  --glow: rgba(124, 156, 255, 0.16);
  --dot: rgba(255, 255, 255, 0.06);
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: dark;
}


* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60rem 36rem at 50% 18%, var(--glow), transparent 70%),
    radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0) 0 0 / 24px 24px,
    var(--bg);
  color: var(--fg);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* Corner brackets framing the viewport */
.frame { position: fixed; inset: 0.75rem; pointer-events: none; z-index: 0; }
.frame i { position: absolute; width: 14px; height: 14px; border: 1px solid var(--muted); opacity: 0.6; }
.frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.bar, main, footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  font: 500 0.8125rem/1 var(--mono);
}

.mark { font-size: 1rem; font-weight: 500; letter-spacing: -0.02em; }
.cursor { color: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.contact {
  color: var(--fg);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.45em;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s;
}
.contact:hover { border-color: var(--muted); }

.cta-block { margin-top: 2.5rem; }
.cta-lead { margin: 0 0 0.75rem; font-size: 1.0625rem; color: var(--fg); }

.cta {
  display: inline-block;
  font: 500 0.875rem/1 var(--mono);
  color: var(--accent);
  text-decoration: none;
  padding: 0.875rem 0 0.25rem;
  margin-top: -0.625rem;
  border-bottom: 1px solid currentColor;
}
.cta span { display: inline-block; transition: transform 0.15s; }
.cta:hover span { transform: translateX(3px); }

main { flex: 1; display: flex; flex-direction: column; }

.hero {
  padding: clamp(5rem, 20vh, 11rem) 0 clamp(4rem, 12vh, 7rem);
  max-width: 56rem;
}

.eyebrow {
  margin: 0 0 1.75rem;
  font: 400 0.75rem/1.4 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow span { color: var(--accent); margin-right: 0.5rem; }

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7.5vw, 5.5rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.sub {
  margin: 1.75rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  color: var(--muted);
  text-wrap: pretty;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: 4rem;
}

.pillars article {
  padding: 1.75rem 1.75rem 2rem 0;
}
.pillars article + article {
  padding-left: 1.75rem;
  border-left: 1px solid var(--line);
}

.num { margin: 0 0 2.5rem; font: 400 0.75rem/1 var(--mono); color: var(--accent); }

h2 { margin: 0 0 0.5rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }

.pillars p:last-child { margin: 0; color: var(--muted); font-size: 0.9375rem; text-wrap: pretty; }

footer {
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 2.25rem;
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font: 400 0.6875rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
footer p { margin: 0; text-wrap: balance; }
footer p + p { margin-top: 0.375rem; }
footer a { color: inherit; text-underline-offset: 3px; display: inline-block; padding: 0.75rem 0.5rem; margin: -0.375rem 0; }
footer a:hover { color: var(--fg); }

@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars article,
  .pillars article + article { padding: 1.5rem 0; border-left: 0; }
  .pillars article + article { border-top: 1px solid var(--line); }
  .num { margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}
