:root {
  color-scheme: dark;
  --background: oklch(0.2 0.025 200);
  --foreground: oklch(0.97 0.01 160);
  --card: oklch(0.25 0.03 195);
  --primary: oklch(0.78 0.2 140);
  --primary-foreground: oklch(0.2 0.04 160);
  --secondary: oklch(0.3 0.035 195);
  --muted-foreground: oklch(0.75 0.03 180);
  --destructive: oklch(0.65 0.22 25);
  --border: rgb(255 255 255 / 10%);
  --input: rgb(255 255 255 / 14%);
  --glow-green: oklch(0.6 0.18 145 / 35%);
  --glow-blue: oklch(0.6 0.16 240 / 22%);
  --radius: 1rem;
}

* {
  box-sizing: border-box;
  border-color: var(--border);

  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--foreground);
  background-color: var(--background);
  background-image: radial-gradient(60rem 40rem at 85% -10%, var(--glow-green), transparent 60%),
    radial-gradient(40rem 30rem at -10% 30%, var(--glow-blue), transparent 60%);
  background-attachment: fixed;
  font-family: "Onest", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Unbounded", "Onest", sans-serif;
  letter-spacing: -.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.glass {
  background: color-mix(in oklab, var(--card) 70%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgb(18 35 34 / 66%);
  backdrop-filter: blur(14px);
}

.header-inner {
  padding-top: .75rem;
  padding-bottom: .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
}

.logo img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: cover;
  border-radius: .6rem;
}

.logo span {
  font-family: "Unbounded", "Onest", sans-serif;
  font-size: 1.05rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: .875rem;
  color: var(--muted-foreground);
}

.desktop-nav a,
.footer-links a {
  transition: color .2s ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--foreground);
}

.desktop-nav a[aria-current="page"] {
  color: var(--foreground);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: 999px;
  padding: .75rem 1.25rem;
  font-weight: 700;
  transition: transform .2s ease, filter .2s ease, background .2s ease;
  cursor: pointer;
}

.btn-primary {
  color: var(--primary-foreground);
  background: var(--primary);
  box-shadow: 0 10px 30px -10px var(--glow-green);
  border: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: transparent;
  font-weight: 600;
}

.btn-ghost:hover {
  background: var(--secondary);
}

.btn-primary svg {
  width: 1.25rem;
  height: 1.25rem;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: .5rem;
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg {
  width: 100%;
  height: 100%;
}

.mobile-nav {
  display: none;
  padding: .75rem 0 1rem;
  border-top: 1px solid var(--border);
}

.mobile-nav a:not(:last-child) {
  display: block;
  border-radius: .65rem;
  padding: .7rem .8rem;
}

@media (hover: hover) and (pointer: fine) {
  .mobile-nav a:hover {
    background: var(--secondary);
  }
}

.play-link {
  display: none;
}

main {
  flex: 1;
}

.eyebrow {
  display: inline-block;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--muted-foreground);
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 5rem;
}

.hero-copy {
  width: 100%;
  max-width: 48rem;
  text-align: center;
}

.hero-copy>p {
  max-width: 32rem;
  margin: 1.25rem auto 0;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}

.hero h1 {
  margin: 1.25rem 0 0;
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  line-height: 1.17;
  font-weight: 700;
}

.text-gradient {
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary), oklch(.85 .17 120));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-bottom: 5rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 1rem;
  transition: transform .2s ease, border-color .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgb(255 255 255 / 20%);
}

.feature-icon {
  font-size: 1.9rem;
}

.feature-card h3 {
  margin: 1rem 0 0;
  font: 600 1rem "Onest", sans-serif;
  letter-spacing: 0;
}

.feature-card p {
  margin: .5rem 0 0;
  color: var(--muted-foreground);
  font-size: .875rem;
  line-height: 1.6;
}

.page-content {
  width: min(100% - 2.5rem, 48rem);
  margin-inline: auto;
  padding: 3.5rem 0 5rem;
}

.page-content h1 {
  margin: 0;
  font-size: clamp(1.25rem, 5vw, 2.25rem);
  line-height: 1.3;
  overflow-wrap: break-word;
}

.page-subtitle {
  margin: .8rem 0 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.page-body {
  margin-top: 2rem;
}

.prose-legal h2 {
  margin: 2rem 0 .6rem;
  font: 600 1.15rem "Onest", sans-serif;
  letter-spacing: 0;
}

.prose-legal p,
.prose-legal li {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.prose-legal ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin: .5rem 0;
}

.prose-legal a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-stack {
  display: grid;
  gap: 1.5rem;
}

.info-panel,
.delete-form,
.success-panel {
  padding: 1.5rem;
  border-radius: 1rem;
}

.info-panel {
  color: var(--muted-foreground);
  font-size: .875rem;
  line-height: 1.65;
}

.info-panel p {
  margin: 0;
}

.info-panel p+p {
  margin-top: .8rem;
}

.info-panel strong {
  color: var(--foreground);
}

.info-panel ul {
  margin: .5rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.delete-form {
  display: grid;
  gap: 1rem;
}

.field-label {
  display: grid;
  gap: .5rem;
  font-size: .875rem;
}

.field {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .85rem 1rem;
  color: var(--foreground);
  background: rgb(0 0 0 / 12%);
  outline: none;
}

.field::placeholder {
  color: rgb(220 235 225 / 40%);
}

.field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 35%, transparent);
}

textarea.field {
  resize: vertical;
  min-height: 6rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--muted-foreground);
  font-size: .875rem;
  line-height: 1.5;
}

.checkbox-row input {
  margin-top: .2rem;
  accent-color: var(--destructive);
}

.btn-danger {
  background: var(--destructive);
  color: white;
  box-shadow: none;
}

.success-panel p {
  margin: 0;
}

.success-panel p+p {
  margin-top: .5rem;
  color: var(--muted-foreground);
  font-size: .875rem;
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.support-card {
  display: block;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: transform .2s ease;
}

.support-card:hover {
  transform: translateY(-4px);
}

.support-card .emoji {
  font-size: 1.9rem;
}

.support-card h3 {
  margin: .8rem 0 .25rem;
  font: 600 1rem "Onest", sans-serif;
  letter-spacing: 0;
}

.support-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: .875rem;
}

.support-card .email {
  color: var(--primary);
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
  font-size: .875rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--muted-foreground);
}

.footer-brand .logo img {
  width: 2rem;
  height: 2rem;
}

.footer-brand .logo span {
  font-size: .95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  color: var(--muted-foreground);
}

@keyframes float-y {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@media (max-width: 1024px) {
  .footer-inner {
    flex-direction: column;
    padding-block: 1.75rem;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

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

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: .25rem;
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 3rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy>p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {

  .footer-brand {
    flex-direction: column;
    text-align: center;
    margin-bottom: .5rem;
  }

  .footer-links {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {

  .container,
  .page-content {
    width: min(100% - 2rem, 48rem);
  }

  .header-inner {
    min-height: 4rem;
  }

  .header-actions>.btn-primary {
    display: none;
  }

  .play-link {
    display: inline-flex;
    margin-top: .5rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-copy>p {
    font-size: 1rem;
  }

  .features,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions>a {
    width: 100%;
  }

  .footer-links {
    gap: 1rem;
    font-size: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}