:root {
  --ground-top: #ffffff;
  --ground-foot: #e9edf1;
  --pipes: url("/assets/pipes.svg?m=1791430258");
  --ink: #11161b;
  --muted: rgba(17, 22, 27, .6);
  --accent: #006d92;
  --accent-ink: #ffffff;
  --plate: rgba(255, 255, 255, .78);
  --plate-edge: rgba(17, 22, 27, .07);
  --plate-shadow: 0 24px 60px -24px rgba(17, 22, 27, .35);
  --off: rgba(17, 22, 27, .08);
  --glow: rgba(0, 109, 146, .4);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground-top: #0f141a;
    --ground-foot: #171e26;
    --pipes: url("/assets/pipes-dark.svg?m=1791430258");
    --ink: #f2f5f8;
    --muted: rgba(242, 245, 248, .62);
    --accent: #00c6ad;
    --accent-ink: #0f141a;
    --plate: rgba(20, 26, 33, .78);
    --plate-edge: rgba(255, 255, 255, .1);
    --plate-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
    --off: rgba(255, 255, 255, .08);
    --glow: rgba(0, 198, 173, .6);
  }
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--ground-foot);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: var(--pipes) center / cover no-repeat fixed, linear-gradient(var(--ground-top), var(--ground-foot)) fixed;
  color: var(--ink);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.plate {
  width: 100%;
  max-width: 520px;
  padding: 44px 36px 36px;
  border-radius: 26px;
  background: var(--plate);
  border: 1px solid var(--plate-edge);
  box-shadow: var(--plate-shadow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
}

.mark {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 10px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .35));
}

h1 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.tagline {
  margin: 4px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta:hover { box-shadow: 0 0 0 4px var(--off), 0 8px 28px -6px var(--glow); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.cta.off {
  background: var(--off);
  color: var(--muted);
  cursor: default;
  box-shadow: none;
}

.meta {
  margin: 12px 0 0;
  font-size: .85rem;
  color: var(--muted);
}

.published .when-unpublished,
.unpublished .when-published { display: none; }

@media (max-width: 420px) {
  .plate { padding: 36px 22px 28px; border-radius: 20px; }
  h1 { font-size: 1.9rem; }
  .mark { width: 104px; height: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}
