/* Yaxxa front page. Brand: magenta #c21b83, green #72bf44, blue #009bdf (packages/ui tokens). */
:root {
  --bg: #f7f5f2;
  --panel: #fff;
  --ink: #1d1a24;
  --muted: #5c5868;
  --line: #e3ddd8;
  --magenta: #c21b83;
  --green: #72bf44;
  --blue: #009bdf;
  --on-magenta: #fff;
  --logo-bg: transparent;
  /* The Clay look's raised finishes, as in packages/ui tokens.css. */
  --shadow-clay:
    inset 0 1px 0 #fff, 0 18px 36px -22px rgb(75 40 65 / 45%), 0 2px 4px rgb(0 0 0 / 6%);
  --shadow-button:
    inset 0 1px 0 rgb(255 255 255 / 32%), inset 0 -1px 0 rgb(0 0 0 / 22%),
    0 6px 14px -6px rgb(194 27 131 / 70%), 0 2px 4px rgb(0 0 0 / 18%);
  --ease-clay: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12101a;
    --panel: #1b1824;
    --ink: #f3f1f7;
    --muted: #a9a4b8;
    --line: #2e2a3b;
    --shadow-clay: 0 18px 36px -22px rgb(0 0 0 / 70%);
    --shadow-button:
      inset 0 1px 0 rgb(255 255 255 / 32%), inset 0 -1px 0 rgb(0 0 0 / 22%),
      0 6px 14px -6px rgb(222 60 160 / 70%), 0 2px 4px rgb(0 0 0 / 18%);
    --magenta: #de3ca0;
    --on-magenta: #12101a;
    /* The logo's grey "omni" is too dim on dark, so the logo sits on a light chip. */
    --logo-bg: #fff;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 'Outfit',
    'Open Sans',
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: Outfit, 'Open Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}
.logo {
  display: block;
  background: var(--logo-bg);
  border-radius: 0.75rem;
  padding: 0.35rem 0.6rem;
  line-height: 0;
}
.logo img {
  height: 2.25rem;
  width: auto;
  aspect-ratio: 735 / 181;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--line);
  background: var(--panel);
  transition:
    transform 0.18s var(--ease-clay),
    opacity 0.15s ease-out;
}
.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--on-magenta);
  box-shadow: var(--shadow-button);
}
.hero {
  text-align: center;
  padding-block: clamp(3rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  max-width: 20ch;
  margin-inline: auto;
}
.hero p {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  font-size: 1.125rem;
  color: var(--muted);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.bar {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--magenta) 0 34%, var(--green) 34% 67%, var(--blue) 67%);
  max-width: 6rem;
  margin: 0 auto 1.75rem;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-clay);
}
/* A clay icon: a soft 3D blob in a fixed colour, drawn here because this page loads no app bundle. */
.ic {
  --tone: #d9339b;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  color: #fff;
  background: radial-gradient(
    circle at 30% 25%,
    color-mix(in srgb, var(--tone) 55%, #fff),
    var(--tone) 55%,
    color-mix(in srgb, var(--tone) 78%, #000)
  );
  box-shadow:
    inset -4px -6px 10px #00000026,
    inset 3px 4px 8px #ffffff73,
    0 10px 16px -10px var(--tone);
}
.ic svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile:nth-child(2) .ic {
  --tone: #2f8fe6;
}
.tile:nth-child(3) .ic {
  --tone: #35b25f;
}
.tile:nth-child(4) .ic {
  --tone: #f09a1c;
}
.tile:nth-child(5) .ic {
  --tone: #8a5be0;
}
.tile:nth-child(6) .ic {
  --tone: #ee5848;
}
.tile h2 {
  font-size: 1.125rem;
}
.tile p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
