:root {
  --radius: 22px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
  --accent-top: #00d4c8;
  --accent-bot: #0aa8c8;
  --accent-grad: linear-gradient(180deg, var(--accent-top), var(--accent-bot));
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f1ea;
  --bg-2: #e7e3d8;
  --ink: #151821;
  --muted: #5c6170;
  --line: rgba(21, 24, 33, 0.12);
  --cream: #fffcf6;
  --header: rgba(243, 241, 234, 0.88);
  --nav-panel: rgba(255, 252, 246, 0.98);
  --shadow: 0 18px 50px rgba(21, 24, 33, 0.08);
  --glow-a: rgba(62, 224, 208, 0.18);
  --glow-b: rgba(26, 167, 255, 0.12);
  --skel-a: #e7e3d8;
  --skel-b: #f7f4ec;
  --cta-ink: #051018;
  --live-bg: rgba(16, 140, 120, 0.12);
  --live-ink: #0b7a68;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05070c;
  --bg-2: #121826;
  --ink: #eef4ff;
  --muted: #93a0bb;
  --line: rgba(120, 210, 230, 0.16);
  --cream: #0b1018;
  --header: rgba(5, 7, 12, 0.86);
  --nav-panel: rgba(5, 7, 12, 0.97);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --glow-a: rgba(58, 224, 208, 0.16);
  --glow-b: rgba(26, 167, 255, 0.18);
  --skel-a: #121826;
  --skel-b: #1c2940;
  --cta-ink: #05070c;
  --live-bg: rgba(62, 224, 208, 0.16);
  --live-ink: #3ee0d0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% -10%, var(--glow-a), transparent 55%),
    radial-gradient(700px 380px at 100% 8%, var(--glow-b), transparent 50%),
    var(--bg);
  line-height: 1.55;
  transition: background-color 0.2s ease, color 0.2s ease;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

html[data-theme="light"] .theme-dark-only,
html[data-theme="dark"] .theme-light-only {
  display: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 30;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--live-ink);
  outline-offset: 3px;
}

button,
.btn,
.theme-toggle,
.nav-toggle {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: var(--header);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark-img {
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f1ea;
}

.brand-wordmark {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a[aria-current="true"] {
  color: var(--ink);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  color: var(--cta-ink) !important;
  background: var(--accent-grad);
  padding: 8px 14px;
  border-radius: 999px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(1.08);
  color: var(--cta-ink) !important;
}

.theme-toggle,
.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

html[data-theme="light"] .theme-icon-sun,
html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.nav-toggle {
  display: none;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.hero,
.apps,
.about {
  scroll-margin-top: 84px;
}

.hero {
  padding: 88px 0 48px;
}

.hero-inner {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--live-ink);
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
}

h1 em {
  font-style: italic;
  color: var(--live-ink);
}

.lede,
.section-head p,
.about p {
  color: var(--muted);
  font-size: 1.08rem;
}

.lede {
  max-width: 52ch;
  margin: 18px 0 28px;
}

.hero-actions,
.about-inner,
.footer-inner,
.app-card-top {
  display: flex;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent-grad);
  color: var(--cta-ink);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: var(--cream);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.apps,
.about {
  padding: 48px 0 72px;
}

.section-head {
  max-width: 560px;
  margin-bottom: 32px;
}

.section-head h2,
.about h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 10px;
}

.app-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.app-card h3 {
  font-size: 1.45rem;
  margin: 18px 0 8px;
}

.app-card p {
  margin: 0 0 auto;
  color: var(--muted);
}

.app-card-top {
  justify-content: space-between;
  align-items: flex-start;
}

.app-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: #000;
}

.pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

.pill.live {
  background: var(--live-bg);
  color: var(--live-ink);
}

.pill.soon {
  background: var(--bg-2);
  color: var(--muted);
}

.app-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  font-size: 0.92rem;
}

a.app-card.is-live:hover,
a.app-card.is-live:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-top) 45%, transparent);
}

.app-card.is-skeleton {
  pointer-events: none;
  overflow: hidden;
}

.app-card.is-skeleton h3 {
  margin: 18px 0 4px;
}

.soon-copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-overlay {
  display: none;
}

.about-points a {
  color: var(--live-ink);
  text-decoration: none;
  font-weight: 500;
}

.about-points a:hover {
  text-decoration: underline;
}

.skel {
  display: block;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    var(--skel-a) 0%,
    var(--skel-b) 45%,
    var(--skel-a) 90%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.skel-line {
  width: 100%;
  height: 12px;
  margin-top: 12px;
}

.skel-line.short {
  width: 72%;
}

.skel-link {
  width: 46%;
  height: 14px;
  margin-top: auto;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .skel,
  .app-card,
  .btn {
    animation: none;
    transition: none;
  }
}

.about-inner {
  gap: 48px;
  align-items: start;
  justify-content: space-between;
}

.about-inner > div {
  max-width: 520px;
}

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 280px;
}

.about-points li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-points span {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.footer-inner {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .app-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    flex-direction: column;
    gap: 24px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 12px 20px 20px;
    background: var(--nav-panel);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 4px;
    min-height: 48px;
  }

  .nav-cta {
    text-align: center;
    justify-content: center;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 72px 0 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 15;
  }

  .nav-overlay[hidden] {
    display: none;
  }

  body.is-nav-open {
    overflow: hidden;
  }
}
