:root {
  --navy-950: #050d1f;
  --navy-900: #0a1630;
  --navy-800: #102247;
  --navy-700: #1a3263;
  --navy-100: #e6ebf5;
  --white: #ffffff;
  --paper: #f7f8fb;
  --ink: #0a1630;
  --ink-soft: #4a5672;
  --line: #dde3ef;
  --gold: #c9a85c;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(10, 22, 48, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark {
  color: var(--white); text-decoration: none;
  font-family: var(--sans); font-weight: 600; letter-spacing: 0.32em; font-size: 15px;
}
.nav { display: flex; gap: 28px; }
.nav a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 14px; letter-spacing: 0.02em; }
.nav a:hover { color: var(--white); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201, 168, 92, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(26, 50, 99, 0.9), transparent 60%),
    var(--navy-900);
  color: var(--white);
  padding: 120px 0 128px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.24em; font-size: 12px; color: var(--gold); margin: 0 0 20px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.01em;
  margin: 0 0 24px; max-width: 14ch;
}
.hero p.lede { font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, 0.78); max-width: 46ch; margin: 0 0 40px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--white); color: var(--navy-900);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }

/* Sections */
section { padding: 104px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 0 0 16px; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 18px; }
.apps { background: var(--paper); }

/* App cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 18px 18px 0 0;
  background: var(--accent); opacity: 0; transition: opacity 0.2s ease;
}
.card:hover { border-color: #c8d1e3; box-shadow: 0 18px 40px rgba(10, 22, 48, 0.08); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.card img { width: 52px; height: 52px; }
.badge { font-size: 12px; letter-spacing: 0.04em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.badge.live { border-color: #b9e3c8; color: #17663a; background: #effaf3; }
.card h3 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.card .tagline { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--navy-700); }
.card .desc { margin: 0 0 24px; color: var(--ink-soft); }
.card .go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--navy-800); }
.card .go span { display: inline-block; transition: transform 0.2s ease; }
.card:hover .go span { transform: translateX(3px); }

/* About */
.about .cols { display: grid; gap: 56px; grid-template-columns: 1.1fr 1fr; align-items: start; }
.pillars { display: grid; gap: 28px; }
.pillar h3 { margin: 0 0 6px; font-size: 17px; }
.pillar p { margin: 0; color: var(--ink-soft); }
.pillar { padding-left: 20px; border-left: 2px solid var(--navy-100); }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); padding: 56px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer .wordmark { font-size: 13px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: var(--white); }
.notfound h1 { font-family: var(--serif); font-weight: 500; font-size: 56px; margin: 0 0 12px; }

@media (max-width: 760px) {
  .nav { display: none; }
  .hero { padding: 88px 0 96px; }
  section { padding: 72px 0; }
  .about .cols { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
