:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F6FA;
  --ink: #1C1F3A;
  --muted: #5D6283;
  --line: #E3E2EE;
  --violet: #6D4AE8;
  --blue: #2F6FD6;
  --green: #14A37F;
  --brand-grad: linear-gradient(100deg, #6D4AE8 0%, #2F6FD6 55%, #14A37F 100%);
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ---------- Header ---------- */
.site-head {
  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-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { width: 44px; height: 44px; display: block; }
.brand-word {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  line-height: 1;
}
.brand-word small {
  margin-top: 4px;
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  color: var(--muted);
}
.nav { display: flex; gap: 24px; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 80px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(520px 320px at 92% 20%, rgba(20, 163, 127, 0.10), transparent 70%),
    radial-gradient(520px 320px at 60% 0%, rgba(109, 74, 232, 0.10), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); max-width: 15ch; }
.hero h1 .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  max-width: 50ch;
  margin: 22px 0 32px;
  color: var(--muted);
  font-size: 1.15rem;
}
.hero-art { display: block; width: 100%; height: auto; max-width: 520px; justify-self: center; overflow: visible; }
#minds .bridge { display: none; } /* hidden: js/minds.js fires laser beams along these paths instead */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { border-color: var(--violet); transform: translateY(-1px); }
.btn-accent {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 111, 214, 0.22);
}
.btn-accent:hover { border-color: transparent; box-shadow: 0 8px 22px rgba(47, 111, 214, 0.3); }
.btn-ghost { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.soft { background: var(--bg-soft); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.section h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.section-sub { margin: 10px 0 0; color: var(--muted); max-width: 58ch; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.filter:hover { color: var(--ink); border-color: var(--violet); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Catalogue ---------- */
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.card:hover { border-color: #CFCBEA; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(28, 31, 58, 0.07); }
.card-main { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; }
.card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-name { font-family: var(--display); font-size: 1.3rem; font-weight: 650; line-height: 1.2; }
.card-tagline { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.price { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.more { color: var(--violet); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.empty { color: var(--muted); }

.tile {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
  color: #fff;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
}
.tile-lg { width: 112px; height: 112px; padding: 10px; border-radius: 26px; font-size: 2.3rem; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Coming soon ---------- */
.soon-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.soon-mark { width: 120px; height: 120px; flex: none; }
.soon-panel > div { flex: 1 1 300px; }

/* ---------- Contact details ---------- */
.contact-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin: 20px 0 0;
}
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.contact-list a, .site-foot a { color: var(--violet); text-decoration: none; }
.contact-list a:hover, .site-foot a:hover { text-decoration: underline; }

/* ---------- About / contact ---------- */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
  align-items: start;
}
.two-col p { color: var(--muted); margin: 14px 0 0; }
.two-col p.about-lead {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 650;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.contact-card .btn { margin-top: 20px; max-width: 100%; overflow-wrap: anywhere; }

/* ---------- App page ---------- */
.detail { padding: 40px 0 80px; }
.crumb { margin: 0 0 28px; font-size: 0.95rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a::before { content: "\2190\00a0"; }
.crumb a:hover { color: var(--ink); }
.detail-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.detail-head h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.detail-head .lede { margin: 10px 0 14px; color: var(--muted); font-size: 1.1rem; }
.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding-top: 36px;
}
.prose p { margin: 0 0 16px; max-width: 62ch; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 14px; }
.features { margin: 0; padding-left: 20px; }
.features li { margin-bottom: 8px; }
.features li::marker { color: var(--violet); }
.buybox {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.buy-price { margin: 0 0 16px; font-family: var(--display); font-size: 1.8rem; font-weight: 650; }
.buy-buttons { display: flex; flex-direction: column; gap: 10px; }
.soon { color: var(--muted); font-weight: 600; }
.notfound { padding: 60px 0; }
.notfound p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-foot {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 420px; justify-self: start; }
}

@media (max-width: 760px) {
  .hero { padding: 56px 0 56px; }
  .section { padding: 56px 0; }
  .detail-body { grid-template-columns: 1fr; gap: 28px; }
  .buybox { position: static; }
}

@media (max-width: 520px) {
  .brand-word small { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .nav { gap: 14px; font-size: 0.9rem; }
  .btn-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
