:root {
  --navy: #0a1433;
  --ink: #1d2742;
  --muted: #5b6680;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --cyan: #1ec8f5;
  --blue: #0b63ff;
  --deep: #0a2a9c;
  --grad: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 55%, var(--deep) 100%);
  --radius: 14px;
  --max: 1080px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI", ui-rounded, system-ui, 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;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }
a:hover { color: var(--deep); }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 1.75rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--blue); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(30, 200, 245, 0.16), transparent 60%),
    radial-gradient(50rem 30rem at -10% 110%, rgba(11, 99, 255, 0.10), transparent 60%),
    var(--bg);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 1.25rem; }
h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin: 0 0 2rem; }
.hero-mark { justify-self: center; width: min(320px, 80%); mix-blend-mode: multiply; }

/* Pixel decoration */
.pixels { position: absolute; inset: 0; pointer-events: none; }
.pixels span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--grad);
  opacity: 0.35;
}

.buttons { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(11, 99, 255, 0.25); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 99, 255, 0.32); }
.btn-ghost { color: var(--navy); border: 1.5px solid var(--line); background: #fff; }
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); }

/* Sections */
section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 0.75rem; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card h3 { margin: 1rem 0 0.5rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
}
.icon svg { width: 22px; height: 22px; }

.app-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px dashed #c4cfe4;
  border-radius: var(--radius);
  padding: 2rem;
}
.app-card .app-icon {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: var(--grad);
  opacity: 0.9;
}
.app-card h3 { margin: 0 0 0.35rem; }
.app-card p { margin: 0; color: var(--muted); }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(11, 99, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.contact {
  text-align: center;
  background: var(--navy);
  color: #c9d3ea;
  position: relative;
  overflow: hidden;
}
.contact h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 0.75rem; }
.contact p { margin: 0 auto 2rem; max-width: 34rem; font-size: 1.1rem; }

/* Legal / content pages */
.page { padding: 4rem 0 5rem; }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.prose p, .prose li { color: var(--ink); }
.prose .meta { color: var(--muted); margin-top: -0.5rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer p { margin: 0.2rem 0; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--blue); }

/* Responsive */
@media (max-width: 820px) {
  .hero { padding: 4rem 0 3.5rem; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-mark, .pixels { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav { gap: 1.1rem; }
  .nav .hide-sm { display: none; }
  .brand img { height: 36px; }
}
@media (max-width: 480px) {
  .app-card { flex-direction: column; align-items: flex-start; }
}

/* Business card home page */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.card-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--bg);
}
.biz-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.biz-logo { width: min(440px, 82vw); height: auto; mix-blend-mode: multiply; }
.biz-tagline { margin: 1.75rem 0 1.25rem; color: var(--muted); font-size: 1.05rem; }
.biz-email {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(11, 99, 255, 0.3);
}
.biz-email:hover { border-bottom-color: var(--blue); }
.biz-legal { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.02em; }
.biz-footer { display: flex; gap: 1.5rem; font-size: 0.85rem; }
.biz-footer a { color: var(--muted); text-decoration: none; }
.biz-footer a:hover { color: var(--blue); }

/* Middle-ground home page */
.mid-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.mid-header { padding: 2rem 0 0; }
.mid-logo { height: 52px; width: auto; mix-blend-mode: multiply; }
.mid-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 2.5rem 0 3rem; }
.mid-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; }
.mid-mark { justify-self: center; width: min(260px, 80%); mix-blend-mode: multiply; }
.mid-hero { max-width: 40rem; }
.mid-hero .lead { margin-bottom: 1.75rem; }
.mid-values {
  list-style: none;
  padding: 0;
  margin: 3.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.mid-values li { display: flex; flex-direction: column; gap: 0.25rem; }
.mid-values strong { color: var(--navy); }
.mid-values strong::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--grad);
  margin-right: 0.55rem;
}
.mid-values span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 720px) {
  .mid-top { grid-template-columns: 1fr; }
  .mid-mark { display: none; }
  .mid-values { grid-template-columns: 1fr; margin-top: 3rem; }
  .mid-logo { height: 40px; }
  .mid-main { padding: 3rem 0; }
}
