@font-face {
  font-family: "Inter";
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1b1530;
  --ink-2: #4a4363;
  --muted: #7a7391;
  --line: #ece8f6;
  --bg: #ffffff;
  --tint: #f8f5ff;
  --p-300: #c4b5fd;
  --p-500: #8b5cf6;
  --p-600: #7c3aed;
  --p-700: #6d28d9;
  --p-800: #5b21b6;
  --fuchsia: #d946ef;
  --radius: 20px;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-optical-sizing: auto;
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--p-600); outline-offset: 3px; border-radius: 6px; }

/* Soft purple light behind the hero */
.glow { position: absolute; inset: 0 0 auto 0; height: 900px; overflow: hidden; pointer-events: none; z-index: -1; }
.glow span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.glow span:nth-child(1) { width: 620px; height: 620px; left: 50%; top: -260px; margin-left: -520px; background: #ddd0ff; animation: drift 18s ease-in-out infinite alternate; }
.glow span:nth-child(2) { width: 520px; height: 520px; left: 50%; top: -180px; margin-left: 40px; background: #f3d4ff; animation: drift 22s ease-in-out infinite alternate-reverse; }
.glow span:nth-child(3) { width: 420px; height: 420px; left: 50%; top: 220px; margin-left: -200px; background: #ece4ff; opacity: .7; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.06); } }

/* Header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); background: rgba(255,255,255,.72); border-bottom: 1px solid transparent; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand b { font-weight: 700; }
.mark { width: 34px; height: 34px; }
.links { display: flex; gap: 32px; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.links a:hover { color: var(--p-700); }

/* Hero */
.hero { padding: 150px 0 170px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 32px;
  padding: 7px 16px 7px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--p-700); background: rgba(255,255,255,.7); border: 1px solid #e4dafc;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--p-500), var(--fuchsia)); box-shadow: 0 0 0 4px rgba(139,92,246,.15); }
h1 {
  margin: 0 auto; max-width: 15ch;
  font-size: clamp(44px, 7.4vw, 88px); line-height: 1.04; text-wrap: balance; letter-spacing: -.03em; font-weight: 650;
}
.grad {
  background: linear-gradient(100deg, var(--p-800) 0%, var(--p-600) 40%, var(--fuchsia) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.lead { margin: 32px auto 0; max-width: 34em; font-size: clamp(18px, 2vw, 20px); color: var(--ink-2); line-height: 1.7; }
.actions { margin: 48px 0 0; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--p-600), var(--p-800));
  box-shadow: 0 14px 30px -12px rgba(109,40,217,.7), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -12px rgba(109,40,217,.8), inset 0 1px 0 rgba(255,255,255,.2); }
.btn span { transition: transform .15s; }
.btn:hover span { transform: translateX(3px); }

/* Sections */
section[id] { scroll-margin-top: 90px; }
.section-head { margin-bottom: 56px; }
.kicker { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--p-600); }
h2 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -.028em; font-weight: 650; }
h3 { margin: 0; letter-spacing: -.02em; }

.products { padding: 40px 0 140px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 44px; border-radius: var(--radius); text-decoration: none;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(27,21,48,.04);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: #dccffb; box-shadow: 0 24px 50px -24px rgba(91,33,182,.35); }
.logo { width: 52px; height: 52px; margin-bottom: 28px; }
.card h3 { font-size: 26px; font-weight: 650; }
.tag { margin: 4px 0 16px; font-size: 14px; font-weight: 600; color: var(--p-600); }
.card p:not(.tag) { margin: 0; color: var(--ink-2); }
.more { margin-top: 32px; font-size: 15px; font-weight: 600; color: var(--ink); }
.more span { display: inline-block; color: var(--p-600); transition: transform .15s; }
.card:hover .more span { transform: translate(2px, -2px); }


/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--tint); }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 0; font-size: 14px; color: var(--muted); }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.foot a:hover { color: var(--p-700); }

/* 404 */
.lost { min-height: calc(100vh - 76px - 98px); display: grid; place-content: center; text-align: center; padding: 80px 0; }
.lost h1 { font-size: clamp(64px, 12vw, 128px); }
.lost .lead { margin-top: 16px; }

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 120px; }
  .card { padding: 34px; }
  .products { padding-bottom: 100px; }
}
@media (max-width: 520px) {
  .links { display: none; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow span { animation: none; }
  .btn, .card, .btn span, .more span { transition: none; }
}
