:root {
  color-scheme: light dark;
  --bg: #f3f2ef;
  --sheen: rgba(255, 255, 255, 0.9);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 -.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.09'/%3E%3C/svg%3E");
  --text: #17171b;
  --soft: #5f5f68;
  --rule: rgba(23, 23, 27, 0.1);
  --bar: rgba(247, 246, 243, 0.75);
  --accent: #5b4fd6;
  --wash: 0.1;
  --halo: 0.16;
  --row: rgba(23, 23, 27, 0.03);
  --live: #1d8a4e;
  --soon: #5b4fd6;
  --font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e12;
    --sheen: rgba(255, 255, 255, 0.05);
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 -.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.06'/%3E%3C/svg%3E");
    --text: #f2f2f4;
    --soft: #a4a5ad;
    --rule: rgba(255, 255, 255, 0.11);
    --bar: rgba(20, 21, 26, 0.7);
    --accent: #9d94ff;
    --wash: 0.13;
    --halo: 0.18;
    --row: rgba(255, 255, 255, 0.03);
    --live: #4fd08a;
    --soon: #a9a1ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--noise), radial-gradient(80rem 44rem at 50% -10rem, var(--sheen), transparent);
  background-size: 200px 200px, auto;
  background-repeat: repeat, no-repeat;
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 0.5rem; }

.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 2.5rem;
  padding-inline: 1.25rem;
  border-bottom: 1px solid var(--rule);
  background: var(--bar);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  backdrop-filter: saturate(1.8) blur(16px);
  font-size: 0.875rem;
}

.wordmark { font-family: "Fredoka", var(--font); font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.01em; }

.nav { display: flex; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.nav a { color: var(--soft); transition: color 0.2s; }
.nav a:hover { color: var(--accent); }

main { padding-top: clamp(2.75rem, 6vw, 5rem); }

.hello {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding-inline: 1.5rem;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  line-height: 1.28;
  text-wrap: balance;
}

/* App cards */
.row { display: flex; gap: 1.5rem; margin-bottom: clamp(3.5rem, 7vw, 5.5rem); }

.card {
  position: relative;
  isolation: isolate;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 1.5rem;
}

/* A soft wash of each app's colour behind the card. */
.card::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(150deg, var(--tint), transparent 75%);
  opacity: var(--wash);
}

/* The icon itself, enlarged and blurred, as the card's backdrop. */
.halo {
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -15%;
  width: 75%;
  height: 140%;
  object-fit: cover;
  filter: blur(56px) saturate(1.6);
  opacity: var(--halo);
  pointer-events: none;
}

.inner { display: flex; flex-direction: column; height: 100%; padding: 2rem 2rem 1.75rem; }

.appicon {
  width: 6rem;
  height: 6rem;
  margin-bottom: 1.25rem;
  border-radius: 22.5%;
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .card:hover .appicon { transform: scale(1.08) rotate(-2deg); }
  .card:hover .cta { color: var(--accent); }
  .card:hover .cta .arrow { transform: translateX(4px); }
}

.title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-bottom: 0.6rem; }

.title h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }

.pill {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.pill-live { color: var(--live); }
.pill-soon { color: var(--soon); }

.inner p { max-width: 30rem; color: var(--soft); }
.inner .short { display: none; }

.cta { margin-top: auto; padding-top: 1.25rem; font-weight: 600; font-size: 0.9375rem; transition: color 0.2s; }
.cta .arrow { display: inline-block; transition: transform 0.3s; }

/* Recently: a quiet list of updates */
.recent { margin-bottom: clamp(3rem, 7vw, 5rem); }

.label {
  margin: 0 0 0.75rem;
  padding-inline: 1rem;
  color: var(--soft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.log { margin: 0; padding: 0; list-style: none; }

.log li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 0.875rem;
}
.log li:nth-child(odd) { background: var(--row); }

.log img { width: 2rem; height: 2rem; border-radius: 22.5%; }
.log h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.log time { color: var(--soft); font-size: 0.875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Footer */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--soft);
  font-size: 0.875rem;
}

@media (max-width: 860px) {
  .hello { padding-inline: 1rem; }
}

/* Phones: keep the apps side by side as compact cards with a one-line description. */
@media (max-width: 640px) {
  .topbar { padding-inline: 1rem; }
  .nav { gap: 0.875rem; }
  .row { gap: 0.75rem; }
  .card { border-radius: 1.125rem; }
  .inner { padding: 1.125rem 1rem 1rem; }
  .appicon { width: 3.75rem; height: 3.75rem; margin-bottom: 0.875rem; }
  .title { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .title h2 { font-size: 1.375rem; }
  .pill { font-size: 0.75rem; padding: 0.15rem 0.55rem; }
  .inner .long { display: none; }
  .inner .short { display: block; font-size: 0.9375rem; line-height: 1.4; }
  .cta { padding-top: 0.875rem; font-size: 0.875rem; }
  .cta-full { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
