:root {
  --ink: #0c1b2e;
  --muted: #5a6b7f;
  --line: #dce5f1;
  --paper: #f7faff;
  --accent: #1463ff;
  --accent-dark: #0c3fb3;
  --green: #147d55;
  --card-bg: rgba(255, 255, 255, 0.82);
  --shadow: 0 24px 70px rgba(16, 56, 120, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid rgba(220, 229, 241, 0.85);
  background: rgba(247, 250, 255, 0.88);
  backdrop-filter: blur(18px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em;
}
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  color: white; background: var(--accent);
  border-radius: 12px; font-size: 1.3rem;
  box-shadow: 0 10px 22px rgba(20, 99, 255, 0.25);
}

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 68px;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute;
  width: 580px; height: 580px;
  left: 50%; top: -140px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 190, 255, .32), rgba(99, 190, 255, 0) 66%);
  pointer-events: none;
}
.hero-content { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 800; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 24px; height: 2px; background: var(--accent);
}
h1 {
  margin: 18px auto 0; max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.08; letter-spacing: -0.05em;
}
.hero p {
  max-width: 600px; margin: 20px auto 0;
  color: var(--muted); font-size: 1.12rem;
}
.tagline {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 24px;
}
.tagline span {
  padding: 7px 15px;
  border: 1px solid var(--line); border-radius: 99px;
  color: var(--muted); font-size: .84rem; font-weight: 650;
}

/* ── Apps grid ── */
.section { padding: 64px 0 96px; }
.section-head { max-width: 660px; margin-bottom: 40px; }
.section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12; letter-spacing: -0.045em;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.app-card {
  display: flex; flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 8px 26px rgba(16, 56, 120, .04);
  transition: box-shadow .2s, transform .2s;
}
.app-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.app-icon {
  display: grid; place-items: center;
  width: 50px; height: 50px; margin-bottom: 22px;
  border-radius: 15px; font-size: 1.5rem; font-weight: 800;
  flex-shrink: 0;
}
.icon-blue   { color: white; background: var(--accent); box-shadow: 0 10px 22px rgba(20, 99, 255, 0.22); }
.icon-green  { color: white; background: var(--green); box-shadow: 0 10px 22px rgba(20, 125, 85, 0.22); }
.icon-navy   { color: #bff4d7; background: #173f53; box-shadow: 0 10px 22px rgba(23, 63, 83, 0.22); }
.icon-indigo { color: white; background: #4f46e5; box-shadow: 0 10px 22px rgba(79, 70, 229, 0.22); }

.app-card h3 {
  margin: 0 0 6px;
  font-size: 1.28rem; letter-spacing: -0.03em;
}
.app-card .app-desc {
  color: var(--muted); font-size: .94rem; margin: 0 0 20px;
  flex: 1;
}
.app-links {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.app-links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: .84rem; font-weight: 650;
  transition: background .15s;
}
.link-primary {
  color: white; background: var(--accent);
}
.link-primary:hover { background: var(--accent-dark); }
.link-secondary {
  color: var(--accent); background: white; border: 1px solid var(--line);
}
.link-secondary:hover { border-color: var(--accent); }

/* ── Footer ── */
.footer {
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .88rem;
}
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer a:hover { color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 720px) {
  .apps-grid { grid-template-columns: 1fr; }
  .hero { padding: 58px 0 44px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
