/* Ariotech — single stylesheet, no dependencies, no build step. */

:root {
  color-scheme: dark;

  --bg:        #0b1220;
  --bg-alt:    #0f172a;
  --ink:       #e8edf6;
  --ink-soft:  #9aa8bd;
  --line:      #1e293b;
  --accent:    #5b8cbe;
  --accent-ink:#0b1220;
  --maxw:      1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark { width: 30px; height: 30px; }
.mark .glyph { fill: var(--accent); }
.mark .ret   { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.site-header nav { display: flex; gap: 22px; flex-wrap: wrap; }

.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .94rem;
}

.site-header nav a:hover { color: var(--accent); }

/* ---------- hero ---------- */

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

/* Hero absorbs any leftover viewport height so the footer sits at the bottom
   instead of leaving a dead band below it on tall screens. */
.hero {
  position: relative;
  overflow: hidden;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 24px 104px;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 650;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.15rem, 6vw, 3.9rem);
  font-weight: 680;
  margin-bottom: 22px;
}

/* The hard break helps the two-line desktop headline; on phones it just
   orphans a word, so let the text wrap naturally there. */
@media (max-width: 620px) {
  .wide-break { display: none; }
}

.lede {
  max-width: 60ch;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--ink-soft);
  margin: 0 0 32px;
}

/* Subtle radar sweep behind the hero. Decorative only. */
.sweep {
  position: absolute;
  top: -150px;
  right: -90px;
  width: 680px;
  height: 680px;
  max-width: 115vw;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, color-mix(in srgb, var(--accent) 26%, transparent) 34deg, transparent 62deg);
  animation: sweep 9s linear infinite;
  opacity: .5;
  pointer-events: none;
}

.sweep::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
}

@keyframes sweep { to { transform: rotate(360deg); } }

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

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid var(--accent);
}

.btn:hover { filter: brightness(1.08); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-quiet:hover { border-color: var(--accent); color: var(--accent); filter: none; }

/* ---------- sections ---------- */

.band { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; }

.band-alt {
  max-width: none;
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.band-alt > .prose { max-width: 68ch; margin: 0 auto; }

.band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }

.prose p { color: var(--ink-soft); max-width: 68ch; }

/* ---------- contact ---------- */

.contact .email { margin-top: 26px; }

.contact .email a {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 620;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.contact .email a:hover { border-bottom-color: var(--accent); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
}

.site-footer p {
  max-width: var(--maxw);
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: .88rem;
}
