:root {
  color-scheme: dark;
  --ground: #0f141a;
  --dark-ground: 1;
  --light-ground: 0;
  --ink: #f2f5f8;
  --muted: rgba(242, 245, 248, 0.62);
  --plate: rgba(20, 26, 33, 0.78);
  --plate-edge: rgba(255, 255, 255, 0.1);
  --plate-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --card: rgba(255, 255, 255, 0.05);
  --card-edge: rgba(255, 255, 255, 0.12);
  --accent: #00c6ad;
  --accent-ink: #0f141a;
  --accent-hover: #2ad9c2;
  --ring: rgba(0, 198, 173, 0.45);
  --glow: rgba(0, 198, 173, 0.6);
  --glow-wide: rgba(0, 198, 173, 0.35);
  --glow-tint: rgba(0, 198, 173, 0.08);
  --mark-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.7);
}
:root[data-theme="light"] {
  color-scheme: light;
  --ground: #e9edf1;
  --dark-ground: 0;
  --light-ground: 1;
  --ink: #11161b;
  --muted: rgba(17, 22, 27, 0.6);
  --plate: rgba(255, 255, 255, 0.78);
  --plate-edge: rgba(17, 22, 27, 0.07);
  --plate-shadow: 0 18px 50px -24px rgba(17, 22, 27, 0.35);
  --card: #ffffff;
  --card-edge: rgba(17, 22, 27, 0.1);
  --accent: #006d92;
  --accent-ink: #ffffff;
  --accent-hover: #005a79;
  --ring: rgba(0, 109, 146, 0.4);
  --glow: rgba(0, 109, 146, 0.4);
  --glow-wide: rgba(0, 109, 146, 0.22);
  --glow-tint: rgba(0, 109, 146, 0.05);
  --mark-shadow: 0 10px 28px -12px rgba(17, 22, 27, 0.45);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { height: 100%; margin: 0; background: var(--ground); transition: background-color 600ms ease; }
body {
  position: relative;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  transition: color 600ms ease;
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: safe center;
  justify-content: center;
  padding: 24px 16px;
  padding-top: calc(72px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
body::before, body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: center / cover no-repeat;
  pointer-events: none;
  transition: opacity 600ms ease;
}
body::before { background-image: url(/assets/pipes-dark.svg?m=1789427312); opacity: var(--dark-ground); }
body::after { background-image: url(/assets/pipes.svg?m=1789427312); opacity: var(--light-ground); }
.plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 520px;
  padding: 40px 28px 36px;
  background: var(--plate);
  border: 1px solid var(--plate-edge);
  border-radius: 26px;
  box-shadow: var(--plate-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 600ms ease, border-color 600ms ease, box-shadow 600ms ease;
}
.mark {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: var(--mark-shadow);
  transition: box-shadow 600ms ease;
}
.mark.small { width: 64px; height: 64px; border-radius: 14px; }
.home { display: block; line-height: 0; border-radius: 14px; }
.home:focus-visible { outline: 3px solid var(--ring); outline-offset: 4px; }
h1 { margin: 0; font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; text-align: center; transition: color 600ms ease; }
.tag { margin: -8px 0 0; color: var(--muted); font-size: 1.02rem; text-align: center; transition: color 600ms ease; }
.cta {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 600ms ease, color 600ms ease, transform 120ms ease;
}
.cta:hover { background: var(--accent-hover); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.platforms { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}
a.card:hover, a.card:focus-visible {
  border-color: var(--accent);
  background-color: var(--glow-tint);
  box-shadow: 0 0 0 1px var(--accent), 0 0 26px var(--glow), 0 0 72px 4px var(--glow-wide);
  transform: translateY(-1px);
}
a.card:focus-visible { outline: none; }
a.card:active { transform: translateY(0); }
.card .os { flex: 1 1 auto; min-width: 0; }
.card .os b { display: block; font-size: 1.02rem; }
.card .os span { display: block; color: var(--muted); font-size: 0.86rem; transition: color 600ms ease; }
.card .get { flex: 0 0 auto; font-weight: 600; color: var(--accent); transition: color 600ms ease; }
.card.soon { opacity: 0.62; }
.card.soon .get { color: var(--muted); font-weight: 500; }
.ico { flex: 0 0 auto; width: 28px; height: 28px; color: var(--accent); transition: color 600ms ease; }
.ico svg { width: 100%; height: 100%; display: block; fill: currentColor; stroke: none; }
#ios .ico svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.meta { margin: 0; color: var(--muted); font-size: 0.8rem; text-align: center; overflow-wrap: anywhere; transition: color 600ms ease; }
.meta code { display: block; margin-top: 2px; font: 0.72rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.theme {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  right: calc(16px + env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--plate-edge);
  border-radius: 999px;
  background: var(--plate);
  color: var(--ink);
  box-shadow: var(--plate-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 600ms ease, border-color 600ms ease, box-shadow 600ms ease, color 600ms ease, transform 120ms ease;
}
.theme:hover { border-color: var(--accent); }
.theme:active { transform: scale(0.96); }
.theme:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; transition: opacity 400ms ease, transform 600ms ease; }
.theme .sun { opacity: 1; transform: rotate(0deg); }
.theme .moon { opacity: 0; transform: rotate(-90deg); }
:root[data-theme="light"] .theme .sun { opacity: 0; transform: rotate(90deg); }
:root[data-theme="light"] .theme .moon { opacity: 1; transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) {
  html, body, body::before, body::after, .plate, .mark, h1, .tag, .cta, .card, .card .os span, .card .get, .ico, .meta, .theme, .theme svg { transition: none; }
  a.card:hover, a.card:focus-visible { transform: none; }
}
@media (max-width: 420px) {
  .plate { padding: 30px 18px 28px; border-radius: 20px; }
  h1 { font-size: 1.6rem; }
  .mark { width: 104px; height: 104px; border-radius: 23px; }
}
